/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 279 (ctrl1_addr & ~(ctrl_regs->src_ring->mask)) | in ath10k_ce_src_ring_byte_swap_set() 280 ath10k_set_ring_byte(n, ctrl_regs->src_ring)); in ath10k_ce_src_ring_byte_swap_set() 496 struct ath10k_ce_ring *src_ring = ce_state->src_ring; in _ath10k_ce_send_nolock() local 498 unsigned int nentries_mask = src_ring->nentries_mask; in _ath10k_ce_send_nolock() 499 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() 500 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() 515 desc = CE_SRC_RING_TO_DESC(src_ring->base_addr_owner_space, in _ath10k_ce_send_nolock() 531 src_ring->per_transfer_context[write_index] = per_transfer_context; in _ath10k_ce_send_nolock() 540 src_ring in _ath10k_ce_send_nolock() 553 struct ath10k_ce_ring *src_ring = ce_state->src_ring; _ath10k_ce_send_nolock_64() local 642 struct ath10k_ce_ring *src_ring = pipe->src_ring; __ath10k_ce_send_revert() local 1072 struct ath10k_ce_ring *src_ring = ce_state->src_ring; _ath10k_ce_completed_send_next_nolock() local 1125 struct ath10k_ce_ring *src_ring = ce_state->src_ring; _ath10k_ce_completed_send_next_nolock_64() local 1183 ath10k_ce_extract_desc_data(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data() argument 1200 ath10k_ce_extract_desc_data_64(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data_64() argument 1225 struct ath10k_ce_ring *src_ring; ath10k_ce_cancel_send_next() local 1428 struct ath10k_ce_ring *src_ring = ce_state->src_ring; ath10k_ce_init_src_ring() local 1501 ath10k_ce_alloc_shadow_base(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 nentries) ath10k_ce_alloc_shadow_base() argument 1521 struct ath10k_ce_ring *src_ring; ath10k_ce_alloc_src_ring() local 1579 struct ath10k_ce_ring *src_ring; ath10k_ce_alloc_src_ring_64() local [all...] |
H A D | ce.h | 128 struct ath10k_ce_ring *src_ring; member 321 struct ath10k_ce_ring *src_ring,
|
H A D | hw.c | 233 .src_ring = &wcn3990_src_ring, 371 .src_ring = &qcax_src_ring,
|
H A D | pci.c | 1356 struct ath10k_ce_ring *src_ring = ce_pipe->src_ring; in ath10k_pci_hif_tx_sg() local 1364 nentries_mask = src_ring->nentries_mask; in ath10k_pci_hif_tx_sg() 1365 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg() 1366 write_index = src_ring->write_index; in ath10k_pci_hif_tx_sg() 2015 ce_ring = ce_pipe->src_ring; in ath10k_pci_tx_pipe_cleanup()
|
H A D | hw.h | 299 struct ath10k_hw_ce_regs_addr_map *src_ring; member
|
H A D | snoc.c | 888 ce_ring = ce_pipe->src_ring; in ath10k_snoc_tx_pipe_cleanup()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 225 (ctrl1_addr & ~(ctrl_regs->src_ring->mask)) | in ath10k_ce_src_ring_byte_swap_set() 226 ath10k_set_ring_byte(n, ctrl_regs->src_ring)); in ath10k_ce_src_ring_byte_swap_set() 429 struct ath10k_ce_ring *src_ring = ce_state->src_ring; in _ath10k_ce_send_nolock() local 431 unsigned int nentries_mask = src_ring->nentries_mask; in _ath10k_ce_send_nolock() 432 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() 433 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() 448 desc = CE_SRC_RING_TO_DESC(src_ring->base_addr_owner_space, in _ath10k_ce_send_nolock() 464 src_ring->per_transfer_context[write_index] = per_transfer_context; in _ath10k_ce_send_nolock() 473 src_ring in _ath10k_ce_send_nolock() 486 struct ath10k_ce_ring *src_ring = ce_state->src_ring; _ath10k_ce_send_nolock_64() local 575 struct ath10k_ce_ring *src_ring = pipe->src_ring; __ath10k_ce_send_revert() local 1005 struct ath10k_ce_ring *src_ring = ce_state->src_ring; _ath10k_ce_completed_send_next_nolock() local 1058 struct ath10k_ce_ring *src_ring = ce_state->src_ring; _ath10k_ce_completed_send_next_nolock_64() local 1116 ath10k_ce_extract_desc_data(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data() argument 1133 ath10k_ce_extract_desc_data_64(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 sw_index, dma_addr_t *bufferp, u32 *nbytesp, u32 *transfer_idp) ath10k_ce_extract_desc_data_64() argument 1158 struct ath10k_ce_ring *src_ring; ath10k_ce_cancel_send_next() local 1361 struct ath10k_ce_ring *src_ring = ce_state->src_ring; ath10k_ce_init_src_ring() local 1434 ath10k_ce_alloc_shadow_base(struct ath10k *ar, struct ath10k_ce_ring *src_ring, u32 nentries) ath10k_ce_alloc_shadow_base() argument 1454 struct ath10k_ce_ring *src_ring; ath10k_ce_alloc_src_ring() local 1512 struct ath10k_ce_ring *src_ring; ath10k_ce_alloc_src_ring_64() local [all...] |
H A D | ce.h | 128 struct ath10k_ce_ring *src_ring; member 321 struct ath10k_ce_ring *src_ring,
|
H A D | hw.c | 234 .src_ring = &wcn3990_src_ring, 372 .src_ring = &qcax_src_ring,
|
H A D | pci.c | 1356 struct ath10k_ce_ring *src_ring = ce_pipe->src_ring; in ath10k_pci_hif_tx_sg() local 1364 nentries_mask = src_ring->nentries_mask; in ath10k_pci_hif_tx_sg() 1365 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg() 1366 write_index = src_ring->write_index; in ath10k_pci_hif_tx_sg() 2015 ce_ring = ce_pipe->src_ring; in ath10k_pci_tx_pipe_cleanup()
|
H A D | hw.h | 299 struct ath10k_hw_ce_regs_addr_map *src_ring; member
|
H A D | snoc.c | 889 ce_ring = ce_pipe->src_ring; in ath10k_snoc_tx_pipe_cleanup()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | hal.c | 457 srng->u.src_ring.low_threshold); in ath11k_hal_srng_src_hw_init() 465 ((unsigned long)srng->u.src_ring.tp_addr - in ath11k_hal_srng_src_hw_init() 479 *srng->u.src_ring.tp_addr = 0; in ath11k_hal_srng_src_hw_init() 562 params->low_threshold = srng->u.src_ring.low_threshold; in ath11k_hal_srng_get_params() 576 ((unsigned long)srng->u.src_ring.hp_addr - in ath11k_hal_srng_get_hp_addr() 592 ((unsigned long)srng->u.src_ring.tp_addr - in ath11k_hal_srng_get_tp_addr() 722 hp = srng->u.src_ring.hp; in ath11k_hal_srng_src_num_free() 725 tp = *srng->u.src_ring.tp_addr; in ath11k_hal_srng_src_num_free() 726 srng->u.src_ring.cached_tp = tp; in ath11k_hal_srng_src_num_free() 728 tp = srng->u.src_ring in ath11k_hal_srng_src_num_free() [all...] |
H A D | ce.c | 409 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next() 410 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_completed_send_next() 412 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_completed_send_next() 424 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next() 426 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next() 429 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next() 591 pipe->src_ring = ring; in ath11k_ce_alloc_pipe() 651 write_index = pipe->src_ring->write_index; in ath11k_ce_send() 653 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send() 658 num_used = pipe->src_ring in ath11k_ce_send() [all...] |
H A D | ce.h | 161 struct ath11k_ce_ring *src_ring; member
|
H A D | hal.h | 617 } src_ring; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | ce.c | 420 sw_index = pipe->src_ring->sw_index; in ath12k_ce_completed_send_next() 421 nentries_mask = pipe->src_ring->nentries_mask; in ath12k_ce_completed_send_next() 423 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath12k_ce_completed_send_next() 435 skb = pipe->src_ring->skb[sw_index]; in ath12k_ce_completed_send_next() 437 pipe->src_ring->skb[sw_index] = NULL; in ath12k_ce_completed_send_next() 440 pipe->src_ring->sw_index = sw_index; in ath12k_ce_completed_send_next() 597 pipe->src_ring = ring; in ath12k_ce_alloc_pipe() 656 write_index = pipe->src_ring->write_index; in ath12k_ce_send() 658 sw_index = pipe->src_ring->sw_index; in ath12k_ce_send() 663 num_used = pipe->src_ring in ath12k_ce_send() [all...] |
H A D | hal.c | 1379 val |= u32_encode_bits(srng->u.src_ring.low_threshold, in ath12k_hal_srng_src_hw_init() 1388 ((unsigned long)srng->u.src_ring.tp_addr - in ath12k_hal_srng_src_hw_init() 1402 *srng->u.src_ring.tp_addr = 0; in ath12k_hal_srng_src_hw_init() 1488 params->low_threshold = srng->u.src_ring.low_threshold; in ath12k_hal_srng_get_params() 1504 ((unsigned long)srng->u.src_ring.hp_addr - in ath12k_hal_srng_get_hp_addr() 1520 ((unsigned long)srng->u.src_ring.tp_addr - in ath12k_hal_srng_get_tp_addr() 1644 hp = srng->u.src_ring.hp; in ath12k_hal_srng_src_num_free() 1647 tp = *srng->u.src_ring.tp_addr; in ath12k_hal_srng_src_num_free() 1648 srng->u.src_ring.cached_tp = tp; in ath12k_hal_srng_src_num_free() 1650 tp = srng->u.src_ring in ath12k_hal_srng_src_num_free() [all...] |
H A D | ce.h | 152 struct ath12k_ce_ring *src_ring; member
|
H A D | hal.h | 737 } src_ring; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | hal.c | 414 srng->u.src_ring.low_threshold); in ath11k_hal_srng_src_hw_init() 422 ((unsigned long)srng->u.src_ring.tp_addr - in ath11k_hal_srng_src_hw_init() 436 *srng->u.src_ring.tp_addr = 0; in ath11k_hal_srng_src_hw_init() 519 params->low_threshold = srng->u.src_ring.low_threshold; in ath11k_hal_srng_get_params() 533 ((unsigned long)srng->u.src_ring.hp_addr - in ath11k_hal_srng_get_hp_addr() 549 ((unsigned long)srng->u.src_ring.tp_addr - in ath11k_hal_srng_get_tp_addr() 701 hp = srng->u.src_ring.hp; in ath11k_hal_srng_src_num_free() 704 tp = *srng->u.src_ring.tp_addr; in ath11k_hal_srng_src_num_free() 705 srng->u.src_ring.cached_tp = tp; in ath11k_hal_srng_src_num_free() 707 tp = srng->u.src_ring in ath11k_hal_srng_src_num_free() [all...] |
H A D | ce.c | 470 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next() 471 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_completed_send_next() 473 srng = &ab->hal.srng_list[pipe->src_ring->hal_ring_id]; in ath11k_ce_completed_send_next() 485 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next() 487 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next() 490 pipe->src_ring->sw_index = sw_index; in ath11k_ce_completed_send_next() 667 pipe->src_ring = ring; in ath11k_ce_alloc_pipe() 729 write_index = pipe->src_ring->write_index; in ath11k_ce_send() 731 sw_index = pipe->src_ring->sw_index; in ath11k_ce_send() 736 num_used = pipe->src_ring in ath11k_ce_send() [all...] |
H A D | ce.h | 178 struct ath11k_ce_ring *src_ring; member
|
H A D | hal.h | 640 } src_ring; member
|
H A D | debugfs.c | 81 entry->hp = srng->u.src_ring.hp; in ath11k_debugfs_add_dbring_entry() 82 entry->tp = *srng->u.src_ring.tp_addr; in ath11k_debugfs_add_dbring_entry()
|