/linux-2.6.39/drivers/base/ |
D | driver.c | 42 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device() 76 struct device *driver_find_device(struct device_driver *drv, in driver_find_device() 101 int driver_create_file(struct device_driver *drv, in driver_create_file() 118 void driver_remove_file(struct device_driver *drv, in driver_remove_file() 136 int driver_add_kobj(struct device_driver *drv, struct kobject *kobj, in driver_add_kobj() 160 struct device_driver *get_driver(struct device_driver *drv) in get_driver() 178 void put_driver(struct device_driver *drv) in put_driver() 184 static int driver_add_groups(struct device_driver *drv, in driver_add_groups() 204 static void driver_remove_groups(struct device_driver *drv, in driver_remove_groups() 222 int driver_register(struct device_driver *drv) in driver_register() [all …]
|
D | dd.c | 72 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local 108 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() 200 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device() 218 static int __device_attach(struct device_driver *drv, void *data) in __device_attach() 267 struct device_driver *drv = data; in __driver_attach() local 303 int driver_attach(struct device_driver *drv) in driver_attach() 315 struct device_driver *drv; in __device_release_driver() local 369 void driver_detach(struct device_driver *drv) in driver_detach()
|
D | platform.c | 26 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ argument 406 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() local 419 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() local 427 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown() local 437 int platform_driver_register(struct platform_driver *drv) in platform_driver_register() 455 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister() 478 int __init_or_module platform_driver_probe(struct platform_driver *drv, in platform_driver_probe() 627 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match() 672 struct device_driver *drv = dev->driver; in platform_pm_prepare() local 683 struct device_driver *drv = dev->driver; in platform_pm_complete() local [all …]
|
D | module.c | 14 static char *make_driver_name(struct device_driver *drv) in make_driver_name() 33 void module_add_driver(struct module *mod, struct device_driver *drv) in module_add_driver() 72 void module_remove_driver(struct device_driver *drv) in module_remove_driver()
|
D | sys.c | 175 struct sysdev_driver *drv, in __sysdev_driver_remove() 208 int sysdev_driver_register(struct sysdev_class *cls, struct sysdev_driver *drv) in sysdev_driver_register() 258 struct sysdev_driver *drv) in sysdev_driver_unregister() 295 struct sysdev_driver *drv; in sysdev_register() local 319 struct sysdev_driver *drv; in sysdev_unregister() local 360 struct sysdev_driver *drv; in sysdev_shutdown() local 380 struct sysdev_driver *drv; in __sysdev_resume() local 413 struct sysdev_driver *drv, *err_drv; in sysdev_suspend() local
|
/linux-2.6.39/drivers/pci/ |
D | pci-driver.c | 49 int pci_add_dynid(struct pci_driver *drv, in pci_add_dynid() 81 static void pci_free_dynids(struct pci_driver *drv) in pci_free_dynids() 192 pci_create_newid_file(struct pci_driver *drv) in pci_create_newid_file() 200 static void pci_remove_newid_file(struct pci_driver *drv) in pci_remove_newid_file() 206 pci_create_removeid_file(struct pci_driver *drv) in pci_create_removeid_file() 214 static void pci_remove_removeid_file(struct pci_driver *drv) in pci_remove_removeid_file() 219 static inline int pci_create_newid_file(struct pci_driver *drv) in pci_create_newid_file() 223 static inline void pci_remove_newid_file(struct pci_driver *drv) {} in pci_remove_newid_file() 224 static inline int pci_create_removeid_file(struct pci_driver *drv) in pci_create_removeid_file() 228 static inline void pci_remove_removeid_file(struct pci_driver *drv) {} in pci_remove_removeid_file() [all …]
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | ibmebus.c | 199 int ibmebus_register_driver(struct of_platform_driver *drv) in ibmebus_register_driver() 209 void ibmebus_unregister_driver(struct of_platform_driver *drv) in ibmebus_unregister_driver() 319 static int ibmebus_bus_bus_match(struct device *dev, struct device_driver *drv) in ibmebus_bus_bus_match() 332 struct of_platform_driver *drv; in ibmebus_bus_device_probe() local 356 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_device_remove() local 366 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_device_shutdown() local 413 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_legacy_suspend() local 424 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_legacy_resume() local 434 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_prepare() local 445 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_complete() local [all …]
|
/linux-2.6.39/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() 144 void i2o_driver_unregister(struct i2o_driver *drv) in i2o_driver_unregister() 187 struct i2o_driver *drv; in i2o_driver_dispatch() local 261 struct i2o_driver *drv; in i2o_driver_notify_controller_add_all() local 281 struct i2o_driver *drv; in i2o_driver_notify_controller_remove_all() local 300 struct i2o_driver *drv; in i2o_driver_notify_device_add_all() local 319 struct i2o_driver *drv; in i2o_driver_notify_device_remove_all() local
|
/linux-2.6.39/drivers/amba/ |
D | bus.c | 40 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match() 114 struct device_driver *drv = dev->driver; in amba_pm_prepare() local 125 struct device_driver *drv = dev->driver; in amba_pm_complete() local 142 struct device_driver *drv = dev->driver; in amba_pm_suspend() local 160 struct device_driver *drv = dev->driver; in amba_pm_suspend_noirq() local 176 struct device_driver *drv = dev->driver; in amba_pm_resume() local 194 struct device_driver *drv = dev->driver; in amba_pm_resume_noirq() local 221 struct device_driver *drv = dev->driver; in amba_pm_freeze() local 239 struct device_driver *drv = dev->driver; in amba_pm_freeze_noirq() local 255 struct device_driver *drv = dev->driver; in amba_pm_thaw() local [all …]
|
/linux-2.6.39/sound/aoa/soundbus/ |
D | core.c | 40 struct soundbus_driver *drv; in soundbus_probe() local 111 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_remove() local 123 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_shutdown() local 134 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_suspend() local 144 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_resume() local 191 int soundbus_register_driver(struct soundbus_driver *drv) in soundbus_register_driver() 202 void soundbus_unregister_driver(struct soundbus_driver *drv) in soundbus_unregister_driver()
|
/linux-2.6.39/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
|
/linux-2.6.39/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()
|
/linux-2.6.39/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()
|
/linux-2.6.39/drivers/mmc/core/ |
D | bus.c | 57 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match() 107 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe() local 115 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove() local 125 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_suspend() local 136 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_resume() local 206 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver() 218 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
|
D | sdio_bus.c | 87 static int sdio_bus_match(struct device *dev, struct device_driver *drv) in sdio_bus_match() 121 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_probe() local 165 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_remove() local 240 int sdio_register_driver(struct sdio_driver *drv) in sdio_register_driver() 252 void sdio_unregister_driver(struct sdio_driver *drv) in sdio_unregister_driver()
|
/linux-2.6.39/drivers/pnp/ |
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 141 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_shutdown() local 147 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match() 224 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver() 232 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
|
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()
|
/linux-2.6.39/drivers/input/gameport/ |
D | gameport.c | 181 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver() 435 struct device_driver *drv; in gameport_rebind_driver() local 643 static ssize_t gameport_driver_show_description(struct device_driver *drv, char *buf) in gameport_driver_show_description() 657 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local 666 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local 672 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver() 682 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver() 718 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver() 743 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match() 759 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv() [all …]
|
/linux-2.6.39/sound/core/seq/ |
D | seq_midi_emul.c | 87 void *drv; in snd_midi_process_event() local 244 note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in note_off() 266 do_control(struct snd_midi_op *ops, void *drv, struct snd_midi_channel_set *chset, in do_control() 413 rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn() 453 nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn() 595 all_sounds_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_sounds_off() 613 all_notes_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_notes_off()
|
/linux-2.6.39/drivers/mtd/chips/ |
D | chipreg.c | 17 void register_mtd_chip_driver(struct mtd_chip_driver *drv) in register_mtd_chip_driver() 24 void unregister_mtd_chip_driver(struct mtd_chip_driver *drv) in unregister_mtd_chip_driver() 59 struct mtd_chip_driver *drv; in do_map_probe() local
|
/linux-2.6.39/drivers/misc/ |
D | tifm_core.c | 44 static int tifm_bus_match(struct device *dev, struct device_driver *drv) in tifm_bus_match() 74 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe() local 96 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove() local 115 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend() local 126 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_resume() local 314 int tifm_register_driver(struct tifm_driver *drv) in tifm_register_driver() 322 void tifm_unregister_driver(struct tifm_driver *drv) in tifm_unregister_driver()
|
/linux-2.6.39/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
|
/linux-2.6.39/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 138 struct device_driver *drv = data; in is_device_connecting() local 158 static int exists_connecting_device(struct device_driver *drv) in exists_connecting_device() 167 struct device_driver *drv = data; in print_device_status() local 209 struct device_driver *drv = xendrv ? &xendrv->driver : NULL; in wait_for_devices() local 236 int __xenbus_register_frontend(struct xenbus_driver *drv, in __xenbus_register_frontend()
|
/linux-2.6.39/drivers/macintosh/ |
D | macio_asic.c | 40 static int macio_bus_match(struct device *dev, struct device_driver *drv) in macio_bus_match() 73 struct macio_driver *drv; in macio_device_probe() local 97 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_remove() local 109 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_shutdown() local 118 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_suspend() local 128 struct macio_driver * drv = to_macio_driver(dev->driver); in macio_device_resume() local 525 int macio_register_driver(struct macio_driver *drv) in macio_register_driver() 538 void macio_unregister_driver(struct macio_driver *drv) in macio_unregister_driver()
|
/linux-2.6.39/drivers/input/serio/ |
D | serio.c | 60 static int serio_connect_driver(struct serio *serio, struct serio_driver *drv) in serio_connect_driver() 108 static int serio_bind_driver(struct serio *serio, struct serio_driver *drv) in serio_bind_driver() 426 struct device_driver *drv; in serio_rebind_driver() local 736 static ssize_t serio_driver_show_description(struct device_driver *drv, char *buf) in serio_driver_show_description() 742 static ssize_t serio_driver_show_bind_mode(struct device_driver *drv, char *buf) in serio_driver_show_bind_mode() 748 static ssize_t serio_driver_set_bind_mode(struct device_driver *drv, const char *buf, size_t count) in serio_driver_set_bind_mode() 776 struct serio_driver *drv = to_serio_driver(dev->driver); in serio_driver_probe() local 804 static void serio_attach_driver(struct serio_driver *drv) in serio_attach_driver() 814 int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) in __serio_register_driver() 853 void serio_unregister_driver(struct serio_driver *drv) in serio_unregister_driver() [all …]
|