/linux-3.3/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() 203 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device() 221 static int __device_attach(struct device_driver *drv, void *data) in __device_attach() 275 struct device_driver *drv = data; in __driver_attach() local 311 int driver_attach(struct device_driver *drv) in driver_attach() 323 struct device_driver *drv; in __device_release_driver() local 377 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 439 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() local 452 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() local 460 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown() local 470 int platform_driver_register(struct platform_driver *drv) in platform_driver_register() 488 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister() 511 int __init_or_module platform_driver_probe(struct platform_driver *drv, in platform_driver_probe() 660 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match() 709 struct device_driver *drv = dev->driver; in platform_pm_suspend() local 727 struct device_driver *drv = dev->driver; in platform_pm_resume() 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()
|
/linux-3.3/drivers/pci/ |
D | pci-driver.c | 50 int pci_add_dynid(struct pci_driver *drv, in pci_add_dynid() 82 static void pci_free_dynids(struct pci_driver *drv) in pci_free_dynids() 193 pci_create_newid_file(struct pci_driver *drv) in pci_create_newid_file() 201 static void pci_remove_newid_file(struct pci_driver *drv) in pci_remove_newid_file() 207 pci_create_removeid_file(struct pci_driver *drv) in pci_create_removeid_file() 215 static void pci_remove_removeid_file(struct pci_driver *drv) in pci_remove_removeid_file() 220 static inline int pci_create_newid_file(struct pci_driver *drv) in pci_create_newid_file() 224 static inline void pci_remove_newid_file(struct pci_driver *drv) {} in pci_remove_newid_file() 225 static inline int pci_create_removeid_file(struct pci_driver *drv) in pci_create_removeid_file() 229 static inline void pci_remove_removeid_file(struct pci_driver *drv) {} in pci_remove_removeid_file() [all …]
|
/linux-3.3/arch/powerpc/kernel/ |
D | ibmebus.c | 207 int ibmebus_register_driver(struct of_platform_driver *drv) in ibmebus_register_driver() 217 void ibmebus_unregister_driver(struct of_platform_driver *drv) in ibmebus_unregister_driver() 327 static int ibmebus_bus_bus_match(struct device *dev, struct device_driver *drv) in ibmebus_bus_bus_match() 340 struct of_platform_driver *drv; in ibmebus_bus_device_probe() local 364 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_device_remove() local 374 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_device_shutdown() local 421 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_legacy_suspend() local 432 struct of_platform_driver *drv = to_of_platform_driver(dev->driver); in ibmebus_bus_legacy_resume() local 442 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_prepare() local 453 struct device_driver *drv = dev->driver; in ibmebus_bus_pm_complete() local [all …]
|
/linux-3.3/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-3.3/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-3.3/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-3.3/drivers/zorro/ |
D | zorro-driver.c | 46 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local 67 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local 86 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver() 108 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver() 126 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
|
/linux-3.3/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-3.3/drivers/mmc/core/ |
D | bus.c | 59 static int mmc_bus_match(struct device *dev, struct device_driver *drv) in mmc_bus_match() 109 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe() local 117 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove() local 127 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_suspend() local 138 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_resume() local 208 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver() 220 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
|
D | sdio_bus.c | 88 static int sdio_bus_match(struct device *dev, struct device_driver *drv) in sdio_bus_match() 122 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_probe() local 166 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_remove() local 237 int sdio_register_driver(struct sdio_driver *drv) in sdio_register_driver() 249 void sdio_unregister_driver(struct sdio_driver *drv) in sdio_unregister_driver()
|
/linux-3.3/drivers/nfc/ |
D | nfcwilink.c | 68 struct nfcwilink *drv = priv_data; in nfcwilink_register_complete() local 82 struct nfcwilink *drv = priv_data; in nfcwilink_receive() local 126 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_open() local 185 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_close() local 205 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_send() local 240 static struct nfcwilink *drv; in nfcwilink_probe() local 294 struct nfcwilink *drv = dev_get_drvdata(&pdev->dev); in nfcwilink_remove() local
|
/linux-3.3/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-3.3/drivers/cpuidle/ |
D | driver.c | 20 static void __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver() 48 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver() 83 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver()
|
/linux-3.3/arch/powerpc/platforms/pseries/ |
D | processor_idle.c | 37 struct cpuidle_driver *drv = cpuidle_get_driver(); in update_smt_snooze_delay() local 63 struct cpuidle_driver *drv, in snooze_loop() 100 struct cpuidle_driver *drv, in dedicated_cede_loop() 120 struct cpuidle_driver *drv, in shared_cede_loop() 192 struct cpuidle_driver *drv = &pseries_idle_driver; in pseries_cpuidle_driver_init() local 241 struct cpuidle_driver *drv = &pseries_idle_driver; in pseries_idle_devices_init() local
|
/linux-3.3/drivers/amba/ |
D | bus.c | 40 static int amba_match(struct device *dev, struct device_driver *drv) in amba_match() 122 struct device_driver *drv = dev->driver; in amba_pm_suspend() local 140 struct device_driver *drv = dev->driver; in amba_pm_resume() local 167 struct device_driver *drv = dev->driver; in amba_pm_freeze() local 185 struct device_driver *drv = dev->driver; in amba_pm_thaw() local 203 struct device_driver *drv = dev->driver; in amba_pm_poweroff() local 221 struct device_driver *drv = dev->driver; in amba_pm_restore() local 432 struct amba_driver *drv = to_amba_driver(dev->driver); in amba_remove() local 452 struct amba_driver *drv = to_amba_driver(dev->driver); in amba_shutdown() local 464 int amba_driver_register(struct amba_driver *drv) in amba_driver_register() [all …]
|
/linux-3.3/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-3.3/sound/core/seq/ |
D | seq_midi_emul.c | 88 void *drv; in snd_midi_process_event() local 245 note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in note_off() 267 do_control(struct snd_midi_op *ops, void *drv, struct snd_midi_channel_set *chset, in do_control() 414 rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn() 454 nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn() 596 all_sounds_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_sounds_off() 614 all_notes_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_notes_off()
|
/linux-3.3/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-3.3/arch/x86/kernel/apic/ |
D | probe_32.c | 160 struct apic **drv; in parse_apic() local 214 struct apic **drv; in generic_apic_probe() local 234 struct apic **drv; in generic_mps_oem_check() local 254 struct apic **drv; in default_acpi_madt_oem_check() local
|
/linux-3.3/arch/mips/sgi-ip22/ |
D | ip22-gio.c | 104 static int gio_bus_match(struct device *dev, struct device_driver *drv) in gio_bus_match() 115 struct gio_driver *drv; in gio_device_probe() local 139 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_remove() local 149 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_suspend() local 160 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_resume() local 171 struct gio_driver *drv = to_gio_driver(dev->driver); in gio_device_shutdown() local 219 int gio_register_driver(struct gio_driver *drv) in gio_register_driver() 233 void gio_unregister_driver(struct gio_driver *drv) in gio_unregister_driver()
|
/linux-3.3/drivers/misc/ |
D | tifm_core.c | 45 static int tifm_bus_match(struct device *dev, struct device_driver *drv) in tifm_bus_match() 75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe() local 97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove() local 116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend() local 127 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_resume() local 315 int tifm_register_driver(struct tifm_driver *drv) in tifm_register_driver() 323 void tifm_unregister_driver(struct tifm_driver *drv) in tifm_unregister_driver()
|