/drivers/cpuidle/ |
D | driver.c | 30 static void __cpuidle_driver_init(struct cpuidle_driver *drv, int cpu) in __cpuidle_driver_init() 48 static int __cpuidle_register_driver(struct cpuidle_driver *drv, int cpu) in __cpuidle_register_driver() 66 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv, int cpu) in __cpuidle_unregister_driver() 85 static void __cpuidle_set_cpu_driver(struct cpuidle_driver *drv, int cpu) in __cpuidle_set_cpu_driver() 95 static void __cpuidle_unregister_all_cpu_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_all_cpu_driver() 102 static int __cpuidle_register_all_cpu_driver(struct cpuidle_driver *drv) in __cpuidle_register_all_cpu_driver() 124 int cpuidle_register_cpu_driver(struct cpuidle_driver *drv, int cpu) in cpuidle_register_cpu_driver() 135 void cpuidle_unregister_cpu_driver(struct cpuidle_driver *drv, int cpu) in cpuidle_unregister_cpu_driver() 146 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver() 162 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver() [all …]
|
D | cpuidle.c | 55 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local 75 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state() 121 struct cpuidle_driver *drv; in cpuidle_idle_call() local 235 struct cpuidle_driver *drv, int index) in poll_idle() 255 static void poll_idle_init(struct cpuidle_driver *drv) in poll_idle_init() 269 static void poll_idle_init(struct cpuidle_driver *drv) {} in poll_idle_init() 282 struct cpuidle_driver *drv; in cpuidle_enable_device() local 344 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_disable_device() local 373 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in __cpuidle_register_device() local 435 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_unregister_device() local [all …]
|
/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() 126 static int driver_add_groups(struct device_driver *drv, in driver_add_groups() 146 static void driver_remove_groups(struct device_driver *drv, in driver_remove_groups() 164 int driver_register(struct device_driver *drv) in driver_register() 204 void driver_unregister(struct device_driver *drv) in driver_unregister()
|
D | dd.c | 229 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local 265 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe() 371 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device() 388 static int __device_attach(struct device_driver *drv, void *data) in __device_attach() 441 struct device_driver *drv = data; in __driver_attach() local 477 int driver_attach(struct device_driver *drv) in driver_attach() 489 struct device_driver *drv; in __device_release_driver() local 544 void driver_detach(struct device_driver *drv) in driver_detach()
|
D | platform.c | 32 #define to_platform_driver(drv) (container_of((drv), struct platform_driver, \ argument 483 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_probe() local 504 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_remove() local 517 struct platform_driver *drv = to_platform_driver(_dev->driver); in platform_drv_shutdown() local 529 int platform_driver_register(struct platform_driver *drv) in platform_driver_register() 547 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister() 574 int __init_or_module platform_driver_probe(struct platform_driver *drv, in platform_driver_probe() 723 static int platform_match(struct device *dev, struct device_driver *drv) in platform_match() 776 struct device_driver *drv = dev->driver; in platform_pm_suspend() local 794 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()
|
/drivers/pci/ |
D | pci-driver.c | 50 int pci_add_dynid(struct pci_driver *drv, in pci_add_dynid() 80 static void pci_free_dynids(struct pci_driver *drv) in pci_free_dynids() 224 static const struct pci_device_id *pci_match_device(struct pci_driver *drv, in pci_match_device() 243 struct pci_driver *drv; member 274 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe() 309 __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe() 329 struct pci_driver *drv; in pci_device_probe() local 345 struct pci_driver * drv = pci_dev->driver; in pci_device_remove() local 382 struct pci_driver *drv = pci_dev->driver; in pci_device_shutdown() local 469 struct pci_driver * drv = pci_dev->driver; in pci_legacy_suspend() local [all …]
|
/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
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-drv.c | 152 struct list_head drv; /* list of devices using this op_mode */ member 168 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc() 175 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() 182 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode() 189 static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc, in iwl_alloc_fw_desc() 217 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware() 353 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib() 371 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware() 472 static int iwl_parse_tlv_firmware(struct iwl_drv *drv, in iwl_parse_tlv_firmware() 717 static int iwl_alloc_ucode(struct iwl_drv *drv, in iwl_alloc_ucode() [all …]
|
/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_shutdown() local 146 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_suspend() local 157 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_resume() local 221 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver() 233 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
|
D | sdio_bus.c | 93 static int sdio_bus_match(struct device *dev, struct device_driver *drv) in sdio_bus_match() 127 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_probe() local 170 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_remove() local 254 int sdio_register_driver(struct sdio_driver *drv) in sdio_register_driver() 266 void sdio_unregister_driver(struct sdio_driver *drv) in sdio_unregister_driver()
|
/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()
|
/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/video/via/ |
D | via_aux_edid.c | 33 static void query_edid(struct via_aux_drv *drv) in query_edid() 62 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode() 79 static void cleanup(struct via_aux_drv *drv) in cleanup() 89 struct via_aux_drv drv = { in via_aux_edid_probe() 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 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()
|
/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/nfc/ |
D | nfcwilink.c | 125 static void nfcwilink_fw_download_receive(struct nfcwilink *drv, in nfcwilink_fw_download_receive() 142 static int nfcwilink_get_bts_file_name(struct nfcwilink *drv, char *file_name) in nfcwilink_get_bts_file_name() 205 static int nfcwilink_send_bts_cmd(struct nfcwilink *drv, __u8 *data, int len) in nfcwilink_send_bts_cmd() 256 static int nfcwilink_download_fw(struct nfcwilink *drv) in nfcwilink_download_fw() 338 struct nfcwilink *drv = priv_data; in nfcwilink_register_complete() local 352 struct nfcwilink *drv = priv_data; in nfcwilink_receive() local 401 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_open() local 466 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_close() local 486 struct nfcwilink *drv = nci_get_drvdata(ndev); in nfcwilink_send() local 523 static struct nfcwilink *drv; in nfcwilink_probe() local [all …]
|
/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 642 static ssize_t gameport_driver_show_description(struct device_driver *drv, char *buf) in gameport_driver_show_description() 656 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local 665 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local 671 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver() 681 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver() 717 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver() 742 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match() 758 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv() [all …]
|
/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 316 int tifm_register_driver(struct tifm_driver *drv) in tifm_register_driver() 324 void tifm_unregister_driver(struct tifm_driver *drv) in tifm_unregister_driver()
|
/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 735 static ssize_t serio_driver_show_description(struct device_driver *drv, char *buf) in serio_driver_show_description() 741 static ssize_t serio_driver_show_bind_mode(struct device_driver *drv, char *buf) in serio_driver_show_bind_mode() 747 static ssize_t serio_driver_set_bind_mode(struct device_driver *drv, const char *buf, size_t count) in serio_driver_set_bind_mode() 775 struct serio_driver *drv = to_serio_driver(dev->driver); in serio_driver_probe() local 803 static void serio_attach_driver(struct serio_driver *drv) in serio_attach_driver() 813 int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) in __serio_register_driver() 852 void serio_unregister_driver(struct serio_driver *drv) in serio_unregister_driver() [all …]
|
/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()
|
/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
|
/drivers/media/radio/ |
D | radio-isa.c | 179 struct radio_isa_driver *drv = pdev->platform_data; in radio_isa_match() local 185 static bool radio_isa_valid_io(const struct radio_isa_driver *drv, int io) in radio_isa_valid_io() 195 static struct radio_isa_card *radio_isa_alloc(struct radio_isa_driver *drv, in radio_isa_alloc() 215 const struct radio_isa_driver *drv = isa->drv; in radio_isa_common_probe() local 309 struct radio_isa_driver *drv = pdev->platform_data; in radio_isa_probe() local 369 struct radio_isa_driver *drv = container_of(pnp_drv, in radio_isa_pnp_probe() local
|
/drivers/memstick/core/ |
D | memstick.c | 44 static int memstick_bus_match(struct device *dev, struct device_driver *drv) in memstick_bus_match() 84 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_probe() local 101 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_remove() local 120 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_suspend() local 133 struct memstick_driver *drv = container_of(dev->driver, in memstick_device_resume() local 605 int memstick_register_driver(struct memstick_driver *drv) in memstick_register_driver() 613 void memstick_unregister_driver(struct memstick_driver *drv) in memstick_unregister_driver()
|