Lines Matching refs:ab
53 #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
63 #define HAL_TCL1_RING_CONSUMER_INT_SETUP_IX1(ab) \ argument
64 ab->hw_params.regs->hal_tcl1_ring_consumer_int_setup_ix1
65 #define HAL_TCL1_RING_MSI1_BASE_LSB(ab) \ argument
66 ab->hw_params.regs->hal_tcl1_ring_msi1_base_lsb
67 #define HAL_TCL1_RING_MSI1_BASE_MSB(ab) \ argument
68 ab->hw_params.regs->hal_tcl1_ring_msi1_base_msb
69 #define HAL_TCL1_RING_MSI1_DATA(ab) \ argument
70 ab->hw_params.regs->hal_tcl1_ring_msi1_data
71 #define HAL_TCL2_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl2_ring_base_lsb argument
72 #define HAL_TCL_RING_BASE_LSB(ab) ab->hw_params.regs->hal_tcl_ring_base_lsb argument
74 #define HAL_TCL1_RING_MSI1_BASE_LSB_OFFSET(ab) \ argument
75 (HAL_TCL1_RING_MSI1_BASE_LSB(ab) - HAL_TCL1_RING_BASE_LSB(ab))
76 #define HAL_TCL1_RING_MSI1_BASE_MSB_OFFSET(ab) \ argument
77 (HAL_TCL1_RING_MSI1_BASE_MSB(ab) - HAL_TCL1_RING_BASE_LSB(ab))
78 #define HAL_TCL1_RING_MSI1_DATA_OFFSET(ab) \ argument
79 (HAL_TCL1_RING_MSI1_DATA(ab) - HAL_TCL1_RING_BASE_LSB(ab))
80 #define HAL_TCL1_RING_BASE_MSB_OFFSET(ab) \ argument
81 (HAL_TCL1_RING_BASE_MSB(ab) - HAL_TCL1_RING_BASE_LSB(ab))
82 #define HAL_TCL1_RING_ID_OFFSET(ab) \ argument
83 (HAL_TCL1_RING_ID(ab) - HAL_TCL1_RING_BASE_LSB(ab))
84 #define HAL_TCL1_RING_CONSR_INT_SETUP_IX0_OFFSET(ab) \ argument
85 (HAL_TCL1_RING_CONSUMER_INT_SETUP_IX0(ab) - HAL_TCL1_RING_BASE_LSB(ab))
86 #define HAL_TCL1_RING_CONSR_INT_SETUP_IX1_OFFSET(ab) \ argument
87 (HAL_TCL1_RING_CONSUMER_INT_SETUP_IX1(ab) - HAL_TCL1_RING_BASE_LSB(ab))
88 #define HAL_TCL1_RING_TP_ADDR_LSB_OFFSET(ab) \ argument
89 (HAL_TCL1_RING_TP_ADDR_LSB(ab) - HAL_TCL1_RING_BASE_LSB(ab))
90 #define HAL_TCL1_RING_TP_ADDR_MSB_OFFSET(ab) \ argument
91 (HAL_TCL1_RING_TP_ADDR_MSB(ab) - HAL_TCL1_RING_BASE_LSB(ab))
92 #define HAL_TCL1_RING_MISC_OFFSET(ab) \ argument
93 (HAL_TCL1_RING_MISC(ab) - HAL_TCL1_RING_BASE_LSB(ab))
105 #define HAL_TCL_STATUS_RING_BASE_LSB(ab) \ argument
106 ab->hw_params.regs->hal_tcl_status_ring_base_lsb
115 #define HAL_REO1_RING_BASE_LSB(ab) ab->hw_params.regs->hal_reo1_ring_base_lsb argument
116 #define HAL_REO1_RING_BASE_MSB(ab) ab->hw_params.regs->hal_reo1_ring_base_msb argument
117 #define HAL_REO1_RING_ID(ab) ab->hw_params.regs->hal_reo1_ring_id argument
118 #define HAL_REO1_RING_MISC(ab) ab->hw_params.regs->hal_reo1_ring_misc argument
119 #define HAL_REO1_RING_HP_ADDR_LSB(ab) \ argument
120 ab->hw_params.regs->hal_reo1_ring_hp_addr_lsb
121 #define HAL_REO1_RING_HP_ADDR_MSB(ab) \ argument
122 ab->hw_params.regs->hal_reo1_ring_hp_addr_msb
123 #define HAL_REO1_RING_PRODUCER_INT_SETUP(ab) \ argument
124 ab->hw_params.regs->hal_reo1_ring_producer_int_setup
125 #define HAL_REO1_RING_MSI1_BASE_LSB(ab) \ argument
126 ab->hw_params.regs->hal_reo1_ring_msi1_base_lsb
127 #define HAL_REO1_RING_MSI1_BASE_MSB(ab) \ argument
128 ab->hw_params.regs->hal_reo1_ring_msi1_base_msb
129 #define HAL_REO1_RING_MSI1_DATA(ab) \ argument
130 ab->hw_params.regs->hal_reo1_ring_msi1_data
131 #define HAL_REO2_RING_BASE_LSB(ab) ab->hw_params.regs->hal_reo2_ring_base_lsb argument
132 #define HAL_REO1_AGING_THRESH_IX_0(ab) \ argument
133 ab->hw_params.regs->hal_reo1_aging_thresh_ix_0
134 #define HAL_REO1_AGING_THRESH_IX_1(ab) \ argument
135 ab->hw_params.regs->hal_reo1_aging_thresh_ix_1
136 #define HAL_REO1_AGING_THRESH_IX_2(ab) \ argument
137 ab->hw_params.regs->hal_reo1_aging_thresh_ix_2
138 #define HAL_REO1_AGING_THRESH_IX_3(ab) \ argument
139 ab->hw_params.regs->hal_reo1_aging_thresh_ix_3
141 #define HAL_REO1_RING_MSI1_BASE_LSB_OFFSET(ab) \ argument
142 (HAL_REO1_RING_MSI1_BASE_LSB(ab) - HAL_REO1_RING_BASE_LSB(ab))
143 #define HAL_REO1_RING_MSI1_BASE_MSB_OFFSET(ab) \ argument
144 (HAL_REO1_RING_MSI1_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab))
145 #define HAL_REO1_RING_MSI1_DATA_OFFSET(ab) \ argument
146 (HAL_REO1_RING_MSI1_DATA(ab) - HAL_REO1_RING_BASE_LSB(ab))
147 #define HAL_REO1_RING_BASE_MSB_OFFSET(ab) \ argument
148 (HAL_REO1_RING_BASE_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab))
149 #define HAL_REO1_RING_ID_OFFSET(ab) (HAL_REO1_RING_ID(ab) - HAL_REO1_RING_BASE_LSB(ab)) argument
150 #define HAL_REO1_RING_PRODUCER_INT_SETUP_OFFSET(ab) \ argument
151 (HAL_REO1_RING_PRODUCER_INT_SETUP(ab) - HAL_REO1_RING_BASE_LSB(ab))
152 #define HAL_REO1_RING_HP_ADDR_LSB_OFFSET(ab) \ argument
153 (HAL_REO1_RING_HP_ADDR_LSB(ab) - HAL_REO1_RING_BASE_LSB(ab))
154 #define HAL_REO1_RING_HP_ADDR_MSB_OFFSET(ab) \ argument
155 (HAL_REO1_RING_HP_ADDR_MSB(ab) - HAL_REO1_RING_BASE_LSB(ab))
156 #define HAL_REO1_RING_MISC_OFFSET(ab) \ argument
157 (HAL_REO1_RING_MISC(ab) - HAL_REO1_RING_BASE_LSB(ab))
160 #define HAL_REO1_RING_HP(ab) ab->hw_params.regs->hal_reo1_ring_hp argument
161 #define HAL_REO1_RING_TP(ab) ab->hw_params.regs->hal_reo1_ring_tp argument
162 #define HAL_REO2_RING_HP(ab) ab->hw_params.regs->hal_reo2_ring_hp argument
164 #define HAL_REO1_RING_TP_OFFSET(ab) (HAL_REO1_RING_TP(ab) - HAL_REO1_RING_HP(ab)) argument
167 #define HAL_REO_TCL_RING_BASE_LSB(ab) \ argument
168 ab->hw_params.regs->hal_reo_tcl_ring_base_lsb
171 #define HAL_REO_TCL_RING_HP(ab) ab->hw_params.regs->hal_reo_tcl_ring_hp argument
195 #define HAL_REO_STATUS_RING_BASE_LSB(ab) \ argument
196 ab->hw_params.regs->hal_reo_status_ring_base_lsb
197 #define HAL_REO_STATUS_HP(ab) ab->hw_params.regs->hal_reo_status_hp argument
898 void ath11k_hal_reo_init_cmd_ring(struct ath11k_base *ab,
900 void ath11k_hal_reo_hw_setup(struct ath11k_base *ab, u32 ring_hash_map);
901 void ath11k_hal_setup_link_idle_list(struct ath11k_base *ab,
906 dma_addr_t ath11k_hal_srng_get_tp_addr(struct ath11k_base *ab,
908 dma_addr_t ath11k_hal_srng_get_hp_addr(struct ath11k_base *ab,
917 int ath11k_hal_srng_get_entrysize(struct ath11k_base *ab, u32 ring_type);
918 int ath11k_hal_srng_get_max_entries(struct ath11k_base *ab, u32 ring_type);
919 void ath11k_hal_srng_get_params(struct ath11k_base *ab, struct hal_srng *srng,
921 u32 *ath11k_hal_srng_dst_get_next_entry(struct ath11k_base *ab,
923 u32 *ath11k_hal_srng_dst_peek(struct ath11k_base *ab, struct hal_srng *srng);
924 int ath11k_hal_srng_dst_num_free(struct ath11k_base *ab, struct hal_srng *srng,
926 u32 *ath11k_hal_srng_src_peek(struct ath11k_base *ab, struct hal_srng *srng);
927 u32 *ath11k_hal_srng_src_get_next_reaped(struct ath11k_base *ab,
929 u32 *ath11k_hal_srng_src_reap_next(struct ath11k_base *ab,
931 u32 *ath11k_hal_srng_src_get_next_entry(struct ath11k_base *ab,
933 int ath11k_hal_srng_src_num_free(struct ath11k_base *ab, struct hal_srng *srng,
935 void ath11k_hal_srng_access_begin(struct ath11k_base *ab,
937 void ath11k_hal_srng_access_end(struct ath11k_base *ab, struct hal_srng *srng);
938 int ath11k_hal_srng_setup(struct ath11k_base *ab, enum hal_ring_type type,
943 void ath11k_hal_dump_srng_stats(struct ath11k_base *ab);
944 void ath11k_hal_srng_get_shadow_config(struct ath11k_base *ab,
946 int ath11k_hal_srng_update_shadow_config(struct ath11k_base *ab,
949 void ath11k_hal_srng_shadow_config(struct ath11k_base *ab);
950 void ath11k_hal_srng_shadow_update_hp_tp(struct ath11k_base *ab,