Home
last modified time | relevance | path

Searched refs:tp_addr (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhal.c351 u64 tp_addr; in ath11k_hal_srng_src_hw_init() local
421 tp_addr = hal->rdp.paddr + in ath11k_hal_srng_src_hw_init()
422 ((unsigned long)srng->u.src_ring.tp_addr - in ath11k_hal_srng_src_hw_init()
426 tp_addr & HAL_ADDR_LSB_REG_MASK); in ath11k_hal_srng_src_hw_init()
429 tp_addr >> HAL_ADDR_MSB_REG_SHIFT); in ath11k_hal_srng_src_hw_init()
436 *srng->u.src_ring.tp_addr = 0; in ath11k_hal_srng_src_hw_init()
549 ((unsigned long)srng->u.src_ring.tp_addr - in ath11k_hal_srng_get_tp_addr()
553 ((unsigned long)srng->u.dst_ring.tp_addr - in ath11k_hal_srng_get_tp_addr()
704 tp = *srng->u.src_ring.tp_addr; in ath11k_hal_srng_src_num_free()
803 *(volatile u32 *)srng->u.src_ring.tp_addr; in ath11k_hal_srng_access_begin()
[all …]
H A Ddbring.c168 param.tail_idx_paddr_lo = lower_32_bits(ring->tp_addr); in ath11k_dbring_wmi_cfg_setup()
169 param.tail_idx_paddr_hi = upper_32_bits(ring->tp_addr); in ath11k_dbring_wmi_cfg_setup()
215 ring->tp_addr = ath11k_hal_srng_get_tp_addr(ar->ab, srng); in ath11k_dbring_buf_setup()
H A Ddbring.h47 dma_addr_t tp_addr; member
H A Ddp_tx.c877 dma_addr_t hp_addr, tp_addr; in ath11k_dp_tx_htt_srng_setup() local
890 tp_addr = ath11k_hal_srng_get_tp_addr(ab, srng); in ath11k_dp_tx_htt_srng_setup()
945 cmd->ring_tail_off32_remote_addr_lo = tp_addr & HAL_ADDR_LSB_REG_MASK; in ath11k_dp_tx_htt_srng_setup()
946 cmd->ring_tail_off32_remote_addr_hi = (u64)tp_addr >> in ath11k_dp_tx_htt_srng_setup()
H A Dhal.h604 u32 *tp_addr; member
624 u32 *tp_addr; member
H A Ddebugfs.c83 entry->tp = *srng->u.src_ring.tp_addr; in ath11k_debugfs_add_dbring_entry()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhal.c1334 u64 tp_addr; in ath12k_hal_srng_src_hw_init() local
1387 tp_addr = hal->rdp.paddr + in ath12k_hal_srng_src_hw_init()
1388 ((unsigned long)srng->u.src_ring.tp_addr - in ath12k_hal_srng_src_hw_init()
1392 tp_addr & HAL_ADDR_LSB_REG_MASK); in ath12k_hal_srng_src_hw_init()
1395 tp_addr >> HAL_ADDR_MSB_REG_SHIFT); in ath12k_hal_srng_src_hw_init()
1402 *srng->u.src_ring.tp_addr = 0; in ath12k_hal_srng_src_hw_init()
1520 ((unsigned long)srng->u.src_ring.tp_addr - in ath12k_hal_srng_get_tp_addr()
1524 ((unsigned long)srng->u.dst_ring.tp_addr - in ath12k_hal_srng_get_tp_addr()
1647 tp = *srng->u.src_ring.tp_addr; in ath12k_hal_srng_src_num_free()
1735 *(volatile u32 *)srng->u.src_ring.tp_addr; in ath12k_hal_srng_access_begin()
[all …]
H A Ddbring.c132 arg.tail_idx_paddr_lo = lower_32_bits(ring->tp_addr); in ath12k_dbring_wmi_cfg_setup()
133 arg.tail_idx_paddr_hi = upper_32_bits(ring->tp_addr); in ath12k_dbring_wmi_cfg_setup()
179 ring->tp_addr = ath12k_hal_srng_get_tp_addr(ab, srng); in ath12k_dbring_buf_setup()
H A Ddbring.h47 dma_addr_t tp_addr; member
H A Ddp_tx.c697 dma_addr_t hp_addr, tp_addr; in ath12k_dp_tx_htt_srng_setup() local
710 tp_addr = ath12k_hal_srng_get_tp_addr(ab, srng); in ath12k_dp_tx_htt_srng_setup()
763 cmd->ring_tail_off32_remote_addr_lo = cpu_to_le32(lower_32_bits(tp_addr)); in ath12k_dp_tx_htt_srng_setup()
764 cmd->ring_tail_off32_remote_addr_hi = cpu_to_le32(upper_32_bits(tp_addr)); in ath12k_dp_tx_htt_srng_setup()
H A Dhal.h701 u32 *tp_addr; member
721 u32 *tp_addr; member