Home
last modified time | relevance | path

Searched refs:b43_wldev (Results 1 – 25 of 49) sorted by relevance

12

/linux-3.4.99/drivers/net/wireless/b43/
Dphy_common.h7 struct b43_wldev;
159 int (*allocate)(struct b43_wldev *dev);
160 void (*free)(struct b43_wldev *dev);
161 void (*prepare_structs)(struct b43_wldev *dev);
162 int (*prepare_hardware)(struct b43_wldev *dev);
163 int (*init)(struct b43_wldev *dev);
164 void (*exit)(struct b43_wldev *dev);
167 u16 (*phy_read)(struct b43_wldev *dev, u16 reg);
168 void (*phy_write)(struct b43_wldev *dev, u16 reg, u16 value);
169 void (*phy_maskset)(struct b43_wldev *dev, u16 reg, u16 mask, u16 set);
[all …]
Dmain.h108 u8 b43_ieee80211_antenna_sanitize(struct b43_wldev *dev,
111 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf);
112 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
114 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset);
115 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset);
116 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value);
117 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value);
119 u64 b43_hf_read(struct b43_wldev *dev);
120 void b43_hf_write(struct b43_wldev *dev, u64 value);
122 void b43_dummy_transmission(struct b43_wldev *dev, bool ofdm, bool pa_on);
[all …]
Dtables_lpphy.h17 u32 b43_lptab_read(struct b43_wldev *dev, u32 offset);
18 void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value);
23 void b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset,
25 void b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset,
28 void b2062_upload_init_table(struct b43_wldev *dev);
29 void b2063_upload_init_table(struct b43_wldev *dev);
35 void lpphy_write_gain_table(struct b43_wldev *dev, int offset,
37 void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count,
40 void lpphy_rev0_1_table_init(struct b43_wldev *dev);
41 void lpphy_rev2plus_table_init(struct b43_wldev *dev);
[all …]
Dsdio.h6 struct b43_wldev;
14 void (*irq_handler)(struct b43_wldev *dev);
17 int b43_sdio_request_irq(struct b43_wldev *dev,
18 void (*handler)(struct b43_wldev *dev));
19 void b43_sdio_free_irq(struct b43_wldev *dev);
28 int b43_sdio_request_irq(struct b43_wldev *dev, in b43_sdio_request_irq()
29 void (*handler)(struct b43_wldev *dev)) in b43_sdio_request_irq()
33 void b43_sdio_free_irq(struct b43_wldev *dev) in b43_sdio_free_irq()
Dleds.h5 struct b43_wldev;
63 void b43_leds_register(struct b43_wldev *dev);
65 void b43_leds_init(struct b43_wldev *dev);
66 void b43_leds_exit(struct b43_wldev *dev);
67 void b43_leds_stop(struct b43_wldev *dev);
77 static inline void b43_leds_register(struct b43_wldev *dev) in b43_leds_register()
83 static inline void b43_leds_init(struct b43_wldev *dev) in b43_leds_init()
86 static inline void b43_leds_exit(struct b43_wldev *dev) in b43_leds_exit()
89 static inline void b43_leds_stop(struct b43_wldev *dev) in b43_leds_stop()
Ddebugfs.h4 struct b43_wldev;
40 struct b43_wldev *dev;
76 bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature);
80 void b43_debugfs_add_device(struct b43_wldev *dev);
81 void b43_debugfs_remove_device(struct b43_wldev *dev);
82 void b43_debugfs_log_txstat(struct b43_wldev *dev,
87 static inline bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature) in b43_debug()
98 static inline void b43_debugfs_add_device(struct b43_wldev *dev) in b43_debugfs_add_device()
101 static inline void b43_debugfs_remove_device(struct b43_wldev *dev) in b43_debugfs_remove_device()
104 static inline void b43_debugfs_log_txstat(struct b43_wldev *dev, in b43_debugfs_log_txstat()
Dwa.c33 static void b43_wa_papd(struct b43_wldev *dev) in b43_wa_papd()
44 static void b43_wa_auxclipthr(struct b43_wldev *dev) in b43_wa_auxclipthr()
49 static void b43_wa_afcdac(struct b43_wldev *dev) in b43_wa_afcdac()
55 static void b43_wa_txdc_offset(struct b43_wldev *dev) in b43_wa_txdc_offset()
60 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains()
84 static void b43_wa_divider(struct b43_wldev *dev) in b43_wa_divider()
90 static void b43_wa_gt(struct b43_wldev *dev) /* Gain table. */ in b43_wa_gt()
119 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt()
134 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog()
152 static void b43_wa_dac(struct b43_wldev *dev) in b43_wa_dac()
[all …]
Dphy_common.c40 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate()
85 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free()
91 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init()
124 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit()
133 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl()
142 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock()
160 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock()
177 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock()
189 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock()
201 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended()
[all …]
Dlo.h8 struct b43_wldev;
76 void b43_lo_g_adjust(struct b43_wldev *dev);
78 void b43_lo_g_adjust_to(struct b43_wldev *dev,
81 void b43_gphy_dc_lt_init(struct b43_wldev *dev, bool update_all);
83 void b43_lo_g_maintanance_work(struct b43_wldev *dev);
84 void b43_lo_g_cleanup(struct b43_wldev *dev);
85 void b43_lo_g_init(struct b43_wldev *dev);
Dphy_a.c65 static s8 b43_aphy_estimate_power_out(struct b43_wldev *dev, s8 tssi)
82 static void b43_radio_set_tx_iq(struct b43_wldev *dev) in b43_radio_set_tx_iq()
100 static void aphy_channel_switch(struct b43_wldev *dev, unsigned int channel) in aphy_channel_switch()
143 static void b43_radio_init2060(struct b43_wldev *dev) in b43_radio_init2060()
181 static void b43_phy_rssiagc(struct b43_wldev *dev, u8 enable) in b43_phy_rssiagc()
212 static void b43_phy_ww(struct b43_wldev *dev) in b43_phy_ww()
261 static void hardware_pctl_init_aphy(struct b43_wldev *dev) in hardware_pctl_init_aphy()
266 void b43_phy_inita(struct b43_wldev *dev) in b43_phy_inita()
319 static int b43_aphy_init_tssi2dbm_table(struct b43_wldev *dev) in b43_aphy_init_tssi2dbm_table()
354 static int b43_aphy_op_allocate(struct b43_wldev *dev) in b43_aphy_op_allocate()
[all …]
Dphy_lcn.c59 static void b43_phy_switch_macfreq(struct b43_wldev *dev, u8 spurmode) in b43_phy_switch_macfreq()
95 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup()
142 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init()
198 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset()
214 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain()
220 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain()
231 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult()
237 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets()
257 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init()
292 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks()
[all …]
Dtables_phy_ht.h13 u32 b43_httab_read(struct b43_wldev *dev, u32 offset);
14 void b43_httab_read_bulk(struct b43_wldev *dev, u32 offset,
16 void b43_httab_write(struct b43_wldev *dev, u32 offset, u32 value);
17 void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...);
18 void b43_httab_write_bulk(struct b43_wldev *dev, u32 offset,
21 void b43_phy_ht_tables_init(struct b43_wldev *dev);
Dphy_ht.c37 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup()
88 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init()
160 static void b43_phy_ht_zero_extg(struct b43_wldev *dev) in b43_phy_ht_zero_extg()
175 static void b43_phy_ht_afe_unk1(struct b43_wldev *dev) in b43_phy_ht_afe_unk1()
196 static void b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) in b43_phy_ht_force_rf_sequence()
217 static void b43_phy_ht_read_clip_detection(struct b43_wldev *dev, u16 *clip_st) in b43_phy_ht_read_clip_detection()
224 static void b43_phy_ht_bphy_init(struct b43_wldev *dev) in b43_phy_ht_bphy_init()
246 static void b43_phy_ht_channel_setup(struct b43_wldev *dev, in b43_phy_ht_channel_setup()
290 static int b43_phy_ht_set_channel(struct b43_wldev *dev, in b43_phy_ht_set_channel()
324 static int b43_phy_ht_op_allocate(struct b43_wldev *dev) in b43_phy_ht_op_allocate()
[all …]
Dpio.h70 struct b43_wldev *dev;
99 struct b43_wldev *dev;
154 int b43_pio_init(struct b43_wldev *dev);
155 void b43_pio_free(struct b43_wldev *dev);
157 int b43_pio_tx(struct b43_wldev *dev, struct sk_buff *skb);
158 void b43_pio_handle_txstatus(struct b43_wldev *dev,
162 void b43_pio_tx_suspend(struct b43_wldev *dev);
163 void b43_pio_tx_resume(struct b43_wldev *dev);
Dtables_phy_lcn.h15 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset);
16 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset,
18 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value);
19 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset,
22 void b43_phy_lcn_tables_init(struct b43_wldev *dev);
Dtables_nphy.h15 struct b43_wldev;
61 struct b43_wldev *dev, bool ghz5, bool ext_lna);
170 u32 b43_ntab_read(struct b43_wldev *dev, u32 offset);
171 void b43_ntab_read_bulk(struct b43_wldev *dev, u32 offset,
173 void b43_ntab_write(struct b43_wldev *dev, u32 offset, u32 value);
174 void b43_ntab_write_bulk(struct b43_wldev *dev, u32 offset,
177 void b43_nphy_rev0_1_2_tables_init(struct b43_wldev *dev);
178 void b43_nphy_rev3plus_tables_init(struct b43_wldev *dev);
180 const u32 *b43_nphy_get_tx_gain_table(struct b43_wldev *dev);
Ddebugfs.c44 ssize_t (*read)(struct b43_wldev *dev, char *buf, size_t bufsize);
45 int (*write)(struct b43_wldev *dev, const char *buf, size_t count);
52 struct b43_dfs_file *fops_to_dfs_file(struct b43_wldev *dev, in fops_to_dfs_file()
79 static ssize_t shm16read__read_file(struct b43_wldev *dev, in shm16read__read_file()
98 static int shm16read__write_file(struct b43_wldev *dev, in shm16read__write_file()
122 static int shm16write__write_file(struct b43_wldev *dev, in shm16write__write_file()
155 static ssize_t shm32read__read_file(struct b43_wldev *dev, in shm32read__read_file()
174 static int shm32read__write_file(struct b43_wldev *dev, in shm32read__write_file()
198 static int shm32write__write_file(struct b43_wldev *dev, in shm32write__write_file()
234 static ssize_t mmio16read__read_file(struct b43_wldev *dev, in mmio16read__read_file()
[all …]
Dmain.c322 static void b43_wireless_core_exit(struct b43_wldev *dev);
323 static int b43_wireless_core_init(struct b43_wldev *dev);
324 static struct b43_wldev * b43_wireless_core_stop(struct b43_wldev *dev);
325 static int b43_wireless_core_start(struct b43_wldev *dev);
424 static void b43_ram_write(struct b43_wldev *dev, u16 offset, u32 val) in b43_ram_write()
439 static inline void b43_shm_control_word(struct b43_wldev *dev, in b43_shm_control_word()
451 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read32()
474 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read16()
495 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value) in b43_shm_write32()
515 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value) in b43_shm_write16()
[all …]
Ddma.h262 struct b43_wldev *dev;
287 int b43_dma_init(struct b43_wldev *dev);
288 void b43_dma_free(struct b43_wldev *dev);
290 void b43_dma_tx_suspend(struct b43_wldev *dev);
291 void b43_dma_tx_resume(struct b43_wldev *dev);
293 int b43_dma_tx(struct b43_wldev *dev,
295 void b43_dma_handle_txstatus(struct b43_wldev *dev,
302 void b43_dma_direct_fifo_rx(struct b43_wldev *dev,
Dxmit.h187 size_t b43_txhdr_size(struct b43_wldev *dev) in b43_txhdr_size()
201 int b43_generate_txhdr(struct b43_wldev *dev,
352 void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr);
354 void b43_handle_txstatus(struct b43_wldev *dev,
356 bool b43_fill_txstatus_report(struct b43_wldev *dev,
360 void b43_tx_suspend(struct b43_wldev *dev);
361 void b43_tx_resume(struct b43_wldev *dev);
367 static inline int b43_new_kidx_api(struct b43_wldev *dev) in b43_new_kidx_api()
372 static inline u8 b43_kidx_to_fw(struct b43_wldev *dev, u8 raw_kidx) in b43_kidx_to_fw()
385 static inline u8 b43_kidx_to_raw(struct b43_wldev *dev, u8 firmware_kidx) in b43_kidx_to_raw()
Db43.h721 struct b43_wldev *dev;
795 struct b43_wldev { struct
868 struct b43_wldev *current_dev; argument
956 static inline struct b43_wldev *dev_to_b43_wldev(struct device *dev) in dev_to_b43_wldev()
977 static inline int b43_bus_may_powerdown(struct b43_wldev *wldev) in b43_bus_may_powerdown()
981 static inline int b43_bus_powerup(struct b43_wldev *wldev, bool dynamic_pctl) in b43_bus_powerup()
985 static inline int b43_device_is_enabled(struct b43_wldev *wldev) in b43_device_is_enabled()
989 static inline void b43_device_enable(struct b43_wldev *wldev, in b43_device_enable()
994 static inline void b43_device_disable(struct b43_wldev *wldev, in b43_device_disable()
1000 static inline u16 b43_read16(struct b43_wldev *dev, u16 offset) in b43_read16()
[all …]
Dtables_phy_lcn.c470 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset) in b43_lcntab_read()
500 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_read_bulk()
538 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lcntab_write()
568 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_write_bulk()
616 static void b43_phy_lcn_upload_static_tables(struct b43_wldev *dev) in b43_phy_lcn_upload_static_tables()
634 void b43_phy_lcn_load_tx_gain_tab(struct b43_wldev *dev, in b43_phy_lcn_load_tx_gain_tab()
661 static void b43_phy_lcn_load_rfpower(struct b43_wldev *dev) in b43_phy_lcn_load_rfpower()
678 static void b43_phy_lcn_rewrite_rfpower_table(struct b43_wldev *dev) in b43_phy_lcn_rewrite_rfpower_table()
689 static void b43_phy_lcn_clean_papd_comp_table(struct b43_wldev *dev) in b43_phy_lcn_clean_papd_comp_table()
698 void b43_phy_lcn_tables_init(struct b43_wldev *dev) in b43_phy_lcn_tables_init()
Dsysfs.h4 struct b43_wldev;
6 int b43_sysfs_register(struct b43_wldev *dev);
7 void b43_sysfs_unregister(struct b43_wldev *dev);
Dleds.c34 static void b43_led_turn_on(struct b43_wldev *dev, u8 led_index, in b43_led_turn_on()
47 static void b43_led_turn_off(struct b43_wldev *dev, u8 led_index, in b43_led_turn_off()
60 static void b43_led_update(struct b43_wldev *dev, in b43_led_update()
92 struct b43_wldev *dev; in b43_leds_work()
121 static int b43_register_led(struct b43_wldev *dev, struct b43_led *led, in b43_register_led()
159 static void b43_map_led(struct b43_wldev *dev, in b43_map_led()
213 static void b43_led_get_sprominfo(struct b43_wldev *dev, in b43_led_get_sprominfo()
258 void b43_leds_init(struct b43_wldev *dev) in b43_leds_init()
318 void b43_leds_exit(struct b43_wldev *dev) in b43_leds_exit()
328 void b43_leds_stop(struct b43_wldev *dev) in b43_leds_stop()
[all …]
Dphy_lp.c47 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan()
54 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate()
66 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs()
77 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free()
86 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom()
175 static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq) in lpphy_adjust_gain_table()
200 static void lpphy_table_init(struct b43_wldev *dev) in lpphy_table_init()
215 static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) in lpphy_baseband_rev0_1_init()
364 static void lpphy_save_dig_flt_state(struct b43_wldev *dev) in lpphy_save_dig_flt_state()
393 static void lpphy_restore_dig_flt_state(struct b43_wldev *dev) in lpphy_restore_dig_flt_state()
[all …]

12