Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 10017) sorted by relevance

12345678910>>...401

/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lcn.c62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup() argument
66 b43_radio_set(dev, 0x09d, 0x4); in b43_radio_2064_channel_setup()
67 b43_radio_write(dev, 0x09e, 0xf); in b43_radio_2064_channel_setup()
70 b43_radio_write(dev, 0x02a, 0xb); in b43_radio_2064_channel_setup()
71 b43_radio_maskset(dev, 0x030, ~0x3, 0xa); in b43_radio_2064_channel_setup()
72 b43_radio_maskset(dev, 0x091, ~0x3, 0); in b43_radio_2064_channel_setup()
73 b43_radio_maskset(dev, 0x038, ~0xf, 0x7); in b43_radio_2064_channel_setup()
74 b43_radio_maskset(dev, 0x030, ~0xc, 0x8); in b43_radio_2064_channel_setup()
75 b43_radio_maskset(dev, 0x05e, ~0xf, 0x8); in b43_radio_2064_channel_setup()
76 b43_radio_maskset(dev, in b43_radio_2064_channel_setup()
109 b43_radio_2064_init(struct b43_wldev * dev) b43_radio_2064_init() argument
165 b43_phy_lcn_afe_set_unset(struct b43_wldev * dev) b43_phy_lcn_afe_set_unset() argument
181 b43_phy_lcn_get_pa_gain(struct b43_wldev * dev) b43_phy_lcn_get_pa_gain() argument
187 b43_phy_lcn_set_dac_gain(struct b43_wldev * dev,u16 dac_gain) b43_phy_lcn_set_dac_gain() argument
198 b43_phy_lcn_set_bbmult(struct b43_wldev * dev,u8 m0) b43_phy_lcn_set_bbmult() argument
204 b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev * dev) b43_phy_lcn_clear_tx_power_offsets() argument
224 b43_phy_lcn_rev0_baseband_init(struct b43_wldev * dev) b43_phy_lcn_rev0_baseband_init() argument
259 b43_phy_lcn_bu_tweaks(struct b43_wldev * dev) b43_phy_lcn_bu_tweaks() argument
310 b43_phy_lcn_sense_setup(struct b43_wldev * dev,enum lcn_sense_type sense_type) b43_phy_lcn_sense_setup() argument
422 b43_phy_lcn_load_tx_iir_cck_filter(struct b43_wldev * dev,u8 filter_type) b43_phy_lcn_load_tx_iir_cck_filter() argument
474 b43_phy_lcn_load_tx_iir_ofdm_filter(struct b43_wldev * dev,u8 filter_type) b43_phy_lcn_load_tx_iir_ofdm_filter() argument
503 b43_phy_lcn_set_tx_gain_override(struct b43_wldev * dev,bool enable) b43_phy_lcn_set_tx_gain_override() argument
511 b43_phy_lcn_set_tx_gain(struct b43_wldev * dev,struct lcn_tx_gains * target_gains) b43_phy_lcn_set_tx_gain() argument
530 b43_phy_lcn_tx_pwr_ctl_init(struct b43_wldev * dev) b43_phy_lcn_tx_pwr_ctl_init() argument
562 b43_phy_lcn_txrx_spur_avoidance_mode(struct b43_wldev * dev,bool enable) b43_phy_lcn_txrx_spur_avoidance_mode() argument
587 b43_phy_lcn_set_channel_tweaks(struct b43_wldev * dev,int channel) b43_phy_lcn_set_channel_tweaks() argument
625 b43_phy_lcn_set_channel(struct b43_wldev * dev,struct ieee80211_channel * channel,enum nl80211_channel_type channel_type) b43_phy_lcn_set_channel() argument
668 b43_phy_lcn_op_allocate(struct b43_wldev * dev) b43_phy_lcn_op_allocate() argument
680 b43_phy_lcn_op_free(struct b43_wldev * dev) b43_phy_lcn_op_free() argument
689 b43_phy_lcn_op_prepare_structs(struct b43_wldev * dev) b43_phy_lcn_op_prepare_structs() argument
698 b43_phy_lcn_op_init(struct b43_wldev * dev) b43_phy_lcn_op_init() argument
742 b43_phy_lcn_op_software_rfkill(struct b43_wldev * dev,bool blocked) b43_phy_lcn_op_software_rfkill() argument
765 b43_phy_lcn_op_switch_analog(struct b43_wldev * dev,bool on) b43_phy_lcn_op_switch_analog() argument
775 b43_phy_lcn_op_switch_channel(struct b43_wldev * dev,unsigned int new_channel) b43_phy_lcn_op_switch_channel() argument
792 b43_phy_lcn_op_get_default_chan(struct b43_wldev * dev) b43_phy_lcn_op_get_default_chan() argument
800 b43_phy_lcn_op_recalc_txpower(struct b43_wldev * dev,bool ignore_tssi) b43_phy_lcn_op_recalc_txpower() argument
805 b43_phy_lcn_op_adjust_txpower(struct b43_wldev * dev) b43_phy_lcn_op_adjust_txpower() argument
813 b43_phy_lcn_op_maskset(struct b43_wldev * dev,u16 reg,u16 mask,u16 set) b43_phy_lcn_op_maskset() argument
821 b43_phy_lcn_op_radio_read(struct b43_wldev * dev,u16 reg) b43_phy_lcn_op_radio_read() argument
830 b43_phy_lcn_op_radio_write(struct b43_wldev * dev,u16 reg,u16 value) b43_phy_lcn_op_radio_write() argument
[all...]
H A Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains() argument
22 struct b43_phy *phy = &dev->phy; in b43_wa_initgains()
24 b43_phy_write(dev, B43_PHY_LNAHPFCTL, 0x1FF9); in b43_wa_initgains()
25 b43_phy_mask(dev, B43_PHY_LPFGAINCTL, 0xFF0F); in b43_wa_initgains()
27 b43_ofdmtab_write16(dev, B43_OFDMTAB_LPFGAIN, 0, 0x1FBF); in b43_wa_initgains()
28 b43_radio_write16(dev, 0x0002, 0x1FBF); in b43_wa_initgains()
30 b43_phy_write(dev, 0x0024, 0x4680); in b43_wa_initgains()
31 b43_phy_write(dev, 0x0020, 0x0003); in b43_wa_initgains()
32 b43_phy_write(dev, 0x001D, 0x0F40); in b43_wa_initgains()
33 b43_phy_write(dev, in b43_wa_initgains()
44 b43_wa_rssi_lt(struct b43_wldev * dev) b43_wa_rssi_lt() argument
59 b43_wa_analog(struct b43_wldev * dev) b43_wa_analog() argument
73 b43_wa_fft(struct b43_wldev * dev) b43_wa_fft() argument
82 b43_wa_nft(struct b43_wldev * dev) b43_wa_nft() argument
97 b43_wa_rt(struct b43_wldev * dev) b43_wa_rt() argument
105 b43_write_nst(struct b43_wldev * dev,const u16 * nst) b43_write_nst() argument
113 b43_wa_nst(struct b43_wldev * dev) b43_wa_nst() argument
127 b43_wa_art(struct b43_wldev * dev) b43_wa_art() argument
136 b43_wa_msst(struct b43_wldev * dev) b43_wa_msst() argument
155 b43_wa_crs_ed(struct b43_wldev * dev) b43_wa_crs_ed() argument
173 b43_wa_crs_thr(struct b43_wldev * dev) b43_wa_crs_thr() argument
178 b43_wa_crs_blank(struct b43_wldev * dev) b43_wa_crs_blank() argument
183 b43_wa_cck_shiftbits(struct b43_wldev * dev) b43_wa_cck_shiftbits() argument
188 b43_wa_wrssi_offset(struct b43_wldev * dev) b43_wa_wrssi_offset() argument
205 b43_wa_txpuoff_rxpuon(struct b43_wldev * dev) b43_wa_txpuoff_rxpuon() argument
211 b43_wa_altagc(struct b43_wldev * dev) b43_wa_altagc() argument
289 b43_wa_tr_ltov(struct b43_wldev * dev) b43_wa_tr_ltov() argument
294 b43_wa_cpll_nonpilot(struct b43_wldev * dev) b43_wa_cpll_nonpilot() argument
300 b43_wa_boards_g(struct b43_wldev * dev) b43_wa_boards_g() argument
332 b43_wa_all(struct b43_wldev * dev) b43_wa_all() argument
[all...]
H A Dphy_g.c54 static void b43_calc_nrssi_threshold(struct b43_wldev *dev);
68 static void generate_rfatt_list(struct b43_wldev *dev, in generate_rfatt_list() argument
71 struct b43_phy *phy = &dev->phy; in generate_rfatt_list()
111 if (!b43_has_hardware_pctl(dev)) { in generate_rfatt_list()
134 static void generate_bbatt_list(struct b43_wldev *dev, in generate_bbatt_list() argument
155 static void b43_shm_clear_tssi(struct b43_wldev *dev) in b43_shm_clear_tssi() argument
157 b43_shm_write16(dev, B43_SHM_SHARED, 0x0058, 0x7F7F); in b43_shm_clear_tssi()
158 b43_shm_write16(dev, B43_SHM_SHARED, 0x005a, 0x7F7F); in b43_shm_clear_tssi()
159 b43_shm_write16(dev, B43_SHM_SHARED, 0x0070, 0x7F7F); in b43_shm_clear_tssi()
160 b43_shm_write16(dev, B43_SHM_SHARE in b43_shm_clear_tssi()
164 b43_synth_pu_workaround(struct b43_wldev * dev,u8 channel) b43_synth_pu_workaround() argument
186 b43_gphy_set_baseband_attenuation(struct b43_wldev * dev,u16 baseband_attenuation) b43_gphy_set_baseband_attenuation() argument
203 b43_set_txpower_g(struct b43_wldev * dev,const struct b43_bbatt * bbatt,const struct b43_rfatt * rfatt,u8 tx_control) b43_set_txpower_g() argument
252 b43_gphy_tssi_power_lt_init(struct b43_wldev * dev) b43_gphy_tssi_power_lt_init() argument
270 b43_gphy_gain_lt_init(struct b43_wldev * dev) b43_gphy_gain_lt_init() argument
296 b43_set_all_gains(struct b43_wldev * dev,s16 first,s16 second,s16 third) b43_set_all_gains() argument
328 b43_set_original_gains(struct b43_wldev * dev) b43_set_original_gains() argument
361 b43_nrssi_hw_write(struct b43_wldev * dev,u16 offset,s16 val) b43_nrssi_hw_write() argument
368 b43_nrssi_hw_read(struct b43_wldev * dev,u16 offset) b43_nrssi_hw_read() argument
379 b43_nrssi_hw_update(struct b43_wldev * dev,u16 val) b43_nrssi_hw_update() argument
393 b43_nrssi_mem_update(struct b43_wldev * dev) b43_nrssi_mem_update() argument
409 b43_calc_nrssi_offset(struct b43_wldev * dev) b43_calc_nrssi_offset() argument
556 b43_calc_nrssi_slope(struct b43_wldev * dev) b43_calc_nrssi_slope() argument
698 b43_calc_nrssi_threshold(struct b43_wldev * dev) b43_calc_nrssi_threshold() argument
826 b43_radio_interference_mitigation_enable(struct b43_wldev * dev,int mode) b43_radio_interference_mitigation_enable() argument
992 b43_radio_interference_mitigation_disable(struct b43_wldev * dev,int mode) b43_radio_interference_mitigation_disable() argument
1079 b43_radio_core_calibration_value(struct b43_wldev * dev) b43_radio_core_calibration_value() argument
1100 radio2050_rfover_val(struct b43_wldev * dev,u16 phy_register,unsigned int lpd) radio2050_rfover_val() argument
1245 b43_radio_init2050(struct b43_wldev * dev) b43_radio_init2050() argument
1480 b43_phy_initb5(struct b43_wldev * dev) b43_phy_initb5() argument
1579 b43_phy_initb6(struct b43_wldev * dev) b43_phy_initb6() argument
1695 b43_calc_loopback_gain(struct b43_wldev * dev) b43_calc_loopback_gain() argument
1849 b43_hardware_pctl_early_init(struct b43_wldev * dev) b43_hardware_pctl_early_init() argument
1880 b43_hardware_pctl_init_gphy(struct b43_wldev * dev) b43_hardware_pctl_init_gphy() argument
1910 b43_phy_init_pctl(struct b43_wldev * dev) b43_phy_init_pctl() argument
1978 b43_phy_inita(struct b43_wldev * dev) b43_phy_inita() argument
1997 b43_phy_initg(struct b43_wldev * dev) b43_phy_initg() argument
2103 b43_gphy_channel_switch(struct b43_wldev * dev,unsigned int channel,bool synthetic_pu_workaround) b43_gphy_channel_switch() argument
2130 default_baseband_attenuation(struct b43_wldev * dev,struct b43_bbatt * bb) default_baseband_attenuation() argument
2141 default_radio_attenuation(struct b43_wldev * dev,struct b43_rfatt * rf) default_radio_attenuation() argument
2237 default_tx_control(struct b43_wldev * dev) default_tx_control() argument
2252 b43_gphy_aci_detect(struct b43_wldev * dev,u8 channel) b43_gphy_aci_detect() argument
2284 b43_gphy_aci_scan(struct b43_wldev * dev) b43_gphy_aci_scan() argument
2354 b43_generate_dyn_tssi2dbm_tab(struct b43_wldev * dev,s16 pab0,s16 pab1,s16 pab2) b43_generate_dyn_tssi2dbm_tab() argument
2381 b43_gphy_init_tssi2dbm_table(struct b43_wldev * dev) b43_gphy_init_tssi2dbm_table() argument
2419 b43_gphy_op_allocate(struct b43_wldev * dev) b43_gphy_op_allocate() argument
2453 b43_gphy_op_prepare_structs(struct b43_wldev * dev) b43_gphy_op_prepare_structs() argument
2500 b43_gphy_op_free(struct b43_wldev * dev) b43_gphy_op_free() argument
2516 b43_gphy_op_prepare_hardware(struct b43_wldev * dev) b43_gphy_op_prepare_hardware() argument
2546 b43_gphy_op_init(struct b43_wldev * dev) b43_gphy_op_init() argument
2553 b43_gphy_op_exit(struct b43_wldev * dev) b43_gphy_op_exit() argument
2558 b43_gphy_op_read(struct b43_wldev * dev,u16 reg) b43_gphy_op_read() argument
2564 b43_gphy_op_write(struct b43_wldev * dev,u16 reg,u16 value) b43_gphy_op_write() argument
2570 b43_gphy_op_radio_read(struct b43_wldev * dev,u16 reg) b43_gphy_op_radio_read() argument
2581 b43_gphy_op_radio_write(struct b43_wldev * dev,u16 reg,u16 value) b43_gphy_op_radio_write() argument
2590 b43_gphy_op_supports_hwpctl(struct b43_wldev * dev) b43_gphy_op_supports_hwpctl() argument
2595 b43_gphy_op_software_rfkill(struct b43_wldev * dev,bool blocked) b43_gphy_op_software_rfkill() argument
2637 b43_gphy_op_switch_channel(struct b43_wldev * dev,unsigned int new_channel) b43_gphy_op_switch_channel() argument
2647 b43_gphy_op_get_default_chan(struct b43_wldev * dev) b43_gphy_op_get_default_chan() argument
2652 b43_gphy_op_set_rx_antenna(struct b43_wldev * dev,int antenna) b43_gphy_op_set_rx_antenna() argument
2705 b43_gphy_op_interf_mitigation(struct b43_wldev * dev,enum b43_interference_mitigation mode) b43_gphy_op_interf_mitigation() argument
2752 b43_gphy_estimate_power_out(struct b43_wldev * dev,s8 tssi) b43_gphy_estimate_power_out() argument
2765 b43_put_attenuation_into_ranges(struct b43_wldev * dev,int * _bbatt,int * _rfatt) b43_put_attenuation_into_ranges() argument
2818 b43_gphy_op_adjust_txpower(struct b43_wldev * dev) b43_gphy_op_adjust_txpower() argument
2880 b43_gphy_op_recalc_txpower(struct b43_wldev * dev,bool ignore_tssi) b43_gphy_op_recalc_txpower() argument
2988 b43_gphy_op_pwork_15sec(struct b43_wldev * dev) b43_gphy_op_pwork_15sec() argument
3013 b43_gphy_op_pwork_60sec(struct b43_wldev * dev) b43_gphy_op_pwork_60sec() argument
[all...]
H A Dphy_common.c28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate() argument
30 struct b43_phy *phy = &(dev->phy); in b43_phy_allocate()
70 err = phy->ops->allocate(dev); in b43_phy_allocate()
77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free() argument
79 dev->phy.ops->free(dev); in b43_phy_free()
80 dev->phy.ops = NULL; in b43_phy_free()
83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init() argument
85 struct b43_phy *phy = &dev->phy; in b43_phy_init()
93 phy->chandef = &dev in b43_phy_init()
125 b43_phy_exit(struct b43_wldev * dev) b43_phy_exit() argument
135 b43_has_hardware_pctl(struct b43_wldev * dev) b43_has_hardware_pctl() argument
144 b43_radio_lock(struct b43_wldev * dev) b43_radio_lock() argument
162 b43_radio_unlock(struct b43_wldev * dev) b43_radio_unlock() argument
179 b43_phy_lock(struct b43_wldev * dev) b43_phy_lock() argument
191 b43_phy_unlock(struct b43_wldev * dev) b43_phy_unlock() argument
203 assert_mac_suspended(struct b43_wldev * dev) assert_mac_suspended() argument
215 b43_radio_read(struct b43_wldev * dev,u16 reg) b43_radio_read() argument
222 b43_radio_write(struct b43_wldev * dev,u16 reg,u16 value) b43_radio_write() argument
233 b43_radio_mask(struct b43_wldev * dev,u16 offset,u16 mask) b43_radio_mask() argument
239 b43_radio_set(struct b43_wldev * dev,u16 offset,u16 set) b43_radio_set() argument
245 b43_radio_maskset(struct b43_wldev * dev,u16 offset,u16 mask,u16 set) b43_radio_maskset() argument
251 b43_radio_wait_value(struct b43_wldev * dev,u16 offset,u16 mask,u16 value,int delay,int timeout) b43_radio_wait_value() argument
266 b43_phy_read(struct b43_wldev * dev,u16 reg) b43_phy_read() argument
278 b43_phy_write(struct b43_wldev * dev,u16 reg,u16 value) b43_phy_write() argument
294 b43_phy_copy(struct b43_wldev * dev,u16 destreg,u16 srcreg) b43_phy_copy() argument
299 b43_phy_mask(struct b43_wldev * dev,u16 offset,u16 mask) b43_phy_mask() argument
310 b43_phy_set(struct b43_wldev * dev,u16 offset,u16 set) b43_phy_set() argument
321 b43_phy_maskset(struct b43_wldev * dev,u16 offset,u16 mask,u16 set) b43_phy_maskset() argument
332 b43_phy_put_into_reset(struct b43_wldev * dev) b43_phy_put_into_reset() argument
371 b43_phy_take_out_of_reset(struct b43_wldev * dev) b43_phy_take_out_of_reset() argument
416 b43_switch_channel(struct b43_wldev * dev,unsigned int new_channel) b43_switch_channel() argument
451 b43_software_rfkill(struct b43_wldev * dev,bool blocked) b43_software_rfkill() argument
470 struct b43_wldev *dev; b43_phy_txpower_adjust_work() local
481 b43_phy_txpower_check(struct b43_wldev * dev,unsigned int flags) b43_phy_txpower_check() argument
510 b43_phy_shm_tssi_read(struct b43_wldev * dev,u16 shm_offset) b43_phy_shm_tssi_read() argument
551 b43_phyop_switch_analog_generic(struct b43_wldev * dev,bool on) b43_phyop_switch_analog_generic() argument
557 b43_is_40mhz(struct b43_wldev * dev) b43_is_40mhz() argument
563 b43_phy_force_clock(struct b43_wldev * dev,bool force) b43_phy_force_clock() argument
[all...]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c70 static void b43legacy_phy_initg(struct b43legacy_wldev *dev);
74 void b43legacy_phy_lock(struct b43legacy_wldev *dev) in b43legacy_phy_lock() argument
77 B43legacy_WARN_ON(dev->phy.phy_locked); in b43legacy_phy_lock()
78 dev->phy.phy_locked = 1; in b43legacy_phy_lock()
81 if (dev->dev->id.revision < 3) { in b43legacy_phy_lock()
82 b43legacy_mac_suspend(dev); in b43legacy_phy_lock()
84 if (!b43legacy_is_mode(dev->wl, NL80211_IFTYPE_AP)) in b43legacy_phy_lock()
85 b43legacy_power_saving_ctl_bits(dev, -1, 1); in b43legacy_phy_lock()
89 void b43legacy_phy_unlock(struct b43legacy_wldev *dev) in b43legacy_phy_unlock() argument
104 b43legacy_phy_read(struct b43legacy_wldev * dev,u16 offset) b43legacy_phy_read() argument
110 b43legacy_phy_write(struct b43legacy_wldev * dev,u16 offset,u16 val) b43legacy_phy_write() argument
116 b43legacy_phy_calibrate(struct b43legacy_wldev * dev) b43legacy_phy_calibrate() argument
134 b43legacy_phy_init_pctl(struct b43legacy_wldev * dev) b43legacy_phy_init_pctl() argument
193 b43legacy_phy_agcsetup(struct b43legacy_wldev * dev) b43legacy_phy_agcsetup() argument
309 b43legacy_phy_setupg(struct b43legacy_wldev * dev) b43legacy_phy_setupg() argument
411 b43legacy_phy_inita(struct b43legacy_wldev * dev) b43legacy_phy_inita() argument
421 b43legacy_phy_initb2(struct b43legacy_wldev * dev) b43legacy_phy_initb2() argument
470 b43legacy_phy_initb4(struct b43legacy_wldev * dev) b43legacy_phy_initb4() argument
526 b43legacy_phy_initb5(struct b43legacy_wldev * dev) b43legacy_phy_initb5() argument
641 b43legacy_phy_initb6(struct b43legacy_wldev * dev) b43legacy_phy_initb6() argument
784 b43legacy_calc_loopback_gain(struct b43legacy_wldev * dev) b43legacy_calc_loopback_gain() argument
983 b43legacy_phy_initg(struct b43legacy_wldev * dev) b43legacy_phy_initg() argument
1099 b43legacy_phy_lo_b_r15_loop(struct b43legacy_wldev * dev) b43legacy_phy_lo_b_r15_loop() argument
1121 b43legacy_phy_lo_b_measure(struct b43legacy_wldev * dev) b43legacy_phy_lo_b_measure() argument
1216 b43legacy_phy_lo_g_deviation_subval(struct b43legacy_wldev * dev,u16 control) b43legacy_phy_lo_g_deviation_subval() argument
1250 b43legacy_phy_lo_g_singledeviation(struct b43legacy_wldev * dev,u16 control) b43legacy_phy_lo_g_singledeviation() argument
1264 b43legacy_lo_write(struct b43legacy_wldev * dev,struct b43legacy_lopair * pair) b43legacy_lo_write() argument
1288 b43legacy_find_lopair(struct b43legacy_wldev * dev,u16 bbatt,u16 rfatt,u16 tx) b43legacy_find_lopair() argument
1306 b43legacy_current_lopair(struct b43legacy_wldev * dev) b43legacy_current_lopair() argument
1315 b43legacy_phy_lo_adjust(struct b43legacy_wldev * dev,int fixed) b43legacy_phy_lo_adjust() argument
1327 b43legacy_phy_lo_g_measure_txctl2(struct b43legacy_wldev * dev) b43legacy_phy_lo_g_measure_txctl2() argument
1351 b43legacy_phy_lo_g_state(struct b43legacy_wldev * dev,const struct b43legacy_lopair * in_pair,struct b43legacy_lopair * out_pair,u16 r27) b43legacy_phy_lo_g_state() argument
1441 b43legacy_phy_set_baseband_attenuation(struct b43legacy_wldev * dev,u16 bbatt) b43legacy_phy_set_baseband_attenuation() argument
1465 b43legacy_phy_lo_g_measure(struct b43legacy_wldev * dev) b43legacy_phy_lo_g_measure() argument
1704 b43legacy_phy_lo_mark_current_used(struct b43legacy_wldev * dev) b43legacy_phy_lo_mark_current_used() argument
1712 b43legacy_phy_lo_mark_all_unused(struct b43legacy_wldev * dev) b43legacy_phy_lo_mark_all_unused() argument
1727 b43legacy_phy_estimate_power_out(struct b43legacy_wldev * dev,s8 tssi) b43legacy_phy_estimate_power_out() argument
1751 b43legacy_phy_xmitpower(struct b43legacy_wldev * dev) b43legacy_phy_xmitpower() argument
1969 b43legacy_phy_init_tssi2dbm_table(struct b43legacy_wldev * dev) b43legacy_phy_init_tssi2dbm_table() argument
2033 b43legacy_phy_init(struct b43legacy_wldev * dev) b43legacy_phy_init() argument
2070 b43legacy_phy_set_antenna_diversity(struct b43legacy_wldev * dev) b43legacy_phy_set_antenna_diversity() argument
2194 b43legacy_power_saving_ctl_bits(struct b43legacy_wldev * dev,int bit25,int bit26) b43legacy_power_saving_ctl_bits() argument
[all...]
H A Dradio.c77 void b43legacy_radio_lock(struct b43legacy_wldev *dev) in b43legacy_radio_lock() argument
81 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_lock()
84 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_lock()
88 void b43legacy_radio_unlock(struct b43legacy_wldev *dev) in b43legacy_radio_unlock() argument
92 b43legacy_read16(dev, B43legacy_MMIO_PHY_VER); /* dummy read */ in b43legacy_radio_unlock()
93 status = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_radio_unlock()
96 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, status); in b43legacy_radio_unlock()
99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16() argument
101 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16()
122 b43legacy_write16(dev, B43legacy_MMIO_RADIO_CONTRO in b43legacy_radio_read16()
126 b43legacy_radio_write16(struct b43legacy_wldev * dev,u16 offset,u16 val) b43legacy_radio_write16() argument
132 b43legacy_set_all_gains(struct b43legacy_wldev * dev,s16 first,s16 second,s16 third) b43legacy_set_all_gains() argument
169 b43legacy_set_original_gains(struct b43legacy_wldev * dev) b43legacy_set_original_gains() argument
208 b43legacy_synth_pu_workaround(struct b43legacy_wldev * dev,u8 channel) b43legacy_synth_pu_workaround() argument
230 b43legacy_radio_aci_detect(struct b43legacy_wldev * dev,u8 channel) b43legacy_radio_aci_detect() argument
264 b43legacy_radio_aci_scan(struct b43legacy_wldev * dev) b43legacy_radio_aci_scan() argument
317 b43legacy_nrssi_hw_write(struct b43legacy_wldev * dev,u16 offset,s16 val) b43legacy_nrssi_hw_write() argument
324 b43legacy_nrssi_hw_read(struct b43legacy_wldev * dev,u16 offset) b43legacy_nrssi_hw_read() argument
335 b43legacy_nrssi_hw_update(struct b43legacy_wldev * dev,u16 val) b43legacy_nrssi_hw_update() argument
349 b43legacy_nrssi_mem_update(struct b43legacy_wldev * dev) b43legacy_nrssi_mem_update() argument
366 b43legacy_calc_nrssi_offset(struct b43legacy_wldev * dev) b43legacy_calc_nrssi_offset() argument
536 b43legacy_calc_nrssi_slope(struct b43legacy_wldev * dev) b43legacy_calc_nrssi_slope() argument
801 b43legacy_calc_nrssi_threshold(struct b43legacy_wldev * dev) b43legacy_calc_nrssi_threshold() argument
972 b43legacy_radio_interference_mitigation_enable(struct b43legacy_wldev * dev,int mode) b43legacy_radio_interference_mitigation_enable() argument
1218 b43legacy_radio_interference_mitigation_disable(struct b43legacy_wldev * dev,int mode) b43legacy_radio_interference_mitigation_disable() argument
1322 b43legacy_radio_set_interference_mitigation(struct b43legacy_wldev * dev,int mode) b43legacy_radio_set_interference_mitigation() argument
1366 b43legacy_radio_calibrationvalue(struct b43legacy_wldev * dev) b43legacy_radio_calibrationvalue() argument
1382 b43legacy_get_812_value(struct b43legacy_wldev * dev,u8 lpd) b43legacy_get_812_value() argument
1479 b43legacy_radio_init2050(struct b43legacy_wldev * dev) b43legacy_radio_init2050() argument
1712 b43legacy_radio_selectchannel(struct b43legacy_wldev * dev,u8 channel,int synthetic_pu_workaround) b43legacy_radio_selectchannel() argument
1767 b43legacy_radio_set_txantenna(struct b43legacy_wldev * dev,u32 val) b43legacy_radio_set_txantenna() argument
1847 b43legacy_radio_set_txpower_a(struct b43legacy_wldev * dev,u16 txpower) b43legacy_radio_set_txpower_a() argument
1880 b43legacy_radio_set_txpower_bg(struct b43legacy_wldev * dev,u16 baseband_attenuation,u16 radio_attenuation,u16 txpower) b43legacy_radio_set_txpower_bg() argument
1917 b43legacy_default_baseband_attenuation(struct b43legacy_wldev * dev) b43legacy_default_baseband_attenuation() argument
1926 b43legacy_default_radio_attenuation(struct b43legacy_wldev * dev) b43legacy_default_radio_attenuation() argument
2013 b43legacy_default_txctl1(struct b43legacy_wldev * dev) b43legacy_default_txctl1() argument
2028 b43legacy_radio_turn_on(struct b43legacy_wldev * dev) b43legacy_radio_turn_on() argument
2066 b43legacy_radio_turn_off(struct b43legacy_wldev * dev,bool force) b43legacy_radio_turn_off() argument
2092 b43legacy_radio_clear_tssi(struct b43legacy_wldev * dev) b43legacy_radio_clear_tssi() argument
[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() argument
37 outb(reg >> 8, dev->hw_io + ENE_ADDR_HI); in ene_set_reg_addr()
38 outb(reg & 0xFF, dev->hw_io + ENE_ADDR_LO); in ene_set_reg_addr()
42 static u8 ene_read_reg(struct ene_device *dev, u16 reg) in ene_read_reg() argument
45 ene_set_reg_addr(dev, reg); in ene_read_reg()
46 retval = inb(dev->hw_io + ENE_IO); in ene_read_reg()
52 static void ene_write_reg(struct ene_device *dev, u16 reg, u8 value) in ene_write_reg() argument
55 ene_set_reg_addr(dev, reg); in ene_write_reg()
56 outb(value, dev->hw_io + ENE_IO); in ene_write_reg()
60 static void ene_set_reg_mask(struct ene_device *dev, u1 argument
68 ene_clear_reg_mask(struct ene_device * dev,u16 reg,u8 mask) ene_clear_reg_mask() argument
76 ene_set_clear_reg_mask(struct ene_device * dev,u16 reg,u8 mask,bool set) ene_set_clear_reg_mask() argument
86 ene_hw_detect(struct ene_device * dev) ene_hw_detect() argument
178 ene_rx_setup_hw_buffer(struct ene_device * dev) ene_rx_setup_hw_buffer() argument
236 ene_rx_restore_hw_buffer(struct ene_device * dev) ene_rx_restore_hw_buffer() argument
257 ene_rx_read_hw_pointer(struct ene_device * dev) ene_rx_read_hw_pointer() argument
270 ene_rx_get_sample_reg(struct ene_device * dev) ene_rx_get_sample_reg() argument
317 ene_rx_sense_carrier(struct ene_device * dev) ene_rx_sense_carrier() argument
349 ene_rx_enable_cir_engine(struct ene_device * dev,bool enable) ene_rx_enable_cir_engine() argument
356 ene_rx_select_input(struct ene_device * dev,bool gpio_0a) ene_rx_select_input() argument
365 ene_rx_enable_fan_input(struct ene_device * dev,bool enable) ene_rx_enable_fan_input() argument
379 ene_rx_setup(struct ene_device * dev) ene_rx_setup() argument
461 ene_rx_enable_hw(struct ene_device * dev) ene_rx_enable_hw() argument
492 ene_rx_enable(struct ene_device * dev) ene_rx_enable() argument
499 ene_rx_disable_hw(struct ene_device * dev) ene_rx_disable_hw() argument
511 ene_rx_disable(struct ene_device * dev) ene_rx_disable() argument
520 ene_rx_reset(struct ene_device * dev) ene_rx_reset() argument
527 ene_tx_set_carrier(struct ene_device * dev) ene_tx_set_carrier() argument
557 ene_tx_set_transmitters(struct ene_device * dev) ene_tx_set_transmitters() argument
570 ene_tx_enable(struct ene_device * dev) ene_tx_enable() argument
597 ene_tx_disable(struct ene_device * dev) ene_tx_disable() argument
605 ene_tx_sample(struct ene_device * dev) ene_tx_sample() argument
662 struct ene_device *dev = timer_container_of(dev, t, tx_sim_timer); ene_tx_irqsim() local
672 ene_irq_status(struct ene_device * dev) ene_irq_status() argument
722 struct ene_device *dev = (struct ene_device *)data; ene_isr() local
810 ene_setup_default_settings(struct ene_device * dev) ene_setup_default_settings() argument
822 ene_setup_hw_settings(struct ene_device * dev) ene_setup_hw_settings() argument
835 struct ene_device *dev = rdev->priv; ene_open() local
847 struct ene_device *dev = rdev->priv; ene_close() local
858 struct ene_device *dev = rdev->priv; ene_set_tx_mask() local
876 struct ene_device *dev = rdev->priv; ene_set_tx_carrier() local
900 struct ene_device *dev = rdev->priv; ene_set_tx_duty_cycle() local
910 struct ene_device *dev = rdev->priv; ene_set_learning_mode() local
926 struct ene_device *dev = rdev->priv; ene_set_carrier_report() local
944 struct ene_device *dev = rdev->priv; ene_set_idle() local
955 struct ene_device *dev = rdev->priv; ene_transmit() local
993 struct ene_device *dev; ene_probe() local
1103 struct ene_device *dev = pnp_get_drvdata(pnp_dev); ene_remove() local
1119 ene_enable_wake(struct ene_device * dev,bool enable) ene_enable_wake() argument
1128 struct ene_device *dev = pnp_get_drvdata(pnp_dev); ene_suspend() local
1140 struct ene_device *dev = pnp_get_drvdata(pnp_dev); ene_resume() local
1153 struct ene_device *dev = pnp_get_drvdata(pnp_dev); ene_shutdown() local
[all...]
/linux/net/nfc/
H A Dcore.c33 int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name) in nfc_fw_download() argument
37 pr_debug("%s do firmware %s\n", dev_name(&dev->dev), firmware_name); in nfc_fw_download()
39 device_lock(&dev->dev); in nfc_fw_download()
41 if (dev->shutting_down) { in nfc_fw_download()
46 if (dev->dev_up) { in nfc_fw_download()
51 if (!dev->ops->fw_download) { in nfc_fw_download()
56 dev->fw_download_in_progress = true; in nfc_fw_download()
57 rc = dev in nfc_fw_download()
73 nfc_fw_download_done(struct nfc_dev * dev,const char * firmware_name,u32 result) nfc_fw_download_done() argument
89 nfc_dev_up(struct nfc_dev * dev) nfc_dev_up() argument
137 nfc_dev_down(struct nfc_dev * dev) nfc_dev_down() argument
172 struct nfc_dev *dev = data; nfc_rfkill_set_block() local
198 nfc_start_poll(struct nfc_dev * dev,u32 im_protocols,u32 tm_protocols) nfc_start_poll() argument
241 nfc_stop_poll(struct nfc_dev * dev) nfc_stop_poll() argument
268 nfc_find_target(struct nfc_dev * dev,u32 target_idx) nfc_find_target() argument
280 nfc_dep_link_up(struct nfc_dev * dev,int target_index,u8 comm_mode) nfc_dep_link_up() argument
327 nfc_dep_link_down(struct nfc_dev * dev) nfc_dep_link_down() argument
363 nfc_dep_link_is_up(struct nfc_dev * dev,u32 target_idx,u8 comm_mode,u8 rf_mode) nfc_dep_link_is_up() argument
394 nfc_activate_target(struct nfc_dev * dev,u32 target_idx,u32 protocol) nfc_activate_target() argument
442 nfc_deactivate_target(struct nfc_dev * dev,u32 target_idx,u8 mode) nfc_deactivate_target() argument
488 nfc_data_exchange(struct nfc_dev * dev,u32 target_idx,struct sk_buff * skb,data_exchange_cb_t cb,void * cb_context) nfc_data_exchange() argument
534 nfc_find_se(struct nfc_dev * dev,u32 se_idx) nfc_find_se() argument
546 nfc_enable_se(struct nfc_dev * dev,u32 se_idx) nfc_enable_se() argument
595 nfc_disable_se(struct nfc_dev * dev,u32 se_idx) nfc_disable_se() argument
639 nfc_set_remote_general_bytes(struct nfc_dev * dev,const u8 * gb,u8 gb_len) nfc_set_remote_general_bytes() argument
647 nfc_get_local_general_bytes(struct nfc_dev * dev,size_t * gb_len) nfc_get_local_general_bytes() argument
655 nfc_tm_data_received(struct nfc_dev * dev,struct sk_buff * skb) nfc_tm_data_received() argument
667 nfc_tm_activated(struct nfc_dev * dev,u32 protocol,u8 comm_mode,const u8 * gb,size_t gb_len) nfc_tm_activated() argument
696 nfc_tm_deactivated(struct nfc_dev * dev) nfc_tm_deactivated() argument
714 nfc_alloc_send_skb(struct nfc_dev * dev,struct sock * sk,unsigned int flags,unsigned int size,unsigned int * err) nfc_alloc_send_skb() argument
768 nfc_targets_found(struct nfc_dev * dev,struct nfc_target * targets,int n_targets) nfc_targets_found() argument
825 nfc_target_lost(struct nfc_dev * dev,u32 target_idx) nfc_target_lost() argument
865 nfc_driver_failure(struct nfc_dev * dev,int err) nfc_driver_failure() argument
871 nfc_add_se(struct nfc_dev * dev,u32 se_idx,u16 type) nfc_add_se() argument
905 nfc_remove_se(struct nfc_dev * dev,u32 se_idx) nfc_remove_se() argument
928 nfc_se_transaction(struct nfc_dev * dev,u8 se_idx,struct nfc_evt_transaction * evt_transaction) nfc_se_transaction() argument
949 nfc_se_connectivity(struct nfc_dev * dev,u8 se_idx) nfc_se_connectivity() argument
964 struct nfc_dev *dev = to_nfc_dev(d); nfc_release() local
985 struct nfc_dev *dev = container_of(work, struct nfc_dev, nfc_check_pres_work() local
1013 struct nfc_dev *dev = timer_container_of(dev, t, check_pres_timer); nfc_check_pres_timeout() local
1026 struct nfc_dev *dev = to_nfc_dev(d); match_idx() local
1055 struct nfc_dev *dev; nfc_allocate_device() local
1110 nfc_register_device(struct nfc_dev * dev) nfc_register_device() argument
1154 nfc_unregister_device(struct nfc_dev * dev) nfc_unregister_device() argument
[all...]
/linux/drivers/base/power/
H A Druntime.c27 static pm_callback_t __rpm_get_driver_callback(struct device *dev, in __rpm_get_driver_callback() argument
30 if (dev->driver && dev->driver->pm) in __rpm_get_driver_callback()
31 return get_callback_ptr(dev->driver->pm, cb_offset); in __rpm_get_driver_callback()
36 static pm_callback_t __rpm_get_callback(struct device *dev, size_t cb_offset) in __rpm_get_callback() argument
41 if (dev->pm_domain) in __rpm_get_callback()
42 ops = &dev->pm_domain->ops; in __rpm_get_callback()
43 else if (dev->type && dev->type->pm) in __rpm_get_callback()
44 ops = dev in __rpm_get_callback()
61 RPM_GET_CALLBACK(dev,callback) global() argument
78 update_pm_runtime_accounting(struct device * dev) update_pm_runtime_accounting() argument
106 __update_runtime_status(struct device * dev,enum rpm_status status) __update_runtime_status() argument
113 rpm_get_accounted_time(struct device * dev,bool suspended) rpm_get_accounted_time() argument
128 pm_runtime_active_time(struct device * dev) pm_runtime_active_time() argument
133 pm_runtime_suspended_time(struct device * dev) pm_runtime_suspended_time() argument
143 pm_runtime_deactivate_timer(struct device * dev) pm_runtime_deactivate_timer() argument
155 pm_runtime_cancel_pending(struct device * dev) pm_runtime_cancel_pending() argument
177 pm_runtime_autosuspend_expiration(struct device * dev) pm_runtime_autosuspend_expiration() argument
198 dev_memalloc_noio(struct device * dev,void * data) dev_memalloc_noio() argument
231 pm_runtime_set_memalloc_noio(struct device * dev,bool enable) pm_runtime_set_memalloc_noio() argument
271 rpm_check_suspend_allowed(struct device * dev) rpm_check_suspend_allowed() argument
297 rpm_get_suppliers(struct device * dev) rpm_get_suppliers() argument
340 __rpm_put_suppliers(struct device * dev,bool try_to_suspend) __rpm_put_suppliers() argument
352 rpm_put_suppliers(struct device * dev) rpm_put_suppliers() argument
357 rpm_suspend_suppliers(struct device * dev) rpm_suspend_suppliers() argument
374 __rpm_callback(int (* cb)(struct device *),struct device * dev) __rpm_callback() argument
440 rpm_callback(int (* cb)(struct device *),struct device * dev) rpm_callback() argument
491 rpm_idle(struct device * dev,int rpmflags) rpm_idle() argument
583 rpm_suspend(struct device * dev,int rpmflags) rpm_suspend() argument
783 rpm_resume(struct device * dev,int rpmflags) rpm_resume() argument
974 struct device *dev = container_of(work, struct device, power.work); pm_runtime_work() local
1015 struct device *dev = container_of(timer, struct device, power.suspend_timer); pm_suspend_timer_fn() local
1042 pm_schedule_suspend(struct device * dev,unsigned int delay) pm_schedule_suspend() argument
1074 rpm_drop_usage_count(struct device * dev) rpm_drop_usage_count() argument
1106 __pm_runtime_idle(struct device * dev,int rpmflags) __pm_runtime_idle() argument
1144 __pm_runtime_suspend(struct device * dev,int rpmflags) __pm_runtime_suspend() argument
1180 __pm_runtime_resume(struct device * dev,int rpmflags) __pm_runtime_resume() argument
1223 pm_runtime_get_conditional(struct device * dev,bool ign_usage_count) pm_runtime_get_conditional() argument
1256 pm_runtime_get_if_active(struct device * dev) pm_runtime_get_if_active() argument
1278 pm_runtime_get_if_in_use(struct device * dev) pm_runtime_get_if_in_use() argument
1308 __pm_runtime_set_status(struct device * dev,unsigned int status) __pm_runtime_set_status() argument
1419 __pm_runtime_barrier(struct device * dev) __pm_runtime_barrier() argument
1470 pm_runtime_barrier(struct device * dev) pm_runtime_barrier() argument
1492 pm_runtime_block_if_disabled(struct device * dev) pm_runtime_block_if_disabled() argument
1507 pm_runtime_unblock(struct device * dev) pm_runtime_unblock() argument
1517 __pm_runtime_disable(struct device * dev,bool check_resume) __pm_runtime_disable() argument
1561 pm_runtime_enable(struct device * dev) pm_runtime_enable() argument
1602 devm_pm_runtime_set_active_enabled(struct device * dev) devm_pm_runtime_set_active_enabled() argument
1632 devm_pm_runtime_enable(struct device * dev) devm_pm_runtime_enable() argument
1650 devm_pm_runtime_get_noresume(struct device * dev) devm_pm_runtime_get_noresume() argument
1666 pm_runtime_forbid(struct device * dev) pm_runtime_forbid() argument
1687 pm_runtime_allow(struct device * dev) pm_runtime_allow() argument
1715 pm_runtime_no_callbacks(struct device * dev) pm_runtime_no_callbacks() argument
1736 pm_runtime_irq_safe(struct device * dev) pm_runtime_irq_safe() argument
1758 update_autosuspend(struct device * dev,int old_delay,int old_use) update_autosuspend() argument
1795 pm_runtime_set_autosuspend_delay(struct device * dev,int delay) pm_runtime_set_autosuspend_delay() argument
1816 __pm_runtime_use_autosuspend(struct device * dev,bool use) __pm_runtime_use_autosuspend() argument
1833 pm_runtime_init(struct device * dev) pm_runtime_init() argument
1865 pm_runtime_reinit(struct device * dev) pm_runtime_reinit() argument
1889 pm_runtime_remove(struct device * dev) pm_runtime_remove() argument
1899 pm_runtime_get_suppliers(struct device * dev) pm_runtime_get_suppliers() argument
1920 pm_runtime_put_suppliers(struct device * dev) pm_runtime_put_suppliers() argument
1937 pm_runtime_new_link(struct device * dev) pm_runtime_new_link() argument
1944 pm_runtime_drop_link_count(struct device * dev) pm_runtime_drop_link_count() argument
1970 get_callback(struct device * dev,size_t cb_offset) get_callback() argument
1984 GET_CALLBACK(dev,callback) global() argument
2004 pm_runtime_force_suspend(struct device * dev) pm_runtime_force_suspend() argument
2066 pm_runtime_force_resume(struct device * dev) pm_runtime_force_resume() argument
2105 pm_runtime_need_not_resume(struct device * dev) pm_runtime_need_not_resume() argument
[all...]
/linux/drivers/misc/mei/
H A Dinit.c81 * @dev: the device structure
83 void mei_cancel_work(struct mei_device *dev) in mei_cancel_work() argument
85 cancel_work_sync(&dev->reset_work); in mei_cancel_work()
86 cancel_work_sync(&dev->bus_rescan_work); in mei_cancel_work()
88 cancel_delayed_work_sync(&dev->timer_work); in mei_cancel_work()
92 static void mei_save_fw_status(struct mei_device *dev) in mei_save_fw_status() argument
97 ret = mei_fw_status(dev, &fw_status); in mei_save_fw_status()
99 dev_err(dev->dev, "failed to read firmware status: %d\n", ret); in mei_save_fw_status()
103 dev in mei_save_fw_status()
115 mei_reset(struct mei_device * dev) mei_reset() argument
218 mei_start(struct mei_device * dev) mei_start() argument
273 mei_restart(struct mei_device * dev) mei_restart() argument
302 struct mei_device *dev = mei_reset_work() local
325 mei_stop(struct mei_device * dev) mei_stop() argument
361 mei_write_is_idle(struct mei_device * dev) mei_write_is_idle() argument
387 mei_device_init(struct mei_device * dev,struct device * device,bool slow_fw,const struct mei_hw_ops * hw_ops) mei_device_init() argument
[all...]
H A Dhw-me.c55 * @dev: the device structure
59 static inline u32 mei_me_mecbrw_read(const struct mei_device *dev) in mei_me_mecbrw_read() argument
61 return mei_me_reg_read(to_me_hw(dev), ME_CB_RW); in mei_me_mecbrw_read()
67 * @dev: the device structure
70 static inline void mei_me_hcbww_write(struct mei_device *dev, u32 data) in mei_me_hcbww_write() argument
72 mei_me_reg_write(to_me_hw(dev), H_CB_WW, data); in mei_me_hcbww_write()
78 * @dev: the device structure
82 static inline u32 mei_me_mecsr_read(const struct mei_device *dev) in mei_me_mecsr_read() argument
86 reg = mei_me_reg_read(to_me_hw(dev), ME_CSR_HA); in mei_me_mecsr_read()
87 trace_mei_reg_read(dev in mei_me_mecsr_read()
99 mei_hcsr_read(const struct mei_device * dev) mei_hcsr_read() argument
115 mei_hcsr_write(struct mei_device * dev,u32 reg) mei_hcsr_write() argument
128 mei_hcsr_set(struct mei_device * dev,u32 reg) mei_hcsr_set() argument
139 mei_hcsr_set_hig(struct mei_device * dev) mei_hcsr_set_hig() argument
154 mei_me_d0i3c_read(const struct mei_device * dev) mei_me_d0i3c_read() argument
170 mei_me_d0i3c_write(struct mei_device * dev,u32 reg) mei_me_d0i3c_write() argument
184 mei_me_trc_status(struct mei_device * dev,u32 * trc) mei_me_trc_status() argument
205 mei_me_fw_status(struct mei_device * dev,struct mei_fw_status * fw_status) mei_me_fw_status() argument
240 mei_me_hw_config(struct mei_device * dev) mei_me_hw_config() argument
276 mei_me_pg_state(struct mei_device * dev) mei_me_pg_state() argument
295 me_intr_disable(struct mei_device * dev,u32 hcsr) me_intr_disable() argument
307 me_intr_clear(struct mei_device * dev,u32 hcsr) me_intr_clear() argument
318 mei_me_intr_clear(struct mei_device * dev) mei_me_intr_clear() argument
329 mei_me_intr_enable(struct mei_device * dev) mei_me_intr_enable() argument
345 mei_me_intr_disable(struct mei_device * dev) mei_me_intr_disable() argument
357 mei_me_synchronize_irq(struct mei_device * dev) mei_me_synchronize_irq() argument
372 mei_me_hw_reset_release(struct mei_device * dev) mei_me_hw_reset_release() argument
386 mei_me_host_set_ready(struct mei_device * dev) mei_me_host_set_ready() argument
403 mei_me_host_is_ready(struct mei_device * dev) mei_me_host_is_ready() argument
416 mei_me_hw_is_ready(struct mei_device * dev) mei_me_hw_is_ready() argument
429 mei_me_hw_is_resetting(struct mei_device * dev) mei_me_hw_is_resetting() argument
441 mei_gsc_pxp_check(struct mei_device * dev) mei_gsc_pxp_check() argument
477 mei_me_hw_ready_wait(struct mei_device * dev) mei_me_hw_ready_wait() argument
501 mei_me_check_fw_reset(struct mei_device * dev) mei_me_check_fw_reset() argument
539 mei_me_hw_start(struct mei_device * dev) mei_me_hw_start() argument
561 mei_hbuf_filled_slots(struct mei_device * dev) mei_hbuf_filled_slots() argument
581 mei_me_hbuf_is_empty(struct mei_device * dev) mei_me_hbuf_is_empty() argument
593 mei_me_hbuf_empty_slots(struct mei_device * dev) mei_me_hbuf_empty_slots() argument
615 mei_me_hbuf_depth(const struct mei_device * dev) mei_me_hbuf_depth() argument
633 mei_me_hbuf_write(struct mei_device * dev,const void * hdr,size_t hdr_len,const void * data,size_t data_len) mei_me_hbuf_write() argument
693 mei_me_count_full_read_slots(struct mei_device * dev) mei_me_count_full_read_slots() argument
722 mei_me_read_slots(struct mei_device * dev,unsigned char * buffer,unsigned long buffer_length) mei_me_read_slots() argument
745 mei_me_pg_set(struct mei_device * dev) mei_me_pg_set() argument
764 mei_me_pg_unset(struct mei_device * dev) mei_me_pg_unset() argument
787 mei_me_pg_legacy_enter_sync(struct mei_device * dev) mei_me_pg_legacy_enter_sync() argument
824 mei_me_pg_legacy_exit_sync(struct mei_device * dev) mei_me_pg_legacy_exit_sync() argument
878 mei_me_pg_in_transition(struct mei_device * dev) mei_me_pg_in_transition() argument
891 mei_me_pg_is_enabled(struct mei_device * dev) mei_me_pg_is_enabled() argument
927 mei_me_d0i3_set(struct mei_device * dev,bool intr) mei_me_d0i3_set() argument
949 mei_me_d0i3_unset(struct mei_device * dev) mei_me_d0i3_unset() argument
968 mei_me_d0i3_enter_sync(struct mei_device * dev) mei_me_d0i3_enter_sync() argument
1044 mei_me_d0i3_enter(struct mei_device * dev) mei_me_d0i3_enter() argument
1071 mei_me_d0i3_exit_sync(struct mei_device * dev) mei_me_d0i3_exit_sync() argument
1124 mei_me_pg_legacy_intr(struct mei_device * dev) mei_me_pg_legacy_intr() argument
1143 mei_me_d0i3_intr(struct mei_device * dev,u32 intr_source) mei_me_d0i3_intr() argument
1184 mei_me_pg_intr(struct mei_device * dev,u32 intr_source) mei_me_pg_intr() argument
1201 mei_me_pg_enter_sync(struct mei_device * dev) mei_me_pg_enter_sync() argument
1218 mei_me_pg_exit_sync(struct mei_device * dev) mei_me_pg_exit_sync() argument
1236 mei_me_hw_reset(struct mei_device * dev,bool intr_enable) mei_me_hw_reset() argument
1309 struct mei_device *dev = (struct mei_device *)dev_id; mei_me_irq_quick_handler() local
1336 struct mei_device *dev = (struct mei_device *) dev_id; mei_me_irq_thread_handler() local
1452 struct mei_device *dev = _dev; mei_me_polling_thread() local
1803 struct mei_device *dev; mei_me_dev_init() local
[all...]
H A Dhbm.c91 * @dev: mei device
97 static inline int mei_hbm_write_message(struct mei_device *dev, in mei_hbm_write_message() argument
101 return mei_write_message(dev, hdr, sizeof(*hdr), data, hdr->length); in mei_hbm_write_message()
107 * @dev: the device structure
109 void mei_hbm_idle(struct mei_device *dev) in mei_hbm_idle() argument
111 dev->init_clients_timer = 0; in mei_hbm_idle()
112 dev->hbm_state = MEI_HBM_IDLE; in mei_hbm_idle()
118 * @dev: the device structure
120 void mei_hbm_reset(struct mei_device *dev) in mei_hbm_reset() argument
122 mei_me_cl_rm_all(dev); in mei_hbm_reset()
172 mei_hbm_cl_write(struct mei_device * dev,struct mei_cl * cl,u8 hbm_cmd,void * buf,size_t len) mei_hbm_cl_write() argument
208 mei_hbm_cl_find_by_cmd(struct mei_device * dev,void * buf) mei_hbm_cl_find_by_cmd() argument
227 mei_hbm_start_wait(struct mei_device * dev) mei_hbm_start_wait() argument
255 mei_hbm_start_req(struct mei_device * dev) mei_hbm_start_req() argument
291 mei_hbm_dma_setup_req(struct mei_device * dev) mei_hbm_dma_setup_req() argument
333 mei_hbm_capabilities_req(struct mei_device * dev) mei_hbm_capabilities_req() argument
372 mei_hbm_enum_clients_req(struct mei_device * dev) mei_hbm_enum_clients_req() argument
408 mei_hbm_me_cl_add(struct mei_device * dev,struct hbm_props_response * res) mei_hbm_me_cl_add() argument
440 mei_hbm_add_cl_resp(struct mei_device * dev,u8 addr,u8 status) mei_hbm_add_cl_resp() argument
470 mei_hbm_fw_add_cl_req(struct mei_device * dev,struct hbm_add_client_request * req) mei_hbm_fw_add_cl_req() argument
498 mei_hbm_cl_notify_req(struct mei_device * dev,struct mei_cl * cl,u8 start) mei_hbm_cl_notify_req() argument
542 mei_hbm_cl_notify_start_res(struct mei_device * dev,struct mei_cl * cl,struct mei_hbm_cl_cmd * cmd) mei_hbm_cl_notify_start_res() argument
568 mei_hbm_cl_notify_stop_res(struct mei_device * dev,struct mei_cl * cl,struct mei_hbm_cl_cmd * cmd) mei_hbm_cl_notify_stop_res() argument
593 mei_hbm_cl_notify(struct mei_device * dev,struct mei_hbm_cl_cmd * cmd) mei_hbm_cl_notify() argument
611 mei_hbm_cl_dma_map_req(struct mei_device * dev,struct mei_cl * cl) mei_hbm_cl_dma_map_req() argument
642 mei_hbm_cl_dma_unmap_req(struct mei_device * dev,struct mei_cl * cl) mei_hbm_cl_dma_unmap_req() argument
662 mei_hbm_cl_dma_map_res(struct mei_device * dev,struct hbm_client_dma_response * res) mei_hbm_cl_dma_map_res() argument
692 mei_hbm_cl_dma_unmap_res(struct mei_device * dev,struct hbm_client_dma_response * res) mei_hbm_cl_dma_unmap_res() argument
730 mei_hbm_prop_req(struct mei_device * dev,unsigned long start_idx) mei_hbm_prop_req() argument
775 mei_hbm_pg(struct mei_device * dev,u8 pg_cmd) mei_hbm_pg() argument
803 mei_hbm_stop_req(struct mei_device * dev) mei_hbm_stop_req() argument
825 mei_hbm_cl_flow_control_req(struct mei_device * dev,struct mei_cl * cl) mei_hbm_cl_flow_control_req() argument
842 mei_hbm_add_single_tx_flow_ctrl_creds(struct mei_device * dev,struct hbm_flow_control * fctrl) mei_hbm_add_single_tx_flow_ctrl_creds() argument
875 mei_hbm_cl_tx_flow_ctrl_creds_res(struct mei_device * dev,struct hbm_flow_control * fctrl) mei_hbm_cl_tx_flow_ctrl_creds_res() argument
903 mei_hbm_cl_disconnect_req(struct mei_device * dev,struct mei_cl * cl) mei_hbm_cl_disconnect_req() argument
919 mei_hbm_cl_disconnect_rsp(struct mei_device * dev,struct mei_cl * cl) mei_hbm_cl_disconnect_rsp() argument
935 mei_hbm_cl_disconnect_res(struct mei_device * dev,struct mei_cl * cl,struct mei_hbm_cl_cmd * cmd) mei_hbm_cl_disconnect_res() argument
956 mei_hbm_cl_connect_req(struct mei_device * dev,struct mei_cl * cl) mei_hbm_cl_connect_req() argument
972 mei_hbm_cl_connect_res(struct mei_device * dev,struct mei_cl * cl,struct mei_hbm_cl_cmd * cmd) mei_hbm_cl_connect_res() argument
1002 mei_hbm_cl_res(struct mei_device * dev,struct mei_hbm_cl_cmd * rs,enum mei_cb_file_ops fop_type) mei_hbm_cl_res() argument
1057 mei_hbm_fw_disconnect_req(struct mei_device * dev,struct hbm_client_connect_request * disconnect_req) mei_hbm_fw_disconnect_req() argument
1084 mei_hbm_pg_enter_res(struct mei_device * dev) mei_hbm_pg_enter_res() argument
1104 mei_hbm_pg_resume(struct mei_device * dev) mei_hbm_pg_resume() argument
1117 mei_hbm_pg_exit_res(struct mei_device * dev) mei_hbm_pg_exit_res() argument
1156 mei_hbm_config_features(struct mei_device * dev) mei_hbm_config_features() argument
1237 mei_hbm_version_is_supported(struct mei_device * dev) mei_hbm_version_is_supported() argument
1253 mei_hbm_dispatch(struct mei_device * dev,struct mei_msg_hdr * hdr) mei_hbm_dispatch() argument
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c72 #include "sf/dev/dev.h"
189 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init() argument
197 fw_initializing = ioread32be(&dev->iseg->initializing); in wait_fw_init()
201 mlx5_core_err(dev, "Firmware over %u MS in %s state, aborting\n", in wait_fw_init()
205 if (test_bit(MLX5_BREAK_FW_WAIT, &dev->intf_state)) { in wait_fw_init()
206 mlx5_core_warn(dev, "device is being removed, stop waiting for FW %s\n", in wait_fw_init()
211 mlx5_core_warn(dev, "Waiting for FW %s, timeout abort in %ds (0x%x)\n", in wait_fw_init()
216 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
222 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version() argument
263 mlx5_pci_enable_device(struct mlx5_core_dev * dev) mlx5_pci_enable_device() argument
279 mlx5_pci_disable_device(struct mlx5_core_dev * dev) mlx5_pci_disable_device() argument
317 to_fw_pkey_sz(struct mlx5_core_dev * dev,u32 size) to_fw_pkey_sz() argument
338 mlx5_core_uplink_netdev_set(struct mlx5_core_dev * dev,struct net_device * netdev) mlx5_core_uplink_netdev_set() argument
347 mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev * dev) mlx5_core_uplink_netdev_event_replay() argument
356 mlx5_core_mp_event_replay(struct mlx5_core_dev * dev,u32 event,void * data) mlx5_core_mp_event_replay() argument
362 mlx5_core_get_caps_mode(struct mlx5_core_dev * dev,enum mlx5_cap_type cap_type,enum mlx5_cap_mode cap_mode) mlx5_core_get_caps_mode() argument
413 mlx5_core_get_caps(struct mlx5_core_dev * dev,enum mlx5_cap_type cap_type) mlx5_core_get_caps() argument
423 set_caps(struct mlx5_core_dev * dev,void * in,int opmod) set_caps() argument
430 handle_hca_cap_atomic(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_atomic() argument
459 handle_hca_cap_odp(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_odp() argument
488 ODP_CAP_SET_MAX(dev,field) handle_hca_cap_odp() argument
521 max_uc_list_get_devlink_param(struct mlx5_core_dev * dev) max_uc_list_get_devlink_param() argument
536 mlx5_is_roce_on(struct mlx5_core_dev * dev) mlx5_is_roce_on() argument
554 handle_hca_cap_2(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_2() argument
579 handle_hca_cap(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap() argument
692 is_roce_fw_disabled(struct mlx5_core_dev * dev) is_roce_fw_disabled() argument
698 handle_hca_cap_roce(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_roce() argument
726 handle_hca_cap_port_selection(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_port_selection() argument
753 set_hca_cap(struct mlx5_core_dev * dev) set_hca_cap() argument
809 set_hca_ctrl(struct mlx5_core_dev * dev) set_hca_ctrl() argument
826 mlx5_core_set_hca_defaults(struct mlx5_core_dev * dev) mlx5_core_set_hca_defaults() argument
837 mlx5_core_enable_hca(struct mlx5_core_dev * dev,u16 func_id) mlx5_core_enable_hca() argument
848 mlx5_core_disable_hca(struct mlx5_core_dev * dev,u16 func_id) mlx5_core_disable_hca() argument
859 mlx5_core_set_issi(struct mlx5_core_dev * dev) mlx5_core_set_issi() argument
907 mlx5_pci_init(struct mlx5_core_dev * dev,struct pci_dev * pdev,const struct pci_device_id * id) mlx5_pci_init() argument
963 mlx5_pci_close(struct mlx5_core_dev * dev) mlx5_pci_close() argument
976 mlx5_register_hca_devcom_comp(struct mlx5_core_dev * dev) mlx5_register_hca_devcom_comp() argument
992 mlx5_unregister_hca_devcom_comp(struct mlx5_core_dev * dev) mlx5_unregister_hca_devcom_comp() argument
997 mlx5_init_once(struct mlx5_core_dev * dev) mlx5_init_once() argument
1149 mlx5_cleanup_once(struct mlx5_core_dev * dev) mlx5_cleanup_once() argument
1178 mlx5_function_enable(struct mlx5_core_dev * dev,bool boot,u64 timeout) mlx5_function_enable() argument
1252 mlx5_function_disable(struct mlx5_core_dev * dev,bool boot) mlx5_function_disable() argument
1261 mlx5_function_open(struct mlx5_core_dev * dev) mlx5_function_open() argument
1300 mlx5_function_close(struct mlx5_core_dev * dev) mlx5_function_close() argument
1313 mlx5_function_setup(struct mlx5_core_dev * dev,bool boot,u64 timeout) mlx5_function_setup() argument
1327 mlx5_function_teardown(struct mlx5_core_dev * dev,bool boot) mlx5_function_teardown() argument
1339 mlx5_load(struct mlx5_core_dev * dev) mlx5_load() argument
1461 mlx5_unload(struct mlx5_core_dev * dev) mlx5_unload() argument
1485 mlx5_init_one_devl_locked(struct mlx5_core_dev * dev) mlx5_init_one_devl_locked() argument
1549 mlx5_init_one(struct mlx5_core_dev * dev) mlx5_init_one() argument
1563 mlx5_uninit_one(struct mlx5_core_dev * dev) mlx5_uninit_one() argument
1593 mlx5_load_one_devl_locked(struct mlx5_core_dev * dev,bool recovery) mlx5_load_one_devl_locked() argument
1640 mlx5_load_one(struct mlx5_core_dev * dev,bool recovery) mlx5_load_one() argument
1651 mlx5_unload_one_devl_locked(struct mlx5_core_dev * dev,bool suspend) mlx5_unload_one_devl_locked() argument
1671 mlx5_unload_one(struct mlx5_core_dev * dev,bool suspend) mlx5_unload_one() argument
1683 mlx5_query_hca_caps_light(struct mlx5_core_dev * dev) mlx5_query_hca_caps_light() argument
1717 mlx5_init_one_light(struct mlx5_core_dev * dev) mlx5_init_one_light() argument
1755 mlx5_uninit_one_light(struct mlx5_core_dev * dev) mlx5_uninit_one_light() argument
1773 mlx5_unload_one_light(struct mlx5_core_dev * dev) mlx5_unload_one_light() argument
1808 mlx5_hca_caps_free(struct mlx5_core_dev * dev) mlx5_hca_caps_free() argument
1819 mlx5_hca_caps_alloc(struct mlx5_core_dev * dev) mlx5_hca_caps_alloc() argument
1842 struct mlx5_core_dev *dev = file->private; vhca_id_show() local
1850 mlx5_mdev_init(struct mlx5_core_dev * dev,int profile_idx) mlx5_mdev_init() argument
1940 mlx5_mdev_uninit(struct mlx5_core_dev * dev) mlx5_mdev_uninit() argument
1966 struct mlx5_core_dev *dev; probe_one() local
2024 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); remove_one() local
2038 mlx5_pci_trace(dev,fmt,...) global() argument
2056 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_err_detected() local
2080 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); wait_vital() local
2107 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_slot_reset() local
2140 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_resume() local
2161 mlx5_try_fast_unload(struct mlx5_core_dev * dev) mlx5_try_fast_unload() argument
2212 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); shutdown() local
2226 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_suspend() local
2235 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_resume() local
2270 mlx5_disable_device(struct mlx5_core_dev * dev) mlx5_disable_device() argument
2276 mlx5_recover_device(struct mlx5_core_dev * dev) mlx5_recover_device() argument
[all...]
/linux/drivers/i2c/busses/
H A Di2c-at91-master.c33 void at91_init_twi_bus_master(struct at91_twi_dev *dev) in at91_init_twi_bus_master() argument
35 struct at91_twi_pdata *pdata = dev->pdata; in at91_init_twi_bus_master()
39 if (dev->fifo_size) in at91_init_twi_bus_master()
40 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_FIFOEN); in at91_init_twi_bus_master()
41 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_MSEN); in at91_init_twi_bus_master()
42 at91_twi_write(dev, AT91_TWI_CR, AT91_TWI_SVDIS); in at91_init_twi_bus_master()
43 at91_twi_write(dev, AT91_TWI_CWGR, dev->twi_cwgr_reg); in at91_init_twi_bus_master()
46 if (pdata->has_dig_filtr && dev->enable_dig_filt) in at91_init_twi_bus_master()
50 if (pdata->has_adv_dig_filtr && dev in at91_init_twi_bus_master()
67 at91_calc_twi_clock(struct at91_twi_dev * dev) at91_calc_twi_clock() argument
133 at91_twi_dma_cleanup(struct at91_twi_dev * dev) at91_twi_dma_cleanup() argument
155 at91_twi_write_next_byte(struct at91_twi_dev * dev) at91_twi_write_next_byte() argument
177 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; at91_twi_write_data_dma_callback() local
194 at91_twi_write_data_dma(struct at91_twi_dev * dev) at91_twi_write_data_dma() argument
272 at91_twi_read_next_byte(struct at91_twi_dev * dev) at91_twi_read_next_byte() argument
318 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; at91_twi_read_data_dma_callback() local
333 at91_twi_read_data_dma(struct at91_twi_dev * dev) at91_twi_read_data_dma() argument
392 struct at91_twi_dev *dev = dev_id; atmel_twi_interrupt() local
476 at91_do_twi_transfer(struct at91_twi_dev * dev) at91_do_twi_transfer() argument
653 struct at91_twi_dev *dev = i2c_get_adapdata(adap); at91_twi_xfer() local
746 at91_twi_configure_dma(struct at91_twi_dev * dev,u32 phy_addr) at91_twi_configure_dma() argument
829 at91_init_twi_recovery_gpio(struct platform_device * pdev,struct at91_twi_dev * dev) at91_init_twi_recovery_gpio() argument
849 struct at91_twi_dev *dev = i2c_get_adapdata(adap); at91_twi_recover_bus_cmd() local
868 at91_init_twi_recovery_info(struct platform_device * pdev,struct at91_twi_dev * dev) at91_init_twi_recovery_info() argument
883 at91_twi_probe_master(struct platform_device * pdev,u32 phy_addr,struct at91_twi_dev * dev) at91_twi_probe_master() argument
[all...]
/linux/drivers/platform/x86/amd/pmf/
H A Dtee-if.c50 static void amd_pmf_prepare_args(struct amd_pmf_dev *dev, int cmd, in amd_pmf_prepare_args() argument
58 arg->session = dev->session_id; in amd_pmf_prepare_args()
64 param[0].u.memref.shm = dev->fw_shm_pool; in amd_pmf_prepare_args()
68 static void amd_pmf_update_uevents(struct amd_pmf_dev *dev, u16 event) in amd_pmf_update_uevents() argument
70 input_report_key(dev->pmf_idev, event, 1); /* key press */ in amd_pmf_update_uevents()
71 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
72 input_report_key(dev->pmf_idev, event, 0); /* key release */ in amd_pmf_update_uevents()
73 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
76 static void amd_pmf_apply_policies(struct amd_pmf_dev *dev, struct ta_pmf_enact_result *out) in amd_pmf_apply_policies() argument
85 if (dev in amd_pmf_apply_policies()
212 amd_pmf_invoke_cmd_enact(struct amd_pmf_dev * dev) amd_pmf_invoke_cmd_enact() argument
252 amd_pmf_invoke_cmd_init(struct amd_pmf_dev * dev) amd_pmf_invoke_cmd_init() argument
293 struct amd_pmf_dev *dev = container_of(work, struct amd_pmf_dev, pb_work.work); amd_pmf_invoke_cmd() local
299 amd_pmf_start_policy_engine(struct amd_pmf_dev * dev) amd_pmf_start_policy_engine() argument
337 amd_pmf_pb_valid(struct amd_pmf_dev * dev) amd_pmf_pb_valid() argument
343 amd_pmf_hex_dump_pb(struct amd_pmf_dev * dev) amd_pmf_hex_dump_pb() argument
352 struct amd_pmf_dev *dev = filp->private_data; amd_pmf_get_pb_data() local
390 amd_pmf_open_pb(struct amd_pmf_dev * dev,struct dentry * debugfs_root) amd_pmf_open_pb() argument
396 amd_pmf_remove_pb(struct amd_pmf_dev * dev) amd_pmf_remove_pb() argument
401 amd_pmf_open_pb(struct amd_pmf_dev * dev,struct dentry * debugfs_root) amd_pmf_open_pb() argument
402 amd_pmf_remove_pb(struct amd_pmf_dev * dev) amd_pmf_remove_pb() argument
403 amd_pmf_hex_dump_pb(struct amd_pmf_dev * dev) amd_pmf_hex_dump_pb() argument
431 amd_pmf_register_input_device(struct amd_pmf_dev * dev) amd_pmf_register_input_device() argument
455 amd_pmf_tee_init(struct amd_pmf_dev * dev,const uuid_t * uuid) amd_pmf_tee_init() argument
503 amd_pmf_tee_deinit(struct amd_pmf_dev * dev) amd_pmf_tee_deinit() argument
513 amd_pmf_init_smart_pc(struct amd_pmf_dev * dev) amd_pmf_init_smart_pc() argument
589 amd_pmf_deinit_smart_pc(struct amd_pmf_dev * dev) amd_pmf_deinit_smart_pc() argument
[all...]
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c16 static void mt7601u_agc_reset(struct mt7601u_dev *dev);
19 mt7601u_rf_wr(struct mt7601u_dev *dev, u8 bank, u8 offset, u8 value) in mt7601u_rf_wr() argument
23 if (WARN_ON(!test_bit(MT7601U_STATE_WLAN_RUNNING, &dev->state)) || in mt7601u_rf_wr()
26 if (test_bit(MT7601U_STATE_REMOVED, &dev->state)) in mt7601u_rf_wr()
29 mutex_lock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
31 if (!mt76_poll(dev, MT_RF_CSR_CFG, MT_RF_CSR_CFG_KICK, 0, 100)) { in mt7601u_rf_wr()
36 mt7601u_wr(dev, MT_RF_CSR_CFG, in mt7601u_rf_wr()
42 trace_rf_write(dev, bank, offset, value); in mt7601u_rf_wr()
44 mutex_unlock(&dev->reg_atomic_mutex); in mt7601u_rf_wr()
47 dev_err(dev in mt7601u_rf_wr()
54 mt7601u_rf_rr(struct mt7601u_dev * dev,u8 bank,u8 offset) mt7601u_rf_rr() argument
95 mt7601u_rf_rmw(struct mt7601u_dev * dev,u8 bank,u8 offset,u8 mask,u8 val) mt7601u_rf_rmw() argument
111 mt7601u_rf_set(struct mt7601u_dev * dev,u8 bank,u8 offset,u8 val) mt7601u_rf_set() argument
117 mt7601u_rf_clear(struct mt7601u_dev * dev,u8 bank,u8 offset,u8 mask) mt7601u_rf_clear() argument
122 mt7601u_bbp_wr(struct mt7601u_dev * dev,u8 offset,u8 val) mt7601u_bbp_wr() argument
144 mt7601u_bbp_rr(struct mt7601u_dev * dev,u8 offset) mt7601u_bbp_rr() argument
182 mt7601u_bbp_rmw(struct mt7601u_dev * dev,u8 offset,u8 mask,u8 val) mt7601u_bbp_rmw() argument
195 mt7601u_bbp_rmc(struct mt7601u_dev * dev,u8 offset,u8 mask,u8 val) mt7601u_bbp_rmc() argument
209 mt7601u_wait_bbp_ready(struct mt7601u_dev * dev) mt7601u_wait_bbp_ready() argument
228 mt7601u_bbp_set_ctrlch(struct mt7601u_dev * dev,bool below) mt7601u_bbp_set_ctrlch() argument
233 mt7601u_phy_get_rssi(struct mt7601u_dev * dev,struct mt7601u_rxwi * rxwi,u16 rate) mt7601u_phy_get_rssi() argument
263 mt7601u_vco_cal(struct mt7601u_dev * dev) mt7601u_vco_cal() argument
271 mt7601u_set_bw_filter(struct mt7601u_dev * dev,bool cal) mt7601u_set_bw_filter() argument
289 mt7601u_load_bbp_temp_table_bw(struct mt7601u_dev * dev) mt7601u_load_bbp_temp_table_bw() argument
301 mt7601u_bbp_temp(struct mt7601u_dev * dev,int mode,const char * name) mt7601u_bbp_temp() argument
322 mt7601u_apply_ch14_fixup(struct mt7601u_dev * dev,int hw_chan) mt7601u_apply_ch14_fixup() argument
342 __mt7601u_phy_set_channel(struct mt7601u_dev * dev,struct cfg80211_chan_def * chandef) __mt7601u_phy_set_channel() argument
442 mt7601u_phy_set_channel(struct mt7601u_dev * dev,struct cfg80211_chan_def * chandef) mt7601u_phy_set_channel() argument
484 mt7601u_bbp_r47_get(struct mt7601u_dev * dev,u8 reg,u8 flag) mt7601u_bbp_r47_get() argument
492 mt7601u_read_bootup_temp(struct mt7601u_dev * dev) mt7601u_read_bootup_temp() argument
530 mt7601u_read_temp(struct mt7601u_dev * dev) mt7601u_read_temp() argument
548 mt7601u_rxdc_cal(struct mt7601u_dev * dev) mt7601u_rxdc_cal() argument
587 mt7601u_phy_recalibrate_after_assoc(struct mt7601u_dev * dev) mt7601u_phy_recalibrate_after_assoc() argument
630 mt7601u_set_initial_tssi(struct mt7601u_dev * dev,s16 tssi_db,s16 tssi_hvga_db) mt7601u_set_initial_tssi() argument
641 mt7601u_tssi_dc_gain_cal(struct mt7601u_dev * dev) mt7601u_tssi_dc_gain_cal() argument
722 mt7601u_temp_comp(struct mt7601u_dev * dev,bool on) mt7601u_temp_comp() argument
774 mt7601u_current_tx_power(struct mt7601u_dev * dev) mt7601u_current_tx_power() argument
779 mt7601u_use_hvga(struct mt7601u_dev * dev) mt7601u_use_hvga() argument
785 mt7601u_phy_rf_pa_mode_val(struct mt7601u_dev * dev,int phy_mode,int tx_rate) mt7601u_phy_rf_pa_mode_val() argument
806 mt7601u_tssi_params_get(struct mt7601u_dev * dev) mt7601u_tssi_params_get() argument
871 mt7601u_tssi_read_ready(struct mt7601u_dev * dev) mt7601u_tssi_read_ready() argument
876 mt7601u_tssi_cal(struct mt7601u_dev * dev) mt7601u_tssi_cal() argument
948 mt7601u_agc_default(struct mt7601u_dev * dev) mt7601u_agc_default() argument
953 mt7601u_agc_reset(struct mt7601u_dev * dev) mt7601u_agc_reset() argument
960 mt7601u_agc_save(struct mt7601u_dev * dev) mt7601u_agc_save() argument
965 mt7601u_agc_restore(struct mt7601u_dev * dev) mt7601u_agc_restore() argument
970 mt7601u_agc_tune(struct mt7601u_dev * dev) mt7601u_agc_tune() argument
1004 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, mt7601u_phy_calibrate() local
1019 __mt7601u_phy_freq_cal(struct mt7601u_dev * dev,s8 last_offset,u8 phy_mode) __mt7601u_phy_freq_cal() argument
1078 struct mt7601u_dev *dev = container_of(work, struct mt7601u_dev, mt7601u_phy_freq_cal() local
1097 mt7601u_phy_con_cal_onoff(struct mt7601u_dev * dev,struct ieee80211_bss_conf * info) mt7601u_phy_con_cal_onoff() argument
1122 mt7601u_init_cal(struct mt7601u_dev * dev) mt7601u_init_cal() argument
1180 mt7601u_bbp_set_bw(struct mt7601u_dev * dev,int bw) mt7601u_bbp_set_bw() argument
1211 mt7601u_set_rx_path(struct mt7601u_dev * dev,u8 path) mt7601u_set_rx_path() argument
1221 mt7601u_set_tx_dac(struct mt7601u_dev * dev,u8 dac) mt7601u_set_tx_dac() argument
1226 mt7601u_phy_init(struct mt7601u_dev * dev) mt7601u_phy_init() argument
[all...]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_ctrl.c23 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware() argument
25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf; in s5p_mfc_alloc_firmware()
28 fw_buf->size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware()
35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware()
45 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware() argument
59 if (!IS_MFCV12(dev)) in s5p_mfc_load_firmware()
60 if (dev->fw_get_done) in s5p_mfc_load_firmware()
64 if (!dev->variant->fw_name[i]) in s5p_mfc_load_firmware()
67 dev in s5p_mfc_load_firmware()
92 s5p_mfc_release_firmware(struct s5p_mfc_dev * dev) s5p_mfc_release_firmware() argument
101 s5p_mfc_bus_reset(struct s5p_mfc_dev * dev) s5p_mfc_bus_reset() argument
121 s5p_mfc_reset(struct s5p_mfc_dev * dev) s5p_mfc_reset() argument
179 s5p_mfc_init_memctrl(struct s5p_mfc_dev * dev) s5p_mfc_init_memctrl() argument
197 s5p_mfc_clear_cmds(struct s5p_mfc_dev * dev) s5p_mfc_clear_cmds() argument
211 s5p_mfc_init_hw(struct s5p_mfc_dev * dev) s5p_mfc_init_hw() argument
295 s5p_mfc_deinit_hw(struct s5p_mfc_dev * dev) s5p_mfc_deinit_hw() argument
305 s5p_mfc_sleep(struct s5p_mfc_dev * dev) s5p_mfc_sleep() argument
334 s5p_mfc_v8_wait_wakeup(struct s5p_mfc_dev * dev) s5p_mfc_v8_wait_wakeup() argument
360 s5p_mfc_wait_wakeup(struct s5p_mfc_dev * dev) s5p_mfc_wait_wakeup() argument
386 s5p_mfc_wakeup(struct s5p_mfc_dev * dev) s5p_mfc_wakeup() argument
429 s5p_mfc_open_mfc_inst(struct s5p_mfc_dev * dev,struct s5p_mfc_ctx * ctx) s5p_mfc_open_mfc_inst() argument
470 s5p_mfc_close_mfc_inst(struct s5p_mfc_dev * dev,struct s5p_mfc_ctx * ctx) s5p_mfc_close_mfc_inst() argument
[all...]
/linux/include/linux/
H A Dpm_runtime.h67 extern int pm_generic_runtime_suspend(struct device *dev);
68 extern int pm_generic_runtime_resume(struct device *dev);
69 extern int pm_runtime_force_suspend(struct device *dev);
71 extern int __pm_runtime_idle(struct device *dev, int rpmflags);
72 extern int __pm_runtime_suspend(struct device *dev, int rpmflags);
73 extern int __pm_runtime_resume(struct device *dev, int rpmflags);
74 extern int pm_runtime_get_if_active(struct device *dev);
75 extern int pm_runtime_get_if_in_use(struct device *dev);
76 extern int pm_schedule_suspend(struct device *dev, unsigned int delay);
77 extern int __pm_runtime_set_status(struct device *dev, unsigne
110 pm_suspend_ignore_children(struct device * dev,bool enable) pm_suspend_ignore_children() argument
119 pm_runtime_get_noresume(struct device * dev) pm_runtime_get_noresume() argument
130 pm_runtime_put_noidle(struct device * dev) pm_runtime_put_noidle() argument
147 pm_runtime_suspended(struct device * dev) pm_runtime_suspended() argument
165 pm_runtime_active(struct device * dev) pm_runtime_active() argument
182 pm_runtime_status_suspended(struct device * dev) pm_runtime_status_suspended() argument
197 pm_runtime_enabled(struct device * dev) pm_runtime_enabled() argument
208 pm_runtime_blocked(struct device * dev) pm_runtime_blocked() argument
220 pm_runtime_has_no_callbacks(struct device * dev) pm_runtime_has_no_callbacks() argument
232 pm_runtime_mark_last_busy(struct device * dev) pm_runtime_mark_last_busy() argument
245 pm_runtime_is_irq_safe(struct device * dev) pm_runtime_is_irq_safe() argument
256 pm_generic_runtime_suspend(struct device * dev) pm_generic_runtime_suspend() argument
257 pm_generic_runtime_resume(struct device * dev) pm_generic_runtime_resume() argument
258 pm_runtime_force_suspend(struct device * dev) pm_runtime_force_suspend() argument
260 __pm_runtime_idle(struct device * dev,int rpmflags) __pm_runtime_idle() argument
264 __pm_runtime_suspend(struct device * dev,int rpmflags) __pm_runtime_suspend() argument
268 __pm_runtime_resume(struct device * dev,int rpmflags) __pm_runtime_resume() argument
272 pm_schedule_suspend(struct device * dev,unsigned int delay) pm_schedule_suspend() argument
276 pm_runtime_get_if_in_use(struct device * dev) pm_runtime_get_if_in_use() argument
280 pm_runtime_get_if_active(struct device * dev) pm_runtime_get_if_active() argument
284 __pm_runtime_set_status(struct device * dev,unsigned int status) __pm_runtime_set_status() argument
286 pm_runtime_barrier(struct device * dev) pm_runtime_barrier() argument
287 pm_runtime_block_if_disabled(struct device * dev) pm_runtime_block_if_disabled() argument
288 pm_runtime_unblock(struct device * dev) pm_runtime_unblock() argument
289 pm_runtime_enable(struct device * dev) pm_runtime_enable() argument
290 __pm_runtime_disable(struct device * dev,bool c) __pm_runtime_disable() argument
291 pm_runtime_blocked(struct device * dev) pm_runtime_blocked() argument
292 pm_runtime_allow(struct device * dev) pm_runtime_allow() argument
293 pm_runtime_forbid(struct device * dev) pm_runtime_forbid() argument
295 devm_pm_runtime_set_active_enabled(struct device * dev) devm_pm_runtime_set_active_enabled() argument
296 devm_pm_runtime_enable(struct device * dev) devm_pm_runtime_enable() argument
297 devm_pm_runtime_get_noresume(struct device * dev) devm_pm_runtime_get_noresume() argument
299 pm_suspend_ignore_children(struct device * dev,bool enable) pm_suspend_ignore_children() argument
300 pm_runtime_get_noresume(struct device * dev) pm_runtime_get_noresume() argument
301 pm_runtime_put_noidle(struct device * dev) pm_runtime_put_noidle() argument
302 pm_runtime_suspended(struct device * dev) pm_runtime_suspended() argument
303 pm_runtime_active(struct device * dev) pm_runtime_active() argument
304 pm_runtime_status_suspended(struct device * dev) pm_runtime_status_suspended() argument
305 pm_runtime_enabled(struct device * dev) pm_runtime_enabled() argument
307 pm_runtime_no_callbacks(struct device * dev) pm_runtime_no_callbacks() argument
308 pm_runtime_irq_safe(struct device * dev) pm_runtime_irq_safe() argument
309 pm_runtime_is_irq_safe(struct device * dev) pm_runtime_is_irq_safe() argument
311 pm_runtime_has_no_callbacks(struct device * dev) pm_runtime_has_no_callbacks() argument
312 pm_runtime_mark_last_busy(struct device * dev) pm_runtime_mark_last_busy() argument
313 __pm_runtime_use_autosuspend(struct device * dev,bool use) __pm_runtime_use_autosuspend() argument
315 pm_runtime_set_autosuspend_delay(struct device * dev,int delay) pm_runtime_set_autosuspend_delay() argument
318 pm_runtime_autosuspend_expiration(struct device * dev) pm_runtime_autosuspend_expiration() argument
319 pm_runtime_set_memalloc_noio(struct device * dev,bool enable) pm_runtime_set_memalloc_noio() argument
321 pm_runtime_get_suppliers(struct device * dev) pm_runtime_get_suppliers() argument
322 pm_runtime_put_suppliers(struct device * dev) pm_runtime_put_suppliers() argument
323 pm_runtime_new_link(struct device * dev) pm_runtime_new_link() argument
336 pm_runtime_need_not_resume(struct device * dev) pm_runtime_need_not_resume() argument
337 pm_runtime_force_resume(struct device * dev) pm_runtime_force_resume() argument
363 pm_runtime_idle(struct device * dev) pm_runtime_idle() argument
384 pm_runtime_suspend(struct device * dev) pm_runtime_suspend() argument
410 pm_runtime_autosuspend(struct device * dev) pm_runtime_autosuspend() argument
420 pm_runtime_resume(struct device * dev) pm_runtime_resume() argument
444 pm_request_idle(struct device * dev) pm_request_idle() argument
453 pm_request_resume(struct device * dev) pm_request_resume() argument
477 pm_request_autosuspend(struct device * dev) pm_request_autosuspend() argument
490 pm_runtime_get(struct device * dev) pm_runtime_get() argument
509 pm_runtime_get_sync(struct device * dev) pm_runtime_get_sync() argument
522 pm_runtime_resume_and_get(struct device * dev) pm_runtime_resume_and_get() argument
553 pm_runtime_put(struct device * dev) pm_runtime_put() argument
603 pm_runtime_put_autosuspend(struct device * dev) pm_runtime_put_autosuspend() argument
633 pm_runtime_put_sync(struct device * dev) pm_runtime_put_sync() argument
661 pm_runtime_put_sync_suspend(struct device * dev) pm_runtime_put_sync_suspend() argument
692 pm_runtime_put_sync_autosuspend(struct device * dev) pm_runtime_put_sync_autosuspend() argument
707 pm_runtime_set_active(struct device * dev) pm_runtime_set_active() argument
721 pm_runtime_set_suspended(struct device * dev) pm_runtime_set_suspended() argument
743 pm_runtime_disable(struct device * dev) pm_runtime_disable() argument
760 pm_runtime_use_autosuspend(struct device * dev) pm_runtime_use_autosuspend() argument
773 pm_runtime_dont_use_autosuspend(struct device * dev) pm_runtime_dont_use_autosuspend() argument
[all...]
/linux/drivers/usb/misc/
H A Dadutux.c105 static inline void adu_debug_data(struct device *dev, const char *function, in adu_debug_data() argument
108 dev_dbg(dev, "%s - length = %d, data = %*ph\n", in adu_debug_data()
116 static void adu_abort_transfers(struct adu_device *dev) in adu_abort_transfers() argument
120 if (dev->disconnected) in adu_abort_transfers()
126 spin_lock_irqsave(&dev->buflock, flags); in adu_abort_transfers()
127 if (!dev->read_urb_finished) { in adu_abort_transfers()
128 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
129 usb_kill_urb(dev->interrupt_in_urb); in adu_abort_transfers()
131 spin_unlock_irqrestore(&dev->buflock, flags); in adu_abort_transfers()
133 spin_lock_irqsave(&dev in adu_abort_transfers()
143 adu_delete(struct adu_device * dev) adu_delete() argument
158 struct adu_device *dev = urb->context; adu_interrupt_in_callback() local
203 struct adu_device *dev = urb->context; adu_interrupt_out_callback() local
229 struct adu_device *dev = NULL; adu_open() local
295 adu_release_internal(struct adu_device * dev) adu_release_internal() argument
309 struct adu_device *dev; adu_release() local
346 struct adu_device *dev; adu_read() local
507 struct adu_device *dev; adu_write() local
653 struct adu_device *dev = NULL; adu_probe() local
761 struct adu_device *dev; adu_disconnect() local
[all...]
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-avcore.c46 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte() argument
48 return cx231xx_write_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_write_byte()
52 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte() argument
57 status = cx231xx_read_i2c_data(dev, VERVE_I2C_ADDRESS, in verve_read_byte()
62 void initGPIO(struct cx231xx *dev) in initGPIO() argument
70 cx231xx_send_gpio_cmd(dev, _gpio_direction, (u8 *)&value, 4, 0, 0); in initGPIO()
72 verve_read_byte(dev, 0x07, &val); in initGPIO()
73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO()
74 verve_write_byte(dev, in initGPIO()
84 uninitGPIO(struct cx231xx * dev) uninitGPIO() argument
98 afe_write_byte(struct cx231xx * dev,u16 saddr,u8 data) afe_write_byte() argument
104 afe_read_byte(struct cx231xx * dev,u16 saddr,u8 * data) afe_read_byte() argument
115 cx231xx_afe_init_super_block(struct cx231xx * dev,u32 ref_count) cx231xx_afe_init_super_block() argument
186 cx231xx_afe_init_channels(struct cx231xx * dev) cx231xx_afe_init_channels() argument
235 cx231xx_afe_setup_AFE_for_baseband(struct cx231xx * dev) cx231xx_afe_setup_AFE_for_baseband() argument
256 cx231xx_afe_set_input_mux(struct cx231xx * dev,u32 input_mux) cx231xx_afe_set_input_mux() argument
293 cx231xx_afe_set_mode(struct cx231xx * dev,enum AFE_MODE mode) cx231xx_afe_set_mode() argument
330 cx231xx_afe_update_power_control(struct cx231xx * dev,enum AV_MODE avmode) cx231xx_afe_update_power_control() argument
468 cx231xx_afe_adjust_ref_count(struct cx231xx * dev,u32 video_input) cx231xx_afe_adjust_ref_count() argument
513 vid_blk_write_byte(struct cx231xx * dev,u16 saddr,u8 data) vid_blk_write_byte() argument
519 vid_blk_read_byte(struct cx231xx * dev,u16 saddr,u8 * data) vid_blk_read_byte() argument
530 vid_blk_write_word(struct cx231xx * dev,u16 saddr,u32 data) vid_blk_write_word() argument
536 vid_blk_read_word(struct cx231xx * dev,u16 saddr,u32 * data) vid_blk_read_word() argument
541 cx231xx_check_fw(struct cx231xx * dev) cx231xx_check_fw() argument
553 cx231xx_set_video_input_mux(struct cx231xx * dev,u8 input) cx231xx_set_video_input_mux() argument
625 cx231xx_set_decoder_video_input(struct cx231xx * dev,u8 pin_type,u32 input) cx231xx_set_decoder_video_input() argument
938 cx231xx_enable656(struct cx231xx * dev) cx231xx_enable656() argument
954 cx231xx_disable656(struct cx231xx * dev) cx231xx_disable656() argument
972 cx231xx_do_mode_ctrl_overrides(struct cx231xx * dev) cx231xx_do_mode_ctrl_overrides() argument
1069 cx231xx_unmute_audio(struct cx231xx * dev) cx231xx_unmute_audio() argument
1075 stopAudioFirmware(struct cx231xx * dev) stopAudioFirmware() argument
1080 restartAudioFirmware(struct cx231xx * dev) restartAudioFirmware() argument
1085 cx231xx_set_audio_input(struct cx231xx * dev,u8 input) cx231xx_set_audio_input() argument
1107 cx231xx_set_audio_decoder_input(struct cx231xx * dev,enum AUDIO_INPUT audio_input) cx231xx_set_audio_decoder_input() argument
1251 cx231xx_init_ctrl_pin_status(struct cx231xx * dev) cx231xx_init_ctrl_pin_status() argument
1263 cx231xx_set_agc_analog_digital_mux_select(struct cx231xx * dev,u8 analog_or_digital) cx231xx_set_agc_analog_digital_mux_select() argument
1284 cx231xx_enable_i2c_port_3(struct cx231xx * dev,bool is_port_3) cx231xx_enable_i2c_port_3() argument
1325 update_HH_register_after_set_DIF(struct cx231xx * dev) update_HH_register_after_set_DIF() argument
1444 cx231xx_Setup_AFE_for_LowIF(struct cx231xx * dev) cx231xx_Setup_AFE_for_LowIF() argument
1500 cx231xx_set_Colibri_For_LowIF(struct cx231xx * dev,u32 if_freq,u8 spectral_invert,u32 mode) cx231xx_set_Colibri_For_LowIF() argument
1554 cx231xx_set_DIF_bandpass(struct cx231xx * dev,u32 if_freq,u8 spectral_invert,u32 mode) cx231xx_set_DIF_bandpass() argument
1618 cx231xx_dif_configure_C2HH_for_low_IF(struct cx231xx * dev,u32 mode,u32 function_mode,u32 standard) cx231xx_dif_configure_C2HH_for_low_IF() argument
1712 cx231xx_dif_set_standard(struct cx231xx * dev,u32 standard) cx231xx_dif_set_standard() argument
2102 cx231xx_tuner_pre_channel_change(struct cx231xx * dev) cx231xx_tuner_pre_channel_change() argument
2117 cx231xx_tuner_post_channel_change(struct cx231xx * dev) cx231xx_tuner_post_channel_change() argument
2151 cx231xx_i2s_blk_initialize(struct cx231xx * dev) cx231xx_i2s_blk_initialize() argument
2169 cx231xx_i2s_blk_update_power_control(struct cx231xx * dev,enum AV_MODE avmode) cx231xx_i2s_blk_update_power_control() argument
2190 cx231xx_i2s_blk_set_audio_input(struct cx231xx * dev,u8 audio_input) cx231xx_i2s_blk_set_audio_input() argument
2214 cx231xx_set_power_mode(struct cx231xx * dev,enum AV_MODE mode) cx231xx_set_power_mode() argument
2433 cx231xx_start_stream(struct cx231xx * dev,u32 ep_mask) cx231xx_start_stream() argument
2458 cx231xx_stop_stream(struct cx231xx * dev,u32 ep_mask) cx231xx_stop_stream() argument
2483 cx231xx_initialize_stream_xfer(struct cx231xx * dev,u32 media_type) cx231xx_initialize_stream_xfer() argument
2569 cx231xx_capture_start(struct cx231xx * dev,int start,u8 media_type) cx231xx_capture_start() argument
2624 cx231xx_set_gpio_bit(struct cx231xx * dev,u32 gpio_bit,u32 gpio_val) cx231xx_set_gpio_bit() argument
2634 cx231xx_get_gpio_bit(struct cx231xx * dev,u32 gpio_bit,u32 * gpio_val) cx231xx_get_gpio_bit() argument
2656 cx231xx_set_gpio_direction(struct cx231xx * dev,int pin_number,int pin_value) cx231xx_set_gpio_direction() argument
2691 cx231xx_set_gpio_value(struct cx231xx * dev,int pin_number,int pin_value) cx231xx_set_gpio_value() argument
2726 cx231xx_gpio_i2c_start(struct cx231xx * dev) cx231xx_gpio_i2c_start() argument
2759 cx231xx_gpio_i2c_end(struct cx231xx * dev) cx231xx_gpio_i2c_end() argument
2795 cx231xx_gpio_i2c_write_byte(struct cx231xx * dev,u8 data) cx231xx_gpio_i2c_write_byte() argument
2842 cx231xx_gpio_i2c_read_byte(struct cx231xx * dev,u8 * buf) cx231xx_gpio_i2c_read_byte() argument
2884 cx231xx_gpio_i2c_read_ack(struct cx231xx * dev) cx231xx_gpio_i2c_read_ack() argument
2939 cx231xx_gpio_i2c_write_ack(struct cx231xx * dev) cx231xx_gpio_i2c_write_ack() argument
2967 cx231xx_gpio_i2c_write_nak(struct cx231xx * dev) cx231xx_gpio_i2c_write_nak() argument
2993 cx231xx_gpio_i2c_read(struct cx231xx * dev,u8 dev_addr,u8 * buf,u8 len) cx231xx_gpio_i2c_read() argument
3037 cx231xx_gpio_i2c_write(struct cx231xx * dev,u8 dev_addr,u8 * buf,u8 len) cx231xx_gpio_i2c_write() argument
[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() argument
36 uint8_t reg = readb(dev->mmio + address); in r852_read_reg()
41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg() argument
44 writeb(value, dev->mmio + address); in r852_write_reg()
49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword() argument
51 uint32_t reg = le32_to_cpu(readl(dev->mmio + address)); in r852_read_reg_dword()
56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword() argument
59 writel(cpu_to_le32(value), dev->mmio + address); in r852_write_reg_dword()
71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test() argument
73 dev in r852_dma_test()
89 r852_dma_enable(struct r852_device * dev) r852_dma_enable() argument
130 r852_dma_done(struct r852_device * dev,int error) r852_dma_done() argument
157 r852_dma_wait(struct r852_device * dev) r852_dma_wait() argument
172 r852_do_dma(struct r852_device * dev,uint8_t * buf,int do_read) r852_do_dma() argument
232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_write_buf() local
266 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_read_buf() local
303 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_read_byte() local
317 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_cmdctl() local
362 struct r852_device *dev = nand_get_controller_data(chip); r852_wait() local
389 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_ready() local
403 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_ecc_hwctl() local
436 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_ecc_calculate() local
472 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); r852_ecc_correct() local
532 r852_engine_enable(struct r852_device * dev) r852_engine_enable() argument
550 r852_engine_disable(struct r852_device * dev) r852_engine_disable() argument
560 r852_card_update_present(struct r852_device * dev) r852_card_update_present() argument
575 r852_update_card_detect(struct r852_device * dev) r852_update_card_detect() argument
593 struct r852_device *dev = r852_get_dev(mtd); media_type_show() local
603 r852_update_media_status(struct r852_device * dev) r852_update_media_status() argument
632 r852_register_nand_device(struct r852_device * dev) r852_register_nand_device() argument
668 r852_unregister_nand_device(struct r852_device * dev) r852_unregister_nand_device() argument
685 struct r852_device *dev = r852_card_detect_work() local
709 r852_disable_irqs(struct r852_device * dev) r852_disable_irqs() argument
726 struct r852_device *dev = (struct r852_device *)data; r852_irq() local
848 struct r852_device *dev; r852_probe() local
978 struct r852_device *dev = pci_get_drvdata(pci_dev); r852_remove() local
1008 struct r852_device *dev = pci_get_drvdata(pci_dev); r852_shutdown() local
1019 struct r852_device *dev = dev_get_drvdata(device); r852_suspend() local
1040 struct r852_device *dev = dev_get_drvdata(device); r852_resume() local
[all...]
/linux/drivers/base/
H A Ddd.c73 static void __device_set_deferred_probe_reason(const struct device *dev, char *reason) in __device_set_deferred_probe_reason() argument
75 kfree(dev->p->deferred_probe_reason); in __device_set_deferred_probe_reason()
76 dev->p->deferred_probe_reason = reason; in __device_set_deferred_probe_reason()
84 struct device *dev; in deferred_probe_work_func() local
101 typeof(*dev->p), deferred_probe); in deferred_probe_work_func()
102 dev = private->device; in deferred_probe_work_func()
105 get_device(dev); in deferred_probe_work_func()
107 __device_set_deferred_probe_reason(dev, NULL); in deferred_probe_work_func()
121 device_pm_move_to_tail(dev); in deferred_probe_work_func()
123 dev_dbg(dev, "Retryin in deferred_probe_work_func()
133 driver_deferred_probe_add(struct device * dev) driver_deferred_probe_add() argument
146 driver_deferred_probe_del(struct device * dev) driver_deferred_probe_del() argument
228 device_set_deferred_probe_reason(const struct device * dev,struct va_format * vaf) device_set_deferred_probe_reason() argument
289 driver_deferred_probe_check_state(struct device * dev) driver_deferred_probe_check_state() argument
393 device_is_bound(struct device * dev) device_is_bound() argument
399 driver_bound(struct device * dev) driver_bound() argument
425 coredump_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) coredump_store() argument
436 driver_sysfs_add(struct device * dev) driver_sysfs_add() argument
469 driver_sysfs_remove(struct device * dev) driver_sysfs_remove() argument
496 device_bind_driver(struct device * dev) device_bind_driver() argument
514 state_synced_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) state_synced_store() argument
535 state_synced_show(struct device * dev,struct device_attribute * attr,char * buf) state_synced_show() argument
548 device_unbind_cleanup(struct device * dev) device_unbind_cleanup() argument
563 device_remove(struct device * dev) device_remove() argument
574 call_driver_probe(struct device * dev,const struct device_driver * drv) call_driver_probe() argument
605 really_probe(struct device * dev,const struct device_driver * drv) really_probe() argument
733 really_probe_debug(struct device * dev,const struct device_driver * drv) really_probe_debug() argument
780 __driver_probe_device(const struct device_driver * drv,struct device * dev) __driver_probe_device() argument
825 driver_probe_device(const struct device_driver * drv,struct device * dev) driver_probe_device() argument
890 struct device *dev; global() member
925 struct device *dev = data->dev; __device_attach_driver() local
967 struct device *dev = _dev; __device_attach_async_helper() local
1001 __device_attach(struct device * dev,bool allow_async) __device_attach() argument
1072 device_attach(struct device * dev) device_attach() argument
1078 device_initial_probe(struct device * dev) device_initial_probe() argument
1092 __device_driver_lock(struct device * dev,struct device * parent) __device_driver_lock() argument
1108 __device_driver_unlock(struct device * dev,struct device * parent) __device_driver_unlock() argument
1123 device_driver_attach(const struct device_driver * drv,struct device * dev) device_driver_attach() argument
1142 struct device *dev = _dev; __driver_attach_async_helper() local
1157 __driver_attach(struct device * dev,void * data) __driver_attach() argument
1243 __device_release_driver(struct device * dev,struct device * parent) __device_release_driver() argument
1290 device_release_driver_internal(struct device * dev,const struct device_driver * drv,struct device * parent) device_release_driver_internal() argument
1313 device_release_driver(struct device * dev) device_release_driver() argument
1331 device_driver_detach(struct device * dev) device_driver_detach() argument
1343 struct device *dev; driver_detach() 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() argument
95 regmap_update_bits(dev->hw->regs, reg, mask | val, val); in wed_m32()
99 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set() argument
101 return wed_m32(dev, reg, 0, mask); in wed_set()
105 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr() argument
107 return wed_m32(dev, reg, mask, 0); in wed_clr()
111 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32() argument
113 wdma_w32(dev, reg, (wdma_r32(dev, re in wdma_m32()
117 wdma_set(struct mtk_wed_device * dev,u32 reg,u32 mask) wdma_set() argument
123 wdma_clr(struct mtk_wed_device * dev,u32 reg,u32 mask) wdma_clr() argument
129 wifi_r32(struct mtk_wed_device * dev,u32 reg) wifi_r32() argument
135 wifi_w32(struct mtk_wed_device * dev,u32 reg,u32 val) wifi_w32() argument
141 mtk_wed_read_reset(struct mtk_wed_device * dev) mtk_wed_read_reset() argument
147 mtk_wdma_read_reset(struct mtk_wed_device * dev) mtk_wdma_read_reset() argument
153 mtk_wdma_v3_rx_reset(struct mtk_wed_device * dev) mtk_wdma_v3_rx_reset() argument
237 mtk_wdma_rx_reset(struct mtk_wed_device * dev) mtk_wdma_rx_reset() argument
264 mtk_wed_check_busy(struct mtk_wed_device * dev,u32 reg,u32 mask) mtk_wed_check_busy() argument
270 mtk_wed_poll_busy(struct mtk_wed_device * dev,u32 reg,u32 mask) mtk_wed_poll_busy() argument
281 mtk_wdma_v3_tx_reset(struct mtk_wed_device * dev) mtk_wdma_v3_tx_reset() argument
359 mtk_wdma_tx_reset(struct mtk_wed_device * dev) mtk_wdma_tx_reset() argument
379 mtk_wed_reset(struct mtk_wed_device * dev,u32 mask) mtk_wed_reset() argument
390 mtk_wed_wo_read_status(struct mtk_wed_device * dev) mtk_wed_wo_read_status() argument
396 mtk_wed_wo_reset(struct mtk_wed_device * dev) mtk_wed_wo_reset() argument
446 struct mtk_wed_device *dev; mtk_wed_fe_reset() local
473 struct mtk_wed_device *dev; mtk_wed_fe_reset_complete() local
489 mtk_wed_assign(struct mtk_wed_device * dev) mtk_wed_assign() argument
522 mtk_wed_amsdu_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_amsdu_buffer_alloc() argument
566 mtk_wed_amsdu_free_buffer(struct mtk_wed_device * dev) mtk_wed_amsdu_free_buffer() argument
583 mtk_wed_amsdu_init(struct mtk_wed_device * dev) mtk_wed_amsdu_init() argument
634 mtk_wed_tx_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_tx_buffer_alloc() argument
731 mtk_wed_free_tx_buffer(struct mtk_wed_device * dev) mtk_wed_free_tx_buffer() argument
765 mtk_wed_hwrro_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_hwrro_buffer_alloc() argument
828 mtk_wed_rx_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_rx_buffer_alloc() argument
848 mtk_wed_hwrro_free_buffer(struct mtk_wed_device * dev) mtk_wed_hwrro_free_buffer() argument
883 mtk_wed_free_rx_buffer(struct mtk_wed_device * dev) mtk_wed_free_rx_buffer() argument
898 mtk_wed_hwrro_init(struct mtk_wed_device * dev) mtk_wed_hwrro_init() argument
918 mtk_wed_rx_buffer_hw_init(struct mtk_wed_device * dev) mtk_wed_rx_buffer_hw_init() argument
933 mtk_wed_free_ring(struct mtk_wed_device * dev,struct mtk_wed_ring * ring) mtk_wed_free_ring() argument
943 mtk_wed_free_rx_rings(struct mtk_wed_device * dev) mtk_wed_free_rx_rings() argument
950 mtk_wed_free_tx_rings(struct mtk_wed_device * dev) mtk_wed_free_tx_rings() argument
961 mtk_wed_set_ext_int(struct mtk_wed_device * dev,bool en) mtk_wed_set_ext_int() argument
991 mtk_wed_set_512_support(struct mtk_wed_device * dev,bool enable) mtk_wed_set_512_support() argument
1008 mtk_wed_check_wfdma_rx_fill(struct mtk_wed_device * dev,struct mtk_wed_ring * ring) mtk_wed_check_wfdma_rx_fill() argument
1031 mtk_wed_dma_disable(struct mtk_wed_device * dev) mtk_wed_dma_disable() argument
1075 mtk_wed_stop(struct mtk_wed_device * dev) mtk_wed_stop() argument
1093 mtk_wed_deinit(struct mtk_wed_device * dev) mtk_wed_deinit() argument
1121 __mtk_wed_detach(struct mtk_wed_device * dev) __mtk_wed_detach() argument
1161 mtk_wed_detach(struct mtk_wed_device * dev) mtk_wed_detach() argument
1169 mtk_wed_bus_init(struct mtk_wed_device * dev) mtk_wed_bus_init() argument
1222 mtk_wed_set_wpdma(struct mtk_wed_device * dev) mtk_wed_set_wpdma() argument
1255 mtk_wed_hw_init_early(struct mtk_wed_device * dev) mtk_wed_hw_init_early() argument
1302 mtk_wed_rro_ring_alloc(struct mtk_wed_device * dev,struct mtk_wed_ring * ring,int size) mtk_wed_rro_ring_alloc() argument
1319 mtk_wed_rro_alloc(struct mtk_wed_device * dev) mtk_wed_rro_alloc() argument
1336 mtk_wed_rro_cfg(struct mtk_wed_device * dev) mtk_wed_rro_cfg() argument
1367 mtk_wed_rro_hw_init(struct mtk_wed_device * dev) mtk_wed_rro_hw_init() argument
1394 mtk_wed_route_qm_hw_init(struct mtk_wed_device * dev) mtk_wed_route_qm_hw_init() argument
1422 mtk_wed_hw_init(struct mtk_wed_device * dev) mtk_wed_hw_init() argument
1550 mtk_wed_rx_reset(struct mtk_wed_device * dev) mtk_wed_rx_reset() argument
1713 mtk_wed_reset_dma(struct mtk_wed_device * dev) mtk_wed_reset_dma() argument
1848 mtk_wed_ring_alloc(struct mtk_wed_device * dev,struct mtk_wed_ring * ring,int size,u32 desc_size,bool tx) mtk_wed_ring_alloc() argument
1864 mtk_wed_wdma_rx_ring_setup(struct mtk_wed_device * dev,int idx,int size,bool reset) mtk_wed_wdma_rx_ring_setup() argument
1892 mtk_wed_wdma_tx_ring_setup(struct mtk_wed_device * dev,int idx,int size,bool reset) mtk_wed_wdma_tx_ring_setup() argument
1948 mtk_wed_ppe_check(struct mtk_wed_device * dev,struct sk_buff * skb,u32 reason,u32 hash) mtk_wed_ppe_check() argument
1967 mtk_wed_configure_irq(struct mtk_wed_device * dev,u32 irq_mask) mtk_wed_configure_irq() argument
2040 mtk_wed_dma_enable(struct mtk_wed_device * dev) mtk_wed_dma_enable() argument
2150 mtk_wed_start_hw_rro(struct mtk_wed_device * dev,u32 irq_mask,bool reset) mtk_wed_start_hw_rro() argument
2224 mtk_wed_rro_rx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs) mtk_wed_rro_rx_ring_setup() argument
2238 mtk_wed_msdu_pg_rx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs) mtk_wed_msdu_pg_rx_ring_setup() argument
2251 mtk_wed_ind_rx_ring_setup(struct mtk_wed_device * dev,void __iomem * regs) mtk_wed_ind_rx_ring_setup() argument
2315 mtk_wed_start(struct mtk_wed_device * dev,u32 irq_mask) mtk_wed_start() argument
2366 mtk_wed_attach(struct mtk_wed_device * dev) mtk_wed_attach() argument
2447 mtk_wed_tx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs,bool reset) mtk_wed_tx_ring_setup() argument
2510 mtk_wed_txfree_ring_setup(struct mtk_wed_device * dev,void __iomem * regs) mtk_wed_txfree_ring_setup() argument
2534 mtk_wed_rx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs,bool reset) mtk_wed_rx_ring_setup() argument
2567 mtk_wed_irq_get(struct mtk_wed_device * dev,u32 mask) mtk_wed_irq_get() argument
2593 mtk_wed_irq_set_mask(struct mtk_wed_device * dev,u32 mask) mtk_wed_irq_set_mask() argument
2670 mtk_wed_setup_tc_block(struct mtk_wed_hw * hw,struct net_device * dev,struct flow_block_offload * f) mtk_wed_setup_tc_block() argument
2730 mtk_wed_setup_tc(struct mtk_wed_device * wed,struct net_device * dev,enum tc_setup_type type,void * type_data) mtk_wed_setup_tc() argument
[all...]
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c116 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error() argument
119 if (emac_has_feature(dev, EMAC_FTR_440GX_PHY_CLK_FIX | in emac_report_timeout_error()
122 DBG(dev, "%s" NL, error); in emac_report_timeout_error()
124 printk(KERN_ERR "%pOF: %s\n", dev->ofdev->dev.of_node, error); in emac_report_timeout_error()
131 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx() argument
134 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_tx()
136 0, SDR0_MFR_ECS >> dev->cell_index); in emac_rx_clk_tx()
140 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default() argument
143 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FI in emac_rx_clk_default()
204 emac_tx_enable(struct emac_instance * dev) emac_tx_enable() argument
216 emac_tx_disable(struct emac_instance * dev) emac_tx_disable() argument
236 emac_rx_enable(struct emac_instance * dev) emac_rx_enable() argument
265 emac_rx_disable(struct emac_instance * dev) emac_rx_disable() argument
285 emac_netif_stop(struct emac_instance * dev) emac_netif_stop() argument
297 emac_netif_start(struct emac_instance * dev) emac_netif_start() argument
317 emac_rx_disable_async(struct emac_instance * dev) emac_rx_disable_async() argument
329 emac_reset(struct emac_instance * dev) emac_reset() argument
410 emac_hash_mc(struct emac_instance * dev) emac_hash_mc() argument
440 struct emac_instance *dev = netdev_priv(ndev); emac_iff2rmr() local
466 __emac_calc_base_mr1(struct emac_instance * dev,int tx_size,int rx_size) __emac_calc_base_mr1() argument
496 __emac4_calc_base_mr1(struct emac_instance * dev,int tx_size,int rx_size) __emac4_calc_base_mr1() argument
542 emac_calc_base_mr1(struct emac_instance * dev,int tx_size,int rx_size) emac_calc_base_mr1() argument
549 emac_calc_trtr(struct emac_instance * dev,unsigned int size) emac_calc_trtr() argument
557 emac_calc_rwmr(struct emac_instance * dev,unsigned int low,unsigned int high) emac_calc_rwmr() argument
566 emac_configure(struct emac_instance * dev) emac_configure() argument
729 emac_reinitialize(struct emac_instance * dev) emac_reinitialize() argument
741 emac_full_tx_reset(struct emac_instance * dev) emac_full_tx_reset() argument
759 struct emac_instance *dev = container_of(work, struct emac_instance, reset_work); emac_reset_work() local
774 struct emac_instance *dev = netdev_priv(ndev); emac_tx_timeout() local
782 emac_phy_done(struct emac_instance * dev,u32 stacr) emac_phy_done() argument
792 __emac_mdio_read(struct emac_instance * dev,u8 id,u8 reg) __emac_mdio_read() argument
863 __emac_mdio_write(struct emac_instance * dev,u8 id,u8 reg,u16 val) __emac_mdio_write() argument
925 struct emac_instance *dev = netdev_priv(ndev); emac_mdio_read() local
937 struct emac_instance *dev = netdev_priv(ndev); emac_mdio_write() local
946 __emac_set_multicast_list(struct emac_instance * dev) __emac_set_multicast_list() argument
979 struct emac_instance *dev = netdev_priv(ndev); emac_set_multicast_list() local
997 struct emac_instance *dev = netdev_priv(ndev); emac_set_mac_address() local
1022 emac_resize_rx_ring(struct emac_instance * dev,int new_mtu) emac_resize_rx_ring() argument
1110 struct emac_instance *dev = netdev_priv(ndev); emac_change_mtu() local
1130 emac_clean_tx_ring(struct emac_instance * dev) emac_clean_tx_ring() argument
1146 emac_clean_rx_ring(struct emac_instance * dev) emac_clean_rx_ring() argument
1165 __emac_prepare_rx_skb(struct sk_buff * skb,struct emac_instance * dev,int slot) __emac_prepare_rx_skb() argument
1184 emac_alloc_rx_skb(struct emac_instance * dev,int slot) emac_alloc_rx_skb() argument
1195 emac_alloc_rx_skb_napi(struct emac_instance * dev,int slot) emac_alloc_rx_skb_napi() argument
1204 emac_print_link_status(struct emac_instance * dev) emac_print_link_status() argument
1219 struct emac_instance *dev = netdev_priv(ndev); emac_open() local
1315 struct emac_instance *dev = emac_link_timer() local
1354 emac_force_link_update(struct emac_instance * dev) emac_force_link_update() argument
1368 struct emac_instance *dev = netdev_priv(ndev); emac_close() local
1395 emac_tx_csum(struct emac_instance * dev,struct sk_buff * skb) emac_tx_csum() argument
1406 emac_xmit_finish(struct emac_instance * dev,int len) emac_xmit_finish() argument
1435 struct emac_instance *dev = netdev_priv(ndev); emac_start_xmit() local
1461 emac_xmit_split(struct emac_instance * dev,int slot,u32 pd,int len,int last,u16 base_ctrl) emac_xmit_split() argument
1494 struct emac_instance *dev = netdev_priv(ndev); emac_start_xmit_sg() local
1576 emac_parse_tx_error(struct emac_instance * dev,u16 ctrl) emac_parse_tx_error() argument
1605 struct emac_instance *dev = param; emac_poll_tx() local
1649 emac_recycle_rx_skb(struct emac_instance * dev,int slot,int len) emac_recycle_rx_skb() argument
1667 emac_parse_rx_error(struct emac_instance * dev,u16 ctrl) emac_parse_rx_error() argument
1694 emac_rx_csum(struct emac_instance * dev,struct sk_buff * skb,u16 ctrl) emac_rx_csum() argument
1705 emac_rx_sg_append(struct emac_instance * dev,int slot) emac_rx_sg_append() argument
1731 struct emac_instance *dev = param; emac_poll_rx() local
1864 struct emac_instance *dev = param; emac_peek_rx() local
1872 struct emac_instance *dev = param; emac_peek_rx_sg() local
1893 struct emac_instance *dev = param; emac_rxde() local
1902 struct emac_instance *dev = dev_instance; emac_irq() local
1952 struct emac_instance *dev = netdev_priv(ndev); emac_stats() local
2021 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_link_ksettings() local
2047 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_set_link_ksettings() local
2133 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_pauseparam() local
2149 emac_get_regs_len(struct emac_instance * dev) emac_get_regs_len() argument
2157 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_regs_len() local
2172 emac_dump_regs(struct emac_instance * dev,void * buf) emac_dump_regs() argument
2191 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_regs() local
2215 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_nway_reset() local
2255 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_ethtool_stats() local
2265 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_drvinfo() local
2295 struct emac_instance *dev = netdev_priv(ndev); emac_ioctl() local
2336 emac_check_deps(struct emac_instance * dev,struct emac_depentry * deps) emac_check_deps() argument
2377 emac_put_deps(struct emac_instance * dev) emac_put_deps() argument
2386 emac_wait_deps(struct emac_instance * dev) emac_wait_deps() argument
2435 struct emac_instance *dev = netdev_priv(ndev); emac_adjust_link() local
2468 struct emac_instance *dev = netdev_priv(bus->priv); emac_mii_bus_reset() local
2506 struct emac_instance *dev = netdev_priv(ndev); emac_mdio_poll_link() local
2551 emac_dt_mdio_probe(struct emac_instance * dev) emac_dt_mdio_probe() argument
2587 emac_dt_phy_connect(struct emac_instance * dev,struct device_node * phy_handle) emac_dt_phy_connect() argument
2615 emac_dt_phy_probe(struct emac_instance * dev) emac_dt_phy_probe() argument
2634 emac_init_phy(struct emac_instance * dev) emac_init_phy() argument
2804 emac_init_config(struct emac_instance * dev) emac_init_config() argument
2992 struct emac_instance *dev; emac_probe() local
3196 struct emac_instance *dev = platform_get_drvdata(ofdev); emac_remove() local
[all...]
/linux/drivers/input/mouse/
H A Dappletouch.c201 struct input_dev *input; /* input dev */
260 static int atp_geyser_init(struct atp *dev) in atp_geyser_init() argument
262 struct usb_device *udev = dev->udev; in atp_geyser_init()
270 dev_err(&dev->intf->dev, "Out of memory\n"); in atp_geyser_init()
285 dev_err(&dev->intf->dev, "Failed to read mode from device.\n"); in atp_geyser_init()
304 dev_err(&dev->intf->dev, "Failed to request geyser raw mode\n"); in atp_geyser_init()
320 struct atp *dev in atp_reinit() local
333 atp_calculate_abs(struct atp * dev,int offset,int nb_sensors,int fact,int * z,int * fingers) atp_calculate_abs() argument
447 struct atp *dev = urb->context; atp_status_check() local
489 atp_detect_size(struct atp * dev) atp_detect_size() argument
520 struct atp *dev = urb->context; atp_complete_geyser_1_2() local
660 struct atp *dev = urb->context; atp_complete_geyser_3_4() local
798 struct atp *dev = input_get_drvdata(input); atp_open() local
809 struct atp *dev = input_get_drvdata(input); atp_close() local
816 atp_handle_geyser(struct atp * dev) atp_handle_geyser() argument
832 struct atp *dev; atp_probe() local
944 struct atp *dev = usb_get_intfdata(iface); atp_disconnect() local
958 atp_recover(struct atp * dev) atp_recover() argument
974 struct atp *dev = usb_get_intfdata(iface); atp_suspend() local
982 struct atp *dev = usb_get_intfdata(iface); atp_resume() local
992 struct atp *dev = usb_get_intfdata(iface); atp_reset_resume() local
[all...]

12345678910>>...401