Home
last modified time | relevance | path

Searched refs:ar (Results 1 – 25 of 210) sorted by relevance

123456789

/Linux-v4.19/drivers/net/wireless/ath/carl9170/
Dusb.c131 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() argument
136 if (atomic_inc_return(&ar->tx_anch_urbs) > AR9170_NUM_TX_URBS) in carl9170_usb_submit_data_urb()
139 urb = usb_get_from_anchor(&ar->tx_wait); in carl9170_usb_submit_data_urb()
143 usb_anchor_urb(urb, &ar->tx_anch); in carl9170_usb_submit_data_urb()
148 dev_err(&ar->udev->dev, "tx submit failed (%d)\n", in carl9170_usb_submit_data_urb()
153 usb_anchor_urb(urb, &ar->tx_err); in carl9170_usb_submit_data_urb()
162 atomic_dec(&ar->tx_anch_urbs); in carl9170_usb_submit_data_urb()
167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() local
169 if (WARN_ON_ONCE(!ar)) { in carl9170_usb_tx_data_complete()
174 atomic_dec(&ar->tx_anch_urbs); in carl9170_usb_tx_data_complete()
[all …]
Dmain.c184 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 …]
Dled.c43 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 …]
Dfw.c33 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], in carl9170_fw_find_desc() argument
38 carl9170fw_for_each_hdr(iter, ar->fw.desc) { in carl9170_fw_find_desc()
52 static int carl9170_fw_verify_descs(struct ar9170 *ar, in carl9170_fw_verify_descs() argument
95 static void carl9170_fw_info(struct ar9170 *ar) in carl9170_fw_info() argument
101 dev_info(&ar->udev->dev, "driver API: %s 2%03d-%02d-%02d [%d-%d]\n", in carl9170_fw_info()
106 motd_desc = carl9170_fw_find_desc(ar, MOTD_MAGIC, in carl9170_fw_info()
115 dev_info(&ar->udev->dev, "firmware API: %.*s 2%03d-%02d-%02d\n", in carl9170_fw_info()
121 strlcpy(ar->hw->wiphy->fw_version, motd_desc->release, in carl9170_fw_info()
122 sizeof(ar->hw->wiphy->fw_version)); in carl9170_fw_info()
144 static int carl9170_fw_checksum(struct ar9170 *ar, const __u8 *data, in carl9170_fw_checksum() argument
[all …]
Drx.c49 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 …]
Dmac.c44 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 …]
Ddebug.c54 char *(*read)(struct ar9170 *ar, char *buf, size_t bufsize,
66 struct ar9170 *ar; in carl9170_debugfs_read() local
74 ar = file->private_data; in carl9170_debugfs_read()
76 if (!ar) in carl9170_debugfs_read()
90 mutex_lock(&ar->mutex); in carl9170_debugfs_read()
91 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { in carl9170_debugfs_read()
97 res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret); in carl9170_debugfs_read()
109 mutex_unlock(&ar->mutex); in carl9170_debugfs_read()
117 struct ar9170 *ar; in carl9170_debugfs_write() local
127 ar = file->private_data; in carl9170_debugfs_write()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dcore.c54 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 …]
Drecovery.c23 struct ath6kl *ar = container_of(work, struct ath6kl, in ath6kl_recovery_work() local
26 ar->state = ATH6KL_STATE_RECOVERY; in ath6kl_recovery_work()
28 del_timer_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 …]
Dinit.c251 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 …]
Dhif-ops.h24 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 …]
Dbmi.c23 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-v4.19/drivers/net/wireless/ath/ath10k/
Dcore.c584 void ath10k_core_get_fw_features_str(struct ath10k *ar, in ath10k_core_get_fw_features_str() argument
592 if (test_bit(i, ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_core_get_fw_features_str()
603 static void ath10k_send_suspend_complete(struct ath10k *ar) in ath10k_send_suspend_complete() argument
605 ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot suspend complete\n"); in ath10k_send_suspend_complete()
607 complete(&ar->target_suspend); in ath10k_send_suspend_complete()
610 static void ath10k_init_sdio(struct ath10k *ar) in ath10k_init_sdio() argument
614 ath10k_bmi_write32(ar, hi_mbox_io_block_sz, 256); in ath10k_init_sdio()
615 ath10k_bmi_write32(ar, hi_mbox_isr_yield_limit, 99); in ath10k_init_sdio()
616 ath10k_bmi_read32(ar, hi_acs_flags, &param); in ath10k_init_sdio()
622 ath10k_bmi_write32(ar, hi_acs_flags, param); in ath10k_init_sdio()
[all …]
Dwmi-ops.h26 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
30 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
38 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
40 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
42 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
44 int (*pull_phyerr_hdr)(struct ath10k *ar, struct sk_buff *skb,
46 int (*pull_phyerr)(struct ath10k *ar, const void *phyerr_buf,
[all …]
Dhif.h36 int (*tx_sg)(struct ath10k *ar, u8 pipe_id,
40 int (*diag_read)(struct ath10k *ar, u32 address, void *buf,
43 int (*diag_write)(struct ath10k *ar, u32 address, const void *data,
50 int (*exchange_bmi_msg)(struct ath10k *ar,
55 int (*start)(struct ath10k *ar);
60 void (*stop)(struct ath10k *ar);
62 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id,
65 void (*get_default_pipe)(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe);
75 void (*send_complete_check)(struct ath10k *ar, u8 pipe_id, int force);
77 u16 (*get_free_queue_number)(struct ath10k *ar, u8 pipe_id);
[all …]
Dtestmode.c42 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_wmi() argument
48 ath10k_dbg(ar, ATH10K_DBG_TESTMODE, in ath10k_tm_event_wmi()
52 ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", skb->data, skb->len); in ath10k_tm_event_wmi()
54 spin_lock_bh(&ar->data_lock); in ath10k_tm_event_wmi()
56 if (!ar->testmode.utf_monitor) { in ath10k_tm_event_wmi()
67 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, in ath10k_tm_event_wmi()
71 ath10k_warn(ar, in ath10k_tm_event_wmi()
78 ath10k_warn(ar, in ath10k_tm_event_wmi()
87 ath10k_warn(ar, in ath10k_tm_event_wmi()
96 ath10k_warn(ar, in ath10k_tm_event_wmi()
[all …]
Dahb.c39 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv() argument
41 return &((struct ath10k_pci *)ar->drv_priv)->ahb[0]; in ath10k_ahb_priv()
44 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() argument
46 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_write32()
51 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() argument
53 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_read32()
58 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() argument
60 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_gcc_read32()
65 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() argument
67 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar); in ath10k_ahb_tcsr_write32()
[all …]
Dmac.c193 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config() argument
198 if (test_bit(WMI_SERVICE_TX_MODE_DYNAMIC, ar->wmi.svc_map)) in ath10k_mac_ext_resource_config()
203 ret = ath10k_wmi_ext_resource_config(ar, platform_type, val); in ath10k_mac_ext_resource_config()
206 ath10k_warn(ar, "failed to configure ext resource: %d\n", ret); in ath10k_mac_ext_resource_config()
222 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
232 lockdep_assert_held(&arvif->ar->conf_mutex); in ath10k_send_key()
262 ath10k_warn(ar, "cipher %d is not supported\n", key->cipher); in ath10k_send_key()
266 if (test_bit(ATH10K_FLAG_RAW_MODE, &ar->dev_flags)) in ath10k_send_key()
274 return ath10k_wmi_vdev_install_key(arvif->ar, &arg); in ath10k_send_key()
282 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
[all …]
Ddebug.c35 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info() argument
44 dev_info(ar->dev, "%pV", &vaf); in ath10k_info()
45 trace_ath10k_log_info(ar, &vaf); in ath10k_info()
50 void ath10k_debug_print_hwfw_info(struct ath10k *ar) in ath10k_debug_print_hwfw_info() argument
56 ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features)); in ath10k_debug_print_hwfw_info()
58 ath10k_info(ar, "%s target 0x%08x chip_id 0x%08x sub %04x:%04x", in ath10k_debug_print_hwfw_info()
59 ar->hw_params.name, in ath10k_debug_print_hwfw_info()
60 ar->target_version, in ath10k_debug_print_hwfw_info()
61 ar->chip_id, in ath10k_debug_print_hwfw_info()
62 ar->id.subsystem_vendor, ar->id.subsystem_device); in ath10k_debug_print_hwfw_info()
[all …]
Dpci.c111 static void ath10k_pci_buffer_cleanup(struct ath10k *ar);
112 static int ath10k_pci_cold_reset(struct ath10k *ar);
113 static int ath10k_pci_safe_chip_reset(struct ath10k *ar);
114 static int ath10k_pci_init_irq(struct ath10k *ar);
115 static int ath10k_pci_deinit_irq(struct ath10k *ar);
116 static int ath10k_pci_request_irq(struct ath10k *ar);
117 static void ath10k_pci_free_irq(struct ath10k *ar);
118 static int ath10k_pci_bmi_wait(struct ath10k *ar,
122 static int ath10k_pci_qca99x0_chip_reset(struct ath10k *ar);
440 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake() argument
[all …]
Dthermal.c39 struct ath10k *ar = cdev->devdata; in ath10k_thermal_get_cur_throttle_state() local
41 mutex_lock(&ar->conf_mutex); in ath10k_thermal_get_cur_throttle_state()
42 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state()
43 mutex_unlock(&ar->conf_mutex); in ath10k_thermal_get_cur_throttle_state()
52 struct ath10k *ar = cdev->devdata; in ath10k_thermal_set_cur_throttle_state() local
55 ath10k_warn(ar, "throttle state %ld is exceeding the limit %d\n", in ath10k_thermal_set_cur_throttle_state()
59 mutex_lock(&ar->conf_mutex); in ath10k_thermal_set_cur_throttle_state()
60 ar->thermal.throttle_state = throttle_state; in ath10k_thermal_set_cur_throttle_state()
61 ath10k_thermal_set_throttling(ar); in ath10k_thermal_set_cur_throttle_state()
62 mutex_unlock(&ar->conf_mutex); in ath10k_thermal_set_cur_throttle_state()
[all …]
Dsnoc.c288 void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() argument
290 struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar); in ath10k_snoc_write32()
295 u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() argument
297 struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar); in ath10k_snoc_read32()
308 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() local
309 struct ath10k_ce *ce = ath10k_ce_priv(ar); in __ath10k_snoc_rx_post_buf()
320 paddr = dma_map_single(ar->dev, skb->data, in __ath10k_snoc_rx_post_buf()
323 if (unlikely(dma_mapping_error(ar->dev, paddr))) { in __ath10k_snoc_rx_post_buf()
324 ath10k_warn(ar, "failed to dma map snoc rx buf\n"); in __ath10k_snoc_rx_post_buf()
335 dma_unmap_single(ar->dev, paddr, skb->len + skb_tailroom(skb), in __ath10k_snoc_rx_post_buf()
[all …]
Dce.c62 static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar, in shadow_sr_wr_ind_addr() argument
85 ath10k_warn(ar, "invalid CE id: %d", ce_id); in shadow_sr_wr_ind_addr()
91 static inline u32 shadow_dst_wr_ind_addr(struct ath10k *ar, in shadow_dst_wr_ind_addr() argument
123 ath10k_warn(ar, "invalid CE id: %d", ce_id); in shadow_dst_wr_ind_addr()
144 static inline u32 ath10k_ce_read32(struct ath10k *ar, u32 offset) in ath10k_ce_read32() argument
146 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_read32()
148 return ce->bus_ops->read32(ar, offset); in ath10k_ce_read32()
151 static inline void ath10k_ce_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ce_write32() argument
153 struct ath10k_ce *ce = ath10k_ce_priv(ar); in ath10k_ce_write32()
155 ce->bus_ops->write32(ar, offset, value); in ath10k_ce_write32()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ar5523/
Dar5523.c45 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 to 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 to short.\n"); in ar5523_cmd_rx_cb()
[all …]
/Linux-v4.19/arch/xtensa/include/asm/
Dcacheasm.h35 .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 …]

123456789