Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c67 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
79 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
96 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
106 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free() local
117 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames() local
125 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames() local
133 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames() local
141 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length() local
153 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc() local
163 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode() local
[all …]
Dhns_dsaf_xgmac.c95 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable()
105 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable()
142 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
166 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable() local
186 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
197 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
212 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init() local
237 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc() local
253 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg() local
263 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_pausefrm_mac_addr() local
[all …]
/Linux-v4.19/drivers/cpuidle/
Ddriver.c48 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
70 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
109 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
126 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
155 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init()
195 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver()
231 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver()
255 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver()
275 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver()
290 struct cpuidle_driver *drv; in cpuidle_get_driver() local
[all …]
Dcpuidle.c48 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
62 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local
76 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
124 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
131 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper()
174 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
197 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
283 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
299 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
398 struct cpuidle_driver *drv; in cpuidle_enable_device() local
[all …]
/Linux-v4.19/drivers/soc/qcom/
Drpmh-rsc.c64 static u32 read_tcs_reg(struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in read_tcs_reg()
70 static void write_tcs_cmd(struct rsc_drv *drv, int reg, int tcs_id, int cmd_id, in write_tcs_cmd()
77 static void write_tcs_reg(struct rsc_drv *drv, int reg, int tcs_id, u32 data) in write_tcs_reg()
82 static void write_tcs_reg_sync(struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync()
94 static bool tcs_is_free(struct rsc_drv *drv, int tcs_id) in tcs_is_free()
100 static struct tcs_group *get_tcs_of_type(struct rsc_drv *drv, int type) in get_tcs_of_type()
105 static int tcs_invalidate(struct rsc_drv *drv, int type) in tcs_invalidate()
136 int rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
147 static struct tcs_group *get_tcs_for_msg(struct rsc_drv *drv, in get_tcs_for_msg()
188 static const struct tcs_request *get_req_from_tcs(struct rsc_drv *drv, in get_req_from_tcs()
[all …]
/Linux-v4.19/drivers/base/
Ddriver.c41 int driver_for_each_device(struct device_driver *drv, struct device *start, in driver_for_each_device()
75 struct device *driver_find_device(struct device_driver *drv, in driver_find_device()
100 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 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
132 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
146 int driver_register(struct device_driver *drv) in driver_register()
190 void driver_unregister(struct device_driver *drv) in driver_unregister()
Ddd.c396 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
446 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
587 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
644 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
672 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
722 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
867 struct device_driver *drv = data; in __driver_attach() local
913 int driver_attach(struct device_driver *drv) in driver_attach()
925 struct device_driver *drv; in __device_release_driver() local
991 struct device_driver *drv, in device_release_driver_internal()
[all …]
/Linux-v4.19/drivers/soundwire/
Dbus_type.c19 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
36 struct sdw_driver *drv = drv_to_sdw_driver(ddrv); in sdw_bus_match() local
72 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_probe() local
118 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_remove() local
132 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_shutdown() local
145 int __sdw_register_driver(struct sdw_driver *drv, struct module *owner) in __sdw_register_driver()
172 void sdw_unregister_driver(struct sdw_driver *drv) in sdw_unregister_driver()
/Linux-v4.19/drivers/watchdog/
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
208 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_shutdown() local
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
112 struct men_z069_drv *drv; in men_z069_probe() local
145 struct men_z069_drv *drv = mcb_get_drvdata(dev); in men_z069_remove() local
/Linux-v4.19/drivers/pci/
Dpci-driver.c50 int pci_add_dynid(struct pci_driver *drv, in pci_add_dynid()
78 static void pci_free_dynids(struct pci_driver *drv) in pci_free_dynids()
251 static const struct pci_device_id *pci_match_device(struct pci_driver *drv, in pci_match_device()
282 struct pci_driver *drv; member
331 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev, in pci_call_probe()
375 static int __pci_device_probe(struct pci_driver *drv, struct pci_dev *pci_dev) in __pci_device_probe()
415 struct pci_driver *drv = to_pci_driver(dev->driver); in pci_device_probe() local
438 struct pci_driver *drv = pci_dev->driver; in pci_device_remove() local
477 struct pci_driver *drv = pci_dev->driver; in pci_device_shutdown() local
567 struct pci_driver *drv = pci_dev->driver; in pci_legacy_suspend() local
[all …]
/Linux-v4.19/drivers/zorro/
Dzorro-driver.c48 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local
69 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local
88 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver()
110 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver()
128 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/Linux-v4.19/drivers/video/fbdev/via/
Dvia_aux_edid.c33 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
/Linux-v4.19/sound/soc/intel/atom/
Dsst-atom-controls.c31 static int sst_fill_byte_control(struct sst_data *drv, in sst_fill_byte_control()
55 static int sst_fill_and_send_cmd_unlocked(struct sst_data *drv, in sst_fill_and_send_cmd_unlocked()
73 static int sst_fill_and_send_cmd(struct sst_data *drv, in sst_fill_and_send_cmd()
113 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()
221 struct sst_data *drv = snd_soc_component_get_drvdata(c); in sst_slot_put() local
264 static int sst_send_algo_cmd(struct sst_data *drv, in sst_send_algo_cmd()
294 static int sst_find_and_send_pipe_algo(struct sst_data *drv, in sst_find_and_send_pipe_algo()
350 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_algo_control_set() local
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/
Diwl-drv.c139 struct list_head drv; /* list of devices using this op_mode */ member
157 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc()
164 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img()
172 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode()
188 static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc, in iwl_alloc_fw_desc()
213 static int iwl_request_firmware(struct iwl_drv *drv, bool first) in iwl_request_firmware()
441 static int iwl_set_default_calib(struct iwl_drv *drv, const u8 *data) in iwl_set_default_calib()
459 static void iwl_set_ucode_api_flags(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_api_flags()
480 static void iwl_set_ucode_capabilities(struct iwl_drv *drv, const u8 *data, in iwl_set_ucode_capabilities()
501 static int iwl_parse_v1_v2_firmware(struct iwl_drv *drv, in iwl_parse_v1_v2_firmware()
[all …]
/Linux-v4.19/arch/arm/mach-tegra/
Dcpuidle-tegra30.c68 struct cpuidle_driver *drv, in tegra30_cpu_cluster_power_down()
90 struct cpuidle_driver *drv, in tegra30_cpu_core_power_down()
105 struct cpuidle_driver *drv, in tegra30_cpu_core_power_down()
113 struct cpuidle_driver *drv, in tegra30_idle_lp2()
/Linux-v4.19/drivers/pnp/
Dcard.c19 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
333 struct pnp_card_driver *drv; in pnp_request_card_device() local
379 struct pnp_card_driver *drv = dev->card_link->driver; in pnp_release_card_device() local
414 int pnp_register_card_driver(struct pnp_card_driver *drv) in pnp_register_card_driver()
447 void pnp_unregister_card_driver(struct pnp_card_driver *drv) in pnp_unregister_card_driver()
Ddriver.c44 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
146 struct pnp_driver *drv = pnp_dev->driver; in pnp_device_shutdown() local
152 static int pnp_bus_match(struct device *dev, struct device_driver *drv) in pnp_bus_match()
267 int pnp_register_driver(struct pnp_driver *drv) in pnp_register_driver()
275 void pnp_unregister_driver(struct pnp_driver *drv) in pnp_unregister_driver()
/Linux-v4.19/drivers/dio/
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, struct device_driver *drv) in dio_bus_match()
/Linux-v4.19/sound/aoa/soundbus/
Dcore.c40 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
165 int soundbus_register_driver(struct soundbus_driver *drv) in soundbus_register_driver()
176 void soundbus_unregister_driver(struct soundbus_driver *drv) in soundbus_unregister_driver()
/Linux-v4.19/drivers/net/phy/
Dmdio_device.c40 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
145 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local
166 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local
183 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register()
206 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
/Linux-v4.19/drivers/vfio/mdev/
Dmdev_driver.c45 struct mdev_driver *drv = to_mdev_driver(dev->driver); in mdev_probe() local
64 struct mdev_driver *drv = to_mdev_driver(dev->driver); in mdev_remove() local
89 int mdev_register_driver(struct mdev_driver *drv, struct module *owner) in mdev_register_driver()
105 void mdev_unregister_driver(struct mdev_driver *drv) in mdev_unregister_driver()
/Linux-v4.19/sound/core/seq/
Dseq_midi_emul.c88 void *drv; in snd_midi_process_event() local
246 note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in note_off()
268 do_control(struct snd_midi_op *ops, void *drv, struct snd_midi_channel_set *chset, in do_control()
419 rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn()
459 nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn()
601 all_sounds_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_sounds_off()
619 all_notes_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_notes_off()
/Linux-v4.19/drivers/phy/samsung/
Dphy-samsung-usb2.c26 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_on() local
68 struct samsung_usb2_phy_driver *drv = inst->drv; in samsung_usb2_phy_power_off() local
97 struct samsung_usb2_phy_driver *drv; in samsung_usb2_phy_xlate() local
150 struct samsung_usb2_phy_driver *drv; in samsung_usb2_phy_probe() local
/Linux-v4.19/drivers/input/gameport/
Dgameport.c218 static int gameport_bind_driver(struct gameport *gameport, struct gameport_driver *drv) in gameport_bind_driver()
473 struct device_driver *drv; in drvctl_store() local
682 static ssize_t description_show(struct device_driver *drv, char *buf) in description_show()
698 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_probe() local
707 struct gameport_driver *drv = to_gameport_driver(dev->driver); in gameport_driver_remove() local
713 static void gameport_attach_driver(struct gameport_driver *drv) in gameport_attach_driver()
723 int __gameport_register_driver(struct gameport_driver *drv, struct module *owner, in __gameport_register_driver()
759 void gameport_unregister_driver(struct gameport_driver *drv) in gameport_unregister_driver()
784 static int gameport_bus_match(struct device *dev, struct device_driver *drv) in gameport_bus_match()
800 static void gameport_set_drv(struct gameport *gameport, struct gameport_driver *drv) in gameport_set_drv()
[all …]

12345678910>>...20