/include/linux/ |
D | cpuidle.h | 49 struct cpuidle_driver *drv, 123 extern int cpuidle_select(struct cpuidle_driver *drv, 125 extern int cpuidle_enter(struct cpuidle_driver *drv, 129 extern int cpuidle_register_driver(struct cpuidle_driver *drv); 133 extern void cpuidle_unregister_driver(struct cpuidle_driver *drv); 136 extern int cpuidle_register(struct cpuidle_driver *drv, 138 extern void cpuidle_unregister(struct cpuidle_driver *drv); 151 static inline int cpuidle_select(struct cpuidle_driver *drv, in cpuidle_select() argument 154 static inline int cpuidle_enter(struct cpuidle_driver *drv, in cpuidle_enter() argument 158 static inline int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver() argument [all …]
|
D | serio.h | 52 struct serio_driver *drv; member 76 int (*connect)(struct serio *, struct serio_driver *drv); 85 int serio_open(struct serio *serio, struct serio_driver *drv); 100 int __must_check __serio_register_driver(struct serio_driver *drv, 104 #define serio_register_driver(drv) \ argument 105 __serio_register_driver(drv, THIS_MODULE, KBUILD_MODNAME) 107 void serio_unregister_driver(struct serio_driver *drv); 132 if (serio->drv && serio->drv->write_wakeup) in serio_drv_write_wakeup() 133 serio->drv->write_wakeup(serio); in serio_drv_write_wakeup()
|
D | mic_bus.h | 97 int mbus_register_driver(struct mbus_driver *drv); 98 void mbus_unregister_driver(struct mbus_driver *drv); 105 static inline struct mbus_driver *drv_to_mbus(struct device_driver *drv) in drv_to_mbus() argument 107 return container_of(drv, struct mbus_driver, driver); in drv_to_mbus()
|
D | gameport.h | 45 struct gameport_driver *drv; member 57 int (*connect)(struct gameport *, struct gameport_driver *drv); 67 int gameport_open(struct gameport *gameport, struct gameport_driver *drv, int mode); 146 int __must_check __gameport_register_driver(struct gameport_driver *drv, 150 #define gameport_register_driver(drv) \ argument 151 __gameport_register_driver(drv, THIS_MODULE, KBUILD_MODNAME) 153 void gameport_unregister_driver(struct gameport_driver *drv);
|
D | virtio.h | 151 static inline struct virtio_driver *drv_to_virtio(struct device_driver *drv) in drv_to_virtio() argument 153 return container_of(drv, struct virtio_driver, driver); in drv_to_virtio() 156 int register_virtio_driver(struct virtio_driver *drv); 157 void unregister_virtio_driver(struct virtio_driver *drv);
|
D | of_device.h | 24 const struct device_driver *drv) in of_driver_match_device() argument 26 return of_match_device(drv->of_match_table, dev) != NULL; in of_driver_match_device() 59 struct device_driver *drv) in of_driver_match_device() argument
|
D | superhyway.h | 54 struct device_driver drv; member 60 #define to_superhyway_driver(d) container_of((d), struct superhyway_driver, drv) 68 struct superhyway_driver *drv; member
|
D | i2o.h | 721 static inline void i2o_driver_notify_controller_add(struct i2o_driver *drv, in i2o_driver_notify_controller_add() argument 724 if (drv->notify_controller_add) in i2o_driver_notify_controller_add() 725 drv->notify_controller_add(c); in i2o_driver_notify_controller_add() 735 static inline void i2o_driver_notify_controller_remove(struct i2o_driver *drv, in i2o_driver_notify_controller_remove() argument 738 if (drv->notify_controller_remove) in i2o_driver_notify_controller_remove() 739 drv->notify_controller_remove(c); in i2o_driver_notify_controller_remove() 749 static inline void i2o_driver_notify_device_add(struct i2o_driver *drv, in i2o_driver_notify_device_add() argument 752 if (drv->notify_device_add) in i2o_driver_notify_device_add() 753 drv->notify_device_add(i2o_dev); in i2o_driver_notify_device_add() 763 static inline void i2o_driver_notify_device_remove(struct i2o_driver *drv, in i2o_driver_notify_device_remove() argument [all …]
|
D | pnp.h | 382 #define to_pnp_driver(drv) container_of(drv, struct pnp_driver, driver) argument 397 #define to_pnp_card_driver(drv) container_of(drv, struct pnp_card_driver, link) argument 452 int pnp_register_card_driver(struct pnp_card_driver *drv); 453 void pnp_unregister_card_driver(struct pnp_card_driver *drv); 469 int pnp_register_driver(struct pnp_driver *drv); 470 void pnp_unregister_driver(struct pnp_driver *drv); 483 static inline int pnp_register_card_driver(struct pnp_card_driver *drv) { return -ENODEV; } in pnp_register_card_driver() argument 484 static inline void pnp_unregister_card_driver(struct pnp_card_driver *drv) { } in pnp_unregister_card_driver() argument 500 static inline int pnp_register_driver(struct pnp_driver *drv) { return -ENODEV; } in pnp_register_driver() argument 501 static inline void pnp_unregister_driver(struct pnp_driver *drv) { } in pnp_unregister_driver() argument
|
D | rpmsg.h | 163 struct device_driver drv; member 172 int register_rpmsg_driver(struct rpmsg_driver *drv); 173 void unregister_rpmsg_driver(struct rpmsg_driver *drv);
|
D | eisa.h | 62 #define to_eisa_driver(drv) container_of(drv,struct eisa_driver, driver) argument
|
D | fmc.h | 134 int (*validate)(struct fmc_device *fmc, struct fmc_driver *drv); 221 extern int fmc_driver_register(struct fmc_driver *drv); 222 extern void fmc_driver_unregister(struct fmc_driver *drv); 231 extern int fmc_match(struct device *dev, struct device_driver *drv);
|
D | tc.h | 110 #define to_tc_driver(drv) container_of(drv, struct tc_driver, driver) argument
|
D | maple.h | 85 struct device_driver drv; member 100 #define to_maple_driver(n) container_of(n, struct maple_driver, drv)
|
D | platform_device.h | 185 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ argument 191 #define platform_driver_register(drv) \ argument 192 __platform_driver_register(drv, THIS_MODULE)
|
D | zorro.h | 63 #define to_zorro_driver(drv) container_of(drv, struct zorro_driver, driver) argument
|
D | olpc-ec.h | 30 extern void olpc_ec_driver_register(struct olpc_ec_driver *drv, void *arg);
|
D | tifm.h | 144 int tifm_register_driver(struct tifm_driver *drv); 145 void tifm_unregister_driver(struct tifm_driver *drv);
|
D | vlynq.h | 90 static inline struct vlynq_driver *to_vlynq_driver(struct device_driver *drv) in to_vlynq_driver() argument 92 return container_of(drv, struct vlynq_driver, driver); in to_vlynq_driver()
|
/include/scsi/ |
D | scsi_driver.h | 21 #define to_scsi_driver(drv) \ argument 22 container_of((drv), struct scsi_driver, gendrv) 25 #define scsi_unregister_driver(drv) \ argument 26 driver_unregister(drv);
|
/include/xen/ |
D | xenbus.h | 104 static inline struct xenbus_driver *to_xenbus_driver(struct device_driver *drv) in to_xenbus_driver() argument 106 return container_of(drv, struct xenbus_driver, driver); in to_xenbus_driver() 109 int __must_check __xenbus_register_frontend(struct xenbus_driver *drv, 112 int __must_check __xenbus_register_backend(struct xenbus_driver *drv, 116 #define xenbus_register_frontend(drv) \ argument 117 __xenbus_register_frontend(drv, THIS_MODULE, KBUILD_MODNAME); 118 #define xenbus_register_backend(drv) \ argument 119 __xenbus_register_backend(drv, THIS_MODULE, KBUILD_MODNAME); 121 void xenbus_unregister_driver(struct xenbus_driver *drv);
|
/include/net/caif/ |
D | caif_hsi.h | 96 void (*tx_done_cb) (struct cfhsi_cb_ops *drv); 97 void (*rx_done_cb) (struct cfhsi_cb_ops *drv); 98 void (*wake_up_cb) (struct cfhsi_cb_ops *drv); 99 void (*wake_down_cb) (struct cfhsi_cb_ops *drv);
|
/include/linux/hsi/ |
D | hsi.h | 176 #define to_hsi_client_driver(drv) container_of(drv, struct hsi_client_driver,\ argument 179 int hsi_register_client_driver(struct hsi_client_driver *drv); 181 static inline void hsi_unregister_client_driver(struct hsi_client_driver *drv) in hsi_unregister_client_driver() argument 183 driver_unregister(&drv->driver); in hsi_unregister_client_driver()
|
/include/linux/mfd/ |
D | mcp.h | 50 struct device_driver drv; member
|
/include/linux/bcma/ |
D | bcma.h | 300 struct device_driver drv; member 303 int __bcma_driver_register(struct bcma_driver *drv, struct module *owner); 304 #define bcma_driver_register(drv) \ argument 305 __bcma_driver_register(drv, THIS_MODULE) 307 extern void bcma_driver_unregister(struct bcma_driver *drv);
|