Home
last modified time | relevance | path

Searched defs:drv (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/linux/drivers/pmdomain/qcom/
H A Dcpr.c252 static bool cpr_is_allowed(struct cpr_drv *drv) in cpr_is_allowed()
257 static void cpr_write(struct cpr_drv *drv, u32 offset, u32 value) in cpr_write()
262 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read()
268 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write()
278 static void cpr_irq_clr(struct cpr_drv *drv) in cpr_irq_clr()
283 static void cpr_irq_clr_nack(struct cpr_drv *drv) in cpr_irq_clr_nack()
289 static void cpr_irq_clr_ack(struct cpr_drv *drv) in cpr_irq_clr_ack()
295 static void cpr_irq_set(struct cpr_drv *drv, u32 int_bits) in cpr_irq_set()
300 static void cpr_ctl_modify(struct cpr_drv *drv, u32 mask, u32 value) in cpr_ctl_modify()
305 static void cpr_ctl_enable(struct cpr_drv *drv, struct corner *corner) in cpr_ctl_enable()
[all …]
/linux/drivers/vfio/mdev/
H A Dmdev_driver.c17 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 Ddd.c229 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local
470 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
572 static int call_driver_probe(struct device *dev, const struct device_driver *drv) in call_driver_probe()
603 static int really_probe(struct device *dev, const struct device_driver *drv) in really_probe()
732 static int really_probe_debug(struct device *dev, const struct device_driver *drv) in really_probe_debug()
779 static int __driver_probe_device(const struct device_driver *drv, struct device *dev) in __driver_probe_device()
824 static int driver_probe_device(const struct device_driver *drv, struct device *dev) in driver_probe_device()
868 static bool driver_allows_async_probing(const struct device_driver *drv) in driver_allows_async_probing()
921 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
1122 int device_driver_attach(const struct device_driver *drv, struct device *dev) in device_driver_attach()
[all …]
H A Dplatform.c861 int __platform_driver_register(struct platform_driver *drv, in __platform_driver_register()
875 void platform_driver_unregister(struct platform_driver *drv) in platform_driver_unregister()
913 int __init_or_module __platform_driver_probe(struct platform_driver *drv, in __platform_driver_probe()
1125 const struct device_driver *drv = dev->driver; in platform_pm_suspend() local
1143 const struct device_driver *drv = dev->driver; in platform_pm_resume() local
1165 const struct device_driver *drv = dev->driver; in platform_pm_freeze() local
1183 const struct device_driver *drv = dev->driver; in platform_pm_thaw() local
1201 const struct device_driver *drv = dev->driver; in platform_pm_poweroff() local
1219 const struct device_driver *drv = dev->driver; in platform_pm_restore() local
1335 static int platform_match(struct device *dev, const struct device_driver *drv) in platform_match()
[all …]
/linux/drivers/watchdog/
H A Dmena21_wdt.c42 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 Dmenz69_wdt.c36 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 Dsst-atom-controls.c23 static int sst_fill_byte_control(struct sst_data *drv, in sst_fill_byte_control()
47 static int sst_fill_and_send_cmd_unlocked(struct sst_data *drv, in sst_fill_and_send_cmd_unlocked()
72 static int sst_fill_and_send_cmd(struct sst_data *drv, in sst_fill_and_send_cmd()
112 static int sst_send_slot_map(struct sst_data *drv) in sst_send_slot_map()
164 struct sst_data *drv = snd_soc_component_get_drvdata(c); in sst_slot_get() local
191 static int sst_check_and_send_slot_map(struct sst_data *drv, struct snd_kcontrol *kcontrol) in sst_check_and_send_slot_map()
222 struct sst_data *drv = snd_soc_component_get_drvdata(c); in sst_slot_put() local
265 static int sst_send_algo_cmd(struct sst_data *drv, in sst_send_algo_cmd()
297 static int sst_find_and_send_pipe_algo(struct sst_data *drv, in sst_find_and_send_pipe_algo()
353 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_algo_control_set() local
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c88 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()
236 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware()
422 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib()
440 static void iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_api_flags()
461 static void iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_capabilities()
482 static const char *iwl_reduced_fw_name(struct iwl_drv *drv) in iwl_reduced_fw_name()
492 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware()
[all …]
/linux/drivers/net/phy/
H A Dmdio_device.c38 int mdio_device_bus_match(struct device *dev, const struct device_driver *drv) in mdio_device_bus_match()
157 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local
178 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local
193 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown() local
204 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register()
228 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
/linux/drivers/zorro/
H A Dzorro-driver.c47 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 Dlayouts.c19 #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
55 int __nvmem_layout_driver_register(struct nvmem_layout_driver *drv, in __nvmem_layout_driver_register()
65 void nvmem_layout_driver_unregister(struct nvmem_layout_driver *drv) in nvmem_layout_driver_unregister()
/linux/drivers/net/dsa/realtek/
H A Drealtek-mdio.h8 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 Drealtek-smi.h8 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 Dvia_aux_edid.c18 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 Dseq_midi_emul.c77 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 Dcore.c41 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 Ddio-driver.c50 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/pnp/
H A Ddriver.c44 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
153 static int pnp_bus_match(struct device *dev, const struct device_driver *drv) in pnp_bus_match()
275 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver()
284 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
/linux/drivers/input/gameport/
H A Dgameport.c213 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver()
468 struct device_driver *drv; in drvctl_store() local
708 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
724 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local
733 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local
738 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver()
748 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver()
784 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver()
809 static int gameport_bus_match(struct device *dev, const struct device_driver *drv) in gameport_bus_match()
825 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv()
[all …]
/linux/drivers/phy/samsung/
H A Dphy-samsung-usb2.c21 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/cpuidle/
H A Dcpuidle-powernv.c50 struct cpuidle_driver *drv, in get_snooze_timeout()
69 struct cpuidle_driver *drv, in snooze_loop()
106 struct cpuidle_driver *drv, in nap_loop()
117 struct cpuidle_driver *drv, in fastsleep_loop()
143 struct cpuidle_driver *drv, in stop_loop()
194 struct cpuidle_driver *drv = &powernv_idle_driver; in powernv_cpuidle_driver_init() local
/linux/drivers/misc/
H A Dtifm_core.c41 static int tifm_bus_match(struct device *dev, const struct device_driver *drv) in tifm_bus_match()
71 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe() local
93 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove() local
111 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend() local
122 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_resume() local
313 int tifm_register_driver(struct tifm_driver *drv) in tifm_register_driver()
321 void tifm_unregister_driver(struct tifm_driver *drv) in tifm_unregister_driver()
/linux/drivers/phy/renesas/
H A Dphy-rcar-gen2.c56 struct rcar_gen2_phy_driver *drv; member
80 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() local
119 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_on() local
163 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_off() local
195 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rz_g1c_phy_power_on() local
224 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rz_g1c_phy_power_off() local
311 struct rcar_gen2_phy_driver *drv; in rcar_gen2_phy_xlate() local
338 struct rcar_gen2_phy_driver *drv; in rcar_gen2_phy_probe() local
/linux/drivers/input/serio/
H A Dserio.c39 static int serio_connect_driver(struct serio *serio, struct serio_driver *drv) in serio_connect_driver()
81 static int serio_bind_driver(struct serio *serio, struct serio_driver *drv) in serio_bind_driver()
356 struct device_driver *drv; in drvctl_store() local
704 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
711 static ssize_t bind_mode_show(struct device_driver *drv, char *buf) in bind_mode_show()
717 static ssize_t bind_mode_store(struct device_driver *drv, const char *buf, size_t count) in bind_mode_store()
745 struct serio_driver *drv = to_serio_driver(dev->driver); in serio_driver_probe() local
772 static void serio_attach_driver(struct serio_driver *drv) in serio_attach_driver()
782 int __serio_register_driver(struct serio_driver *drv, struct module *owner, const char *mod_name) in __serio_register_driver()
821 void serio_unregister_driver(struct serio_driver *drv) in serio_unregister_driver()
[all …]
/linux/drivers/soc/qcom/
H A Dspm.c256 static inline void spm_register_write(struct spm_driver_data *drv, in spm_register_write()
265 static inline void spm_register_write_sync(struct spm_driver_data *drv, in spm_register_write_sync()
284 static inline u32 spm_register_read(struct spm_driver_data *drv, in spm_register_read()
290 void spm_set_low_power_mode(struct spm_driver_data *drv, in spm_set_low_power_mode()
307 struct spm_driver_data *drv = rdev_get_drvdata(rdev); in spm_set_voltage_sel() local
317 struct spm_driver_data *drv = rdev_get_drvdata(rdev); in spm_get_voltage_sel() local
331 struct spm_driver_data *drv = data; in smp_set_vdd_v1_1() local
414 static int spm_register_regulator(struct device *dev, struct spm_driver_data *drv) in spm_register_regulator()
511 struct spm_driver_data *drv; in spm_dev_probe() local

12345678910>>...19