Lines Matching refs:handler
151 struct rmi_function_handler *handler = to_rmi_function_handler(drv); in rmi_function_match() local
154 return fn->fd.function_number == handler->func; in rmi_function_match()
177 struct rmi_function_handler *handler) in rmi_create_function_irq() argument
194 handler->attention, IRQF_ONESHOT, in rmi_create_function_irq()
208 struct rmi_function_handler *handler = in rmi_function_probe() local
214 if (handler->probe) { in rmi_function_probe()
215 error = handler->probe(fn); in rmi_function_probe()
220 if (fn->num_of_irqs && handler->attention) { in rmi_function_probe()
221 error = rmi_create_function_irq(fn, handler); in rmi_function_probe()
232 struct rmi_function_handler *handler = in rmi_function_remove() local
235 if (handler->remove) in rmi_function_remove()
236 handler->remove(fn); in rmi_function_remove()
299 int __rmi_register_function_handler(struct rmi_function_handler *handler, in __rmi_register_function_handler() argument
303 struct device_driver *driver = &handler->driver; in __rmi_register_function_handler()
330 void rmi_unregister_function_handler(struct rmi_function_handler *handler) in rmi_unregister_function_handler() argument
332 driver_unregister(&handler->driver); in rmi_unregister_function_handler()