Home
last modified time | relevance | path

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

12345678910>>...353

/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, 0x05e, ~0xf0, 0x80); in b43_radio_2064_channel_setup()
[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...]
H A Dphy_ht.c35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup() argument
42 b43_radio_write(dev, 0x16, e->radio_syn16); in b43_radio_2059_channel_setup()
43 b43_radio_write(dev, 0x17, e->radio_syn17); in b43_radio_2059_channel_setup()
44 b43_radio_write(dev, 0x22, e->radio_syn22); in b43_radio_2059_channel_setup()
45 b43_radio_write(dev, 0x25, e->radio_syn25); in b43_radio_2059_channel_setup()
46 b43_radio_write(dev, 0x27, e->radio_syn27); in b43_radio_2059_channel_setup()
47 b43_radio_write(dev, 0x28, e->radio_syn28); in b43_radio_2059_channel_setup()
48 b43_radio_write(dev, 0x29, e->radio_syn29); in b43_radio_2059_channel_setup()
49 b43_radio_write(dev, 0x2c, e->radio_syn2c); in b43_radio_2059_channel_setup()
50 b43_radio_write(dev, 0x2d, e->radio_syn2d); in b43_radio_2059_channel_setup()
[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/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->ops->fw_download(dev, firmware_name); in nfc_fw_download()
59 dev->fw_download_in_progress = false; in nfc_fw_download()
62 device_unlock(&dev->dev); in nfc_fw_download()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-designware-master.c36 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master() argument
40 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master()
45 ret = i2c_dw_acquire_lock(dev); in i2c_dw_set_timings_master()
49 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master()
50 i2c_dw_release_lock(dev); in i2c_dw_set_timings_master()
59 if (!dev->ss_hcnt || !dev->ss_lcnt) { in i2c_dw_set_timings_master()
60 ic_clk = i2c_dw_clk_rate(dev); in i2c_dw_set_timings_master()
61 dev->ss_hcnt = in i2c_dw_set_timings_master()
62 i2c_dw_scl_hcnt(dev, in i2c_dw_set_timings_master()
190 i2c_dw_xfer_init(struct dw_i2c_dev * dev) i2c_dw_xfer_init() argument
252 i2c_dw_is_controller_active(struct dw_i2c_dev * dev) i2c_dw_is_controller_active() argument
265 i2c_dw_check_stopbit(struct dw_i2c_dev * dev) i2c_dw_check_stopbit() argument
279 i2c_dw_status(struct dw_i2c_dev * dev) i2c_dw_status() argument
294 amd_i2c_dw_xfer_quirk(struct dw_i2c_dev * dev,struct i2c_msg * msgs,int num_msgs) amd_i2c_dw_xfer_quirk() argument
377 i2c_dw_xfer_msg(struct dw_i2c_dev * dev) i2c_dw_xfer_msg() argument
491 i2c_dw_recv_len(struct dw_i2c_dev * dev,u8 len) i2c_dw_recv_len() argument
518 i2c_dw_read(struct dw_i2c_dev * dev) i2c_dw_read() argument
575 i2c_dw_read_clear_intrbits(struct dw_i2c_dev * dev) i2c_dw_read_clear_intrbits() argument
636 i2c_dw_process_transfer(struct dw_i2c_dev * dev,unsigned int stat) i2c_dw_process_transfer() argument
687 i2c_dw_isr_master(struct dw_i2c_dev * dev) i2c_dw_isr_master() argument
718 i2c_dw_wait_transfer(struct dw_i2c_dev * dev) i2c_dw_wait_transfer() argument
751 __i2c_dw_xfer_one_part(struct dw_i2c_dev * dev,struct i2c_msg * msgs,size_t num) __i2c_dw_xfer_one_part() argument
836 i2c_dw_msg_is_valid(struct dw_i2c_dev * dev,const struct i2c_msg * msgs,size_t idx) i2c_dw_msg_is_valid() argument
868 i2c_dw_xfer_common(struct dw_i2c_dev * dev,struct i2c_msg msgs[],int num) i2c_dw_xfer_common() argument
925 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_xfer() local
933 i2c_dw_configure_master(struct dw_i2c_dev * dev) i2c_dw_configure_master() argument
963 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_prepare_recovery() local
972 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); i2c_dw_unprepare_recovery() local
979 i2c_dw_init_recovery_info(struct dw_i2c_dev * dev) i2c_dw_init_recovery_info() argument
1018 i2c_dw_probe_master(struct dw_i2c_dev * dev) i2c_dw_probe_master() argument
[all...]
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->enable_dig_filt) in at91_init_twi_bus_master()
52 (AT91_TWI_FILTR_THRES(dev->filter_width) & in at91_init_twi_bus_master()
[all …]
H A Di2c-designware-common.c77 struct dw_i2c_dev *dev = context; in dw_reg_read() local
79 *val = readl(dev->base + reg); in dw_reg_read()
86 struct dw_i2c_dev *dev = context; in dw_reg_write() local
88 writel(val, dev->base + reg); in dw_reg_write()
95 struct dw_i2c_dev *dev = context; in dw_reg_read_swab() local
97 *val = swab32(readl(dev->base + reg)); in dw_reg_read_swab()
104 struct dw_i2c_dev *dev = context; in dw_reg_write_swab() local
106 writel(swab32(val), dev->base + reg); in dw_reg_write_swab()
113 struct dw_i2c_dev *dev = context; in dw_reg_read_word() local
115 *val = readw(dev->base + reg) | in dw_reg_read_word()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c73 #include "sf/dev/dev.h"
126 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili, in wait_fw_init()
134 fw_initializing = ioread32be(&dev->iseg->initializing); in wait_fw_init()
138 mlx5_core_err(dev, "Firmware over %u MS in %s state, aborting\n", in wait_fw_init()
142 if (test_bit(MLX5_BREAK_FW_WAIT, &dev->intf_state)) { in wait_fw_init()
143 mlx5_core_warn(dev, "device is being removed, stop waiting for FW %s\n", in wait_fw_init()
148 mlx5_core_warn(dev, "Waiting for FW %s, timeout abort in %ds (0x%x)\n", in wait_fw_init()
153 msleep(mlx5_tout_ms(dev, FW_PRE_INIT_WAIT)); in wait_fw_init()
159 static void mlx5_set_driver_version(struct mlx5_core_dev *dev) in mlx5_set_driver_version()
125 wait_fw_init(struct mlx5_core_dev * dev,u32 max_wait_mili,u32 warn_time_mili,const char * init_state) wait_fw_init() argument
158 mlx5_set_driver_version(struct mlx5_core_dev * dev) mlx5_set_driver_version() argument
199 mlx5_pci_enable_device(struct mlx5_core_dev * dev) mlx5_pci_enable_device() argument
215 mlx5_pci_disable_device(struct mlx5_core_dev * dev) mlx5_pci_disable_device() argument
253 to_fw_pkey_sz(struct mlx5_core_dev * dev,u32 size) to_fw_pkey_sz() argument
274 mlx5_core_uplink_netdev_set(struct mlx5_core_dev * dev,struct net_device * netdev) mlx5_core_uplink_netdev_set() argument
283 mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev * dev) mlx5_core_uplink_netdev_event_replay() argument
292 mlx5_core_mp_event_replay(struct mlx5_core_dev * dev,u32 event,void * data) mlx5_core_mp_event_replay() argument
298 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
349 mlx5_core_get_caps(struct mlx5_core_dev * dev,enum mlx5_cap_type cap_type) mlx5_core_get_caps() argument
359 set_caps(struct mlx5_core_dev * dev,void * in,int opmod) set_caps() argument
366 handle_hca_cap_atomic(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_atomic() argument
395 handle_hca_cap_odp(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_odp() argument
424 ODP_CAP_SET_MAX(dev,field) handle_hca_cap_odp() argument
457 max_uc_list_get_devlink_param(struct mlx5_core_dev * dev) max_uc_list_get_devlink_param() argument
472 mlx5_is_roce_on(struct mlx5_core_dev * dev) mlx5_is_roce_on() argument
490 handle_hca_cap_2(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_2() argument
526 handle_hca_cap(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap() argument
644 is_roce_fw_disabled(struct mlx5_core_dev * dev) is_roce_fw_disabled() argument
650 handle_hca_cap_roce(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_roce() argument
678 handle_hca_cap_port_selection(struct mlx5_core_dev * dev,void * set_ctx) handle_hca_cap_port_selection() argument
705 set_hca_cap(struct mlx5_core_dev * dev) set_hca_cap() argument
761 set_hca_ctrl(struct mlx5_core_dev * dev) set_hca_ctrl() argument
778 mlx5_core_set_hca_defaults(struct mlx5_core_dev * dev) mlx5_core_set_hca_defaults() argument
789 mlx5_core_enable_hca(struct mlx5_core_dev * dev,u16 func_id) mlx5_core_enable_hca() argument
800 mlx5_core_disable_hca(struct mlx5_core_dev * dev,u16 func_id) mlx5_core_disable_hca() argument
811 mlx5_core_set_issi(struct mlx5_core_dev * dev) mlx5_core_set_issi() argument
859 mlx5_pci_init(struct mlx5_core_dev * dev,struct pci_dev * pdev,const struct pci_device_id * id) mlx5_pci_init() argument
914 mlx5_pci_close(struct mlx5_core_dev * dev) mlx5_pci_close() argument
927 mlx5_init_once(struct mlx5_core_dev * dev) mlx5_init_once() argument
1070 mlx5_cleanup_once(struct mlx5_core_dev * dev) mlx5_cleanup_once() argument
1098 mlx5_function_enable(struct mlx5_core_dev * dev,bool boot,u64 timeout) mlx5_function_enable() argument
1172 mlx5_function_disable(struct mlx5_core_dev * dev,bool boot) mlx5_function_disable() argument
1181 mlx5_function_open(struct mlx5_core_dev * dev) mlx5_function_open() argument
1220 mlx5_function_close(struct mlx5_core_dev * dev) mlx5_function_close() argument
1233 mlx5_function_setup(struct mlx5_core_dev * dev,bool boot,u64 timeout) mlx5_function_setup() argument
1247 mlx5_function_teardown(struct mlx5_core_dev * dev,bool boot) mlx5_function_teardown() argument
1259 mlx5_load(struct mlx5_core_dev * dev) mlx5_load() argument
1372 mlx5_unload(struct mlx5_core_dev * dev) mlx5_unload() argument
1395 mlx5_init_one_devl_locked(struct mlx5_core_dev * dev) mlx5_init_one_devl_locked() argument
1459 mlx5_init_one(struct mlx5_core_dev * dev) mlx5_init_one() argument
1479 mlx5_uninit_one(struct mlx5_core_dev * dev) mlx5_uninit_one() argument
1510 mlx5_load_one_devl_locked(struct mlx5_core_dev * dev,bool recovery) mlx5_load_one_devl_locked() argument
1557 mlx5_load_one(struct mlx5_core_dev * dev,bool recovery) mlx5_load_one() argument
1568 mlx5_unload_one_devl_locked(struct mlx5_core_dev * dev,bool suspend) mlx5_unload_one_devl_locked() argument
1589 mlx5_unload_one(struct mlx5_core_dev * dev,bool suspend) mlx5_unload_one() argument
1601 mlx5_query_hca_caps_light(struct mlx5_core_dev * dev) mlx5_query_hca_caps_light() argument
1635 mlx5_init_one_light(struct mlx5_core_dev * dev) mlx5_init_one_light() argument
1673 mlx5_uninit_one_light(struct mlx5_core_dev * dev) mlx5_uninit_one_light() argument
1691 mlx5_unload_one_light(struct mlx5_core_dev * dev) mlx5_unload_one_light() argument
1728 mlx5_hca_caps_free(struct mlx5_core_dev * dev) mlx5_hca_caps_free() argument
1739 mlx5_hca_caps_alloc(struct mlx5_core_dev * dev) mlx5_hca_caps_alloc() argument
1760 mlx5_notifiers_init(struct mlx5_core_dev * dev) mlx5_notifiers_init() argument
1796 mlx5_notifiers_cleanup(struct mlx5_core_dev * dev) mlx5_notifiers_cleanup() argument
1804 mlx5_mdev_init(struct mlx5_core_dev * dev,int profile_idx) mlx5_mdev_init() argument
1909 mlx5_mdev_uninit(struct mlx5_core_dev * dev) mlx5_mdev_uninit() argument
1937 struct mlx5_core_dev *dev; probe_one() local
2006 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); remove_one() local
2021 mlx5_pci_trace(dev,fmt,...) global() argument
2039 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_err_detected() local
2063 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); wait_vital() local
2090 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_slot_reset() local
2122 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_pci_resume() local
2143 mlx5_try_fast_unload(struct mlx5_core_dev * dev) mlx5_try_fast_unload() argument
2194 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); shutdown() local
2209 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_suspend() local
2218 struct mlx5_core_dev *dev = pci_get_drvdata(pdev); mlx5_resume() local
2262 mlx5_disable_device(struct mlx5_core_dev * dev) mlx5_disable_device() argument
2268 mlx5_recover_device(struct mlx5_core_dev * dev) mlx5_recover_device() 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->dev, "Error: RF write %02hhx:%02hhx failed:%d!!\n", in mt7601u_rf_wr()
[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()
95 * @dev: the device structure
99 int mei_reset(struct mei_device *dev) in mei_reset() argument
101 enum mei_dev_state state = dev->dev_state; in mei_reset()
111 mei_fw_status_str(dev, fw_sts_str, MEI_FW_STATUS_STR_SZ); in mei_reset()
112 if (kind_is_gsc(dev) || kind_is_gscf in mei_reset()
201 mei_start(struct mei_device * dev) mei_start() argument
256 mei_restart(struct mei_device * dev) mei_restart() argument
285 struct mei_device *dev = mei_reset_work() local
308 mei_stop(struct mei_device * dev) mei_stop() argument
344 mei_write_is_idle(struct mei_device * dev) mei_write_is_idle() argument
372 mei_device_init(struct mei_device * dev,struct device * parent,bool slow_fw,const struct mei_hw_ops * hw_ops) mei_device_init() argument
[all...]
H A Dhbm.c97 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()
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()
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()
124 mei_hbm_idle(dev); in mei_hbm_reset()
172 static inline int mei_hbm_cl_write(struct mei_device *dev, struct mei_cl *cl, in mei_hbm_cl_write() argument
180 return mei_hbm_write_message(dev, &mei_hdr, buf); in mei_hbm_cl_write()
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c56 struct net_device *dev; member
100 wed_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wed_m32() argument
102 regmap_update_bits(dev->hw->regs, reg, mask | val, val); in wed_m32()
106 wed_set(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_set() argument
108 return wed_m32(dev, reg, 0, mask); in wed_set()
112 wed_clr(struct mtk_wed_device *dev, u32 reg, u32 mask) in wed_clr() argument
114 return wed_m32(dev, reg, mask, 0); in wed_clr()
118 wdma_m32(struct mtk_wed_device *dev, u32 reg, u32 mask, u32 val) in wdma_m32() argument
120 wdma_w32(dev, reg, (wdma_r32(dev, re in wdma_m32()
124 wdma_set(struct mtk_wed_device * dev,u32 reg,u32 mask) wdma_set() argument
130 wdma_clr(struct mtk_wed_device * dev,u32 reg,u32 mask) wdma_clr() argument
136 wifi_r32(struct mtk_wed_device * dev,u32 reg) wifi_r32() argument
142 wifi_w32(struct mtk_wed_device * dev,u32 reg,u32 val) wifi_w32() argument
148 mtk_wed_read_reset(struct mtk_wed_device * dev) mtk_wed_read_reset() argument
154 mtk_wdma_read_reset(struct mtk_wed_device * dev) mtk_wdma_read_reset() argument
160 mtk_wdma_v3_rx_reset(struct mtk_wed_device * dev) mtk_wdma_v3_rx_reset() argument
244 mtk_wdma_rx_reset(struct mtk_wed_device * dev) mtk_wdma_rx_reset() argument
271 mtk_wed_check_busy(struct mtk_wed_device * dev,u32 reg,u32 mask) mtk_wed_check_busy() argument
277 mtk_wed_poll_busy(struct mtk_wed_device * dev,u32 reg,u32 mask) mtk_wed_poll_busy() argument
288 mtk_wdma_v3_tx_reset(struct mtk_wed_device * dev) mtk_wdma_v3_tx_reset() argument
366 mtk_wdma_tx_reset(struct mtk_wed_device * dev) mtk_wdma_tx_reset() argument
386 mtk_wed_reset(struct mtk_wed_device * dev,u32 mask) mtk_wed_reset() argument
397 mtk_wed_wo_read_status(struct mtk_wed_device * dev) mtk_wed_wo_read_status() argument
403 mtk_wed_wo_reset(struct mtk_wed_device * dev) mtk_wed_wo_reset() argument
453 struct mtk_wed_device *dev; mtk_wed_fe_reset() local
480 struct mtk_wed_device *dev; mtk_wed_fe_reset_complete() local
496 mtk_wed_assign(struct mtk_wed_device * dev) mtk_wed_assign() argument
529 mtk_wed_amsdu_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_amsdu_buffer_alloc() argument
573 mtk_wed_amsdu_free_buffer(struct mtk_wed_device * dev) mtk_wed_amsdu_free_buffer() argument
590 mtk_wed_amsdu_init(struct mtk_wed_device * dev) mtk_wed_amsdu_init() argument
641 mtk_wed_tx_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_tx_buffer_alloc() argument
738 mtk_wed_free_tx_buffer(struct mtk_wed_device * dev) mtk_wed_free_tx_buffer() argument
772 mtk_wed_hwrro_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_hwrro_buffer_alloc() argument
835 mtk_wed_rx_buffer_alloc(struct mtk_wed_device * dev) mtk_wed_rx_buffer_alloc() argument
855 mtk_wed_hwrro_free_buffer(struct mtk_wed_device * dev) mtk_wed_hwrro_free_buffer() argument
890 mtk_wed_free_rx_buffer(struct mtk_wed_device * dev) mtk_wed_free_rx_buffer() argument
905 mtk_wed_hwrro_init(struct mtk_wed_device * dev) mtk_wed_hwrro_init() argument
925 mtk_wed_rx_buffer_hw_init(struct mtk_wed_device * dev) mtk_wed_rx_buffer_hw_init() argument
940 mtk_wed_free_ring(struct mtk_wed_device * dev,struct mtk_wed_ring * ring) mtk_wed_free_ring() argument
950 mtk_wed_free_rx_rings(struct mtk_wed_device * dev) mtk_wed_free_rx_rings() argument
957 mtk_wed_free_tx_rings(struct mtk_wed_device * dev) mtk_wed_free_tx_rings() argument
968 mtk_wed_set_ext_int(struct mtk_wed_device * dev,bool en) mtk_wed_set_ext_int() argument
998 mtk_wed_set_512_support(struct mtk_wed_device * dev,bool enable) mtk_wed_set_512_support() argument
1015 mtk_wed_check_wfdma_rx_fill(struct mtk_wed_device * dev,struct mtk_wed_ring * ring) mtk_wed_check_wfdma_rx_fill() argument
1038 mtk_wed_dma_disable(struct mtk_wed_device * dev) mtk_wed_dma_disable() argument
1082 mtk_wed_stop(struct mtk_wed_device * dev) mtk_wed_stop() argument
1100 mtk_wed_deinit(struct mtk_wed_device * dev) mtk_wed_deinit() argument
1128 __mtk_wed_detach(struct mtk_wed_device * dev) __mtk_wed_detach() argument
1168 mtk_wed_detach(struct mtk_wed_device * dev) mtk_wed_detach() argument
1176 mtk_wed_bus_init(struct mtk_wed_device * dev) mtk_wed_bus_init() argument
1229 mtk_wed_set_wpdma(struct mtk_wed_device * dev) mtk_wed_set_wpdma() argument
1266 mtk_wed_hw_init_early(struct mtk_wed_device * dev) mtk_wed_hw_init_early() argument
1313 mtk_wed_rro_ring_alloc(struct mtk_wed_device * dev,struct mtk_wed_ring * ring,int size) mtk_wed_rro_ring_alloc() argument
1330 mtk_wed_rro_alloc(struct mtk_wed_device * dev) mtk_wed_rro_alloc() argument
1347 mtk_wed_rro_cfg(struct mtk_wed_device * dev) mtk_wed_rro_cfg() argument
1378 mtk_wed_rro_hw_init(struct mtk_wed_device * dev) mtk_wed_rro_hw_init() argument
1405 mtk_wed_route_qm_hw_init(struct mtk_wed_device * dev) mtk_wed_route_qm_hw_init() argument
1433 mtk_wed_hw_init(struct mtk_wed_device * dev) mtk_wed_hw_init() argument
1561 mtk_wed_rx_reset(struct mtk_wed_device * dev) mtk_wed_rx_reset() argument
1724 mtk_wed_reset_dma(struct mtk_wed_device * dev) mtk_wed_reset_dma() argument
1859 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
1875 mtk_wed_wdma_rx_ring_setup(struct mtk_wed_device * dev,int idx,int size,bool reset) mtk_wed_wdma_rx_ring_setup() argument
1903 mtk_wed_wdma_tx_ring_setup(struct mtk_wed_device * dev,int idx,int size,bool reset) mtk_wed_wdma_tx_ring_setup() argument
1959 mtk_wed_ppe_check(struct mtk_wed_device * dev,struct sk_buff * skb,u32 reason,u32 hash) mtk_wed_ppe_check() argument
1978 mtk_wed_configure_irq(struct mtk_wed_device * dev,u32 irq_mask) mtk_wed_configure_irq() argument
2051 mtk_wed_dma_enable(struct mtk_wed_device * dev) mtk_wed_dma_enable() argument
2166 mtk_wed_start_hw_rro(struct mtk_wed_device * dev,u32 irq_mask,bool reset) mtk_wed_start_hw_rro() argument
2240 mtk_wed_rro_rx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs) mtk_wed_rro_rx_ring_setup() argument
2254 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
2267 mtk_wed_ind_rx_ring_setup(struct mtk_wed_device * dev,void __iomem * regs) mtk_wed_ind_rx_ring_setup() argument
2331 mtk_wed_start(struct mtk_wed_device * dev,u32 irq_mask) mtk_wed_start() argument
2392 mtk_wed_attach(struct mtk_wed_device * dev) mtk_wed_attach() argument
2477 mtk_wed_tx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs,bool reset) mtk_wed_tx_ring_setup() argument
2540 mtk_wed_txfree_ring_setup(struct mtk_wed_device * dev,void __iomem * regs) mtk_wed_txfree_ring_setup() argument
2564 mtk_wed_rx_ring_setup(struct mtk_wed_device * dev,int idx,void __iomem * regs,bool reset) mtk_wed_rx_ring_setup() argument
2597 mtk_wed_irq_get(struct mtk_wed_device * dev,u32 mask) mtk_wed_irq_get() argument
2623 mtk_wed_irq_set_mask(struct mtk_wed_device * dev,u32 mask) mtk_wed_irq_set_mask() argument
2700 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
2760 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/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->buflock, flags); in adu_abort_transfers()
[all …]
/linux/drivers/platform/x86/amd/pmf/
H A Dtee-if.c46 static void amd_pmf_prepare_args(struct amd_pmf_dev *dev, int cmd, in amd_pmf_prepare_args() argument
54 arg->session = dev->session_id; in amd_pmf_prepare_args()
60 param[0].u.memref.shm = dev->fw_shm_pool; in amd_pmf_prepare_args()
64 static void amd_pmf_update_uevents(struct amd_pmf_dev *dev, u16 event) in amd_pmf_update_uevents() argument
66 input_report_key(dev->pmf_idev, event, 1); /* key press */ in amd_pmf_update_uevents()
67 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
68 input_report_key(dev->pmf_idev, event, 0); /* key release */ in amd_pmf_update_uevents()
69 input_sync(dev->pmf_idev); in amd_pmf_update_uevents()
107 dev_warn(pdev->dev, "BIOS output index %d out of bounds\n", bios_idx); in amd_pmf_update_bios_output()
116 static void amd_pmf_apply_policies(struct amd_pmf_dev *dev, struc argument
243 amd_pmf_invoke_cmd_enact(struct amd_pmf_dev * dev) amd_pmf_invoke_cmd_enact() argument
283 amd_pmf_invoke_cmd_init(struct amd_pmf_dev * dev) amd_pmf_invoke_cmd_init() argument
324 struct amd_pmf_dev *dev = container_of(work, struct amd_pmf_dev, pb_work.work); amd_pmf_invoke_cmd() local
330 amd_pmf_start_policy_engine(struct amd_pmf_dev * dev) amd_pmf_start_policy_engine() argument
368 amd_pmf_pb_valid(struct amd_pmf_dev * dev) amd_pmf_pb_valid() argument
374 amd_pmf_hex_dump_pb(struct amd_pmf_dev * dev) amd_pmf_hex_dump_pb() argument
383 struct amd_pmf_dev *dev = filp->private_data; amd_pmf_get_pb_data() local
421 amd_pmf_open_pb(struct amd_pmf_dev * dev,struct dentry * debugfs_root) amd_pmf_open_pb() argument
427 amd_pmf_remove_pb(struct amd_pmf_dev * dev) amd_pmf_remove_pb() argument
432 amd_pmf_open_pb(struct amd_pmf_dev * dev,struct dentry * debugfs_root) amd_pmf_open_pb() argument
433 amd_pmf_remove_pb(struct amd_pmf_dev * dev) amd_pmf_remove_pb() argument
434 amd_pmf_hex_dump_pb(struct amd_pmf_dev * dev) amd_pmf_hex_dump_pb() argument
462 amd_pmf_register_input_device(struct amd_pmf_dev * dev) amd_pmf_register_input_device() argument
486 amd_pmf_tee_init(struct amd_pmf_dev * dev,const uuid_t * uuid) amd_pmf_tee_init() argument
534 amd_pmf_tee_deinit(struct amd_pmf_dev * dev) amd_pmf_tee_deinit() argument
544 amd_pmf_init_smart_pc(struct amd_pmf_dev * dev) amd_pmf_init_smart_pc() argument
624 amd_pmf_deinit_smart_pc(struct amd_pmf_dev * dev) amd_pmf_deinit_smart_pc() 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->variant->fw_name[i], &dev->plat_dev->dev); in s5p_mfc_load_firmware()
69 dev->fw_ver = (enum s5p_mfc_fw_ver) i; in s5p_mfc_load_firmware()
[all …]
/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c117 static inline void emac_report_timeout_error(struct emac_instance *dev, in emac_report_timeout_error() argument
120 if (emac_has_feature(dev, EMAC_FTR_440GX_PHY_CLK_FIX | in emac_report_timeout_error()
123 DBG(dev, "%s" NL, error); in emac_report_timeout_error()
125 printk(KERN_ERR "%pOF: %s\n", dev->ofdev->dev.of_node, error); in emac_report_timeout_error()
132 static inline void emac_rx_clk_tx(struct emac_instance *dev) in emac_rx_clk_tx() argument
135 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FIX)) in emac_rx_clk_tx()
137 0, SDR0_MFR_ECS >> dev->cell_index); in emac_rx_clk_tx()
141 static inline void emac_rx_clk_default(struct emac_instance *dev) in emac_rx_clk_default() argument
144 if (emac_has_feature(dev, EMAC_FTR_440EP_PHY_CLK_FI in emac_rx_clk_default()
205 emac_tx_enable(struct emac_instance * dev) emac_tx_enable() argument
217 emac_tx_disable(struct emac_instance * dev) emac_tx_disable() argument
237 emac_rx_enable(struct emac_instance * dev) emac_rx_enable() argument
266 emac_rx_disable(struct emac_instance * dev) emac_rx_disable() argument
286 emac_netif_stop(struct emac_instance * dev) emac_netif_stop() argument
298 emac_netif_start(struct emac_instance * dev) emac_netif_start() argument
318 emac_rx_disable_async(struct emac_instance * dev) emac_rx_disable_async() argument
330 emac_reset(struct emac_instance * dev) emac_reset() argument
411 emac_hash_mc(struct emac_instance * dev) emac_hash_mc() argument
441 struct emac_instance *dev = netdev_priv(ndev); emac_iff2rmr() local
467 __emac_calc_base_mr1(struct emac_instance * dev,int tx_size,int rx_size) __emac_calc_base_mr1() argument
497 __emac4_calc_base_mr1(struct emac_instance * dev,int tx_size,int rx_size) __emac4_calc_base_mr1() argument
543 emac_calc_base_mr1(struct emac_instance * dev,int tx_size,int rx_size) emac_calc_base_mr1() argument
550 emac_calc_trtr(struct emac_instance * dev,unsigned int size) emac_calc_trtr() argument
558 emac_calc_rwmr(struct emac_instance * dev,unsigned int low,unsigned int high) emac_calc_rwmr() argument
567 emac_configure(struct emac_instance * dev) emac_configure() argument
730 emac_reinitialize(struct emac_instance * dev) emac_reinitialize() argument
742 emac_full_tx_reset(struct emac_instance * dev) emac_full_tx_reset() argument
760 struct emac_instance *dev = container_of(work, struct emac_instance, reset_work); emac_reset_work() local
775 struct emac_instance *dev = netdev_priv(ndev); emac_tx_timeout() local
783 emac_phy_done(struct emac_instance * dev,u32 stacr) emac_phy_done() argument
793 __emac_mdio_read(struct emac_instance * dev,u8 id,u8 reg) __emac_mdio_read() argument
864 __emac_mdio_write(struct emac_instance * dev,u8 id,u8 reg,u16 val) __emac_mdio_write() argument
926 struct emac_instance *dev = netdev_priv(ndev); emac_mdio_read() local
938 struct emac_instance *dev = netdev_priv(ndev); emac_mdio_write() local
947 __emac_set_multicast_list(struct emac_instance * dev) __emac_set_multicast_list() argument
980 struct emac_instance *dev = netdev_priv(ndev); emac_set_multicast_list() local
998 struct emac_instance *dev = netdev_priv(ndev); emac_set_mac_address() local
1023 emac_resize_rx_ring(struct emac_instance * dev,int new_mtu) emac_resize_rx_ring() argument
1111 struct emac_instance *dev = netdev_priv(ndev); emac_change_mtu() local
1131 emac_clean_tx_ring(struct emac_instance * dev) emac_clean_tx_ring() argument
1147 emac_clean_rx_ring(struct emac_instance * dev) emac_clean_rx_ring() argument
1177 __emac_prepare_rx_skb(struct sk_buff * skb,struct emac_instance * dev,int slot) __emac_prepare_rx_skb() argument
1196 emac_alloc_rx_skb(struct emac_instance * dev,int slot) emac_alloc_rx_skb() argument
1207 emac_alloc_rx_skb_napi(struct emac_instance * dev,int slot) emac_alloc_rx_skb_napi() argument
1216 emac_print_link_status(struct emac_instance * dev) emac_print_link_status() argument
1231 struct emac_instance *dev = netdev_priv(ndev); emac_open() local
1327 struct emac_instance *dev = emac_link_timer() local
1366 emac_force_link_update(struct emac_instance * dev) emac_force_link_update() argument
1380 struct emac_instance *dev = netdev_priv(ndev); emac_close() local
1407 emac_tx_csum(struct emac_instance * dev,struct sk_buff * skb) emac_tx_csum() argument
1418 emac_xmit_finish(struct emac_instance * dev,int len) emac_xmit_finish() argument
1447 struct emac_instance *dev = netdev_priv(ndev); emac_start_xmit() local
1473 emac_xmit_split(struct emac_instance * dev,int slot,u32 pd,int len,int last,u16 base_ctrl) emac_xmit_split() argument
1506 struct emac_instance *dev = netdev_priv(ndev); emac_start_xmit_sg() local
1588 emac_parse_tx_error(struct emac_instance * dev,u16 ctrl) emac_parse_tx_error() argument
1617 struct emac_instance *dev = param; emac_poll_tx() local
1661 emac_recycle_rx_skb(struct emac_instance * dev,int slot,int len) emac_recycle_rx_skb() argument
1679 emac_parse_rx_error(struct emac_instance * dev,u16 ctrl) emac_parse_rx_error() argument
1706 emac_rx_csum(struct emac_instance * dev,struct sk_buff * skb,u16 ctrl) emac_rx_csum() argument
1717 emac_rx_sg_append(struct emac_instance * dev,int slot) emac_rx_sg_append() argument
1742 struct emac_instance *dev = param; emac_poll_rx() local
1873 struct emac_instance *dev = param; emac_peek_rx() local
1881 struct emac_instance *dev = param; emac_peek_rx_sg() local
1902 struct emac_instance *dev = param; emac_rxde() local
1911 struct emac_instance *dev = dev_instance; emac_irq() local
1961 struct emac_instance *dev = netdev_priv(ndev); emac_stats() local
2030 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_link_ksettings() local
2056 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_set_link_ksettings() local
2142 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_pauseparam() local
2158 emac_get_regs_len(struct emac_instance * dev) emac_get_regs_len() argument
2166 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_regs_len() local
2181 emac_dump_regs(struct emac_instance * dev,void * buf) emac_dump_regs() argument
2200 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_regs() local
2224 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_nway_reset() local
2264 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_ethtool_stats() local
2274 struct emac_instance *dev = netdev_priv(ndev); emac_ethtool_get_drvinfo() local
2304 struct emac_instance *dev = netdev_priv(ndev); emac_ioctl() local
2345 emac_check_deps(struct emac_instance * dev,struct emac_depentry * deps) emac_check_deps() argument
2386 emac_put_deps(struct emac_instance * dev) emac_put_deps() argument
2395 emac_wait_deps(struct emac_instance * dev) emac_wait_deps() argument
2444 struct emac_instance *dev = netdev_priv(ndev); emac_adjust_link() local
2477 struct emac_instance *dev = netdev_priv(bus->priv); emac_mii_bus_reset() local
2515 struct emac_instance *dev = netdev_priv(ndev); emac_mdio_poll_link() local
2560 emac_dt_mdio_probe(struct emac_instance * dev) emac_dt_mdio_probe() argument
2596 emac_dt_phy_connect(struct emac_instance * dev,struct device_node * phy_handle) emac_dt_phy_connect() argument
2624 emac_dt_phy_probe(struct emac_instance * dev) emac_dt_phy_probe() argument
2643 emac_init_phy(struct emac_instance * dev) emac_init_phy() argument
2813 emac_init_config(struct emac_instance * dev) emac_init_config() argument
3001 struct emac_instance *dev; emac_probe() local
3211 struct emac_instance *dev = platform_get_drvdata(ofdev); emac_remove() local
[all...]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt792x_dma.c13 struct mt792x_dev *dev = dev_instance; in mt792x_irq_handler() local
15 if (test_bit(MT76_REMOVED, &dev->mt76.phy.state)) in mt792x_irq_handler()
17 mt76_wr(dev, dev->irq_map->host_irq_enable, 0); in mt792x_irq_handler()
19 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt792x_irq_handler()
22 tasklet_schedule(&dev->mt76.irq_tasklet); in mt792x_irq_handler()
30 struct mt792x_dev *dev = (struct mt792x_dev *)data; in mt792x_irq_tasklet() local
31 const struct mt792x_irq_map *irq_map = dev->irq_map; in mt792x_irq_tasklet()
34 mt76_wr(dev, irq_map->host_irq_enable, 0); in mt792x_irq_tasklet()
36 intr = mt76_rr(dev, MT_WFDMA0_HOST_INT_STA); in mt792x_irq_tasklet()
37 intr &= dev->mt76.mmio.irqmask; in mt792x_irq_tasklet()
[all …]
/linux/drivers/scsi/aacraid/
H A Dsrc.c34 static int aac_src_get_sync_status(struct aac_dev *dev);
39 struct aac_dev *dev; in aac_src_intr_message() local
46 dev = ctx->dev; in aac_src_intr_message()
49 if (dev->msi_enabled) { in aac_src_intr_message()
52 bellbits = src_readl(dev, MUnit.ODR_MSI); in aac_src_intr_message()
60 bellbits = src_readl(dev, MUnit.ODR_R); in aac_src_intr_message()
63 src_writel(dev, MUnit.ODR_C, bellbits); in aac_src_intr_message()
64 src_readl(dev, MUnit.ODR_C); in aac_src_intr_message()
67 src_writel(dev, MUnit.ODR_C, bellbits); in aac_src_intr_message()
68 src_readl(dev, MUnit.ODR_C); in aac_src_intr_message()
[all …]
/linux/include/linux/
H A Dpm_runtime.h68 extern int pm_generic_runtime_suspend(struct device *dev);
69 extern int pm_generic_runtime_resume(struct device *dev);
70 extern int pm_runtime_force_suspend(struct device *dev);
72 extern int __pm_runtime_idle(struct device *dev, int rpmflags);
73 extern int __pm_runtime_suspend(struct device *dev, int rpmflags);
74 extern int __pm_runtime_resume(struct device *dev, int rpmflags);
75 extern int pm_runtime_get_if_active(struct device *dev);
76 extern int pm_runtime_get_if_in_use(struct device *dev);
77 extern int pm_schedule_suspend(struct device *dev, unsigned int delay);
78 extern int __pm_runtime_set_status(struct device *dev, unsigne
111 pm_suspend_ignore_children(struct device * dev,bool enable) pm_suspend_ignore_children() argument
120 pm_runtime_get_noresume(struct device * dev) pm_runtime_get_noresume() argument
131 pm_runtime_put_noidle(struct device * dev) pm_runtime_put_noidle() argument
148 pm_runtime_suspended(struct device * dev) pm_runtime_suspended() argument
166 pm_runtime_active(struct device * dev) pm_runtime_active() argument
183 pm_runtime_status_suspended(struct device * dev) pm_runtime_status_suspended() argument
198 pm_runtime_enabled(struct device * dev) pm_runtime_enabled() argument
209 pm_runtime_blocked(struct device * dev) pm_runtime_blocked() argument
221 pm_runtime_has_no_callbacks(struct device * dev) pm_runtime_has_no_callbacks() argument
233 pm_runtime_mark_last_busy(struct device * dev) pm_runtime_mark_last_busy() argument
246 pm_runtime_is_irq_safe(struct device * dev) pm_runtime_is_irq_safe() argument
257 pm_generic_runtime_suspend(struct device * dev) pm_generic_runtime_suspend() argument
258 pm_generic_runtime_resume(struct device * dev) pm_generic_runtime_resume() argument
259 pm_runtime_force_suspend(struct device * dev) pm_runtime_force_suspend() argument
261 __pm_runtime_idle(struct device * dev,int rpmflags) __pm_runtime_idle() argument
265 __pm_runtime_suspend(struct device * dev,int rpmflags) __pm_runtime_suspend() argument
269 __pm_runtime_resume(struct device * dev,int rpmflags) __pm_runtime_resume() argument
273 pm_schedule_suspend(struct device * dev,unsigned int delay) pm_schedule_suspend() argument
277 pm_runtime_get_if_in_use(struct device * dev) pm_runtime_get_if_in_use() argument
281 pm_runtime_get_if_active(struct device * dev) pm_runtime_get_if_active() argument
285 __pm_runtime_set_status(struct device * dev,unsigned int status) __pm_runtime_set_status() argument
287 pm_runtime_barrier(struct device * dev) pm_runtime_barrier() argument
288 pm_runtime_block_if_disabled(struct device * dev) pm_runtime_block_if_disabled() argument
289 pm_runtime_unblock(struct device * dev) pm_runtime_unblock() argument
290 pm_runtime_enable(struct device * dev) pm_runtime_enable() argument
291 __pm_runtime_disable(struct device * dev,bool c) __pm_runtime_disable() argument
292 pm_runtime_blocked(struct device * dev) pm_runtime_blocked() argument
293 pm_runtime_allow(struct device * dev) pm_runtime_allow() argument
294 pm_runtime_forbid(struct device * dev) pm_runtime_forbid() argument
296 devm_pm_runtime_set_active_enabled(struct device * dev) devm_pm_runtime_set_active_enabled() argument
297 devm_pm_runtime_enable(struct device * dev) devm_pm_runtime_enable() argument
298 devm_pm_runtime_get_noresume(struct device * dev) devm_pm_runtime_get_noresume() argument
300 pm_suspend_ignore_children(struct device * dev,bool enable) pm_suspend_ignore_children() argument
301 pm_runtime_get_noresume(struct device * dev) pm_runtime_get_noresume() argument
302 pm_runtime_put_noidle(struct device * dev) pm_runtime_put_noidle() argument
303 pm_runtime_suspended(struct device * dev) pm_runtime_suspended() argument
304 pm_runtime_active(struct device * dev) pm_runtime_active() argument
305 pm_runtime_status_suspended(struct device * dev) pm_runtime_status_suspended() argument
306 pm_runtime_enabled(struct device * dev) pm_runtime_enabled() argument
308 pm_runtime_no_callbacks(struct device * dev) pm_runtime_no_callbacks() argument
309 pm_runtime_irq_safe(struct device * dev) pm_runtime_irq_safe() argument
310 pm_runtime_is_irq_safe(struct device * dev) pm_runtime_is_irq_safe() argument
312 pm_runtime_has_no_callbacks(struct device * dev) pm_runtime_has_no_callbacks() argument
313 pm_runtime_mark_last_busy(struct device * dev) pm_runtime_mark_last_busy() argument
314 __pm_runtime_use_autosuspend(struct device * dev,bool use) __pm_runtime_use_autosuspend() argument
316 pm_runtime_set_autosuspend_delay(struct device * dev,int delay) pm_runtime_set_autosuspend_delay() argument
319 pm_runtime_autosuspend_expiration(struct device * dev) pm_runtime_autosuspend_expiration() argument
320 pm_runtime_set_memalloc_noio(struct device * dev,bool enable) pm_runtime_set_memalloc_noio() argument
322 pm_runtime_get_suppliers(struct device * dev) pm_runtime_get_suppliers() argument
323 pm_runtime_put_suppliers(struct device * dev) pm_runtime_put_suppliers() argument
324 pm_runtime_new_link(struct device * dev) pm_runtime_new_link() argument
337 pm_runtime_need_not_resume(struct device * dev) pm_runtime_need_not_resume() argument
338 pm_runtime_force_resume(struct device * dev) pm_runtime_force_resume() argument
363 pm_runtime_idle(struct device * dev) pm_runtime_idle() argument
385 pm_runtime_suspend(struct device * dev) pm_runtime_suspend() argument
412 pm_runtime_autosuspend(struct device * dev) pm_runtime_autosuspend() argument
422 pm_runtime_resume(struct device * dev) pm_runtime_resume() argument
445 pm_request_idle(struct device * dev) pm_request_idle() argument
454 pm_request_resume(struct device * dev) pm_request_resume() argument
479 pm_request_autosuspend(struct device * dev) pm_request_autosuspend() argument
492 pm_runtime_get(struct device * dev) pm_runtime_get() argument
511 pm_runtime_get_sync(struct device * dev) pm_runtime_get_sync() argument
516 pm_runtime_get_active(struct device * dev,int rpmflags) pm_runtime_get_active() argument
537 pm_runtime_resume_and_get(struct device * dev) pm_runtime_resume_and_get() argument
549 pm_runtime_put(struct device * dev) pm_runtime_put() argument
573 __pm_runtime_put_autosuspend(struct device * dev) __pm_runtime_put_autosuspend() argument
599 pm_runtime_put_autosuspend(struct device * dev) pm_runtime_put_autosuspend() argument
677 pm_runtime_put_sync(struct device * dev) pm_runtime_put_sync() argument
705 pm_runtime_put_sync_suspend(struct device * dev) pm_runtime_put_sync_suspend() argument
737 pm_runtime_put_sync_autosuspend(struct device * dev) pm_runtime_put_sync_autosuspend() argument
752 pm_runtime_set_active(struct device * dev) pm_runtime_set_active() argument
766 pm_runtime_set_suspended(struct device * dev) pm_runtime_set_suspended() argument
788 pm_runtime_disable(struct device * dev) pm_runtime_disable() argument
805 pm_runtime_use_autosuspend(struct device * dev) pm_runtime_use_autosuspend() argument
818 pm_runtime_dont_use_autosuspend(struct device * dev) pm_runtime_dont_use_autosuspend() argument
[all...]
/linux/drivers/net/usb/
H A Dusbnet.c49 #define RX_QLEN(dev) ((dev)->rx_qlen) argument
50 #define TX_QLEN(dev) ((dev)->tx_qlen) argument
90 int usbnet_get_endpoints(struct usbnet *dev, struct usb_interface *intf) in usbnet_get_endpoints() argument
145 !(dev->driver_info->flags & FLAG_NO_SETINT)) { in usbnet_get_endpoints()
146 tmp = usb_set_interface(dev->udev, alt->desc.bInterfaceNumber, in usbnet_get_endpoints()
152 dev->in = usb_rcvbulkpipe(dev->udev, usb_endpoint_num(&in->desc)); in usbnet_get_endpoints()
153 dev in usbnet_get_endpoints()
159 usbnet_get_ethernet_addr(struct usbnet * dev,int iMACAddress) usbnet_get_ethernet_addr() argument
180 usbnet_needs_usb_name_format(struct usbnet * dev,struct net_device * net) usbnet_needs_usb_name_format() argument
193 struct usbnet *dev = urb->context; intr_complete() local
223 init_status(struct usbnet * dev,struct usb_interface * intf) init_status() argument
259 usbnet_status_start(struct usbnet * dev,gfp_t mem_flags) usbnet_status_start() argument
279 __usbnet_status_start_force(struct usbnet * dev,gfp_t mem_flags) __usbnet_status_start_force() argument
294 usbnet_status_stop(struct usbnet * dev) usbnet_status_stop() argument
312 __usbnet_status_stop_force(struct usbnet * dev) __usbnet_status_stop_force() argument
326 usbnet_skb_return(struct usbnet * dev,struct sk_buff * skb) usbnet_skb_return() argument
361 usbnet_update_max_qlen(struct usbnet * dev) usbnet_update_max_qlen() argument
398 struct usbnet *dev = netdev_priv(net); usbnet_change_mtu() local
441 defer_bh(struct usbnet * dev,struct sk_buff * skb,struct sk_buff_head * list,enum skb_state state) defer_bh() argument
472 usbnet_defer_kevent(struct usbnet * dev,int work) usbnet_defer_kevent() argument
491 rx_submit(struct usbnet * dev,struct urb * urb,gfp_t flags) rx_submit() argument
569 rx_process(struct usbnet * dev,struct sk_buff * skb) rx_process() argument
601 struct usbnet *dev = entry->dev; rx_complete() local
689 usbnet_pause_rx(struct usbnet * dev) usbnet_pause_rx() argument
697 usbnet_resume_rx(struct usbnet * dev) usbnet_resume_rx() argument
718 usbnet_purge_paused_rxq(struct usbnet * dev) usbnet_purge_paused_rxq() argument
728 unlink_urbs(struct usbnet * dev,struct sk_buff_head * q) unlink_urbs() argument
776 usbnet_unlink_rx_urbs(struct usbnet * dev) usbnet_unlink_rx_urbs() argument
802 usbnet_terminate_urbs(struct usbnet * dev) usbnet_terminate_urbs() argument
825 struct usbnet *dev = netdev_priv(net); usbnet_stop() local
896 struct usbnet *dev = netdev_priv(net); usbnet_open() local
996 struct usbnet *dev = netdev_priv(net); usbnet_get_link_ksettings_mii() local
1010 struct usbnet *dev = netdev_priv(net); usbnet_get_link_ksettings_internal() local
1038 struct usbnet *dev = netdev_priv(net); usbnet_set_link_ksettings_mii() local
1059 struct usbnet *dev = netdev_priv(net); usbnet_get_link() local
1076 struct usbnet *dev = netdev_priv(net); usbnet_nway_reset() local
1087 struct usbnet *dev = netdev_priv(net); usbnet_mii_ioctl() local
1095 struct usbnet *dev = netdev_priv(net); usbnet_get_drvinfo() local
1106 struct usbnet *dev = netdev_priv(net); usbnet_get_msglevel() local
1114 struct usbnet *dev = netdev_priv(net); usbnet_set_msglevel() local
1134 __handle_link_change(struct usbnet * dev) __handle_link_change() argument
1163 struct usbnet *dev = netdev_priv(net); usbnet_set_rx_mode() local
1169 __handle_set_rx_mode(struct usbnet * dev) __handle_set_rx_mode() argument
1185 struct usbnet *dev = usbnet_deferred_kevent() local
1298 struct usbnet *dev = entry->dev; tx_complete() local
1351 struct usbnet *dev = netdev_priv(net); usbnet_tx_timeout() local
1400 struct usbnet *dev = netdev_priv(net); usbnet_start_xmit() local
1544 rx_alloc_submit(struct usbnet * dev,gfp_t flags) rx_alloc_submit() argument
1580 struct usbnet *dev = timer_container_of(dev, t, delay); usbnet_bh() local
1646 struct usbnet *dev = from_work(dev, work, bh_work); usbnet_bh_work() local
1662 struct usbnet *dev; usbnet_disconnect() local
1728 struct usbnet *dev; usbnet_probe() local
1941 struct usbnet *dev = usb_get_intfdata(intf); usbnet_suspend() local
1974 struct usbnet *dev = usb_get_intfdata(intf); usbnet_resume() local
2031 usbnet_device_suggests_idle(struct usbnet * dev) usbnet_device_suggests_idle() argument
2043 usbnet_manage_power(struct usbnet * dev,int on) usbnet_manage_power() argument
2050 usbnet_link_change(struct usbnet * dev,bool link,bool need_reset) usbnet_link_change() argument
2068 __usbnet_read_cmd(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,void * data,u16 size) __usbnet_read_cmd() argument
2099 __usbnet_write_cmd(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,const void * data,u16 size) __usbnet_write_cmd() argument
2135 usbnet_read_cmd(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,void * data,u16 size) usbnet_read_cmd() argument
2153 usbnet_write_cmd(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,const void * data,u16 size) usbnet_write_cmd() argument
2171 usbnet_read_cmd_nopm(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,void * data,u16 size) usbnet_read_cmd_nopm() argument
2183 usbnet_write_cmd_nopm(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,const void * data,u16 size) usbnet_write_cmd_nopm() argument
2209 usbnet_write_cmd_async(struct usbnet * dev,u8 cmd,u8 reqtype,u16 value,u16 index,const void * data,u16 size) usbnet_write_cmd_async() argument
[all...]
/linux/drivers/virtio/
H A Dvirtio.c17 struct virtio_device *dev = dev_to_virtio(_d); in device_show() local
18 return sysfs_emit(buf, "0x%04x\n", dev->id.device); in device_show()
25 struct virtio_device *dev = dev_to_virtio(_d); in vendor_show() local
26 return sysfs_emit(buf, "0x%04x\n", dev->id.vendor); in vendor_show()
33 struct virtio_device *dev = dev_to_virtio(_d); in status_show() local
34 return sysfs_emit(buf, "0x%08x\n", dev->config->get_status(dev)); in status_show()
41 struct virtio_device *dev = dev_to_virtio(_d); in modalias_show() local
43 dev->id.device, dev in modalias_show()
50 struct virtio_device *dev = dev_to_virtio(_d); features_show() local
74 virtio_id_match(const struct virtio_device * dev,const struct virtio_device_id * id) virtio_id_match() argument
88 struct virtio_device *dev = dev_to_virtio(_dv); virtio_dev_match() local
100 const struct virtio_device *dev = dev_to_virtio(_dv); virtio_uevent() local
126 __virtio_config_changed(struct virtio_device * dev) __virtio_config_changed() argument
138 virtio_config_changed(struct virtio_device * dev) virtio_config_changed() argument
155 virtio_config_driver_disable(struct virtio_device * dev) virtio_config_driver_disable() argument
170 virtio_config_driver_enable(struct virtio_device * dev) virtio_config_driver_enable() argument
180 virtio_config_core_disable(struct virtio_device * dev) virtio_config_core_disable() argument
187 virtio_config_core_enable(struct virtio_device * dev) virtio_config_core_enable() argument
196 virtio_add_status(struct virtio_device * dev,unsigned int status) virtio_add_status() argument
204 virtio_features_ok(struct virtio_device * dev) virtio_features_ok() argument
253 virtio_reset_device(struct virtio_device * dev) virtio_reset_device() argument
273 struct virtio_device *dev = dev_to_virtio(_d); virtio_dev_probe() local
370 struct virtio_device *dev = dev_to_virtio(_d); virtio_dev_remove() local
396 struct virtio_device *dev = dev_to_virtio(_d); virtio_irq_get_affinity() local
411 virtio_device_shutdown(struct virtio_device * dev) virtio_device_shutdown() argument
432 struct virtio_device *dev = dev_to_virtio(_d); virtio_dev_shutdown() local
451 virtio_dev_num_vf(struct device * dev) virtio_dev_num_vf() argument
488 virtio_device_of_init(struct virtio_device * dev) virtio_device_of_init() argument
539 register_virtio_device(struct virtio_device * dev) register_virtio_device() argument
597 is_virtio_device(struct device * dev) is_virtio_device() argument
603 unregister_virtio_device(struct virtio_device * dev) unregister_virtio_device() argument
613 virtio_device_restore_priv(struct virtio_device * dev,bool restore) virtio_device_restore_priv() argument
670 virtio_device_freeze(struct virtio_device * dev) virtio_device_freeze() argument
691 virtio_device_restore(struct virtio_device * dev) virtio_device_restore() argument
698 virtio_device_reset_prepare(struct virtio_device * dev) virtio_device_reset_prepare() argument
720 virtio_device_reset_done(struct virtio_device * dev) virtio_device_reset_done() argument
[all...]

12345678910>>...353