Lines Matching full:handler

149 	const struct rmi_function_handler *handler = to_rmi_function_handler(drv);  in rmi_function_match()  local
152 return fn->fd.function_number == handler->func; in rmi_function_match()
175 struct rmi_function_handler *handler) in rmi_create_function_irq() argument
192 handler->attention, IRQF_ONESHOT, in rmi_create_function_irq()
206 struct rmi_function_handler *handler = in rmi_function_probe() local
212 if (handler->probe) { in rmi_function_probe()
213 error = handler->probe(fn); in rmi_function_probe()
218 if (fn->num_of_irqs && handler->attention) { in rmi_function_probe()
219 error = rmi_create_function_irq(fn, handler); in rmi_function_probe()
230 struct rmi_function_handler *handler = in rmi_function_remove() local
233 if (handler->remove) in rmi_function_remove()
234 handler->remove(fn); in rmi_function_remove()
288 * __rmi_register_function_handler - register a handler for an RMI function
289 * @handler: RMI handler that should be registered.
290 * @owner: pointer to module that implements the handler
291 * @mod_name: name of the module implementing the handler
293 * This function performs additional setup of RMI function handler and
297 int __rmi_register_function_handler(struct rmi_function_handler *handler, in __rmi_register_function_handler() argument
301 struct device_driver *driver = &handler->driver; in __rmi_register_function_handler()
322 * rmi_unregister_function_handler - unregister given RMI function handler
323 * @handler: RMI handler that should be unregistered.
325 * This function unregisters given function handler from RMI core which
328 void rmi_unregister_function_handler(struct rmi_function_handler *handler) in rmi_unregister_function_handler() argument
330 driver_unregister(&handler->driver); in rmi_unregister_function_handler()
401 pr_err("%s: error registering the RMI F%02x handler: %d\n", in rmi_register_function_handlers()