Home
last modified time | relevance | path

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

12345678910>>...26

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A 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 …]
H A Dcpuidle.c50 bool cpuidle_not_available(struct cpuidle_driver *drv, in cpuidle_not_available()
64 struct cpuidle_driver *drv = cpuidle_get_cpu_driver(dev); in cpuidle_play_dead() local
78 static int find_deepest_state(struct cpuidle_driver *drv, in find_deepest_state()
130 int cpuidle_find_deepest_state(struct cpuidle_driver *drv, in cpuidle_find_deepest_state()
138 static void enter_s2idle_proper(struct cpuidle_driver *drv, in enter_s2idle_proper()
177 int cpuidle_enter_s2idle(struct cpuidle_driver *drv, struct cpuidle_device *dev) in cpuidle_enter_s2idle()
201 int cpuidle_enter_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, in cpuidle_enter_state()
332 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_select()
348 int cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, in cpuidle_enter()
392 u64 cpuidle_poll_time(struct cpuidle_driver *drv, in cpuidle_poll_time()
[all …]
H A 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
H A Dcpuidle-psci.c58 struct cpuidle_driver *drv, int idx, in __psci_enter_domain_idle_state()
107 struct cpuidle_driver *drv, int idx) in psci_enter_domain_idle_state()
113 struct cpuidle_driver *drv, in psci_enter_s2idle_domain_idle_state()
158 struct cpuidle_driver *drv, int idx) in psci_enter_idle_state()
188 static int psci_dt_cpu_init_topology(struct cpuidle_driver *drv, in psci_dt_cpu_init_topology()
212 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle()
254 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle()
288 struct cpuidle_driver *drv; in psci_idle_init_cpu() local
370 struct cpuidle_driver *drv; in psci_cpuidle_probe() local
/OK3568_Linux_fs/u-boot/drivers/block/
H A Dblk_legacy.c13 struct blk_driver *drv = ll_entry_start(struct blk_driver, blk_driver); in blk_driver_lookup_type() local
28 struct blk_driver *drv = ll_entry_start(struct blk_driver, blk_driver); in blk_driver_lookup_typename() local
43 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_get_if_type_name() local
58 static int get_desc(struct blk_driver *drv, int devnum, struct blk_desc **descp) in get_desc()
75 struct blk_driver *drv; in blk_list_part() local
102 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_print_part_devnum() local
120 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_list_devices() local
138 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_print_device_num() local
155 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_show_device() local
180 struct blk_driver *drv = blk_driver_lookup_type(if_type); in blk_get_devnum_by_type() local
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/qcom/
H A Drpmh-rsc.c143 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr()
149 tcs_cmd_addr(const struct rsc_drv *drv, int reg, int tcs_id, int cmd_id) in tcs_cmd_addr()
154 static u32 read_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in read_tcs_cmd()
160 static u32 read_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id) in read_tcs_reg()
165 static void write_tcs_cmd(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_cmd()
171 static void write_tcs_reg(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg()
177 static void write_tcs_reg_sync(const struct rsc_drv *drv, int reg, int tcs_id, in write_tcs_reg_sync()
208 static bool tcs_is_free(struct rsc_drv *drv, int tcs_id) in tcs_is_free()
225 static void tcs_invalidate(struct rsc_drv *drv, int type) in tcs_invalidate()
249 void rpmh_rsc_invalidate(struct rsc_drv *drv) in rpmh_rsc_invalidate()
[all …]
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 …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A 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
/OK3568_Linux_fs/kernel/drivers/base/
H A 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()
H A Ddd.c222 const char *drv = dev_driver_string(dev); in device_set_deferred_probe_reason() local
435 struct device_driver *drv = dev->driver; in driver_sysfs_remove() local
497 static int really_probe(struct device *dev, struct device_driver *drv) in really_probe()
672 static int really_probe_debug(struct device *dev, struct device_driver *drv) in really_probe_debug()
729 int driver_probe_device(struct device_driver *drv, struct device *dev) in driver_probe_device()
773 bool driver_allows_async_probing(struct device_driver *drv) in driver_allows_async_probing()
826 static int __device_attach_driver(struct device_driver *drv, void *_data) in __device_attach_driver()
1019 int device_driver_attach(struct device_driver *drv, struct device *dev) in device_driver_attach()
1040 struct device_driver *drv; in __driver_attach_async_helper() local
1063 struct device_driver *drv = data; in __driver_attach() local
[all …]
/OK3568_Linux_fs/u-boot/env/
H A Denv.c15 struct env_driver *drv; in env_driver_lookup() local
60 struct env_driver *drv; in env_driver_lookup_default() local
74 struct env_driver *drv = env_driver_lookup_default(); in env_get_char() local
94 struct env_driver *drv = env_driver_lookup_default(); in env_load() local
113 struct env_driver *drv = env_driver_lookup_default(); in env_save() local
132 struct env_driver *drv = env_driver_lookup_default(); in env_init() local
/OK3568_Linux_fs/kernel/drivers/soundwire/
H A 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()
198 void sdw_unregister_driver(struct sdw_driver *drv) in sdw_unregister_driver()
/OK3568_Linux_fs/kernel/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
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
/OK3568_Linux_fs/app/lvgl_demo/lvgl/
H A Dlv_port_file.c14 static void *fs_open(lv_fs_drv_t *drv, const char *path, lv_fs_mode_t mode) in fs_open()
36 static lv_fs_res_t fs_close(lv_fs_drv_t *drv, void *file_p) in fs_close()
56 static lv_fs_res_t fs_read(lv_fs_drv_t *drv, void *file_p, void *buf, uint32_t btr, uint32_t *br) in fs_read()
68 static lv_fs_res_t fs_write(lv_fs_drv_t *drv, void *file_p, const void *buf, uint32_t btw, uint32_t… in fs_write()
86 static lv_fs_res_t fs_seek(lv_fs_drv_t *drv, void *file_p, uint32_t pos, lv_fs_whence_t whence) in fs_seek()
96 static lv_fs_res_t fs_tell(struct _lv_fs_drv_t * drv, void * file_p, uint32_t * pos_p) in fs_tell()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c140 struct list_head drv; /* list of devices using this op_mode */ member
158 static void iwl_free_fw_desc(struct iwl_drv *drv, struct fw_desc *desc) in iwl_free_fw_desc()
165 static void iwl_free_fw_img(struct iwl_drv *drv, struct fw_img *img) in iwl_free_fw_img()
173 static void iwl_dealloc_ucode(struct iwl_drv *drv) in iwl_dealloc_ucode()
193 static int iwl_alloc_fw_desc(struct iwl_drv *drv, struct fw_desc *desc, in iwl_alloc_fw_desc()
218 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 const char *iwl_reduced_fw_name(struct iwl_drv *drv) in iwl_reduced_fw_name()
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dmdio_device.c36 int mdio_device_bus_match(struct device *dev, struct device_driver *drv) in mdio_device_bus_match()
149 struct device_driver *drv = mdiodev->dev.driver; in mdio_probe() local
170 struct device_driver *drv = mdiodev->dev.driver; in mdio_remove() local
185 struct device_driver *drv = mdiodev->dev.driver; in mdio_shutdown() local
196 int mdio_driver_register(struct mdio_driver *drv) in mdio_driver_register()
220 void mdio_driver_unregister(struct mdio_driver *drv) in mdio_driver_unregister()
/OK3568_Linux_fs/kernel/drivers/zorro/
H A 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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/pnp/
H A 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()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_cmd_ser.c139 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_reset_status() local
157 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_set_status() local
166 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_clear_status() local
185 void *drv = phl_to_drvpriv(phl_info); in _ser_l2_notify() local
235 void *drv = phl_to_drvpriv(phl_info); in _ser_m3_m5_waiting() local
399 void *drv = phl_to_drvpriv(phl_info); in _ser_fail_ev_hdlr() local
442 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_polling_chk() local
491 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_m1() local
507 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_fw_expire() local
523 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_m3() local
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_cmd_ser.c139 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_reset_status() local
157 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_set_status() local
166 void *drv = phl_to_drvpriv(cser->phl_info); in _ser_clear_status() local
185 void *drv = phl_to_drvpriv(phl_info); in _ser_l2_notify() local
235 void *drv = phl_to_drvpriv(phl_info); in _ser_m3_m5_waiting() local
399 void *drv = phl_to_drvpriv(phl_info); in _ser_fail_ev_hdlr() local
442 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_polling_chk() local
491 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_m1() local
507 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_fw_expire() local
523 void *drv = phl_to_drvpriv(phl_info); in _ser_msg_hdl_m3() local
[all …]

12345678910>>...26