Lines Matching refs:dst_ring

263 			  srng->u.dst_ring.max_buffer_length);  in ath11k_hal_ce_dst_setup()
320 ((unsigned long)srng->u.dst_ring.hp_addr - in ath11k_hal_srng_dst_hw_init()
331 *srng->u.dst_ring.hp_addr = 0; in ath11k_hal_srng_dst_hw_init()
537 ((unsigned long)srng->u.dst_ring.hp_addr - in ath11k_hal_srng_get_hp_addr()
553 ((unsigned long)srng->u.dst_ring.tp_addr - in ath11k_hal_srng_get_tp_addr()
625 if (srng->u.dst_ring.tp != srng->u.dst_ring.cached_hp) in ath11k_hal_srng_dst_peek()
626 return (srng->ring_base_vaddr + srng->u.dst_ring.tp); in ath11k_hal_srng_dst_peek()
653 if (srng->u.dst_ring.tp == srng->u.dst_ring.cached_hp) in ath11k_hal_srng_dst_get_next_entry()
656 desc = srng->ring_base_vaddr + srng->u.dst_ring.tp; in ath11k_hal_srng_dst_get_next_entry()
658 srng->u.dst_ring.tp += srng->entry_size; in ath11k_hal_srng_dst_get_next_entry()
661 if (srng->u.dst_ring.tp == srng->ring_size) in ath11k_hal_srng_dst_get_next_entry()
662 srng->u.dst_ring.tp = 0; in ath11k_hal_srng_dst_get_next_entry()
678 tp = srng->u.dst_ring.tp; in ath11k_hal_srng_dst_num_free()
681 hp = *srng->u.dst_ring.hp_addr; in ath11k_hal_srng_dst_num_free()
682 srng->u.dst_ring.cached_hp = hp; in ath11k_hal_srng_dst_num_free()
684 hp = srng->u.dst_ring.cached_hp; in ath11k_hal_srng_dst_num_free()
805 srng->u.dst_ring.cached_hp = *srng->u.dst_ring.hp_addr; in ath11k_hal_srng_access_begin()
830 srng->u.dst_ring.last_hp = *srng->u.dst_ring.hp_addr; in ath11k_hal_srng_access_end()
831 *srng->u.dst_ring.tp_addr = srng->u.dst_ring.tp; in ath11k_hal_srng_access_end()
842 srng->u.dst_ring.last_hp = *srng->u.dst_ring.hp_addr; in ath11k_hal_srng_access_end()
844 (unsigned long)srng->u.dst_ring.tp_addr - in ath11k_hal_srng_access_end()
846 srng->u.dst_ring.tp); in ath11k_hal_srng_access_end()
1028 srng->u.dst_ring.loop_cnt = 1; in ath11k_hal_srng_setup()
1029 srng->u.dst_ring.tp = 0; in ath11k_hal_srng_setup()
1030 srng->u.dst_ring.cached_hp = 0; in ath11k_hal_srng_setup()
1031 srng->u.dst_ring.hp_addr = (void *)(hal->rdp.vaddr + ring_id); in ath11k_hal_srng_setup()
1037 srng->u.dst_ring.tp_addr = (void *)(hal->wrp.vaddr + in ath11k_hal_srng_setup()
1042 srng->u.dst_ring.tp_addr = in ath11k_hal_srng_setup()
1051 (unsigned long)srng->u.dst_ring.tp_addr - in ath11k_hal_srng_setup()
1062 srng->u.dst_ring.max_buffer_length = params->max_buffer_len; in ath11k_hal_srng_setup()
1086 srng->u.dst_ring.tp_addr = (u32 *)(HAL_SHADOW_REG(ab, shadow_cfg_idx) + in ath11k_hal_srng_update_hp_tp_addr()
1374 srng->ring_id, srng->u.dst_ring.tp, in ath11k_hal_dump_srng_stats()
1375 *srng->u.dst_ring.hp_addr, in ath11k_hal_dump_srng_stats()
1376 srng->u.dst_ring.cached_hp, in ath11k_hal_dump_srng_stats()
1377 srng->u.dst_ring.last_hp, in ath11k_hal_dump_srng_stats()