/drivers/pci/ |
D | pci-driver.c | 103 pci_free_dynids(struct pci_driver *drv) in pci_free_dynids() 116 pci_create_newid_file(struct pci_driver *drv) in pci_create_newid_file() 124 static void pci_remove_newid_file(struct pci_driver *drv) in pci_remove_newid_file() 129 static inline void pci_free_dynids(struct pci_driver *drv) {} in pci_free_dynids() 130 static inline int pci_create_newid_file(struct pci_driver *drv) in pci_create_newid_file() 134 static inline void pci_remove_newid_file(struct pci_driver *drv) {} in pci_remove_newid_file() 171 static const struct pci_device_id *pci_match_device(struct pci_driver *drv, in pci_match_device() 190 struct pci_driver *drv; member 202 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe() 238 __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe() [all …]
|
/drivers/media/video/ |
D | v4l1-compat.c | 62 v4l2_kioctl drv) in get_v4l_control() 90 v4l2_kioctl drv) in set_v4l_control() 222 v4l2_kioctl drv) in count_inputs() 238 v4l2_kioctl drv, in check_size() 271 v4l2_kioctl drv) in v4l1_compat_get_capabilities() 328 v4l2_kioctl drv) in v4l1_compat_get_frame_buffer() 382 v4l2_kioctl drv) in v4l1_compat_set_frame_buffer() 418 v4l2_kioctl drv) in v4l1_compat_get_win_cap_dimensions() 466 v4l2_kioctl drv) in v4l1_compat_set_win_cap_dimensions() 518 v4l2_kioctl drv) in v4l1_compat_turn_preview_on_off() [all …]
|
/drivers/base/ |
D | driver.c | 34 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() 68 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() 93 int driver_create_file(struct device_driver *drv, in driver_create_file() 110 void driver_remove_file(struct device_driver *drv, in driver_remove_file() 128 int driver_add_kobj(struct device_driver *drv, struct kobject *kobj, in driver_add_kobj() 152 struct device_driver *get_driver(struct device_driver *drv) in get_driver() 170 void put_driver(struct device_driver *drv) in put_driver() 176 static int driver_add_groups(struct device_driver *drv, in driver_add_groups() 196 static void driver_remove_groups(struct device_driver *drv, in driver_remove_groups() 214 int driver_register(struct device_driver *drv) in driver_register() [all …]
|
D | platform.c | 23 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ argument 445 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() local 458 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() local 466 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown() local 474 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_suspend() local 482 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_resume() local 492 int platform_driver_register(struct platform_driver *drv) in platform_driver_register() 513 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister() 536 int __init_or_module platform_driver_probe(struct platform_driver *drv, in platform_driver_probe() 604 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match() [all …]
|
D | dd.c | 67 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local 103 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() 204 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device() 222 static int __device_attach(struct device_driver *drv, void *data) in __device_attach() 265 struct device_driver *drv = data; in __driver_attach() local 301 int driver_attach(struct device_driver *drv) in driver_attach() 313 struct device_driver *drv; in __device_release_driver() local 358 void driver_detach(struct device_driver *drv) in driver_detach()
|
D | module.c | 13 static char *make_driver_name(struct device_driver *drv) in make_driver_name() 34 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver() 73 void module_remove_driver(struct device_driver *drv) in module_remove_driver()
|
/drivers/of/ |
D | platform.c | 22 static int of_platform_bus_match(struct device *dev, struct device_driver *drv) in of_platform_bus_match() 37 struct of_platform_driver *drv; in of_platform_device_probe() local 61 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in of_platform_device_remove() local 71 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in of_platform_device_suspend() local 82 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in of_platform_device_resume() local 93 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in of_platform_device_shutdown() local 112 int of_register_driver(struct of_platform_driver *drv, struct bus_type *bus) in of_register_driver() 126 void of_unregister_driver(struct of_platform_driver *drv) in of_unregister_driver()
|
/drivers/message/i2o/ |
D | driver.c | 46 static int i2o_bus_match(struct device *dev, struct device_driver *drv) in i2o_bus_match() 77 int i2o_driver_register(struct i2o_driver *drv) in i2o_driver_register() 143 void i2o_driver_unregister(struct i2o_driver *drv) in i2o_driver_unregister() 186 struct i2o_driver *drv; in i2o_driver_dispatch() local 260 struct i2o_driver *drv; in i2o_driver_notify_controller_add_all() local 280 struct i2o_driver *drv; in i2o_driver_notify_controller_remove_all() local 299 struct i2o_driver *drv; in i2o_driver_notify_device_add_all() local 318 struct i2o_driver *drv; in i2o_driver_notify_device_remove_all() local
|
/drivers/zorro/ |
D | zorro-driver.c | 45 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local 66 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local 85 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver() 106 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver() 123 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
|
/drivers/mmc/core/ |
D | bus.c | 54 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match() 101 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe() local 109 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove() local 119 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_suspend() local 130 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_resume() local 164 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver() 176 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
|
D | sdio_bus.c | 91 static int sdio_bus_match(struct device *dev, struct device_driver *drv) in sdio_bus_match() 125 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_probe() local 147 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_remove() local 186 int sdio_register_driver(struct sdio_driver *drv) in sdio_register_driver() 198 void sdio_unregister_driver(struct sdio_driver *drv) in sdio_unregister_driver()
|
/drivers/net/irda/ |
D | sir_dongle.c | 36 struct dongle_driver *drv; in irda_register_dongle() local 55 int irda_unregister_dongle(struct dongle_driver *drv) in irda_unregister_dongle() 67 const struct dongle_driver *drv = NULL; in sirdev_get_dongle() local 123 const struct dongle_driver *drv = dev->dongle_drv; in sirdev_put_dongle() local
|
/drivers/pnp/ |
D | card.c | 17 static const struct pnp_card_device_id *match_card(struct pnp_card_driver *drv, in match_card() 58 struct pnp_card_driver *drv = to_pnp_card_driver(dev->driver); in card_remove_first() local 69 static int card_probe(struct pnp_card *card, struct pnp_card_driver *drv) in card_probe() 261 struct pnp_card_driver *drv = in pnp_add_card() local 330 struct pnp_card_driver *drv; in pnp_request_card_device() local 376 struct pnp_card_driver *drv = dev->card_link->driver; in pnp_release_card_device() local 411 int pnp_register_card_driver(struct pnp_card_driver *drv) in pnp_register_card_driver() 444 void pnp_unregister_card_driver(struct pnp_card_driver *drv) in pnp_unregister_card_driver()
|
D | driver.c | 43 static const struct pnp_device_id *match_device(struct pnp_driver *drv, in match_device() 127 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_remove() local 138 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match() 211 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver() 219 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
|
/drivers/xen/xenbus/ |
D | xenbus_probe.c | 87 struct xenbus_driver *drv = to_xenbus_driver(_drv); in xenbus_match() local 199 struct xenbus_driver *drv = to_xenbus_driver(dev->dev.driver); in otherend_changed() local 239 struct xenbus_driver *drv = to_xenbus_driver(dev->dev.driver); in talk_to_otherend() local 258 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_probe() local 303 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_remove() local 339 int xenbus_register_driver_common(struct xenbus_driver *drv, in xenbus_register_driver_common() 352 int __xenbus_register_frontend(struct xenbus_driver *drv, in __xenbus_register_frontend() 371 void xenbus_unregister_driver(struct xenbus_driver *drv) in xenbus_unregister_driver() 675 struct xenbus_driver *drv; in suspend_dev() local 695 struct xenbus_driver *drv; in suspend_cancel_dev() local [all …]
|
/drivers/dio/ |
D | dio-driver.c | 50 struct dio_driver *drv = to_dio_driver(dev->driver); in dio_device_probe() local 76 int dio_register_driver(struct dio_driver *drv) in dio_register_driver() 97 void dio_unregister_driver(struct dio_driver *drv) in dio_unregister_driver() 113 static int dio_bus_match(struct device *dev, struct device_driver *drv) in dio_bus_match()
|
/drivers/input/gameport/ |
D | gameport.c | 190 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver() 472 struct device_driver *drv; in gameport_rebind_driver() local 680 static ssize_t gameport_driver_show_description(struct device_driver *drv, char *buf) in gameport_driver_show_description() 694 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local 703 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local 709 static void gameport_add_driver(struct gameport_driver *drv) in gameport_add_driver() 720 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver() 756 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver() 780 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match() 796 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv() [all …]
|
/drivers/macintosh/ |
D | macio_asic.c | 40 static int macio_bus_match(struct device *dev, struct device_driver *drv) in macio_bus_match() 75 struct macio_driver *drv; in macio_device_probe() local 99 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_remove() local 111 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_shutdown() local 120 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_suspend() local 130 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_resume() local 509 int macio_register_driver(struct macio_driver *drv) in macio_register_driver() 523 void macio_unregister_driver(struct macio_driver *drv) in macio_unregister_driver()
|
/drivers/misc/ |
D | tifm_core.c | 43 static int tifm_bus_match(struct device *dev, struct device_driver *drv) in tifm_bus_match() 73 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe() local 95 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove() local 114 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend() local 125 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_resume() local 313 int tifm_register_driver(struct tifm_driver *drv) in tifm_register_driver() 321 void tifm_unregister_driver(struct tifm_driver *drv) in tifm_unregister_driver()
|
/drivers/amba/ |
D | bus.c | 39 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match() 62 struct amba_driver *drv = to_amba_driver(dev->driver); in amba_suspend() local 72 struct amba_driver *drv = to_amba_driver(dev->driver); in amba_resume() local 142 struct amba_driver *drv = to_amba_driver(dev->driver); in amba_remove() local 148 struct amba_driver *drv = to_amba_driver(dev->driver); in amba_shutdown() local 160 int amba_driver_register(struct amba_driver *drv) in amba_driver_register() 180 void amba_driver_unregister(struct amba_driver *drv) in amba_driver_unregister()
|
/drivers/input/serio/ |
D | serio.c | 71 static int serio_connect_driver(struct serio *serio, struct serio_driver *drv) in serio_connect_driver() 119 static int serio_bind_driver(struct serio *serio, struct serio_driver *drv) in serio_bind_driver() 469 struct device_driver *drv; in serio_rebind_driver() local 740 static ssize_t serio_driver_show_description(struct device_driver *drv, char *buf) in serio_driver_show_description() 746 static ssize_t serio_driver_show_bind_mode(struct device_driver *drv, char *buf) in serio_driver_show_bind_mode() 752 static ssize_t serio_driver_set_bind_mode(struct device_driver *drv, const char *buf, size_t count) in serio_driver_set_bind_mode() 780 struct serio_driver *drv = to_serio_driver(dev->driver); in serio_driver_probe() local 808 static void serio_attach_driver(struct serio_driver *drv) in serio_attach_driver() 819 int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) in __serio_register_driver() 858 void serio_unregister_driver(struct serio_driver *drv) in serio_unregister_driver() [all …]
|
/drivers/mtd/chips/ |
D | chipreg.c | 18 void register_mtd_chip_driver(struct mtd_chip_driver *drv) in register_mtd_chip_driver() 25 void unregister_mtd_chip_driver(struct mtd_chip_driver *drv) in unregister_mtd_chip_driver() 60 struct mtd_chip_driver *drv; in do_map_probe() local
|
/drivers/mfd/ |
D | mcp-core.c | 29 static int mcp_bus_match(struct device *dev, struct device_driver *drv) in mcp_bus_match() 37 struct mcp_driver *drv = to_mcp_driver(dev->driver); in mcp_bus_probe() local 45 struct mcp_driver *drv = to_mcp_driver(dev->driver); in mcp_bus_remove() local 57 struct mcp_driver *drv = to_mcp_driver(dev->driver); in mcp_bus_suspend() local 70 struct mcp_driver *drv = to_mcp_driver(dev->driver); in mcp_bus_resume() local
|
/drivers/memstick/core/ |
D | memstick.c | 42 static int memstick_bus_match(struct device *dev, struct device_driver *drv) in memstick_bus_match() 82 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_probe() local 99 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_remove() local 118 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_suspend() local 131 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_resume() local 599 int memstick_register_driver(struct memstick_driver *drv) in memstick_register_driver() 607 void memstick_unregister_driver(struct memstick_driver *drv) in memstick_unregister_driver()
|
/drivers/isdn/gigaset/ |
D | common.c | 355 static struct cardstate *alloc_cs(struct gigaset_driver *drv) in alloc_cs() 386 struct gigaset_driver *drv = cs->driver; in make_valid() local 395 struct gigaset_driver *drv = cs->driver; in make_invalid() local 627 struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels, in gigaset_initcs() 954 struct gigaset_driver *drv; in gigaset_get_cs_by_id() local 979 struct gigaset_driver *drv; in gigaset_debugdrivers() local 1005 struct gigaset_driver *drv; in gigaset_get_cs_by_minor() local 1031 void gigaset_freedriver(struct gigaset_driver *drv) in gigaset_freedriver() 1062 struct gigaset_driver *drv; in gigaset_initdriver() local 1106 void gigaset_blockdriver(struct gigaset_driver *drv) in gigaset_blockdriver()
|