Man Page: hsi_register_port_event
Operating Environment: centos
Section: 9
HSI_REGISTER_PORT_EV(9) High Speed Synchronous Serial HSI_REGISTER_PORT_EV(9)NAMEhsi_register_port_event - Register a client to receive port eventsSYNOPSISint hsi_register_port_event(struct hsi_client * cl, void (*handler) (struct hsi_client *, unsigned long));ARGUMENTScl HSI client that wants to receive port events handler Event handler callbackDESCRIPTIONClients should register a callback to be able to receive events from the ports. Registration should happen after claiming the port. The handler can be called in interrupt context. Returns -errno on error, or 0 on success.COPYRIGHTKernel Hackers Manual 3.10 June 2014 HSI_REGISTER_PORT_EV(9)