Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 5986) sorted by relevance

12345678910>>...240

/linux/include/linux/
H A Dpm_runtime.h107 static inline void pm_suspend_ignore_children(struct device *dev, bool enable) in pm_suspend_ignore_children()
116 static inline void pm_runtime_get_noresume(struct device *dev) in pm_runtime_get_noresume()
127 static inline void pm_runtime_put_noidle(struct device *dev) in pm_runtime_put_noidle()
144 static inline bool pm_runtime_suspended(struct device *dev) in pm_runtime_suspended()
162 static inline bool pm_runtime_active(struct device *dev) in pm_runtime_active()
179 static inline bool pm_runtime_status_suspended(struct device *dev) in pm_runtime_status_suspended()
194 static inline bool pm_runtime_enabled(struct device *dev) in pm_runtime_enabled()
206 static inline bool pm_runtime_has_no_callbacks(struct device *dev) in pm_runtime_has_no_callbacks()
218 static inline void pm_runtime_mark_last_busy(struct device *dev) in pm_runtime_mark_last_busy()
231 static inline bool pm_runtime_is_irq_safe(struct device *dev) in pm_runtime_is_irq_safe()
[all …]
H A Ddma-mapping.h80 static inline void debug_dma_mapping_error(struct device *dev, in debug_dma_mapping_error()
84 static inline void debug_dma_map_single(struct device *dev, const void *addr, in debug_dma_map_single()
91 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) in dma_mapping_error()
149 static inline dma_addr_t dma_map_page_attrs(struct device *dev, in dma_map_page_attrs()
155 static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, in dma_unmap_page_attrs()
159 static inline unsigned int dma_map_sg_attrs(struct device *dev, in dma_map_sg_attrs()
165 static inline void dma_unmap_sg_attrs(struct device *dev, in dma_unmap_sg_attrs()
170 static inline int dma_map_sgtable(struct device *dev, struct sg_table *sgt, in dma_map_sgtable()
175 static inline dma_addr_t dma_map_resource(struct device *dev, in dma_map_resource()
181 static inline void dma_unmap_resource(struct device *dev, dma_addr_t addr, in dma_unmap_resource()
[all …]
/linux/drivers/base/power/
H A Druntime.c22 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback()
49 #define RPM_GET_CALLBACK(dev, callback) \ argument
66 static void update_pm_runtime_accounting(struct device *dev) in update_pm_runtime_accounting()
94 static void __update_runtime_status(struct device *dev, enum rpm_status status) in __update_runtime_status()
101 static u64 rpm_get_accounted_time(struct device *dev, bool suspended) in rpm_get_accounted_time()
116 u64 pm_runtime_active_time(struct device *dev) in pm_runtime_active_time()
121 u64 pm_runtime_suspended_time(struct device *dev) in pm_runtime_suspended_time()
131 static void pm_runtime_deactivate_timer(struct device *dev) in pm_runtime_deactivate_timer()
143 static void pm_runtime_cancel_pending(struct device *dev) in pm_runtime_cancel_pending()
165 u64 pm_runtime_autosuspend_expiration(struct device *dev) in pm_runtime_autosuspend_expiration()
[all …]
H A Dgeneric_ops.c20 int pm_generic_runtime_suspend(struct device *dev) in pm_generic_runtime_suspend()
39 int pm_generic_runtime_resume(struct device *dev) in pm_generic_runtime_resume()
58 int pm_generic_prepare(struct device *dev) in pm_generic_prepare()
73 int pm_generic_suspend_noirq(struct device *dev) in pm_generic_suspend_noirq()
85 int pm_generic_suspend_late(struct device *dev) in pm_generic_suspend_late()
97 int pm_generic_suspend(struct device *dev) in pm_generic_suspend()
109 int pm_generic_freeze_noirq(struct device *dev) in pm_generic_freeze_noirq()
121 int pm_generic_freeze_late(struct device *dev) in pm_generic_freeze_late()
133 int pm_generic_freeze(struct device *dev) in pm_generic_freeze()
145 int pm_generic_poweroff_noirq(struct device *dev) in pm_generic_poweroff_noirq()
[all …]
H A Dpower.h4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common()
15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init()
35 struct device *dev; member
57 static inline void device_wakeup_attach_irq(struct device *dev, in device_wakeup_attach_irq()
60 static inline void device_wakeup_detach_irq(struct device *dev) in device_wakeup_detach_irq()
85 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init()
90 static inline void pm_runtime_init(struct device *dev) {} in pm_runtime_init()
91 static inline void pm_runtime_reinit(struct device *dev) {} in pm_runtime_reinit()
92 static inline void pm_runtime_remove(struct device *dev) {} in pm_runtime_remove()
94 static inline int dpm_sysfs_add(struct device *dev) { return 0; } in dpm_sysfs_add()
[all …]
H A Dmain.c96 void device_pm_sleep_init(struct device *dev) in device_pm_sleep_init()
128 void device_pm_add(struct device *dev) in device_pm_add()
150 void device_pm_remove(struct device *dev) in device_pm_remove()
199 void device_pm_move_last(struct device *dev) in device_pm_move_last()
206 static ktime_t initcall_debug_start(struct device *dev, void *cb) in initcall_debug_start()
217 static void initcall_debug_report(struct device *dev, ktime_t calltime, in initcall_debug_report()
235 static void dpm_wait(struct device *dev, bool async) in dpm_wait()
244 static int dpm_wait_fn(struct device *dev, void *async_ptr) in dpm_wait_fn()
250 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children()
255 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers()
[all …]
/linux/net/switchdev/
H A Dswitchdev.c59 struct net_device *dev; member
111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
132 struct net_device *dev, in switchdev_port_attr_notify()
158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
224 struct net_device *dev, in switchdev_port_obj_notify()
247 static void switchdev_obj_id_to_helpful_msg(struct net_device *dev, in switchdev_obj_id_to_helpful_msg()
340 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
[all …]
/linux/drivers/media/rc/
H A Dene_ir.c35 static void ene_set_reg_addr(struct ene_device *dev, u16 reg) in ene_set_reg_addr()
42 static u8 ene_read_reg(struct ene_device *dev, u16 reg) in ene_read_reg()
52 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) in ene_write_reg()
60 static void ene_set_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_set_reg_mask()
68 static void ene_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask) in ene_clear_reg_mask()
76 static void ene_set_clear_reg_mask(struct ene_device *dev, u16 reg, u8 mask, in ene_set_clear_reg_mask()
86 static int ene_hw_detect(struct ene_device *dev) in ene_hw_detect()
178 static void ene_rx_setup_hw_buffer(struct ene_device *dev) in ene_rx_setup_hw_buffer()
236 static void ene_rx_restore_hw_buffer(struct ene_device *dev) in ene_rx_restore_hw_buffer()
257 static void ene_rx_read_hw_pointer(struct ene_device *dev) in ene_rx_read_hw_pointer()
[all …]
H A Dite-cir.c134 static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int in ite_decode_bytes()
176 static void ite_set_carrier_params(struct ite_dev *dev) in ite_set_carrier_params()
226 struct ite_dev *dev = data; in ite_cir_isr() local
289 struct ite_dev *dev = rcdev->priv; in ite_set_rx_carrier_range() local
304 struct ite_dev *dev = rcdev->priv; in ite_set_tx_carrier() local
318 struct ite_dev *dev = rcdev->priv; in ite_set_tx_duty_cycle() local
334 struct ite_dev *dev = rcdev->priv; in ite_tx_ir() local
478 struct ite_dev *dev = rcdev->priv; in ite_s_idle() local
493 static int it87_get_irq_causes(struct ite_dev *dev) in it87_get_irq_causes()
517 static void it87_set_carrier_params(struct ite_dev *dev, bool high_freq, in it87_set_carrier_params()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c189 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init()
222 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version()
263 static int mlx5_pci_enable_device(struct mlx5_core_dev *dev) in mlx5_pci_enable_device()
279 static void mlx5_pci_disable_device(struct mlx5_core_dev *dev) in mlx5_pci_disable_device()
317 static u16 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size) in to_fw_pkey_sz()
338 void mlx5_core_uplink_netdev_set(struct mlx5_core_dev *dev, struct net_device *netdev) in mlx5_core_uplink_netdev_set()
347 void mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *dev) in mlx5_core_uplink_netdev_event_replay()
356 void mlx5_core_mp_event_replay(struct mlx5_core_dev *dev, u32 event, void *data) in mlx5_core_mp_event_replay()
362 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps_mode()
409 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type) in mlx5_core_get_caps()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_common.c28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate()
77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free()
83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init()
125 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit()
135 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl()
144 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock()
162 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock()
179 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock()
191 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock()
203 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended()
[all …]
H A Dbus.c21 static int b43_bus_bcma_bus_may_powerdown(struct b43_bus_dev *dev) in b43_bus_bcma_bus_may_powerdown()
25 static int b43_bus_bcma_bus_powerup(struct b43_bus_dev *dev, in b43_bus_bcma_bus_powerup()
30 static int b43_bus_bcma_device_is_enabled(struct b43_bus_dev *dev) in b43_bus_bcma_device_is_enabled()
34 static void b43_bus_bcma_device_enable(struct b43_bus_dev *dev, in b43_bus_bcma_device_enable()
39 static void b43_bus_bcma_device_disable(struct b43_bus_dev *dev, in b43_bus_bcma_device_disable()
44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16()
48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32()
53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16()
58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32()
63 void b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, in b43_bus_bcma_block_read()
[all …]
H A Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains()
44 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt()
59 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog()
73 static void b43_wa_fft(struct b43_wldev *dev) /* Fine frequency table */ in b43_wa_fft()
82 static void b43_wa_nft(struct b43_wldev *dev) /* Noise figure table */ in b43_wa_nft()
97 static void b43_wa_rt(struct b43_wldev *dev) /* Rotor table */ in b43_wa_rt()
105 static void b43_write_nst(struct b43_wldev *dev, const u16 *nst) in b43_write_nst()
113 static void b43_wa_nst(struct b43_wldev *dev) /* Noise scale table */ in b43_wa_nst()
127 static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */ in b43_wa_art()
136 static void b43_wa_msst(struct b43_wldev *dev) /* Min sigma square table */ in b43_wa_msst()
[all …]
H A Dphy_lcn.c62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup()
109 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init()
165 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset()
181 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain()
187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain()
198 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult()
204 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets()
224 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init()
259 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks()
310 static void b43_phy_lcn_sense_setup(struct b43_wldev *dev, in b43_phy_lcn_sense_setup()
[all …]
H A Dphy_lp.c35 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan()
42 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate()
54 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs()
65 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free()
74 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom()
157 static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq) in lpphy_adjust_gain_table()
182 static void lpphy_table_init(struct b43_wldev *dev) in lpphy_table_init()
197 static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) in lpphy_baseband_rev0_1_init()
346 static void lpphy_save_dig_flt_state(struct b43_wldev *dev) in lpphy_save_dig_flt_state()
375 static void lpphy_restore_dig_flt_state(struct b43_wldev *dev) in lpphy_restore_dig_flt_state()
[all …]
H A Dphy_ht.c35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup()
80 static void b43_radio_2059_rcal(struct b43_wldev *dev) in b43_radio_2059_rcal()
107 static void b43_radio_2057_rccal(struct b43_wldev *dev) in b43_radio_2057_rccal()
134 static void b43_radio_2059_init_pre(struct b43_wldev *dev) in b43_radio_2059_init_pre()
142 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init()
175 static void b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) in b43_phy_ht_force_rf_sequence()
196 static void b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) in b43_phy_ht_pa_override()
220 static u16 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) in b43_phy_ht_classifier()
236 static void b43_phy_ht_reset_cca(struct b43_wldev *dev) in b43_phy_ht_reset_cca()
250 static void b43_phy_ht_zero_extg(struct b43_wldev *dev) in b43_phy_ht_zero_extg()
[all …]
H A Dmain.c464 static void b43_ram_write(struct b43_wldev *dev, u16 offset, u32 val) in b43_ram_write()
478 static inline void b43_shm_control_word(struct b43_wldev *dev, in b43_shm_control_word()
490 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read32()
513 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read16()
534 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value) in b43_shm_write32()
554 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value) in b43_shm_write16()
571 u64 b43_hf_read(struct b43_wldev *dev) in b43_hf_read()
585 void b43_hf_write(struct b43_wldev *dev, u64 value) in b43_hf_write()
598 static u16 b43_fwcapa_read(struct b43_wldev *dev) in b43_fwcapa_read()
604 void b43_tsf_read(struct b43_wldev *dev, u64 *tsf) in b43_tsf_read()
[all …]
/linux/drivers/misc/mei/
H A Dhw-me.c59 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read()
70 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write()
82 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read()
99 static inline u32 mei_hcsr_read(const struct mei_device *dev) in mei_hcsr_read()
115 static inline void mei_hcsr_write(struct mei_device *dev, u32 reg) in mei_hcsr_write()
128 static inline void mei_hcsr_set(struct mei_device *dev, u32 reg) in mei_hcsr_set()
139 static inline void mei_hcsr_set_hig(struct mei_device *dev) in mei_hcsr_set_hig()
154 static inline u32 mei_me_d0i3c_read(const struct mei_device *dev) in mei_me_d0i3c_read()
170 static inline void mei_me_d0i3c_write(struct mei_device *dev, u32 reg) in mei_me_d0i3c_write()
184 static int mei_me_trc_status(struct mei_device *dev, u32 *trc) in mei_me_trc_status()
[all …]
/linux/drivers/pci/
H A Dpci.c61 struct pci_dev *dev; member
81 static void pci_dev_d3_sleep(struct pci_dev *dev) in pci_dev_d3_sleep()
94 bool pci_reset_supported(struct pci_dev *dev) in pci_reset_supported()
283 static int pci_dev_str_match_path(struct pci_dev *dev, const char *path, in pci_dev_str_match_path()
377 static int pci_dev_str_match(struct pci_dev *dev, const char *p, in pci_dev_str_match()
459 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability()
505 u8 pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability()
555 u16 pci_find_next_ext_capability(struct pci_dev *dev, u16 start, int cap) in pci_find_next_ext_capability()
610 u16 pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability()
625 u64 pci_get_dsn(struct pci_dev *dev) in pci_get_dsn()
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v6.c43 #define IS_MFCV6_V2(dev) (!IS_MFCV7_PLUS(dev) && dev->fw_ver == MFC_FW_V2) argument
62 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6() local
385 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6() local
444 static int s5p_mfc_alloc_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v6()
467 static void s5p_mfc_release_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v6()
488 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_calc_dpb_size_v6() local
588 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6() local
610 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6() local
718 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6() local
734 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6() local
[all …]
H A Ds5p_mfc_opr_v5.c36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() local
63 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() local
202 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() local
248 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5()
255 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5()
347 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() local
357 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() local
366 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() local
380 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() local
511 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() local
[all …]
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr()
54 mt7601u_rf_rr(struct mt7601u_dev *dev, u8 bank, u8 offset) in mt7601u_rf_rr()
95 mt7601u_rf_rmw(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask, u8 val) in mt7601u_rf_rmw()
111 mt7601u_rf_set(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 val) in mt7601u_rf_set()
117 mt7601u_rf_clear(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 mask) in mt7601u_rf_clear()
122 static void mt7601u_bbp_wr(struct mt7601u_dev *dev, u8 offset, u8 val) in mt7601u_bbp_wr()
144 static int mt7601u_bbp_rr(struct mt7601u_dev *dev, u8 offset) in mt7601u_bbp_rr()
182 static int mt7601u_bbp_rmw(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmw()
195 static u8 mt7601u_bbp_rmc(struct mt7601u_dev *dev, u8 offset, u8 mask, u8 val) in mt7601u_bbp_rmc()
209 int mt7601u_wait_bbp_ready(struct mt7601u_dev *dev) in mt7601u_wait_bbp_ready()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dr852.c34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg()
41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg()
49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword()
56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword()
71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test()
89 static void r852_dma_enable(struct r852_device *dev) in r852_dma_enable()
130 static void r852_dma_done(struct r852_device *dev, int error) in r852_dma_done()
157 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait()
172 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma()
232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_write_buf() local
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c56 struct net_device *dev; member
93 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32()
99 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set()
105 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr()
111 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32()
117 wdma_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_set()
123 wdma_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wdma_clr()
129 wifi_r32(struct mtk_wed_device *dev, u32 reg) in wifi_r32()
135 wifi_w32(struct mtk_wed_device *dev, u32 reg, u32 val) in wifi_w32()
141 mtk_wed_read_reset(struct mtk_wed_device *dev) in mtk_wed_read_reset()
[all …]
/linux/drivers/comedi/drivers/
H A Dni_mio_common.c221 static void ni_writel(struct comedi_device *dev, unsigned int data, int reg) in ni_writel()
226 static void ni_writew(struct comedi_device *dev, unsigned int data, int reg) in ni_writew()
231 static void ni_writeb(struct comedi_device *dev, unsigned int data, int reg) in ni_writeb()
236 static unsigned int ni_readl(struct comedi_device *dev, int reg) in ni_readl()
241 static unsigned int ni_readw(struct comedi_device *dev, int reg) in ni_readw()
246 static unsigned int ni_readb(struct comedi_device *dev, int reg) in ni_readb()
253 static void ni_writel(struct comedi_device *dev, unsigned int data, int reg) in ni_writel()
258 static void ni_writew(struct comedi_device *dev, unsigned int data, int reg) in ni_writew()
263 static void ni_writeb(struct comedi_device *dev, unsigned int data, int reg) in ni_writeb()
268 static unsigned int ni_readl(struct comedi_device *dev, int reg) in ni_readl()
[all …]

12345678910>>...240