/linux-5.19.10/drivers/net/wireless/ath/carl9170/ |
D | carl9170.h | 198 struct ar9170; 201 struct ar9170 *ar; 236 struct ar9170 { struct 497 struct ar9170 *ar; 501 #define CHK_DEV_STATE(a, s) (((struct ar9170 *)a)->state >= (s)) 506 static inline void __carl9170_set_state(struct ar9170 *ar, in __carl9170_set_state() 512 static inline void carl9170_set_state(struct ar9170 *ar, in carl9170_set_state() 522 static inline void carl9170_set_state_when(struct ar9170 *ar, in carl9170_set_state_when() 535 int carl9170_register(struct ar9170 *ar); 536 void carl9170_unregister(struct ar9170 *ar); [all …]
|
D | cmd.h | 45 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val); 46 int carl9170_read_reg(struct ar9170 *ar, const u32 reg, u32 *val); 47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, 49 int carl9170_echo_test(struct ar9170 *ar, u32 v); 50 int carl9170_reboot(struct ar9170 *ar); 51 int carl9170_mac_reset(struct ar9170 *ar); 52 int carl9170_powersave(struct ar9170 *ar, const bool power_on); 53 int carl9170_collect_tally(struct ar9170 *ar); 54 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, 57 static inline int carl9170_flush_cab(struct ar9170 *ar, in carl9170_flush_cab() [all …]
|
D | usb.c | 133 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() 169 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() 212 static int carl9170_usb_submit_cmd_urb(struct ar9170 *ar) in carl9170_usb_submit_cmd_urb() 241 struct ar9170 *ar = urb->context; in carl9170_usb_cmd_complete() 279 struct ar9170 *ar = urb->context; in carl9170_usb_rx_irq_complete() 316 static int carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) in carl9170_usb_submit_rx_urb() 342 static void carl9170_usb_rx_work(struct ar9170 *ar) in carl9170_usb_rx_work() 367 void carl9170_usb_handle_tx_err(struct ar9170 *ar) in carl9170_usb_handle_tx_err() 382 struct ar9170 *ar = from_tasklet(ar, t, usb_tasklet); in carl9170_usb_tasklet() 400 struct ar9170 *ar = (struct ar9170 *)urb->context; in carl9170_usb_rx_complete() [all …]
|
D | cmd.c | 43 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) in carl9170_write_reg() 62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, in carl9170_read_mreg() 94 int carl9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val) in carl9170_read_reg() 99 int carl9170_echo_test(struct ar9170 *ar, const u32 v) in carl9170_echo_test() 118 struct carl9170_cmd *carl9170_cmd_buf(struct ar9170 *ar, in carl9170_cmd_buf() 132 int carl9170_reboot(struct ar9170 *ar) in carl9170_reboot() 145 int carl9170_mac_reset(struct ar9170 *ar) in carl9170_mac_reset() 151 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, in carl9170_bcn_ctrl() 169 int carl9170_collect_tally(struct ar9170 *ar) in carl9170_collect_tally() 202 int carl9170_powersave(struct ar9170 *ar, const bool ps) in carl9170_powersave()
|
D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) in carl9170_set_dyn_sifs_ack() 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) in carl9170_set_rts_cts_rate() 84 int carl9170_set_slot_time(struct ar9170 *ar) in carl9170_set_slot_time() 106 int carl9170_set_mac_rates(struct ar9170 *ar) in carl9170_set_mac_rates() 136 int carl9170_set_qos(struct ar9170 *ar) in carl9170_set_qos() 171 int carl9170_init_mac(struct ar9170 *ar) in carl9170_init_mac() 257 static int carl9170_set_mac_reg(struct ar9170 *ar, in carl9170_set_mac_reg() 275 int carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, in carl9170_mod_virtual_mac() 285 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) in carl9170_update_multicast() 301 int carl9170_set_operating_mode(struct ar9170 *ar) in carl9170_set_operating_mode() [all …]
|
D | led.c | 43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) in carl9170_led_set_state() 48 int carl9170_led_init(struct ar9170 *ar) in carl9170_led_init() 68 struct ar9170 *ar = container_of(work, struct ar9170, led_work.work); in carl9170_led_update() 110 struct ar9170 *ar = arl->ar; in carl9170_led_set_brightness() 124 static int carl9170_led_register_led(struct ar9170 *ar, int i, char *name, in carl9170_led_register_led() 150 void carl9170_led_unregister(struct ar9170 *ar) in carl9170_led_unregister() 164 int carl9170_led_register(struct ar9170 *ar) in carl9170_led_register()
|
D | tx.c | 48 static inline unsigned int __carl9170_get_queue(struct ar9170 *ar, in __carl9170_get_queue() 64 static inline unsigned int carl9170_get_queue(struct ar9170 *ar, in carl9170_get_queue() 70 static bool is_mem_full(struct ar9170 *ar) in is_mem_full() 76 static void carl9170_tx_accounting(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting() 107 static struct ieee80211_sta *__carl9170_get_tx_sta(struct ar9170 *ar, in __carl9170_get_tx_sta() 138 static void carl9170_tx_ps_unblock(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_ps_unblock() 156 static void carl9170_tx_accounting_free(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting_free() 190 static int carl9170_alloc_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_alloc_dev_space() 226 static void carl9170_release_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_release_dev_space() 264 struct ar9170 *ar; in carl9170_tx_release() [all …]
|
D | debug.c | 54 char *(*read)(struct ar9170 *ar, char *buf, size_t bufsize, 56 ssize_t (*write)(struct ar9170 *aru, const char *buf, size_t size); 66 struct ar9170 *ar; in carl9170_debugfs_read() 117 struct ar9170 *ar; in carl9170_debugfs_write() 207 static char *carl9170_debugfs_ ##name ## _read(struct ar9170 *ar, \ 216 static char *carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_mem_usage_read() 239 static char *carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_qos_stat_read() 283 static void carl9170_debugfs_format_frame(struct ar9170 *ar, in carl9170_debugfs_format_frame() 300 static char *carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_ampdu_state_read() 356 static void carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, in carl9170_debugfs_queue_dump() [all …]
|
D | main.c | 184 static void carl9170_ampdu_gc(struct ar9170 *ar) in carl9170_ampdu_gc() 219 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) in carl9170_flush() 249 static void carl9170_flush_ba(struct ar9170 *ar) in carl9170_flush_ba() 276 static void carl9170_zap_queues(struct ar9170 *ar) in carl9170_zap_queues() 338 struct ar9170 *ar = hw->priv; in carl9170_op_start() 430 static void carl9170_cancel_worker(struct ar9170 *ar) in carl9170_cancel_worker() 444 struct ar9170 *ar = hw->priv; in carl9170_op_stop() 469 struct ar9170 *ar = container_of(work, struct ar9170, in carl9170_restart_work() 506 void carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) in carl9170_restart() 545 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); in carl9170_ping_work() [all …]
|
D | rx.c | 49 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) in carl9170_dbg_message() 76 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) in carl9170_handle_ps() 96 static int carl9170_check_sequence(struct ar9170 *ar, unsigned int seq) in carl9170_check_sequence() 129 static void carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) in carl9170_cmd_callback() 161 void carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) in carl9170_handle_command_response() 289 static int carl9170_rx_mac_status(struct ar9170 *ar, in carl9170_rx_mac_status() 442 static void carl9170_rx_phy_status(struct ar9170 *ar, in carl9170_rx_phy_status() 518 static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ps_beacon() 573 static void carl9170_ba_check(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ba_check() 620 static bool carl9170_ampdu_check(struct ar9170 *ar, u8 *buf, u8 ms, in carl9170_ampdu_check() [all …]
|
D | fw.c | 20 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], in carl9170_fw_find_desc() 39 static int carl9170_fw_verify_descs(struct ar9170 *ar, in carl9170_fw_verify_descs() 82 static void carl9170_fw_info(struct ar9170 *ar) in carl9170_fw_info() 131 static int carl9170_fw_checksum(struct ar9170 *ar, const __u8 *data, in carl9170_fw_checksum() 188 static int carl9170_fw_tx_sequence(struct ar9170 *ar) in carl9170_fw_tx_sequence() 205 static void carl9170_fw_set_if_combinations(struct ar9170 *ar, in carl9170_fw_set_if_combinations() 223 static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) in carl9170_fw() 365 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) in carl9170_find_fw_desc() 394 int carl9170_parse_firmware(struct ar9170 *ar) in carl9170_parse_firmware()
|
D | debug.h | 130 struct ar9170; 132 void carl9170_debugfs_register(struct ar9170 *ar); 133 void carl9170_debugfs_unregister(struct ar9170 *ar);
|
D | phy.c | 44 static int carl9170_init_power_cal(struct ar9170 *ar) in carl9170_init_power_cal() 432 static int carl9170_init_phy_from_eeprom(struct ar9170 *ar, in carl9170_init_phy_from_eeprom() 543 static int carl9170_init_phy(struct ar9170 *ar, enum nl80211_band band) in carl9170_init_phy() 672 static int carl9170_init_rf_banks_0_7(struct ar9170 *ar, bool band5ghz) in carl9170_init_rf_banks_0_7() 966 static int carl9170_init_rf_bank4_pwr(struct ar9170 *ar, bool band5ghz, in carl9170_init_rf_bank4_pwr() 1117 static int carl9170_set_freq_cal_data(struct ar9170 *ar, in carl9170_set_freq_cal_data() 1217 static u8 carl9170_get_max_edge_power(struct ar9170 *ar, in carl9170_get_max_edge_power() 1259 static u8 carl9170_get_heavy_clip(struct ar9170 *ar, u32 freq, in carl9170_get_heavy_clip() 1291 static void carl9170_calc_ctl(struct ar9170 *ar, u32 freq, enum carl9170_bw bw) in carl9170_calc_ctl() 1428 static void carl9170_set_power_cal(struct ar9170 *ar, u32 freq, in carl9170_set_power_cal() [all …]
|