Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/net/wireless/broadcom/b43/
Dphy_common.h8 struct b43_wldev;
153 int (*allocate)(struct b43_wldev *dev);
154 void (*free)(struct b43_wldev *dev);
155 void (*prepare_structs)(struct b43_wldev *dev);
156 int (*prepare_hardware)(struct b43_wldev *dev);
157 int (*init)(struct b43_wldev *dev);
158 void (*exit)(struct b43_wldev *dev);
161 u16 (*phy_read)(struct b43_wldev *dev, u16 reg);
162 void (*phy_write)(struct b43_wldev *dev, u16 reg, u16 value);
163 void (*phy_maskset)(struct b43_wldev *dev, u16 reg, u16 mask, u16 set);
[all …]
Dmain.h60 u8 b43_ieee80211_antenna_sanitize(struct b43_wldev *dev,
63 void b43_tsf_read(struct b43_wldev *dev, u64 * tsf);
64 void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
66 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset);
67 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset);
68 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value);
69 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value);
71 u64 b43_hf_read(struct b43_wldev *dev);
72 void b43_hf_write(struct b43_wldev *dev, u64 value);
74 void b43_dummy_transmission(struct b43_wldev *dev, bool ofdm, bool pa_on);
[all …]
Dtables_lpphy.h18 u32 b43_lptab_read(struct b43_wldev *dev, u32 offset);
19 void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value);
24 void b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset,
26 void b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset,
29 void b2062_upload_init_table(struct b43_wldev *dev);
30 void b2063_upload_init_table(struct b43_wldev *dev);
36 void lpphy_write_gain_table(struct b43_wldev *dev, int offset,
38 void lpphy_write_gain_table_bulk(struct b43_wldev *dev, int offset, int count,
41 void lpphy_rev0_1_table_init(struct b43_wldev *dev);
42 void lpphy_rev2plus_table_init(struct b43_wldev *dev);
[all …]
Dsdio.h7 struct b43_wldev;
15 void (*irq_handler)(struct b43_wldev *dev);
18 int b43_sdio_request_irq(struct b43_wldev *dev,
19 void (*handler)(struct b43_wldev *dev));
20 void b43_sdio_free_irq(struct b43_wldev *dev);
29 static inline int b43_sdio_request_irq(struct b43_wldev *dev, in b43_sdio_request_irq()
30 void (*handler)(struct b43_wldev *dev)) in b43_sdio_request_irq()
34 static inline void b43_sdio_free_irq(struct b43_wldev *dev) in b43_sdio_free_irq()
Ddebugfs.h5 struct b43_wldev;
40 struct b43_wldev *dev;
74 bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature);
78 void b43_debugfs_add_device(struct b43_wldev *dev);
79 void b43_debugfs_remove_device(struct b43_wldev *dev);
80 void b43_debugfs_log_txstat(struct b43_wldev *dev,
85 static inline bool b43_debug(struct b43_wldev *dev, enum b43_dyndbg feature) in b43_debug()
96 static inline void b43_debugfs_add_device(struct b43_wldev *dev) in b43_debugfs_add_device()
99 static inline void b43_debugfs_remove_device(struct b43_wldev *dev) in b43_debugfs_remove_device()
102 static inline void b43_debugfs_log_txstat(struct b43_wldev *dev, in b43_debugfs_log_txstat()
Dleds.h6 struct b43_wldev;
64 void b43_leds_register(struct b43_wldev *dev);
66 void b43_leds_init(struct b43_wldev *dev);
67 void b43_leds_exit(struct b43_wldev *dev);
68 void b43_leds_stop(struct b43_wldev *dev);
78 static inline void b43_leds_register(struct b43_wldev *dev) in b43_leds_register()
84 static inline void b43_leds_init(struct b43_wldev *dev) in b43_leds_init()
87 static inline void b43_leds_exit(struct b43_wldev *dev) in b43_leds_exit()
90 static inline void b43_leds_stop(struct b43_wldev *dev) in b43_leds_stop()
Dphy_common.c28 int b43_phy_allocate(struct b43_wldev *dev) in b43_phy_allocate()
77 void b43_phy_free(struct b43_wldev *dev) in b43_phy_free()
83 int b43_phy_init(struct b43_wldev *dev) in b43_phy_init()
125 void b43_phy_exit(struct b43_wldev *dev) in b43_phy_exit()
135 bool b43_has_hardware_pctl(struct b43_wldev *dev) in b43_has_hardware_pctl()
144 void b43_radio_lock(struct b43_wldev *dev) in b43_radio_lock()
162 void b43_radio_unlock(struct b43_wldev *dev) in b43_radio_unlock()
179 void b43_phy_lock(struct b43_wldev *dev) in b43_phy_lock()
191 void b43_phy_unlock(struct b43_wldev *dev) in b43_phy_unlock()
203 static inline void assert_mac_suspended(struct b43_wldev *dev) in assert_mac_suspended()
[all …]
Dwa.c20 void b43_wa_initgains(struct b43_wldev *dev) in b43_wa_initgains()
44 static void b43_wa_rssi_lt(struct b43_wldev *dev) /* RSSI lookup table */ in b43_wa_rssi_lt()
59 static void b43_wa_analog(struct b43_wldev *dev) in b43_wa_analog()
73 static void b43_wa_fft(struct b43_wldev *dev) /* Fine frequency table */ in b43_wa_fft()
82 static void b43_wa_nft(struct b43_wldev *dev) /* Noise figure table */ in b43_wa_nft()
97 static void b43_wa_rt(struct b43_wldev *dev) /* Rotor table */ in b43_wa_rt()
105 static void b43_write_nst(struct b43_wldev *dev, const u16 *nst) in b43_write_nst()
113 static void b43_wa_nst(struct b43_wldev *dev) /* Noise scale table */ in b43_wa_nst()
127 static void b43_wa_art(struct b43_wldev *dev) /* ADV retard table */ in b43_wa_art()
136 static void b43_wa_msst(struct b43_wldev *dev) /* Min sigma square table */ in b43_wa_msst()
[all …]
Dphy_lcn.c62 static void b43_radio_2064_channel_setup(struct b43_wldev *dev) in b43_radio_2064_channel_setup()
109 static void b43_radio_2064_init(struct b43_wldev *dev) in b43_radio_2064_init()
165 static void b43_phy_lcn_afe_set_unset(struct b43_wldev *dev) in b43_phy_lcn_afe_set_unset()
181 static u16 b43_phy_lcn_get_pa_gain(struct b43_wldev *dev) in b43_phy_lcn_get_pa_gain()
187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain()
198 static void b43_phy_lcn_set_bbmult(struct b43_wldev *dev, u8 m0) in b43_phy_lcn_set_bbmult()
204 static void b43_phy_lcn_clear_tx_power_offsets(struct b43_wldev *dev) in b43_phy_lcn_clear_tx_power_offsets()
224 static void b43_phy_lcn_rev0_baseband_init(struct b43_wldev *dev) in b43_phy_lcn_rev0_baseband_init()
259 static void b43_phy_lcn_bu_tweaks(struct b43_wldev *dev) in b43_phy_lcn_bu_tweaks()
310 static void b43_phy_lcn_sense_setup(struct b43_wldev *dev, in b43_phy_lcn_sense_setup()
[all …]
Dlo.h9 struct b43_wldev;
77 void b43_lo_g_adjust(struct b43_wldev *dev);
79 void b43_lo_g_adjust_to(struct b43_wldev *dev,
82 void b43_gphy_dc_lt_init(struct b43_wldev *dev, bool update_all);
84 void b43_lo_g_maintenance_work(struct b43_wldev *dev);
85 void b43_lo_g_cleanup(struct b43_wldev *dev);
86 void b43_lo_g_init(struct b43_wldev *dev);
Dphy_ac.c16 static int b43_phy_ac_op_allocate(struct b43_wldev *dev) in b43_phy_ac_op_allocate()
28 static void b43_phy_ac_op_free(struct b43_wldev *dev) in b43_phy_ac_op_free()
37 static void b43_phy_ac_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, in b43_phy_ac_op_maskset()
45 static u16 b43_phy_ac_op_radio_read(struct b43_wldev *dev, u16 reg) in b43_phy_ac_op_radio_read()
51 static void b43_phy_ac_op_radio_write(struct b43_wldev *dev, u16 reg, in b43_phy_ac_op_radio_write()
58 static unsigned int b43_phy_ac_op_get_default_chan(struct b43_wldev *dev) in b43_phy_ac_op_get_default_chan()
66 b43_phy_ac_op_recalc_txpower(struct b43_wldev *dev, bool ignore_tssi) in b43_phy_ac_op_recalc_txpower()
71 static void b43_phy_ac_op_adjust_txpower(struct b43_wldev *dev) in b43_phy_ac_op_adjust_txpower()
Dppr.h33 struct b43_wldev;
36 void b43_ppr_clear(struct b43_wldev *dev, struct b43_ppr *ppr);
38 void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff);
39 void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max);
40 void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min);
41 u8 b43_ppr_get_max(struct b43_wldev *dev, struct b43_ppr *ppr);
43 bool b43_ppr_load_max_from_sprom(struct b43_wldev *dev, struct b43_ppr *ppr,
Dtables_phy_ht.h14 u32 b43_httab_read(struct b43_wldev *dev, u32 offset);
15 void b43_httab_read_bulk(struct b43_wldev *dev, u32 offset,
17 void b43_httab_write(struct b43_wldev *dev, u32 offset, u32 value);
18 void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...);
19 void b43_httab_write_bulk(struct b43_wldev *dev, u32 offset,
22 void b43_phy_ht_tables_init(struct b43_wldev *dev);
Dphy_ht.c35 static void b43_radio_2059_channel_setup(struct b43_wldev *dev, in b43_radio_2059_channel_setup()
80 static void b43_radio_2059_rcal(struct b43_wldev *dev) in b43_radio_2059_rcal()
107 static void b43_radio_2057_rccal(struct b43_wldev *dev) in b43_radio_2057_rccal()
134 static void b43_radio_2059_init_pre(struct b43_wldev *dev) in b43_radio_2059_init_pre()
142 static void b43_radio_2059_init(struct b43_wldev *dev) in b43_radio_2059_init()
175 static void b43_phy_ht_force_rf_sequence(struct b43_wldev *dev, u16 rf_seq) in b43_phy_ht_force_rf_sequence()
196 static void b43_phy_ht_pa_override(struct b43_wldev *dev, bool enable) in b43_phy_ht_pa_override()
220 static u16 b43_phy_ht_classifier(struct b43_wldev *dev, u16 mask, u16 val) in b43_phy_ht_classifier()
236 static void b43_phy_ht_reset_cca(struct b43_wldev *dev) in b43_phy_ht_reset_cca()
250 static void b43_phy_ht_zero_extg(struct b43_wldev *dev) in b43_phy_ht_zero_extg()
[all …]
Dpio.h71 struct b43_wldev *dev;
100 struct b43_wldev *dev;
155 int b43_pio_init(struct b43_wldev *dev);
156 void b43_pio_free(struct b43_wldev *dev);
158 int b43_pio_tx(struct b43_wldev *dev, struct sk_buff *skb);
159 void b43_pio_handle_txstatus(struct b43_wldev *dev,
163 void b43_pio_tx_suspend(struct b43_wldev *dev);
164 void b43_pio_tx_resume(struct b43_wldev *dev);
Dtables_nphy.h16 struct b43_wldev;
70 struct b43_wldev *dev, bool ghz5, bool ext_lna);
184 u32 b43_ntab_read(struct b43_wldev *dev, u32 offset);
185 void b43_ntab_read_bulk(struct b43_wldev *dev, u32 offset,
187 void b43_ntab_write(struct b43_wldev *dev, u32 offset, u32 value);
188 void b43_ntab_write_bulk(struct b43_wldev *dev, u32 offset,
191 void b43_nphy_tables_init(struct b43_wldev *dev);
193 const u32 *b43_nphy_get_tx_gain_table(struct b43_wldev *dev);
195 const s16 *b43_ntab_get_rf_pwr_offset_table(struct b43_wldev *dev);
221 struct b43_wldev *dev, u16 field, u8 override);
Ddebugfs.c31 ssize_t (*read)(struct b43_wldev *dev, char *buf, size_t bufsize);
32 int (*write)(struct b43_wldev *dev, const char *buf, size_t count);
39 struct b43_dfs_file *fops_to_dfs_file(struct b43_wldev *dev, in fops_to_dfs_file()
66 static ssize_t shm16read__read_file(struct b43_wldev *dev, in shm16read__read_file()
85 static int shm16read__write_file(struct b43_wldev *dev, in shm16read__write_file()
109 static int shm16write__write_file(struct b43_wldev *dev, in shm16write__write_file()
142 static ssize_t shm32read__read_file(struct b43_wldev *dev, in shm32read__read_file()
161 static int shm32read__write_file(struct b43_wldev *dev, in shm32read__write_file()
185 static int shm32write__write_file(struct b43_wldev *dev, in shm32write__write_file()
221 static ssize_t mmio16read__read_file(struct b43_wldev *dev, in mmio16read__read_file()
[all …]
Dtables_phy_lcn.h16 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset);
17 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset,
19 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value);
20 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset,
23 void b43_phy_lcn_tables_init(struct b43_wldev *dev);
Db43.h746 struct b43_wldev *dev;
827 struct b43_wldev { struct
900 struct b43_wldev *current_dev; argument
982 static inline struct b43_wldev *dev_to_b43_wldev(struct device *dev) in dev_to_b43_wldev()
1003 static inline int b43_bus_may_powerdown(struct b43_wldev *wldev) in b43_bus_may_powerdown()
1007 static inline int b43_bus_powerup(struct b43_wldev *wldev, bool dynamic_pctl) in b43_bus_powerup()
1011 static inline int b43_device_is_enabled(struct b43_wldev *wldev) in b43_device_is_enabled()
1015 static inline void b43_device_enable(struct b43_wldev *wldev, in b43_device_enable()
1020 static inline void b43_device_disable(struct b43_wldev *wldev, in b43_device_disable()
1026 static inline u16 b43_read16(struct b43_wldev *dev, u16 offset) in b43_read16()
[all …]
Dmain.c362 static void b43_wireless_core_exit(struct b43_wldev *dev);
363 static int b43_wireless_core_init(struct b43_wldev *dev);
364 static struct b43_wldev * b43_wireless_core_stop(struct b43_wldev *dev);
365 static int b43_wireless_core_start(struct b43_wldev *dev);
464 static void b43_ram_write(struct b43_wldev *dev, u16 offset, u32 val) in b43_ram_write()
478 static inline void b43_shm_control_word(struct b43_wldev *dev, in b43_shm_control_word()
490 u32 b43_shm_read32(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read32()
513 u16 b43_shm_read16(struct b43_wldev *dev, u16 routing, u16 offset) in b43_shm_read16()
534 void b43_shm_write32(struct b43_wldev *dev, u16 routing, u16 offset, u32 value) in b43_shm_write32()
554 void b43_shm_write16(struct b43_wldev *dev, u16 routing, u16 offset, u16 value) in b43_shm_write16()
[all …]
Dxmit.h192 size_t b43_txhdr_size(struct b43_wldev *dev) in b43_txhdr_size()
206 int b43_generate_txhdr(struct b43_wldev *dev,
357 void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr);
359 void b43_handle_txstatus(struct b43_wldev *dev,
361 bool b43_fill_txstatus_report(struct b43_wldev *dev,
365 void b43_tx_suspend(struct b43_wldev *dev);
366 void b43_tx_resume(struct b43_wldev *dev);
372 static inline int b43_new_kidx_api(struct b43_wldev *dev) in b43_new_kidx_api()
377 static inline u8 b43_kidx_to_fw(struct b43_wldev *dev, u8 raw_kidx) in b43_kidx_to_fw()
390 static inline u8 b43_kidx_to_raw(struct b43_wldev *dev, u8 firmware_kidx) in b43_kidx_to_raw()
Ddma.h263 struct b43_wldev *dev;
288 int b43_dma_init(struct b43_wldev *dev);
289 void b43_dma_free(struct b43_wldev *dev);
291 void b43_dma_tx_suspend(struct b43_wldev *dev);
292 void b43_dma_tx_resume(struct b43_wldev *dev);
294 int b43_dma_tx(struct b43_wldev *dev,
296 void b43_dma_handle_txstatus(struct b43_wldev *dev,
303 void b43_dma_direct_fifo_rx(struct b43_wldev *dev,
Dtables_phy_lcn.c457 u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset) in b43_lcntab_read()
487 void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_read_bulk()
525 void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_lcntab_write()
555 void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_lcntab_write_bulk()
603 static void b43_phy_lcn_upload_static_tables(struct b43_wldev *dev) in b43_phy_lcn_upload_static_tables()
621 static void b43_phy_lcn_load_tx_gain_tab(struct b43_wldev *dev, in b43_phy_lcn_load_tx_gain_tab()
648 static void b43_phy_lcn_load_rfpower(struct b43_wldev *dev) in b43_phy_lcn_load_rfpower()
665 static void b43_phy_lcn_rewrite_rfpower_table(struct b43_wldev *dev) in b43_phy_lcn_rewrite_rfpower_table()
676 static void b43_phy_lcn_clean_papd_comp_table(struct b43_wldev *dev) in b43_phy_lcn_clean_papd_comp_table()
685 void b43_phy_lcn_tables_init(struct b43_wldev *dev) in b43_phy_lcn_tables_init()
Dphy_lp.c35 static unsigned int b43_lpphy_op_get_default_chan(struct b43_wldev *dev) in b43_lpphy_op_get_default_chan()
42 static int b43_lpphy_op_allocate(struct b43_wldev *dev) in b43_lpphy_op_allocate()
54 static void b43_lpphy_op_prepare_structs(struct b43_wldev *dev) in b43_lpphy_op_prepare_structs()
65 static void b43_lpphy_op_free(struct b43_wldev *dev) in b43_lpphy_op_free()
74 static void lpphy_read_band_sprom(struct b43_wldev *dev) in lpphy_read_band_sprom()
157 static void lpphy_adjust_gain_table(struct b43_wldev *dev, u32 freq) in lpphy_adjust_gain_table()
182 static void lpphy_table_init(struct b43_wldev *dev) in lpphy_table_init()
197 static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) in lpphy_baseband_rev0_1_init()
346 static void lpphy_save_dig_flt_state(struct b43_wldev *dev) in lpphy_save_dig_flt_state()
375 static void lpphy_restore_dig_flt_state(struct b43_wldev *dev) in lpphy_restore_dig_flt_state()
[all …]
Dleds.c21 static void b43_led_turn_on(struct b43_wldev *dev, u8 led_index, in b43_led_turn_on()
34 static void b43_led_turn_off(struct b43_wldev *dev, u8 led_index, in b43_led_turn_off()
47 static void b43_led_update(struct b43_wldev *dev, in b43_led_update()
79 struct b43_wldev *dev; in b43_leds_work()
108 static int b43_register_led(struct b43_wldev *dev, struct b43_led *led, in b43_register_led()
146 static void b43_map_led(struct b43_wldev *dev, in b43_map_led()
200 static void b43_led_get_sprominfo(struct b43_wldev *dev, in b43_led_get_sprominfo()
249 void b43_leds_init(struct b43_wldev *dev) in b43_leds_init()
309 void b43_leds_exit(struct b43_wldev *dev) in b43_leds_exit()
319 void b43_leds_stop(struct b43_wldev *dev) in b43_leds_stop()
[all …]

123