1HSI_REGISTER_PORT_EV(9)  High Speed Synchronous Serial HSI_REGISTER_PORT_EV(9)
2
3
4

NAME

6       hsi_register_port_event - Register a client to receive port events
7

SYNOPSIS

9       int hsi_register_port_event(struct hsi_client * cl,
10                                   void (*handler) (struct hsi_client *, unsigned long));
11

ARGUMENTS

13       cl
14           HSI client that wants to receive port events
15
16       handler
17           Event handler callback
18

DESCRIPTION

20       Clients should register a callback to be able to receive events from
21       the ports. Registration should happen after claiming the port. The
22       handler can be called in interrupt context.
23
24       Returns -errno on error, or 0 on success.
25
27Kernel Hackers Manual 3.10         June 2019           HSI_REGISTER_PORT_EV(9)
Impressum