| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | usb.c | 133 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() argument 138 if (atomic_inc_return(&ar->tx_anch_urbs) > AR9170_NUM_TX_URBS) in carl9170_usb_submit_data_urb() 141 urb = usb_get_from_anchor(&ar->tx_wait); in carl9170_usb_submit_data_urb() 145 usb_anchor_urb(urb, &ar->tx_anch); in carl9170_usb_submit_data_urb() 150 dev_err(&ar->udev->dev, "tx submit failed (%d)\n", in carl9170_usb_submit_data_urb() 155 usb_anchor_urb(urb, &ar->tx_err); in carl9170_usb_submit_data_urb() 164 atomic_dec(&ar->tx_anch_urbs); 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() local 171 if (WARN_ON_ONCE(!ar)) { in carl9170_usb_tx_data_complete() 176 atomic_dec(&ar->tx_anch_urbs); in carl9170_usb_tx_data_complete() [all …]
|
| H A D | main.c | 184 static void carl9170_ampdu_gc(struct ar9170 *ar) in carl9170_ampdu_gc() argument 190 list_for_each_entry_rcu(tid_info, &ar->tx_ampdu_list, list) { in carl9170_ampdu_gc() 191 spin_lock_bh(&ar->tx_ampdu_list_lock); in carl9170_ampdu_gc() 195 ar->tx_ampdu_list_len--; in carl9170_ampdu_gc() 198 spin_unlock_bh(&ar->tx_ampdu_list_lock); in carl9170_ampdu_gc() 201 rcu_assign_pointer(ar->tx_ampdu_iter, tid_info); in carl9170_ampdu_gc() 212 carl9170_tx_status(ar, skb, false); in carl9170_ampdu_gc() 219 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) in carl9170_flush() argument 229 for (i = 0; i < ar->hw->queues; i++) { in carl9170_flush() 232 while ((skb = skb_dequeue(&ar->tx_pending[i]))) { in carl9170_flush() [all …]
|
| H A D | led.c | 43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) in carl9170_led_set_state() argument 45 return carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_DATA, led_state); in carl9170_led_set_state() 48 int carl9170_led_init(struct ar9170 *ar) in carl9170_led_init() argument 54 err = carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_TYPE, 3); in carl9170_led_init() 59 err = carl9170_led_set_state(ar, 0); in carl9170_led_init() 68 struct ar9170 *ar = container_of(work, struct ar9170, led_work.work); in carl9170_led_update() local 73 if (!IS_ACCEPTING_CMD(ar)) in carl9170_led_update() 76 mutex_lock(&ar->mutex); in carl9170_led_update() 78 if (ar->leds[i].registered) { in carl9170_led_update() 79 if (ar->leds[i].last_state || in carl9170_led_update() [all …]
|
| H A D | fw.c | 20 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], in carl9170_fw_find_desc() argument 25 carl9170fw_for_each_hdr(iter, ar->fw.desc) { in carl9170_fw_find_desc() 39 static int carl9170_fw_verify_descs(struct ar9170 *ar, in carl9170_fw_verify_descs() argument 82 static void carl9170_fw_info(struct ar9170 *ar) in carl9170_fw_info() argument 88 dev_info(&ar->udev->dev, "driver API: %s 2%03d-%02d-%02d [%d-%d]\n", in carl9170_fw_info() 93 motd_desc = carl9170_fw_find_desc(ar, MOTD_MAGIC, in carl9170_fw_info() 102 dev_info(&ar->udev->dev, "firmware API: %.*s 2%03d-%02d-%02d\n", in carl9170_fw_info() 108 strscpy(ar->hw->wiphy->fw_version, motd_desc->release, in carl9170_fw_info() 109 sizeof(ar->hw->wiphy->fw_version)); in carl9170_fw_info() 131 static int carl9170_fw_checksum(struct ar9170 *ar, const __u8 *data, in carl9170_fw_checksum() argument [all …]
|
| H A D | rx.c | 49 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) in carl9170_dbg_message() argument 56 ar->fw.err_counter++; in carl9170_dbg_message() 57 if (ar->fw.err_counter > 3) { in carl9170_dbg_message() 64 ar->fw.bug_counter++; in carl9170_dbg_message() 70 wiphy_info(ar->hw->wiphy, "FW: %.*s\n", len, buf); in carl9170_dbg_message() 73 carl9170_restart(ar, reason); in carl9170_dbg_message() 76 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) in carl9170_handle_ps() argument 84 if (ar->ps.state != new_ps) { in carl9170_handle_ps() 86 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - in carl9170_handle_ps() 87 ar->ps.last_action); in carl9170_handle_ps() [all …]
|
| H A D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) in carl9170_set_dyn_sifs_ack() argument 48 if (conf_is_ht40(&ar->hw->conf)) in carl9170_set_dyn_sifs_ack() 51 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) in carl9170_set_dyn_sifs_ack() 57 return carl9170_write_reg(ar, AR9170_MAC_REG_DYNAMIC_SIFS_ACK, val); in carl9170_set_dyn_sifs_ack() 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) in carl9170_set_rts_cts_rate() argument 64 if (conf_is_ht(&ar->hw->conf)) { in carl9170_set_rts_cts_rate() 69 if (ar->hw->conf.chandef.chan->band == NL80211_BAND_2GHZ) { in carl9170_set_rts_cts_rate() 80 return carl9170_write_reg(ar, AR9170_MAC_REG_RTS_CTS_RATE, in carl9170_set_rts_cts_rate() 84 int carl9170_set_slot_time(struct ar9170 *ar) in carl9170_set_slot_time() argument 90 vif = carl9170_get_main_vif(ar); in carl9170_set_slot_time() [all …]
|
| H A D | debug.c | 54 char *(*read)(struct ar9170 *ar, char *buf, size_t bufsize, 65 struct ar9170 *ar; in carl9170_debugfs_read() local 73 ar = file->private_data; in carl9170_debugfs_read() 75 if (!ar) in carl9170_debugfs_read() 88 mutex_lock(&ar->mutex); in carl9170_debugfs_read() 89 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { in carl9170_debugfs_read() 95 res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret); in carl9170_debugfs_read() 107 mutex_unlock(&ar->mutex); in carl9170_debugfs_read() 115 struct ar9170 *ar; in carl9170_debugfs_write() local 125 ar = file->private_data; in carl9170_debugfs_write() [all …]
|
| H A D | tx.c | 48 static inline unsigned int __carl9170_get_queue(struct ar9170 *ar, in __carl9170_get_queue() argument 64 static inline unsigned int carl9170_get_queue(struct ar9170 *ar, in carl9170_get_queue() argument 67 return __carl9170_get_queue(ar, skb_get_queue_mapping(skb)); in carl9170_get_queue() 70 static bool is_mem_full(struct ar9170 *ar) in is_mem_full() argument 72 return (DIV_ROUND_UP(IEEE80211_MAX_FRAME_LEN, ar->fw.mem_block_size) > in is_mem_full() 73 atomic_read(&ar->mem_free_blocks)); in is_mem_full() 76 static void carl9170_tx_accounting(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting() argument 81 atomic_inc(&ar->tx_total_queued); in carl9170_tx_accounting() 84 spin_lock_bh(&ar->tx_stats_lock); in carl9170_tx_accounting() 92 ar->tx_stats[queue].len++; in carl9170_tx_accounting() [all …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | core.c | 54 void ath6kl_core_tx_complete(struct ath6kl *ar, struct sk_buff *skb) in ath6kl_core_tx_complete() argument 56 ath6kl_htc_tx_complete(ar, skb); in ath6kl_core_tx_complete() 60 void ath6kl_core_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe) in ath6kl_core_rx_complete() argument 62 ath6kl_htc_rx_complete(ar, skb, pipe); in ath6kl_core_rx_complete() 66 int ath6kl_core_init(struct ath6kl *ar, enum ath6kl_htc_type htc_type) in ath6kl_core_init() argument 74 ath6kl_htc_mbox_attach(ar); in ath6kl_core_init() 77 ath6kl_htc_pipe_attach(ar); in ath6kl_core_init() 84 ar->ath6kl_wq = create_singlethread_workqueue("ath6kl"); in ath6kl_core_init() 85 if (!ar->ath6kl_wq) in ath6kl_core_init() 88 ret = ath6kl_bmi_init(ar); in ath6kl_core_init() [all …]
|
| H A D | init.c | 251 static int ath6kl_set_host_app_area(struct ath6kl *ar) in ath6kl_set_host_app_area() argument 258 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_app_host_interest)); in ath6kl_set_host_app_area() 259 address = TARG_VTOP(ar->target_type, address); in ath6kl_set_host_app_area() 261 if (ath6kl_diag_read32(ar, address, &data)) in ath6kl_set_host_app_area() 264 address = TARG_VTOP(ar->target_type, data); in ath6kl_set_host_app_area() 266 if (ath6kl_diag_write(ar, address, (u8 *) &host_app_area, in ath6kl_set_host_app_area() 273 static inline void set_ac2_ep_map(struct ath6kl *ar, in set_ac2_ep_map() argument 277 ar->ac2ep_map[ac] = ep; in set_ac2_ep_map() 278 ar->ep2ac_map[ep] = ac; in set_ac2_ep_map() 282 static int ath6kl_connectservice(struct ath6kl *ar, in ath6kl_connectservice() argument [all …]
|
| H A D | recovery.c | 23 struct ath6kl *ar = container_of(work, struct ath6kl, in ath6kl_recovery_work() local 26 ar->state = ATH6KL_STATE_RECOVERY; in ath6kl_recovery_work() 28 timer_delete_sync(&ar->fw_recovery.hb_timer); in ath6kl_recovery_work() 30 ath6kl_init_hw_restart(ar); in ath6kl_recovery_work() 32 ar->state = ATH6KL_STATE_ON; in ath6kl_recovery_work() 33 clear_bit(WMI_CTRL_EP_FULL, &ar->flag); in ath6kl_recovery_work() 35 ar->fw_recovery.err_reason = 0; in ath6kl_recovery_work() 37 if (ar->fw_recovery.hb_poll) in ath6kl_recovery_work() 38 mod_timer(&ar->fw_recovery.hb_timer, jiffies + in ath6kl_recovery_work() 39 msecs_to_jiffies(ar->fw_recovery.hb_poll)); in ath6kl_recovery_work() [all …]
|
| H A D | hif-ops.h | 24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in hif_read_write_sync() argument 32 return ar->hif_ops->read_write_sync(ar, addr, buf, len, request); in hif_read_write_sync() 35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() argument 43 return ar->hif_ops->write_async(ar, address, buffer, length, in hif_write_async() 46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) in ath6kl_hif_irq_enable() argument 50 return ar->hif_ops->irq_enable(ar); in ath6kl_hif_irq_enable() 53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) in ath6kl_hif_irq_disable() argument 57 return ar->hif_ops->irq_disable(ar); in ath6kl_hif_irq_disable() 60 static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar) in hif_scatter_req_get() argument 62 return ar->hif_ops->scatter_req_get(ar); in hif_scatter_req_get() [all …]
|
| H A D | bmi.c | 23 int ath6kl_bmi_done(struct ath6kl *ar) in ath6kl_bmi_done() argument 28 if (ar->bmi.done_sent) { in ath6kl_bmi_done() 33 ar->bmi.done_sent = true; in ath6kl_bmi_done() 35 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); in ath6kl_bmi_done() 44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, in ath6kl_bmi_get_target_info() argument 50 if (ar->bmi.done_sent) { in ath6kl_bmi_get_target_info() 55 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); in ath6kl_bmi_get_target_info() 61 if (ar->hif_type == ATH6KL_HIF_TYPE_USB) { in ath6kl_bmi_get_target_info() 62 ret = ath6kl_hif_bmi_read(ar, (u8 *)targ_info, in ath6kl_bmi_get_target_info() 65 ret = ath6kl_hif_bmi_read(ar, (u8 *)&targ_info->version, in ath6kl_bmi_get_target_info() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | wmi-ops.h | 15 void (*rx)(struct ath10k *ar, struct sk_buff *skb); 19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb, 21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb, 23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb, 26 struct ath10k *ar, struct sk_buff *skb, 28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb, 30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb, 32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb, 34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb, 36 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb, [all …]
|
| H A D | hif.h | 31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, 35 int (*diag_read)(struct ath10k *ar, u32 address, void *buf, 38 int (*diag_write)(struct ath10k *ar, u32 address, const void *data, 45 int (*exchange_bmi_msg)(struct ath10k *ar, 50 int (*start)(struct ath10k *ar); 55 void (*stop)(struct ath10k *ar); 57 int (*start_post)(struct ath10k *ar); 59 int (*get_htt_tx_complete)(struct ath10k *ar); 61 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id, 64 void (*get_default_pipe)(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe); [all …]
|
| H A D | ahb.c | 28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv() argument 30 return &ath10k_pci_priv(ar)->ahb[0]; in ath10k_ahb_priv() 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() argument 35 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_write32() 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() argument 42 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_read32() 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() argument 49 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_gcc_read32() 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() argument 56 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_tcsr_write32() [all …]
|
| H A D | testmode.c | 34 static void ath10k_tm_event_unsegmented(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_unsegmented() argument 40 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, in ath10k_tm_event_unsegmented() 44 ath10k_warn(ar, in ath10k_tm_event_unsegmented() 51 ath10k_warn(ar, in ath10k_tm_event_unsegmented() 60 ath10k_warn(ar, in ath10k_tm_event_unsegmented() 69 ath10k_warn(ar, in ath10k_tm_event_unsegmented() 79 static void ath10k_tm_event_segmented(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_segmented() argument 90 ath10k_warn(ar, "Invalid ftm event length: %d\n", skb->len); in ath10k_tm_event_segmented() 102 ar->testmode.expected_seq = 0; in ath10k_tm_event_segmented() 103 ar->testmode.data_pos = 0; in ath10k_tm_event_segmented() [all …]
|
| H A D | mac.c | 215 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config() argument 220 if (test_bit(WMI_SERVICE_TX_MODE_DYNAMIC, ar->wmi.svc_map)) in ath10k_mac_ext_resource_config() 225 ret = ath10k_wmi_ext_resource_config(ar, platform_type, val); in ath10k_mac_ext_resource_config() 228 ath10k_warn(ar, "failed to configure ext resource: %d\n", ret); in ath10k_mac_ext_resource_config() 244 struct ath10k *ar = arvif->ar; in ath10k_send_key() local 254 lockdep_assert_held(&arvif->ar->conf_mutex); in ath10k_send_key() 258 arg.key_cipher = ar->wmi_key_cipher[WMI_CIPHER_AES_CCM]; in ath10k_send_key() 262 arg.key_cipher = ar->wmi_key_cipher[WMI_CIPHER_TKIP]; in ath10k_send_key() 268 arg.key_cipher = ar->wmi_key_cipher[WMI_CIPHER_WEP]; in ath10k_send_key() 271 arg.key_cipher = ar->wmi_key_cipher[WMI_CIPHER_AES_CCM]; in ath10k_send_key() [all …]
|
| H A D | snoc.c | 477 static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() argument 479 struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar); in ath10k_snoc_write32() 484 static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() argument 486 struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar); in ath10k_snoc_read32() 497 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() local 498 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_snoc_rx_post_buf() 509 paddr = dma_map_single(ar->dev, skb->data, in __ath10k_snoc_rx_post_buf() 512 if (unlikely(dma_mapping_error(ar->dev, paddr))) { in __ath10k_snoc_rx_post_buf() 513 ath10k_warn(ar, "failed to dma map snoc rx buf\n"); in __ath10k_snoc_rx_post_buf() 524 dma_unmap_single(ar->dev, paddr, skb->len + skb_tailroom(skb), in __ath10k_snoc_rx_post_buf() [all …]
|
| H A D | debug.h | 80 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...); 81 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...); 82 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...); 84 void ath10k_debug_print_hwfw_info(struct ath10k *ar); 85 void ath10k_debug_print_board_info(struct ath10k *ar); 86 void ath10k_debug_print_boot_info(struct ath10k *ar); 87 void ath10k_print_driver_info(struct ath10k *ar); 90 int ath10k_debug_start(struct ath10k *ar); 91 void ath10k_debug_stop(struct ath10k *ar); 92 int ath10k_debug_create(struct ath10k *ar); [all …]
|
| H A D | txrx.c | 14 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) in ath10k_report_offchan_tx() argument 21 if (ath10k_mac_tx_frm_has_freq(ar)) in ath10k_report_offchan_tx() 29 spin_lock_bh(&ar->data_lock); in ath10k_report_offchan_tx() 30 if (ar->offchan_tx_skb != skb) { in ath10k_report_offchan_tx() 31 ath10k_warn(ar, "completed old offchannel frame\n"); in ath10k_report_offchan_tx() 35 complete(&ar->offchan_tx_completed); in ath10k_report_offchan_tx() 36 ar->offchan_tx_skb = NULL; /* just for sanity */ in ath10k_report_offchan_tx() 38 ath10k_dbg(ar, ATH10K_DBG_HTT, "completed offchannel skb %p\n", skb); in ath10k_report_offchan_tx() 40 spin_unlock_bh(&ar->data_lock); in ath10k_report_offchan_tx() 47 struct ath10k *ar = htt->ar; in ath10k_txrx_tx_unref() local [all …]
|
| H A D | spectral.c | 11 static void send_fft_sample(struct ath10k *ar, in send_fft_sample() argument 16 if (!ar->spectral.rfs_chan_spec_scan) in send_fft_sample() 21 relay_write(ar->spectral.rfs_chan_spec_scan, fft_sample_tlv, length); in send_fft_sample() 48 static inline size_t ath10k_spectral_fix_bin_size(struct ath10k *ar, in ath10k_spectral_fix_bin_size() argument 58 bin_len -= ar->hw_params.spectral_bin_discard; in ath10k_spectral_fix_bin_size() 63 int ath10k_spectral_process_fft(struct ath10k *ar, in ath10k_spectral_process_fft() argument 77 bin_len = ath10k_spectral_fix_bin_size(ar, bin_len); in ath10k_spectral_process_fft() 137 bins += sizeof(*fftr) + ar->hw_params.spectral_bin_offset; in ath10k_spectral_process_fft() 156 send_fft_sample(ar, &fft_sample->tlv); in ath10k_spectral_process_fft() 161 static struct ath10k_vif *ath10k_get_spectral_vdev(struct ath10k *ar) in ath10k_get_spectral_vdev() argument [all …]
|
| /linux/drivers/net/wireless/ath/ar5523/ |
| H A D | ar5523.c | 45 static int ar5523_submit_rx_cmd(struct ar5523 *ar); 46 static void ar5523_data_tx_pkt_put(struct ar5523 *ar); 48 static void ar5523_read_reply(struct ar5523 *ar, struct ar5523_cmd_hdr *hdr, in ar5523_read_reply() argument 61 ar5523_dbg(ar, "Code = %d len = %d\n", be32_to_cpu(hdr->code) & 0xff, in ar5523_read_reply() 77 ar5523_err(ar, "olen too small %d < %d\n", in ar5523_read_reply() 94 struct ar5523 *ar = urb->context; in ar5523_cmd_rx_cb() local 95 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; in ar5523_cmd_rx_cb() 96 struct ar5523_cmd_hdr *hdr = ar->rx_cmd_buf; in ar5523_cmd_rx_cb() 102 ar5523_err(ar, "RX USB error %d.\n", urb->status); in ar5523_cmd_rx_cb() 107 ar5523_err(ar, "RX USB too short.\n"); in ar5523_cmd_rx_cb() [all …]
|
| /linux/arch/xtensa/include/asm/ |
| H A D | cacheasm.h | 35 .macro __loop_cache_unroll ar at insn size line_width max_immed 45 __loopi \ar, \at, \size, (_reps << (\line_width)) 48 \insn \ar, _index << (\line_width) 51 __endla \ar, \at, _reps << (\line_width) 56 .macro __loop_cache_all ar at insn size line_width max_immed 58 movi \ar, 0 59 __loop_cache_unroll \ar, \at, \insn, \size, \line_width, \max_immed 64 .macro __loop_cache_range ar as at insn line_width 66 extui \at, \ar, 0, \line_width 69 __loops \ar, \as, \at, \line_width [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 263 static int ath12k_start_vdev_delay(struct ath12k *ar, 265 static void ath12k_mac_stop(struct ath12k *ar); 266 static int ath12k_mac_vdev_create(struct ath12k *ar, struct ath12k_link_vif *arvif); 267 static int ath12k_mac_vdev_delete(struct ath12k *ar, struct ath12k_link_vif *arvif); 637 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_arvif() local 640 lockdep_assert_wiphy(ath12k_ar_to_hw(ar)->wiphy); in ath12k_mac_get_tx_arvif() 642 tx_bss_conf = wiphy_dereference(ath12k_ar_to_hw(ar)->wiphy, in ath12k_mac_get_tx_arvif() 657 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_bssid() local 659 lockdep_assert_wiphy(ath12k_ar_to_hw(ar)->wiphy); in ath12k_mac_get_tx_bssid() 663 ath12k_warn(ar->ab, in ath12k_mac_get_tx_bssid() [all …]
|