Home
last modified time | relevance | path

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

12345678910>>...40

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c63 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
78 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
98 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
108 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free() local
119 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames() local
127 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames() local
135 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames() local
143 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length() local
155 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc() local
165 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_an_mode() local
[all …]
Dhns_dsaf_xgmac.c91 static void hns_xgmac_tx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_tx_enable()
101 static void hns_xgmac_rx_enable(struct mac_driver *drv, u32 value) in hns_xgmac_rx_enable()
138 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_enable() local
162 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_disable() local
182 static void hns_xgmac_pma_fec_enable(struct mac_driver *drv, u32 tx_value, in hns_xgmac_pma_fec_enable()
193 static void hns_xgmac_exc_irq_en(struct mac_driver *drv, u32 en) in hns_xgmac_exc_irq_en()
208 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_init() local
233 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_config_pad_and_crc() local
250 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_pausefrm_cfg() local
260 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_xgmac_set_pausefrm_mac_addr() local
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c67 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_enable() local
82 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_disable() local
102 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_en() local
112 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_free() local
123 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_tx_auto_pause_frames() local
131 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_get_tx_auto_pause_frames() local
139 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_set_rx_auto_pause_frames() local
147 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_max_frame_length() local
159 struct mac_driver *drv = (struct mac_driver *)mac_drv; in hns_gmac_config_pad_and_crc() local
169 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 …]
/kernel/linux/linux-4.19/drivers/cpuidle/
Ddriver.c48 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
68 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
108 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
125 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
154 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init()
194 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver()
230 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver()
254 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver()
274 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver()
289 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()
175 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
198 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
284 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
300 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
399 struct cpuidle_driver *drv; in cpuidle_enable_device() local
[all …]
/kernel/linux/linux-5.10/drivers/cpuidle/
Ddriver.c48 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
68 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
108 static inline int __cpuidle_set_driver(struct cpuidle_driver *drv) in __cpuidle_set_driver()
125 static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) in __cpuidle_unset_driver()
154 static void __cpuidle_driver_init(struct cpuidle_driver *drv) in __cpuidle_driver_init()
203 static int __cpuidle_register_driver(struct cpuidle_driver *drv) in __cpuidle_register_driver()
239 static void __cpuidle_unregister_driver(struct cpuidle_driver *drv) in __cpuidle_unregister_driver()
260 int cpuidle_register_driver(struct cpuidle_driver *drv) in cpuidle_register_driver()
293 void cpuidle_unregister_driver(struct cpuidle_driver *drv) in cpuidle_unregister_driver()
320 struct cpuidle_driver *drv; in cpuidle_get_driver() local
[all …]
Dcpuidle.c49 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
63 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local
77 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
129 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
137 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper()
176 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
200 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
319 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
335 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
379 u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time()
[all …]
Dcpuidle-qcom-spm.c112 static inline void spm_register_write(struct spm_driver_data *drv, in spm_register_write()
121 static inline void spm_register_write_sync(struct spm_driver_data *drv, in spm_register_write_sync()
140 static inline u32 spm_register_read(struct spm_driver_data *drv, in spm_register_read()
146 static void spm_set_low_power_mode(struct spm_driver_data *drv, in spm_set_low_power_mode()
172 static int qcom_cpu_spc(struct spm_driver_data *drv) in qcom_cpu_spc()
190 struct cpuidle_driver *drv, int idx) in spm_enter_idle_state()
216 static int spm_cpuidle_init(struct cpuidle_driver *drv, int cpu) in spm_cpuidle_init()
235 struct spm_driver_data *drv = NULL; in spm_get_drv() local
273 struct spm_driver_data *drv; in spm_dev_probe() local
329 struct spm_driver_data *drv = platform_get_drvdata(pdev); in spm_dev_remove() local
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_drvfs.c39 struct device_driver *drv; member
96 static ssize_t iunit_dbglvl_show(struct device_driver *drv, char *buf) in iunit_dbglvl_show()
102 static ssize_t iunit_dbglvl_store(struct device_driver *drv, const char *buf, in iunit_dbglvl_store()
115 static ssize_t iunit_dbgfun_show(struct device_driver *drv, char *buf) in iunit_dbgfun_show()
121 static ssize_t iunit_dbgfun_store(struct device_driver *drv, const char *buf, in iunit_dbgfun_store()
140 static ssize_t iunit_dbgopt_show(struct device_driver *drv, char *buf) in iunit_dbgopt_show()
145 static ssize_t iunit_dbgopt_store(struct device_driver *drv, const char *buf, in iunit_dbgopt_store()
169 static int iunit_drvfs_create_files(struct device_driver *drv) in iunit_drvfs_create_files()
179 static void iunit_drvfs_remove_files(struct device_driver *drv) in iunit_drvfs_remove_files()
189 struct device_driver *drv = isp->dev->driver; in atomisp_drvfs_init() local
/kernel/linux/linux-5.10/drivers/soc/qcom/
Drpmh-rsc.c142 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr()
148 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr()
153 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd()
159 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg()
164 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd()
170 static void write_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg()
176 static void write_tcs_reg_sync(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync()
207 static bool tcs_is_free(struct rsc_drv *drv, int tcs_id) in tcs_is_free()
224 static void tcs_invalidate(struct rsc_drv *drv, int type) in tcs_invalidate()
248 void rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
[all …]
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 …]
/kernel/linux/linux-4.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()
137 int rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
148 static struct tcs_group *get_tcs_for_msg(struct rsc_drv *drv, in get_tcs_for_msg()
180 static const struct tcs_request *get_req_from_tcs(struct rsc_drv *drv, in get_req_from_tcs()
[all …]
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/drivers/base/
Ddriver.c42 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()
119 void driver_remove_file(struct device_driver *drv, in driver_remove_file()
127 int driver_add_groups(struct device_driver *drv, in driver_add_groups()
133 void driver_remove_groups(struct device_driver *drv, in driver_remove_groups()
147 int driver_register(struct device_driver *drv) in driver_register()
191 void driver_unregister(struct device_driver *drv) in driver_unregister()
Ddd.c222 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local
437 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
499 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
671 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
731 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
775 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
828 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
1013 int device_driver_attach(struct device_driver *drv, struct device *dev) in device_driver_attach()
1034 struct device_driver *drv; in __driver_attach_async_helper() local
1057 struct device_driver *drv = data; in __driver_attach() local
[all …]
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus_type.c21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
40 struct sdw_driver *drv; in sdw_bus_match() local
83 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_probe() local
148 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_remove() local
162 struct sdw_driver *drv = drv_to_sdw_driver(dev->driver); in sdw_drv_shutdown() local
175 int __sdw_register_driver(struct sdw_driver *drv, struct module *owner) in __sdw_register_driver()
202 void sdw_unregister_driver(struct sdw_driver *drv) in sdw_unregister_driver()
/kernel/linux/linux-4.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
/kernel/linux/linux-5.10/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
203 struct a21_wdt_drv *drv = dev_get_drvdata(&pdev->dev); in a21_wdt_shutdown() local
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/drivers/zorro/
Dzorro-driver.c47 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() local
68 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_remove() local
87 int zorro_register_driver(struct zorro_driver *drv) in zorro_register_driver()
109 void zorro_unregister_driver(struct zorro_driver *drv) in zorro_unregister_driver()
127 static int zorro_bus_match(struct device *dev, struct device_driver *drv) in zorro_bus_match()
/kernel/linux/linux-5.10/drivers/video/fbdev/via/
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
/kernel/linux/linux-4.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
/kernel/linux/linux-4.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()
416 struct pci_driver *drv = to_pci_driver(dev->driver); in pci_device_probe() local
440 struct pci_driver *drv = pci_dev->driver; in pci_device_remove() local
479 struct pci_driver *drv = pci_dev->driver; in pci_device_shutdown() local
569 struct pci_driver *drv = pci_dev->driver; in pci_legacy_suspend() local
[all …]

12345678910>>...40