Home
last modified time | relevance | path

Searched full:ab (Results 1 – 25 of 1311) sorted by relevance

12345678910>>...53

/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
Dcore.c22 int ath12k_core_suspend(struct ath12k_base *ab) in ath12k_core_suspend() argument
26 if (!ab->hw_params->supports_suspend) in ath12k_core_suspend()
34 ret = ath12k_dp_rx_pktlog_stop(ab, true); in ath12k_core_suspend()
36 ath12k_warn(ab, "failed to stop dp rx (and timer) pktlog during suspend: %d\n", in ath12k_core_suspend()
41 ret = ath12k_dp_rx_pktlog_stop(ab, false); in ath12k_core_suspend()
43 ath12k_warn(ab, "failed to stop dp rx pktlog during suspend: %d\n", in ath12k_core_suspend()
48 ath12k_hif_irq_disable(ab); in ath12k_core_suspend()
49 ath12k_hif_ce_irq_disable(ab); in ath12k_core_suspend()
51 ret = ath12k_hif_suspend(ab); in ath12k_core_suspend()
53 ath12k_warn(ab, "failed to suspend hif: %d\n", ret); in ath12k_core_suspend()
[all …]
Dhif.h13 u32 (*read32)(struct ath12k_base *ab, u32 address);
14 void (*write32)(struct ath12k_base *ab, u32 address, u32 data);
15 void (*irq_enable)(struct ath12k_base *ab);
16 void (*irq_disable)(struct ath12k_base *ab);
17 int (*start)(struct ath12k_base *ab);
18 void (*stop)(struct ath12k_base *ab);
19 int (*power_up)(struct ath12k_base *ab);
20 void (*power_down)(struct ath12k_base *ab);
21 int (*suspend)(struct ath12k_base *ab);
22 int (*resume)(struct ath12k_base *ab);
[all …]
Dpci.c122 static int ath12k_pci_bus_wake_up(struct ath12k_base *ab) in ath12k_pci_bus_wake_up() argument
124 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_wake_up()
129 static void ath12k_pci_bus_release(struct ath12k_base *ab) in ath12k_pci_bus_release() argument
131 struct ath12k_pci *ab_pci = ath12k_pci_priv(ab); in ath12k_pci_bus_release()
148 struct ath12k_base *ab = ab_pci->ab; in ath12k_pci_select_window() local
161 ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_window()
162 ioread32(ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_window()
179 iowrite32(WINDOW_ENABLE_BIT | window, ab_pci->ab->mem + WINDOW_REG_ADDRESS); in ath12k_pci_select_static_window()
182 static u32 ath12k_pci_get_window_start(struct ath12k_base *ab, in ath12k_pci_get_window_start() argument
205 static void ath12k_pci_soc_global_reset(struct ath12k_base *ab) in ath12k_pci_soc_global_reset() argument
[all …]
Ddp.c17 static void ath12k_dp_htt_htc_tx_complete(struct ath12k_base *ab, in ath12k_dp_htt_htc_tx_complete() argument
25 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_cleanup() local
30 spin_lock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup()
31 peer = ath12k_peer_find(ab, vdev_id, addr); in ath12k_dp_peer_cleanup()
33 ath12k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath12k_dp_peer_cleanup()
35 spin_unlock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup()
42 spin_unlock_bh(&ab->base_lock); in ath12k_dp_peer_cleanup()
47 struct ath12k_base *ab = ar->ab; in ath12k_dp_peer_setup() local
59 ath12k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath12k_dp_peer_setup()
68 ath12k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath12k_dp_peer_setup()
[all …]
Dce.c225 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_buf_enqueue_pipe() local
233 lockdep_assert_held(&ab->ce.ce_lock); in ath12k_ce_rx_buf_enqueue_pipe()
237 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath12k_ce_rx_buf_enqueue_pipe()
241 ath12k_hal_srng_access_begin(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe()
243 if (unlikely(ath12k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath12k_ce_rx_buf_enqueue_pipe()
248 desc = ath12k_hal_srng_src_get_next_entry(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe()
264 ath12k_hal_srng_access_end(ab, srng); in ath12k_ce_rx_buf_enqueue_pipe()
273 struct ath12k_base *ab = pipe->ab; in ath12k_ce_rx_post_pipe() local
281 spin_lock_bh(&ab->ce.ce_lock); in ath12k_ce_rx_post_pipe()
291 paddr = dma_map_single(ab->dev, skb->data, in ath12k_ce_rx_post_pipe()
[all …]
Ddp_rx.c23 static enum hal_encrypt_type ath12k_dp_rx_h_enctype(struct ath12k_base *ab, in ath12k_dp_rx_h_enctype() argument
26 if (!ab->hw_params->hal_ops->rx_desc_encrypt_valid(desc)) in ath12k_dp_rx_h_enctype()
29 return ab->hw_params->hal_ops->rx_desc_get_encrypt_type(desc); in ath12k_dp_rx_h_enctype()
32 u8 ath12k_dp_rx_h_decap_type(struct ath12k_base *ab, in ath12k_dp_rx_h_decap_type() argument
35 return ab->hw_params->hal_ops->rx_desc_get_decap_type(desc); in ath12k_dp_rx_h_decap_type()
38 static u8 ath12k_dp_rx_h_mesh_ctl_present(struct ath12k_base *ab, in ath12k_dp_rx_h_mesh_ctl_present() argument
41 return ab->hw_params->hal_ops->rx_desc_get_mesh_ctl(desc); in ath12k_dp_rx_h_mesh_ctl_present()
44 static bool ath12k_dp_rx_h_seq_ctrl_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_seq_ctrl_valid() argument
47 return ab->hw_params->hal_ops->rx_desc_get_mpdu_seq_ctl_vld(desc); in ath12k_dp_rx_h_seq_ctrl_valid()
50 static bool ath12k_dp_rx_h_fc_valid(struct ath12k_base *ab, in ath12k_dp_rx_h_fc_valid() argument
[all …]
Dpeer.c11 struct ath12k_peer *ath12k_peer_find(struct ath12k_base *ab, int vdev_id, in ath12k_peer_find() argument
16 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find()
18 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find()
30 static struct ath12k_peer *ath12k_peer_find_by_pdev_idx(struct ath12k_base *ab, in ath12k_peer_find_by_pdev_idx() argument
35 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find_by_pdev_idx()
37 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find_by_pdev_idx()
49 struct ath12k_peer *ath12k_peer_find_by_addr(struct ath12k_base *ab, in ath12k_peer_find_by_addr() argument
54 lockdep_assert_held(&ab->base_lock); in ath12k_peer_find_by_addr()
56 list_for_each_entry(peer, &ab->peers, list) { in ath12k_peer_find_by_addr()
66 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, in ath12k_peer_find_by_id() argument
[all …]
/kernel/linux/linux-6.6/drivers/usb/phy/
Dphy-ab8500-usb.c5 * Copyright (C) 2010-2013 ST-Ericsson AB
121 /* Driver is using the ab-iddet driver*/
150 static void ab8500_usb_wd_workaround(struct ab8500_usb *ab) in ab8500_usb_wd_workaround() argument
152 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
159 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
167 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
173 static void ab8500_usb_regulator_enable(struct ab8500_usb *ab) in ab8500_usb_regulator_enable() argument
177 ret = regulator_enable(ab->v_ape); in ab8500_usb_regulator_enable()
179 dev_err(ab->dev, "Failed to enable v-ape\n"); in ab8500_usb_regulator_enable()
181 if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { in ab8500_usb_regulator_enable()
[all …]
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-ab8500-usb.c5 * Copyright (C) 2010-2013 ST-Ericsson AB
121 /* Driver is using the ab-iddet driver*/
150 static void ab8500_usb_wd_workaround(struct ab8500_usb *ab) in ab8500_usb_wd_workaround() argument
152 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
159 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
167 abx500_set_register_interruptible(ab->dev, in ab8500_usb_wd_workaround()
173 static void ab8500_usb_regulator_enable(struct ab8500_usb *ab) in ab8500_usb_regulator_enable() argument
177 ret = regulator_enable(ab->v_ape); in ab8500_usb_regulator_enable()
179 dev_err(ab->dev, "Failed to enable v-ape\n"); in ab8500_usb_regulator_enable()
181 if (ab->flags & AB8500_USB_FLAG_REGULATOR_SET_VOLTAGE) { in ab8500_usb_regulator_enable()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
Dpeer.c11 static struct ath11k_peer *ath11k_peer_find_list_by_id(struct ath11k_base *ab, in ath11k_peer_find_list_by_id() argument
16 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_list_by_id()
18 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_list_by_id()
28 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() argument
33 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find()
35 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find()
47 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr() argument
52 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_by_addr()
54 if (!ab->rhead_peer_addr) in ath11k_peer_find_by_addr()
57 peer = rhashtable_lookup_fast(ab->rhead_peer_addr, addr, in ath11k_peer_find_by_addr()
[all …]
Dpci.c40 static int ath11k_pci_bus_wake_up(struct ath11k_base *ab) in ath11k_pci_bus_wake_up() argument
42 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_wake_up()
47 static void ath11k_pci_bus_release(struct ath11k_base *ab) in ath11k_pci_bus_release() argument
49 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_bus_release()
54 static u32 ath11k_pci_get_window_start(struct ath11k_base *ab, u32 offset) in ath11k_pci_get_window_start() argument
56 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start()
62 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_pci_get_window_start()
72 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local
80 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window()
81 ioread32(ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window()
[all …]
Dahb.c144 ath11k_ahb_get_msi_irq_wcn6750(struct ath11k_base *ab, unsigned int vector) in ath11k_ahb_get_msi_irq_wcn6750() argument
146 return ab->pci.msi.irqs[vector]; in ath11k_ahb_get_msi_irq_wcn6750()
150 ath11k_ahb_get_window_start_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_get_window_start_wcn6750() argument
158 else if ((offset ^ HAL_SEQ_WCSS_UMAC_CE0_SRC_REG(ab)) < in ath11k_ahb_get_window_start_wcn6750()
166 ath11k_ahb_window_write32_wcn6750(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_window_write32_wcn6750() argument
171 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset); in ath11k_ahb_window_write32_wcn6750()
173 iowrite32(value, ab->mem + window_start + in ath11k_ahb_window_write32_wcn6750()
177 static u32 ath11k_ahb_window_read32_wcn6750(struct ath11k_base *ab, u32 offset) in ath11k_ahb_window_read32_wcn6750() argument
183 window_start = ath11k_ahb_get_window_start_wcn6750(ab, offset); in ath11k_ahb_window_read32_wcn6750()
185 val = ioread32(ab->mem + window_start + in ath11k_ahb_window_read32_wcn6750()
[all …]
Dhal.h35 #define HAL_SHADOW_BASE_ADDR(ab) ab->hw_params.regs->hal_shadow_base_addr argument
40 #define HAL_SHADOW_REG(ab, x) (HAL_SHADOW_BASE_ADDR(ab) + (4 * (x))) argument
47 (ab->hw_params.regs->hal_seq_wcss_umac_ce0_src_reg)
49 (ab->hw_params.regs->hal_seq_wcss_umac_ce0_dst_reg)
51 (ab->hw_params.regs->hal_seq_wcss_umac_ce1_src_reg)
53 (ab->hw_params.regs->hal_seq_wcss_umac_ce1_dst_reg)
62 #define HAL_TCL1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_lsb argument
63 #define HAL_TCL1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_msb argument
64 #define HAL_TCL1_RING_ID(ab) ab->hw_params.regs->hal_tcl1_ring_id argument
65 #define HAL_TCL1_RING_MISC(ab) ab->hw_params.regs->hal_tcl1_ring_misc argument
[all …]
Dcore.c753 static inline struct ath11k_pdev *ath11k_core_get_single_pdev(struct ath11k_base *ab) in ath11k_core_get_single_pdev() argument
755 WARN_ON(!ab->hw_params.single_pdev_only); in ath11k_core_get_single_pdev()
757 return &ab->pdevs[0]; in ath11k_core_get_single_pdev()
807 bool ath11k_core_coldboot_cal_support(struct ath11k_base *ab) in ath11k_core_coldboot_cal_support() argument
813 return ab->hw_params.coldboot_cal_ftm; in ath11k_core_coldboot_cal_support()
816 return ab->hw_params.coldboot_cal_mm; in ath11k_core_coldboot_cal_support()
819 int ath11k_core_suspend(struct ath11k_base *ab) in ath11k_core_suspend() argument
825 if (!ab->hw_params.supports_suspend) in ath11k_core_suspend()
831 pdev = ath11k_core_get_single_pdev(ab); in ath11k_core_suspend()
836 ret = ath11k_dp_rx_pktlog_stop(ab, true); in ath11k_core_suspend()
[all …]
Dpcic.c120 int ath11k_pcic_init_msi_config(struct ath11k_base *ab) in ath11k_pcic_init_msi_config() argument
128 if (msi_config->hw_rev == ab->hw_rev) in ath11k_pcic_init_msi_config()
133 ath11k_err(ab, "failed to fetch msi config, unsupported hw version: 0x%x\n", in ath11k_pcic_init_msi_config()
134 ab->hw_rev); in ath11k_pcic_init_msi_config()
138 ab->pci.msi.config = msi_config; in ath11k_pcic_init_msi_config()
143 static void __ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in __ath11k_pcic_write32() argument
146 iowrite32(value, ab->mem + offset); in __ath11k_pcic_write32()
148 ab->pci.ops->window_write32(ab, offset, value); in __ath11k_pcic_write32()
151 void ath11k_pcic_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pcic_write32() argument
159 wakeup_required = test_bit(ATH11K_FLAG_DEVICE_INIT_DONE, &ab->dev_flags) && in ath11k_pcic_write32()
[all …]
Ddp.c16 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() argument
24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local
29 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
30 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup()
32 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup()
34 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
41 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
46 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local
58 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup()
67 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup()
[all …]
Dhal.c193 static int ath11k_hal_alloc_cont_rdp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_rdp() argument
195 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_rdp()
199 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp()
207 static void ath11k_hal_free_cont_rdp(struct ath11k_base *ab) in ath11k_hal_free_cont_rdp() argument
209 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_free_cont_rdp()
216 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp()
221 static int ath11k_hal_alloc_cont_wrp(struct ath11k_base *ab) in ath11k_hal_alloc_cont_wrp() argument
223 struct ath11k_hal *hal = &ab->hal; in ath11k_hal_alloc_cont_wrp()
227 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp()
235 static void ath11k_hal_free_cont_wrp(struct ath11k_base *ab) in ath11k_hal_free_cont_wrp() argument
[all …]
Dce.c259 void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() argument
263 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers()
266 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers()
268 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers()
274 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local
282 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe()
286 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe()
290 ath11k_hal_srng_access_begin(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe()
292 if (unlikely(ath11k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath11k_ce_rx_buf_enqueue_pipe()
297 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dcore.c144 static int ath11k_core_create_board_name(struct ath11k_base *ab, char *name, in ath11k_core_create_board_name() argument
149 ath11k_bus_str(ab->hif.bus), in ath11k_core_create_board_name()
150 ab->qmi.target.chip_id, in ath11k_core_create_board_name()
151 ab->qmi.target.board_id); in ath11k_core_create_board_name()
153 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot using board name '%s'\n", name); in ath11k_core_create_board_name()
158 const struct firmware *ath11k_core_firmware_request(struct ath11k_base *ab, in ath11k_core_firmware_request() argument
168 ath11k_core_create_firmware_path(ab, file, path, sizeof(path)); in ath11k_core_firmware_request()
170 ret = firmware_request_nowarn(&fw, path, ab->dev); in ath11k_core_firmware_request()
174 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot firmware request %s size %zu\n", in ath11k_core_firmware_request()
180 void ath11k_core_free_bdf(struct ath11k_base *ab, struct ath11k_board_data *bd) in ath11k_core_free_bdf() argument
[all …]
Dahb.c137 static inline u32 ath11k_ahb_read32(struct ath11k_base *ab, u32 offset) in ath11k_ahb_read32() argument
139 return ioread32(ab->mem + offset); in ath11k_ahb_read32()
142 static inline void ath11k_ahb_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_ahb_write32() argument
144 iowrite32(value, ab->mem + offset); in ath11k_ahb_write32()
147 static void ath11k_ahb_kill_tasklets(struct ath11k_base *ab) in ath11k_ahb_kill_tasklets() argument
151 for (i = 0; i < ab->hw_params.ce_count; i++) { in ath11k_ahb_kill_tasklets()
152 struct ath11k_ce_pipe *ce_pipe = &ab->ce.ce_pipe[i]; in ath11k_ahb_kill_tasklets()
154 if (ath11k_ce_get_attr_flags(ab, i) & CE_ATTR_DIS_INTR) in ath11k_ahb_kill_tasklets()
166 disable_irq_nosync(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_ahb_ext_grp_disable()
169 static void __ath11k_ahb_ext_irq_disable(struct ath11k_base *ab) in __ath11k_ahb_ext_irq_disable() argument
[all …]
Dpci.c120 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() local
128 ab->mem + WINDOW_REG_ADDRESS); in ath11k_pci_select_window()
133 void ath11k_pci_write32(struct ath11k_base *ab, u32 offset, u32 value) in ath11k_pci_write32() argument
135 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_write32()
145 iowrite32(value, ab->mem + offset); in ath11k_pci_write32()
149 iowrite32(value, ab->mem + WINDOW_START + (offset & WINDOW_RANGE_MASK)); in ath11k_pci_write32()
158 u32 ath11k_pci_read32(struct ath11k_base *ab, u32 offset) in ath11k_pci_read32() argument
160 struct ath11k_pci *ab_pci = ath11k_pci_priv(ab); in ath11k_pci_read32()
171 val = ioread32(ab->mem + offset); in ath11k_pci_read32()
175 val = ioread32(ab->mem + WINDOW_START + (offset & WINDOW_RANGE_MASK)); in ath11k_pci_read32()
[all …]
Ddp.c15 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab, in ath11k_dp_htt_htc_tx_complete() argument
23 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local
28 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
29 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup()
31 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup()
33 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
39 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
44 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local
56 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup()
65 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup()
[all …]
Dhal.h53 #define HAL_TCL1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_lsb argument
54 #define HAL_TCL1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_tcl1_ring_base_msb argument
55 #define HAL_TCL1_RING_ID(ab) ab->hw_params.regs->hal_tcl1_ring_id argument
56 #define HAL_TCL1_RING_MISC(ab) ab->hw_params.regs->hal_tcl1_ring_misc argument
57 #define HAL_TCL1_RING_TP_ADDR_LSB(ab) \ argument
58 ab->hw_params.regs->hal_tcl1_ring_tp_addr_lsb
59 #define HAL_TCL1_RING_TP_ADDR_MSB(ab) \ argument
60 ab->hw_params.regs->hal_tcl1_ring_tp_addr_msb
61 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX0(ab) \ argument
62 ab->hw_params.regs->hal_tcl1_ring_consumer_int_setup_ix0
[all …]
Dce.c198 static void ath11k_ce_stop_shadow_timers(struct ath11k_base *ab) in ath11k_ce_stop_shadow_timers() argument
202 if (!ab->hw_params.supports_shadow_regs) in ath11k_ce_stop_shadow_timers()
205 for (i = 0; i < ab->hw_params.ce_count; i++) in ath11k_ce_stop_shadow_timers()
207 ath11k_dp_shadow_stop_timer(ab, &ab->ce.hp_timer[i]); in ath11k_ce_stop_shadow_timers()
213 struct ath11k_base *ab = pipe->ab; in ath11k_ce_rx_buf_enqueue_pipe() local
221 lockdep_assert_held(&ab->ce.ce_lock); in ath11k_ce_rx_buf_enqueue_pipe()
225 srng = &ab->hal.srng_list[ring->hal_ring_id]; in ath11k_ce_rx_buf_enqueue_pipe()
229 ath11k_hal_srng_access_begin(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe()
231 if (unlikely(ath11k_hal_srng_src_num_free(ab, srng, false) < 1)) { in ath11k_ce_rx_buf_enqueue_pipe()
236 desc = ath11k_hal_srng_src_get_next_entry(ab, srng); in ath11k_ce_rx_buf_enqueue_pipe()
[all …]
Dpeer.c10 struct ath11k_peer *ath11k_peer_find(struct ath11k_base *ab, int vdev_id, in ath11k_peer_find() argument
15 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find()
17 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find()
29 static struct ath11k_peer *ath11k_peer_find_by_pdev_idx(struct ath11k_base *ab, in ath11k_peer_find_by_pdev_idx() argument
34 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_by_pdev_idx()
36 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_by_pdev_idx()
48 struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab, in ath11k_peer_find_by_addr() argument
53 lockdep_assert_held(&ab->base_lock); in ath11k_peer_find_by_addr()
55 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_by_addr()
65 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, in ath11k_peer_find_by_id() argument
[all …]

12345678910>>...53