| /linux/drivers/cpuidle/ |
| H A D | driver.c | 51 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver() 71 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() 111 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver() 128 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver() 157 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init() 214 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver() 250 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver() 271 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver() 304 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver() 331 struct cpuidle_driver *drv; in cpuidle_get_driver() local [all …]
|
| 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/sound/soc/sdca/ |
| H A D | sdca_class_function.c | 58 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_writeable() local 66 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_readable() local 74 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_volatile() local 100 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_mbq_size() local 108 struct class_function_drv *drv = auxiliary_get_drvdata(auxdev); in class_function_regmap_deferrable() local 123 struct class_function_drv *drv = snd_soc_component_get_drvdata(dai->component); in class_function_startup() local 133 struct class_function_drv *drv = snd_soc_component_get_drvdata(dai->component); in class_function_sdw_add_peripheral() local 168 struct class_function_drv *drv = snd_soc_component_get_drvdata(dai->component); in class_function_sdw_remove_peripheral() local 196 struct class_function_drv *drv = snd_soc_component_get_drvdata(component); in class_function_component_fixup_controls() local 204 struct class_function_drv *drv = snd_soc_component_get_drvdata(component); in class_function_component_remove() local [all …]
|
| H A D | sdca_class.c | 96 struct sdca_class_drv *drv = data; in class_remove_functions() local 103 struct sdca_class_drv *drv = container_of(work, in class_boot_work() local 143 struct sdca_class_drv *drv; in class_sdw_probe() local 192 struct sdca_class_drv *drv = dev_get_drvdata(dev); in class_sdw_remove() local 199 struct sdca_class_drv *drv = dev_get_drvdata(dev); in class_suspend() local 215 struct sdca_class_drv *drv = dev_get_drvdata(dev); in class_resume() local 231 struct sdca_class_drv *drv = dev_get_drvdata(dev); in class_runtime_suspend() local 245 struct sdca_class_drv *drv = dev_get_drvdata(dev); in class_runtime_resume() local
|
| /linux/drivers/soundwire/ |
| H A D | bus_type.c | 21 sdw_get_device_id(struct sdw_slave *slave, const struct sdw_driver *drv) in sdw_get_device_id() 40 const struct sdw_driver *drv; in sdw_bus_match() local 77 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_bus_probe() local 163 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_bus_remove() local 180 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_bus_shutdown() local 202 int __sdw_register_driver(struct sdw_driver *drv, struct module *owner) in __sdw_register_driver() 223 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/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
|
| /linux/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.c | 23 sst_fill_byte_control(struct sst_data * drv,u8 ipc_msg,u8 block,u8 task_id,u8 pipe_id,u16 len,void * cmd_data) sst_fill_byte_control() argument 47 sst_fill_and_send_cmd_unlocked(struct sst_data * drv,u8 ipc_msg,u8 block,u8 task_id,u8 pipe_id,void * cmd_data,u16 len) sst_fill_and_send_cmd_unlocked() argument 72 sst_fill_and_send_cmd(struct sst_data * drv,u8 ipc_msg,u8 block,u8 task_id,u8 pipe_id,void * cmd_data,u16 len) 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/net/wireless/intel/iwlwifi/ |
| H A D | iwl-drv.c | 88 struct list_head drv; /* list of devices using this op_mode */ member 109 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc() 116 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img() 124 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode() 325 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware() 526 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib() 544 static void iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_api_flags() 565 static void iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_capabilities() 586 static const char *iwl_reduced_fw_name(struct iwl_drv *drv) in iwl_reduced_fw_name() 596 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware() [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/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,struct snd_midi_channel * chan,int note,int vel) note_off() argument 258 do_control(const struct snd_midi_op * ops,void * drv,struct snd_midi_channel_set * chset,struct snd_midi_channel * chan,int control,int value) do_control() argument 410 rpn(const struct snd_midi_op * ops,void * drv,struct snd_midi_channel * chan,struct snd_midi_channel_set * chset) rpn() argument 450 nrpn(const struct snd_midi_op * ops,void * drv,struct snd_midi_channel * chan,struct snd_midi_channel_set * chset) nrpn() argument 592 all_sounds_off(const struct snd_midi_op * ops,void * drv,struct snd_midi_channel * chan) all_sounds_off() argument 611 all_notes_off(const struct snd_midi_op * ops,void * drv,struct snd_midi_channel * chan) all_notes_off() argument [all...] |
| /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/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/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/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/pnp/ |
| 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/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/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 433 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_dev_shutdown() local 615 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_restore_priv() local 672 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_freeze() local 700 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_prepare() local 722 struct virtio_driver *drv = drv_to_virtio(dev->dev.driver); in virtio_device_reset_done() 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()
|
| /linux/drivers/net/phy/ |
| H A D | mdio_device.c | 236 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local 257 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local 272 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown() local 285 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register() 309 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
|