| /linux/sound/soc/sdca/ |
| H A D | sdca_class_function.c | 57 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_writeable() local 65 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_readable() local 73 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_volatile() local 99 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_mbq_size() local 107 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_deferrable() local 122 struct class_function_drv *drv = snd_soc_component_get_drvdata(dai->component); in class_function_startup() local 132 struct class_function_drv *drv = snd_soc_component_get_drvdata(dai->component); in class_function_sdw_add_peripheral() local 167 struct class_function_drv *drv = snd_soc_component_get_drvdata(dai->component); in class_function_sdw_remove_peripheral() local 195 struct class_function_drv *drv = snd_soc_component_get_drvdata(component); in class_function_component_probe() local 203 struct class_function_drv *drv = snd_soc_component_get_drvdata(component); in class_function_component_remove() local [all …]
|
| /linux/drivers/cpuidle/ |
| H A D | cpuidle.c | 52 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available() 66 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local 84 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state() 136 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state() 144 static noinstr void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper() 192 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter_s2idle() 218 struct cpuidle_driver *drv, in cpuidle_enter_state() 359 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select() 375 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter() 432 __cpuidle u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time() [all …]
|
| H A D | cpuidle-psci.c | 65 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state() 110 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state() 116 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state() 219 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state() 249 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology() 276 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle() 318 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle() 352 struct cpuidle_driver *drv; in psci_idle_init_cpu() local 434 struct cpuidle_driver *drv; in psci_cpuidle_probe() local
|
| /linux/drivers/soundwire/ |
| H A D | bus_type.c | 22 sdw_get_device_id(struct sdw_slave *slave, const struct sdw_driver *drv) in sdw_get_device_id() 41 const struct sdw_driver *drv; in sdw_bus_match() local 78 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_bus_probe() local 164 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_bus_remove() local 181 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_bus_shutdown() local 203 int __sdw_register_driver(struct sdw_driver *drv, struct module *owner) in __sdw_register_driver() 224 void sdw_unregister_driver(struct sdw_driver *drv) in sdw_unregister_driver()
|
| /linux/drivers/vfio/mdev/ |
| H A D | mdev_driver.c | 17 struct mdev_driver *drv = in mdev_probe() local 27 struct mdev_driver *drv = in mdev_remove() local 34 static int mdev_match(struct device *dev, const struct device_driver *drv) in mdev_match() 56 int mdev_register_driver(struct mdev_driver *drv) in mdev_register_driver() 71 void mdev_unregister_driver(struct mdev_driver *drv) in mdev_unregister_driver()
|
| /linux/drivers/base/ |
| H A D | dd.c | 230 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local 519 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local 624 static int call_driver_probe(struct device *dev, const struct device_driver *drv) in call_driver_probe() 655 static int really_probe(struct device *dev, const struct device_driver *drv) in really_probe() 783 static int really_probe_debug(struct device *dev, const struct device_driver *drv) in really_probe_debug() 830 static int __driver_probe_device(const struct device_driver *drv, struct device *dev) in __driver_probe_device() 895 static int driver_probe_device(const struct device_driver *drv, struct device *dev) in driver_probe_device() 939 static bool driver_allows_async_probing(const struct device_driver *drv) in driver_allows_async_probing() 992 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver() 1201 int device_driver_attach(const struct device_driver *drv, struct device *dev) in device_driver_attach() [all …]
|
| H A D | platform.c | 905 int __platform_driver_register(struct platform_driver *drv, struct module *owner) in __platform_driver_register() 918 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister() 956 int __init_or_module __platform_driver_probe(struct platform_driver *drv, in __platform_driver_probe() 1168 const struct device_driver *drv = dev->driver; in platform_pm_suspend() local 1186 const struct device_driver *drv = dev->driver; in platform_pm_resume() local 1208 const struct device_driver *drv = dev->driver; in platform_pm_freeze() local 1226 const struct device_driver *drv = dev->driver; in platform_pm_thaw() local 1244 const struct device_driver *drv = dev->driver; in platform_pm_poweroff() local 1262 const struct device_driver *drv = dev->driver; in platform_pm_restore() local 1347 static int platform_match(struct device *dev, const struct device_driver *drv) in platform_match() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | mena21_wdt.c | 42 static unsigned int a21_wdt_get_bootstatus(struct a21_wdt_drv *drv) in a21_wdt_get_bootstatus() 55 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_start() local 64 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_stop() local 73 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_ping() local 85 struct a21_wdt_drv *drv = watchdog_get_drvdata(wdt); in a21_wdt_set_timeout() local 131 struct a21_wdt_drv *drv; in a21_wdt_probe() local 203 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_shutdown() local
|
| H A D | menz69_wdt.c | 36 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_start() local 48 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_stop() local 60 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_ping() local 74 struct men_z069_drv *drv = watchdog_get_drvdata(wdt); in men_z069_wdt_set_timeout() local 104 struct men_z069_drv *drv; in men_z069_probe() local 141 struct men_z069_drv *drv = mcb_get_drvdata(dev); in men_z069_remove() local
|
| /linux/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.c | 23 static int sst_fill_byte_control(struct sst_data *drv, in sst_fill_byte_control() argument 47 static int sst_fill_and_send_cmd_unlocked(struct sst_data *drv, in sst_fill_and_send_cmd_unlocked() argument 72 static int sst_fill_and_send_cmd(struct sst_data *drv, in sst_fill_and_send_cmd() argument 112 sst_send_slot_map(struct sst_data * drv) sst_send_slot_map() argument 164 struct sst_data *drv = snd_soc_component_get_drvdata(c); sst_slot_get() local 191 sst_check_and_send_slot_map(struct sst_data * drv,struct snd_kcontrol * kcontrol) sst_check_and_send_slot_map() argument 222 struct sst_data *drv = snd_soc_component_get_drvdata(c); sst_slot_put() local 265 sst_send_algo_cmd(struct sst_data * drv,struct sst_algo_control * bc) sst_send_algo_cmd() argument 297 sst_find_and_send_pipe_algo(struct sst_data * drv,const char * pipe,struct sst_ids * ids) sst_find_and_send_pipe_algo() argument 353 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); sst_algo_control_set() local 407 sst_send_gain_cmd(struct sst_data * drv,struct sst_gain_value * gv,u16 task_id,u16 loc_id,u16 module_id,int mute) sst_send_gain_cmd() argument 474 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); sst_gain_put() local 521 struct sst_data *drv = snd_soc_component_get_drvdata(c); sst_send_pipe_module_params() local 600 sst_set_pipe_gain(struct sst_ids * ids,struct sst_data * drv,int mute) sst_set_pipe_gain() argument 627 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); sst_swm_mixer_event() local 746 struct sst_data *drv = snd_soc_dai_get_drvdata(dai); sst_handle_vb_timer() local 945 struct sst_data *drv = snd_soc_dai_get_drvdata(dai); send_ssp_cmd() local 982 struct sst_data *drv = snd_soc_component_get_drvdata(c); sst_set_be_modules() local 1003 struct sst_data *drv = snd_soc_component_get_drvdata(c); sst_set_media_path() local 1040 struct sst_data *drv = snd_soc_component_get_drvdata(c); sst_set_media_loop() local 1329 struct sst_data *drv = snd_soc_dai_get_drvdata(dai); sst_send_pipe_gains() local 1535 struct sst_data *drv = snd_soc_component_get_drvdata(component); sst_dsp_init_v2_dpcm() local [all...] |
| /linux/drivers/zorro/ |
| H A D | zorro-driver.c | 47 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 81 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver() 103 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver() 121 static int zorro_bus_match(struct device *dev, const struct device_driver *drv) in zorro_bus_match()
|
| /linux/drivers/pnp/ |
| H A D | card.c | 19 static const struct pnp_card_device_id *match_card(struct pnp_card_driver *drv, in match_card() 60 struct pnp_card_driver *drv = to_pnp_card_driver(dev->driver); in card_remove_first() local 71 static int card_probe(struct pnp_card *card, struct pnp_card_driver *drv) in card_probe() 264 struct pnp_card_driver *drv = in pnp_add_card() local 301 struct pnp_card_driver *drv; in pnp_request_card_device() local 348 struct pnp_card_driver *drv = dev->card_link->driver; in pnp_release_card_device() local 384 int pnp_register_card_driver(struct pnp_card_driver *drv) in pnp_register_card_driver() 418 void pnp_unregister_card_driver(struct pnp_card_driver *drv) in pnp_unregister_card_driver()
|
| H A D | driver.c | 44 static const struct pnp_device_id *match_device(const struct pnp_driver *drv, in match_device() 129 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_remove() local 147 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_shutdown() local 171 static int pnp_bus_match(struct device *dev, const struct device_driver *drv) in pnp_bus_match() 294 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver() 303 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
|
| /linux/drivers/nvmem/ |
| H A D | layouts.c | 19 #define to_nvmem_layout_driver(drv) \ argument 24 static int nvmem_layout_bus_match(struct device *dev, const struct device_driver *drv) in nvmem_layout_bus_match() 31 struct nvmem_layout_driver *drv = to_nvmem_layout_driver(dev->driver); in nvmem_layout_bus_probe() local 42 struct nvmem_layout_driver *drv = to_nvmem_layout_driver(dev->driver); in nvmem_layout_bus_remove() local 68 int __nvmem_layout_driver_register(struct nvmem_layout_driver *drv, in __nvmem_layout_driver_register() 78 void nvmem_layout_driver_unregister(struct nvmem_layout_driver *drv) in nvmem_layout_driver_unregister()
|
| /linux/drivers/net/dsa/realtek/ |
| H A D | realtek-mdio.h | 8 static inline int realtek_mdio_driver_register(struct mdio_driver *drv) in realtek_mdio_driver_register() 13 static inline void realtek_mdio_driver_unregister(struct mdio_driver *drv) in realtek_mdio_driver_unregister() 24 static inline int realtek_mdio_driver_register(struct mdio_driver *drv) in realtek_mdio_driver_register() 29 static inline void realtek_mdio_driver_unregister(struct mdio_driver *drv) in realtek_mdio_driver_unregister()
|
| H A D | realtek-smi.h | 8 static inline int realtek_smi_driver_register(struct platform_driver *drv) in realtek_smi_driver_register() 13 static inline void realtek_smi_driver_unregister(struct platform_driver *drv) in realtek_smi_driver_unregister() 24 static inline int realtek_smi_driver_register(struct platform_driver *drv) in realtek_smi_driver_register() 29 static inline void realtek_smi_driver_unregister(struct platform_driver *drv) in realtek_smi_driver_unregister()
|
| /linux/drivers/video/fbdev/via/ |
| H A D | via_aux_edid.c | 18 static void query_edid(struct via_aux_drv *drv) in query_edid() 47 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode() 64 static void cleanup(struct via_aux_drv *drv) in cleanup() 74 struct via_aux_drv drv = { in via_aux_edid_probe() local
|
| /linux/sound/core/seq/ |
| H A D | seq_midi_emul.c | 77 void *drv; in snd_midi_process_event() local 235 note_off(const struct snd_midi_op *ops, void *drv, in note_off() 258 do_control(const struct snd_midi_op *ops, void *drv, in do_control() 410 rpn(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn() 450 nrpn(const struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn() 592 all_sounds_off(const struct snd_midi_op *ops, void *drv, in all_sounds_off() 611 all_notes_off(const struct snd_midi_op *ops, void *drv, in all_notes_off()
|
| /linux/sound/aoa/soundbus/ |
| H A D | core.c | 41 struct soundbus_driver *drv; in soundbus_probe() local 112 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_remove() local 122 struct soundbus_driver * drv = to_soundbus_driver(dev->driver); in soundbus_device_shutdown() local 164 int soundbus_register_driver(struct soundbus_driver *drv) in soundbus_register_driver() 175 void soundbus_unregister_driver(struct soundbus_driver *drv) in soundbus_unregister_driver()
|
| /linux/drivers/dio/ |
| H A 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, const struct device_driver *drv) in dio_bus_match()
|
| /linux/drivers/input/gameport/ |
| H A D | gameport.c | 215 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver() 470 struct device_driver *drv; in drvctl_store() local 710 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show() 726 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local 735 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local 740 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver() 750 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver() 786 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver() 811 static int gameport_bus_match(struct device *dev, const struct device_driver *drv) in gameport_bus_match() 827 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv() [all …]
|
| /linux/drivers/virtio/ |
| H A D | virtio.c | 110 struct virtio_driver *drv = drv_to_virtio(vdev->dev.driver); in virtio_check_driver_offered_feature() local 128 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in __virtio_config_changed() local 274 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_probe() local 371 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_remove() local 407 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_shutdown() local 593 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_restore_priv() local 650 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_freeze() local 678 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_prepare() local 700 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_done() local
|
| /linux/include/linux/device/ |
| H A D | driver.h | 177 static inline struct device *driver_find_device_by_name(const struct device_driver *drv, in driver_find_device_by_name() 190 driver_find_device_by_of_node(const struct device_driver *drv, in driver_find_device_by_of_node() 203 driver_find_device_by_fwnode(struct device_driver *drv, in driver_find_device_by_fwnode() 215 static inline struct device *driver_find_device_by_devt(const struct device_driver *drv, in driver_find_device_by_devt() 221 static inline struct device *driver_find_next_device(const struct device_driver *drv, in driver_find_next_device() 235 driver_find_device_by_acpi_dev(const struct device_driver *drv, in driver_find_device_by_acpi_dev() 242 driver_find_device_by_acpi_dev(const struct device_driver *drv, const void *adev) in driver_find_device_by_acpi_dev()
|
| /linux/drivers/phy/samsung/ |
| H A D | phy-samsung-usb2.c | 21 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() local 63 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_off() local 92 struct samsung_usb2_phy_driver *drv; in samsung_usb2_phy_xlate() local 148 struct samsung_usb2_phy_driver *drv; in samsung_usb2_phy_probe() local
|
| /linux/drivers/mmc/core/ |
| H A D | sdio_bus.c | 111 static int sdio_bus_match(struct device *dev, const struct device_driver *drv) in sdio_bus_match() 155 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_probe() local 208 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_remove() local 237 struct sdio_driver *drv = to_sdio_driver(dev->driver); in sdio_bus_shutdown() local 287 int __sdio_register_driver(struct sdio_driver *drv, struct module *owner) in __sdio_register_driver() 308 void sdio_unregister_driver(struct sdio_driver *drv) in sdio_unregister_driver()
|