1
2
3
4
5
6
7
8#ifndef HW_ATL_LLH_H
9#define HW_ATL_LLH_H
10
11#include "../atl_types.h"
12
13struct aq_hw_s;
14
15
16
17
18void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem,
19 u32 semaphore);
20
21
22u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore);
23
24
25void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis);
26
27
28void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res);
29
30
31u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw);
32
33
34
35u32 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw);
36
37
38u32 hw_atl_stats_rx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw);
39
40
41u32 hw_atl_stats_rx_dma_good_pkt_counterlsw_get(struct aq_hw_s *aq_hw);
42
43
44u32 hw_atl_stats_tx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw);
45
46
47u32 hw_atl_stats_tx_dma_good_pkt_counterlsw_get(struct aq_hw_s *aq_hw);
48
49
50u32 hw_atl_stats_rx_dma_good_octet_countermsw_get(struct aq_hw_s *aq_hw);
51
52
53u32 hw_atl_stats_rx_dma_good_pkt_countermsw_get(struct aq_hw_s *aq_hw);
54
55
56u32 hw_atl_stats_tx_dma_good_octet_countermsw_get(struct aq_hw_s *aq_hw);
57
58
59u32 hw_atl_stats_tx_dma_good_pkt_countermsw_get(struct aq_hw_s *aq_hw);
60
61
62u32 hw_atl_reg_mac_msm_rx_errs_cnt_get(struct aq_hw_s *aq_hw);
63
64
65u32 hw_atl_reg_mac_msm_rx_ucst_frm_cnt_get(struct aq_hw_s *aq_hw);
66
67
68u32 hw_atl_reg_mac_msm_rx_mcst_frm_cnt_get(struct aq_hw_s *aq_hw);
69
70
71u32 hw_atl_reg_mac_msm_rx_bcst_frm_cnt_get(struct aq_hw_s *aq_hw);
72
73
74u32 hw_atl_reg_mac_msm_rx_bcst_octets_counter1get(struct aq_hw_s *aq_hw);
75
76
77u32 hw_atl_reg_mac_msm_rx_ucst_octets_counter0get(struct aq_hw_s *aq_hw);
78
79
80u32 hw_atl_reg_rx_dma_stat_counter7get(struct aq_hw_s *aq_hw);
81
82
83u32 hw_atl_reg_mac_msm_tx_errs_cnt_get(struct aq_hw_s *aq_hw);
84
85
86u32 hw_atl_reg_mac_msm_tx_ucst_frm_cnt_get(struct aq_hw_s *aq_hw);
87
88
89u32 hw_atl_reg_mac_msm_tx_mcst_frm_cnt_get(struct aq_hw_s *aq_hw);
90
91
92u32 hw_atl_reg_mac_msm_tx_bcst_frm_cnt_get(struct aq_hw_s *aq_hw);
93
94
95u32 hw_atl_reg_mac_msm_tx_mcst_octets_counter1get(struct aq_hw_s *aq_hw);
96
97
98u32 hw_atl_reg_mac_msm_tx_bcst_octets_counter1get(struct aq_hw_s *aq_hw);
99
100
101u32 hw_atl_reg_mac_msm_tx_ucst_octets_counter0get(struct aq_hw_s *aq_hw);
102
103
104u32 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw);
105
106
107
108
109void hw_atl_itr_irq_auto_masklsw_set(struct aq_hw_s *aq_hw,
110 u32 irq_auto_masklsw);
111
112
113void hw_atl_itr_irq_map_en_rx_set(struct aq_hw_s *aq_hw, u32 irq_map_en_rx,
114 u32 rx);
115
116
117void hw_atl_itr_irq_map_en_tx_set(struct aq_hw_s *aq_hw, u32 irq_map_en_tx,
118 u32 tx);
119
120
121void hw_atl_itr_irq_map_rx_set(struct aq_hw_s *aq_hw, u32 irq_map_rx, u32 rx);
122
123
124void hw_atl_itr_irq_map_tx_set(struct aq_hw_s *aq_hw, u32 irq_map_tx, u32 tx);
125
126
127void hw_atl_itr_irq_msk_clearlsw_set(struct aq_hw_s *aq_hw,
128 u32 irq_msk_clearlsw);
129
130
131void hw_atl_itr_irq_msk_setlsw_set(struct aq_hw_s *aq_hw, u32 irq_msk_setlsw);
132
133
134void hw_atl_itr_irq_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 irq_reg_res_dis);
135
136
137void hw_atl_itr_irq_status_clearlsw_set(struct aq_hw_s *aq_hw,
138 u32 irq_status_clearlsw);
139
140
141u32 hw_atl_itr_irq_statuslsw_get(struct aq_hw_s *aq_hw);
142
143
144u32 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw);
145
146
147void hw_atl_itr_res_irq_set(struct aq_hw_s *aq_hw, u32 res_irq);
148
149
150
151
152void hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
153
154
155void hw_atl_rdm_rx_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_dca_en);
156
157
158void hw_atl_rdm_rx_dca_mode_set(struct aq_hw_s *aq_hw, u32 rx_dca_mode);
159
160
161void hw_atl_rdm_rx_desc_data_buff_size_set(struct aq_hw_s *aq_hw,
162 u32 rx_desc_data_buff_size,
163 u32 descriptor);
164
165
166void hw_atl_rdm_rx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_dca_en,
167 u32 dca);
168
169
170void hw_atl_rdm_rx_desc_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_en,
171 u32 descriptor);
172
173
174void hw_atl_rdm_rx_desc_head_splitting_set(struct aq_hw_s *aq_hw,
175 u32 rx_desc_head_splitting,
176 u32 descriptor);
177
178
179u32 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor);
180
181
182void hw_atl_rdm_rx_desc_len_set(struct aq_hw_s *aq_hw, u32 rx_desc_len,
183 u32 descriptor);
184
185
186void hw_atl_rdm_rx_desc_wr_wb_irq_en_set(struct aq_hw_s *aq_hw,
187 u32 rx_desc_wr_wb_irq_en);
188
189
190void hw_atl_rdm_rx_head_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_head_dca_en,
191 u32 dca);
192
193
194void hw_atl_rdm_rx_pld_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_pld_dca_en,
195 u32 dca);
196
197
198void hw_atl_rdm_rx_desc_head_buff_size_set(struct aq_hw_s *aq_hw,
199 u32 rx_desc_head_buff_size,
200 u32 descriptor);
201
202
203void hw_atl_rdm_rx_desc_res_set(struct aq_hw_s *aq_hw, u32 rx_desc_res,
204 u32 descriptor);
205
206
207void hw_atl_rdm_rdm_intr_moder_en_set(struct aq_hw_s *aq_hw,
208 u32 rdm_intr_moder_en);
209
210
211
212
213void hw_atl_reg_gen_irq_map_set(struct aq_hw_s *aq_hw, u32 gen_intr_map,
214 u32 regidx);
215
216
217u32 hw_atl_reg_gen_irq_status_get(struct aq_hw_s *aq_hw);
218
219
220void hw_atl_reg_irq_glb_ctl_set(struct aq_hw_s *aq_hw, u32 intr_glb_ctl);
221
222
223void hw_atl_reg_irq_thr_set(struct aq_hw_s *aq_hw, u32 intr_thr, u32 throttle);
224
225
226void hw_atl_reg_rx_dma_desc_base_addresslswset(struct aq_hw_s *aq_hw,
227 u32 rx_dma_desc_base_addrlsw,
228 u32 descriptor);
229
230
231void hw_atl_reg_rx_dma_desc_base_addressmswset(struct aq_hw_s *aq_hw,
232 u32 rx_dma_desc_base_addrmsw,
233 u32 descriptor);
234
235
236u32 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor);
237
238
239void hw_atl_reg_rx_dma_desc_tail_ptr_set(struct aq_hw_s *aq_hw,
240 u32 rx_dma_desc_tail_ptr,
241 u32 descriptor);
242
243
244void hw_atl_reg_rx_flr_mcst_flr_msk_set(struct aq_hw_s *aq_hw,
245 u32 rx_flr_mcst_flr_msk);
246
247
248void hw_atl_reg_rx_flr_mcst_flr_set(struct aq_hw_s *aq_hw, u32 rx_flr_mcst_flr,
249 u32 filter);
250
251
252void hw_atl_reg_rx_flr_rss_control1set(struct aq_hw_s *aq_hw,
253 u32 rx_flr_rss_control1);
254
255
256void hw_atl_reg_rx_flr_control2_set(struct aq_hw_s *aq_hw, u32 rx_flr_control2);
257
258
259void hw_atl_reg_rx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw,
260 u32 rx_intr_moderation_ctl,
261 u32 queue);
262
263
264void hw_atl_reg_tx_dma_debug_ctl_set(struct aq_hw_s *aq_hw,
265 u32 tx_dma_debug_ctl);
266
267
268void hw_atl_reg_tx_dma_desc_base_addresslswset(struct aq_hw_s *aq_hw,
269 u32 tx_dma_desc_base_addrlsw,
270 u32 descriptor);
271
272
273void hw_atl_reg_tx_dma_desc_base_addressmswset(struct aq_hw_s *aq_hw,
274 u32 tx_dma_desc_base_addrmsw,
275 u32 descriptor);
276
277
278void hw_atl_reg_tx_dma_desc_tail_ptr_set(struct aq_hw_s *aq_hw,
279 u32 tx_dma_desc_tail_ptr,
280 u32 descriptor);
281
282
283void hw_atl_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw,
284 u32 tx_intr_moderation_ctl,
285 u32 queue);
286
287
288void hw_atl_reg_glb_cpu_scratch_scp_set(struct aq_hw_s *aq_hw,
289 u32 glb_cpu_scratch_scp,
290 u32 scratch_scp);
291
292
293
294
295void hw_atl_rpb_dma_sys_lbk_set(struct aq_hw_s *aq_hw, u32 dma_sys_lbk);
296
297
298void hw_atl_rpb_rpf_rx_traf_class_mode_set(struct aq_hw_s *aq_hw,
299 u32 rx_traf_class_mode);
300
301
302u32 hw_atl_rpb_rpf_rx_traf_class_mode_get(struct aq_hw_s *aq_hw);
303
304
305void hw_atl_rpb_rx_buff_en_set(struct aq_hw_s *aq_hw, u32 rx_buff_en);
306
307
308void hw_atl_rpb_rx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw,
309 u32 rx_buff_hi_threshold_per_tc,
310 u32 buffer);
311
312
313void hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw,
314 u32 rx_buff_lo_threshold_per_tc,
315 u32 buffer);
316
317
318void hw_atl_rpb_rx_flow_ctl_mode_set(struct aq_hw_s *aq_hw,
319 u32 rx_flow_ctl_mode);
320
321
322void hw_atl_rpb_rx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw,
323 u32 rx_pkt_buff_size_per_tc,
324 u32 buffer);
325
326
327void hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw,
328 u32 rx_xoff_en_per_tc,
329 u32 buffer);
330
331
332
333
334void hw_atl_rpfl2broadcast_count_threshold_set(struct aq_hw_s *aq_hw,
335 u32 l2broadcast_count_threshold);
336
337
338void hw_atl_rpfl2broadcast_en_set(struct aq_hw_s *aq_hw, u32 l2broadcast_en);
339
340
341void hw_atl_rpfl2broadcast_flr_act_set(struct aq_hw_s *aq_hw,
342 u32 l2broadcast_flr_act);
343
344
345void hw_atl_rpfl2multicast_flr_en_set(struct aq_hw_s *aq_hw,
346 u32 l2multicast_flr_en,
347 u32 filter);
348
349
350void hw_atl_rpfl2promiscuous_mode_en_set(struct aq_hw_s *aq_hw,
351 u32 l2promiscuous_mode_en);
352
353
354void hw_atl_rpfl2unicast_flr_act_set(struct aq_hw_s *aq_hw,
355 u32 l2unicast_flr_act,
356 u32 filter);
357
358
359void hw_atl_rpfl2_uc_flr_en_set(struct aq_hw_s *aq_hw, u32 l2unicast_flr_en,
360 u32 filter);
361
362
363void hw_atl_rpfl2unicast_dest_addresslsw_set(struct aq_hw_s *aq_hw,
364 u32 l2unicast_dest_addresslsw,
365 u32 filter);
366
367
368void hw_atl_rpfl2unicast_dest_addressmsw_set(struct aq_hw_s *aq_hw,
369 u32 l2unicast_dest_addressmsw,
370 u32 filter);
371
372
373void hw_atl_rpfl2_accept_all_mc_packets_set(struct aq_hw_s *aq_hw,
374 u32 l2_accept_all_mc_packets);
375
376
377void hw_atl_rpf_rpb_user_priority_tc_map_set(struct aq_hw_s *aq_hw,
378 u32 user_priority_tc_map, u32 tc);
379
380
381void hw_atl_rpf_rss_key_addr_set(struct aq_hw_s *aq_hw, u32 rss_key_addr);
382
383
384void hw_atl_rpf_rss_key_wr_data_set(struct aq_hw_s *aq_hw, u32 rss_key_wr_data);
385
386
387u32 hw_atl_rpf_rss_key_wr_en_get(struct aq_hw_s *aq_hw);
388
389
390void hw_atl_rpf_rss_key_wr_en_set(struct aq_hw_s *aq_hw, u32 rss_key_wr_en);
391
392
393void hw_atl_rpf_rss_redir_tbl_addr_set(struct aq_hw_s *aq_hw,
394 u32 rss_redir_tbl_addr);
395
396
397void hw_atl_rpf_rss_redir_tbl_wr_data_set(struct aq_hw_s *aq_hw,
398 u32 rss_redir_tbl_wr_data);
399
400
401u32 hw_atl_rpf_rss_redir_wr_en_get(struct aq_hw_s *aq_hw);
402
403
404void hw_atl_rpf_rss_redir_wr_en_set(struct aq_hw_s *aq_hw, u32 rss_redir_wr_en);
405
406
407void hw_atl_rpf_tpo_to_rpf_sys_lbk_set(struct aq_hw_s *aq_hw,
408 u32 tpo_to_rpf_sys_lbk);
409
410
411void hw_atl_rpf_vlan_inner_etht_set(struct aq_hw_s *aq_hw, u32 vlan_inner_etht);
412
413
414void hw_atl_rpf_vlan_outer_etht_set(struct aq_hw_s *aq_hw, u32 vlan_outer_etht);
415
416
417void hw_atl_rpf_vlan_prom_mode_en_set(struct aq_hw_s *aq_hw,
418 u32 vlan_prom_mode_en);
419
420
421void hw_atl_rpf_vlan_untagged_act_set(struct aq_hw_s *aq_hw,
422 u32 vlan_untagged_act);
423
424
425void hw_atl_rpf_vlan_accept_untagged_packets_set(struct aq_hw_s *aq_hw,
426 u32 vlan_acc_untagged_packets);
427
428
429void hw_atl_rpf_vlan_flr_en_set(struct aq_hw_s *aq_hw, u32 vlan_flr_en,
430 u32 filter);
431
432
433void hw_atl_rpf_vlan_flr_act_set(struct aq_hw_s *aq_hw, u32 vlan_filter_act,
434 u32 filter);
435
436
437void hw_atl_rpf_vlan_id_flr_set(struct aq_hw_s *aq_hw, u32 vlan_id_flr,
438 u32 filter);
439
440
441void hw_atl_rpf_etht_flr_en_set(struct aq_hw_s *aq_hw, u32 etht_flr_en,
442 u32 filter);
443
444
445void hw_atl_rpf_etht_user_priority_en_set(struct aq_hw_s *aq_hw,
446 u32 etht_user_priority_en,
447 u32 filter);
448
449
450void hw_atl_rpf_etht_rx_queue_en_set(struct aq_hw_s *aq_hw,
451 u32 etht_rx_queue_en,
452 u32 filter);
453
454
455void hw_atl_rpf_etht_rx_queue_set(struct aq_hw_s *aq_hw, u32 etht_rx_queue,
456 u32 filter);
457
458
459void hw_atl_rpf_etht_user_priority_set(struct aq_hw_s *aq_hw,
460 u32 etht_user_priority,
461 u32 filter);
462
463
464void hw_atl_rpf_etht_mgt_queue_set(struct aq_hw_s *aq_hw, u32 etht_mgt_queue,
465 u32 filter);
466
467
468void hw_atl_rpf_etht_flr_act_set(struct aq_hw_s *aq_hw, u32 etht_flr_act,
469 u32 filter);
470
471
472void hw_atl_rpf_etht_flr_set(struct aq_hw_s *aq_hw, u32 etht_flr, u32 filter);
473
474
475
476
477void hw_atl_rpo_ipv4header_crc_offload_en_set(struct aq_hw_s *aq_hw,
478 u32 ipv4header_crc_offload_en);
479
480
481void hw_atl_rpo_rx_desc_vlan_stripping_set(struct aq_hw_s *aq_hw,
482 u32 rx_desc_vlan_stripping,
483 u32 descriptor);
484
485
486void hw_atl_rpo_tcp_udp_crc_offload_en_set(struct aq_hw_s *aq_hw,
487 u32 tcp_udp_crc_offload_en);
488
489
490void hw_atl_rpo_lro_patch_optimization_en_set(struct aq_hw_s *aq_hw,
491 u32 lro_patch_optimization_en);
492
493
494void hw_atl_rpo_lro_en_set(struct aq_hw_s *aq_hw, u32 lro_en);
495
496
497void hw_atl_rpo_lro_qsessions_lim_set(struct aq_hw_s *aq_hw,
498 u32 lro_qsessions_lim);
499
500
501void hw_atl_rpo_lro_total_desc_lim_set(struct aq_hw_s *aq_hw,
502 u32 lro_total_desc_lim);
503
504
505void hw_atl_rpo_lro_min_pay_of_first_pkt_set(struct aq_hw_s *aq_hw,
506 u32 lro_min_pld_of_first_pkt);
507
508
509void hw_atl_rpo_lro_pkt_lim_set(struct aq_hw_s *aq_hw, u32 lro_packet_lim);
510
511
512void hw_atl_rpo_lro_max_num_of_descriptors_set(struct aq_hw_s *aq_hw,
513 u32 lro_max_desc_num, u32 lro);
514
515
516void hw_atl_rpo_lro_time_base_divider_set(struct aq_hw_s *aq_hw,
517 u32 lro_time_base_divider);
518
519
520void hw_atl_rpo_lro_inactive_interval_set(struct aq_hw_s *aq_hw,
521 u32 lro_inactive_interval);
522
523
524void hw_atl_rpo_lro_max_coalescing_interval_set(struct aq_hw_s *aq_hw,
525 u32 lro_max_coal_interval);
526
527
528
529
530void hw_atl_rx_rx_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 rx_reg_res_dis);
531
532
533
534
535void hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca);
536
537
538void hw_atl_tdm_large_send_offload_en_set(struct aq_hw_s *aq_hw,
539 u32 large_send_offload_en);
540
541
542void hw_atl_tdm_tx_desc_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_en,
543 u32 descriptor);
544
545
546void hw_atl_tdm_tx_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_dca_en);
547
548
549void hw_atl_tdm_tx_dca_mode_set(struct aq_hw_s *aq_hw, u32 tx_dca_mode);
550
551
552void hw_atl_tdm_tx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_dca_en,
553 u32 dca);
554
555
556u32 hw_atl_tdm_tx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor);
557
558
559void hw_atl_tdm_tx_desc_len_set(struct aq_hw_s *aq_hw, u32 tx_desc_len,
560 u32 descriptor);
561
562
563void hw_atl_tdm_tx_desc_wr_wb_irq_en_set(struct aq_hw_s *aq_hw,
564 u32 tx_desc_wr_wb_irq_en);
565
566
567void hw_atl_tdm_tx_desc_wr_wb_threshold_set(struct aq_hw_s *aq_hw,
568 u32 tx_desc_wr_wb_threshold,
569 u32 descriptor);
570
571
572void hw_atl_tdm_tdm_intr_moder_en_set(struct aq_hw_s *aq_hw,
573 u32 tdm_irq_moderation_en);
574
575
576
577void hw_atl_thm_lso_tcp_flag_of_first_pkt_set(struct aq_hw_s *aq_hw,
578 u32 lso_tcp_flag_of_first_pkt);
579
580
581void hw_atl_thm_lso_tcp_flag_of_last_pkt_set(struct aq_hw_s *aq_hw,
582 u32 lso_tcp_flag_of_last_pkt);
583
584
585void hw_atl_thm_lso_tcp_flag_of_middle_pkt_set(struct aq_hw_s *aq_hw,
586 u32 lso_tcp_flag_of_middle_pkt);
587
588
589
590
591void hw_atl_rpb_tps_tx_tc_mode_set(struct aq_hw_s *aq_hw,
592 u32 tx_traf_class_mode);
593
594
595u32 hw_atl_rpb_tps_tx_tc_mode_get(struct aq_hw_s *aq_hw);
596
597
598void hw_atl_tpb_tx_buff_en_set(struct aq_hw_s *aq_hw, u32 tx_buff_en);
599
600
601void hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw,
602 u32 tx_buff_hi_threshold_per_tc,
603 u32 buffer);
604
605
606void hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw,
607 u32 tx_buff_lo_threshold_per_tc,
608 u32 buffer);
609
610
611void hw_atl_tpb_tx_dma_sys_lbk_en_set(struct aq_hw_s *aq_hw,
612 u32 tx_dma_sys_lbk_en);
613
614
615void hw_atl_tpb_tx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw,
616 u32 tx_pkt_buff_size_per_tc,
617 u32 buffer);
618
619
620void hw_atl_tpb_tx_path_scp_ins_en_set(struct aq_hw_s *aq_hw,
621 u32 tx_path_scp_ins_en);
622
623
624
625
626void hw_atl_tpo_ipv4header_crc_offload_en_set(struct aq_hw_s *aq_hw,
627 u32 ipv4header_crc_offload_en);
628
629
630void hw_atl_tpo_tcp_udp_crc_offload_en_set(struct aq_hw_s *aq_hw,
631 u32 tcp_udp_crc_offload_en);
632
633
634void hw_atl_tpo_tx_pkt_sys_lbk_en_set(struct aq_hw_s *aq_hw,
635 u32 tx_pkt_sys_lbk_en);
636
637
638
639
640void hw_atl_tps_tx_pkt_shed_data_arb_mode_set(struct aq_hw_s *aq_hw,
641 u32 tx_pkt_shed_data_arb_mode);
642
643
644void hw_atl_tps_tx_pkt_shed_desc_rate_curr_time_res_set(struct aq_hw_s *aq_hw,
645 u32 curr_time_res);
646
647
648void hw_atl_tps_tx_pkt_shed_desc_rate_lim_set(struct aq_hw_s *aq_hw,
649 u32 tx_pkt_shed_desc_rate_lim);
650
651
652void hw_atl_tps_tx_pkt_shed_desc_tc_arb_mode_set(struct aq_hw_s *aq_hw,
653 u32 arb_mode);
654
655
656void hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set(struct aq_hw_s *aq_hw,
657 u32 max_credit,
658 u32 tc);
659
660
661void hw_atl_tps_tx_pkt_shed_desc_tc_weight_set(struct aq_hw_s *aq_hw,
662 u32 tx_pkt_shed_desc_tc_weight,
663 u32 tc);
664
665
666void hw_atl_tps_tx_pkt_shed_desc_vm_arb_mode_set(struct aq_hw_s *aq_hw,
667 u32 arb_mode);
668
669
670void hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set(struct aq_hw_s *aq_hw,
671 u32 max_credit,
672 u32 tc);
673
674
675void hw_atl_tps_tx_pkt_shed_tc_data_weight_set(struct aq_hw_s *aq_hw,
676 u32 tx_pkt_shed_tc_data_weight,
677 u32 tc);
678
679
680
681
682void hw_atl_tx_tx_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 tx_reg_res_dis);
683
684
685
686
687u32 hw_atl_msm_reg_access_status_get(struct aq_hw_s *aq_hw);
688
689
690void hw_atl_msm_reg_addr_for_indirect_addr_set(struct aq_hw_s *aq_hw,
691 u32 reg_addr_for_indirect_addr);
692
693
694void hw_atl_msm_reg_rd_strobe_set(struct aq_hw_s *aq_hw, u32 reg_rd_strobe);
695
696
697u32 hw_atl_msm_reg_rd_data_get(struct aq_hw_s *aq_hw);
698
699
700void hw_atl_msm_reg_wr_data_set(struct aq_hw_s *aq_hw, u32 reg_wr_data);
701
702
703void hw_atl_msm_reg_wr_strobe_set(struct aq_hw_s *aq_hw, u32 reg_wr_strobe);
704
705
706
707
708void hw_atl_pci_pci_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 pci_reg_res_dis);
709
710
711void hw_atl_mcp_up_force_intr_set(struct aq_hw_s *aq_hw, u32 up_force_intr);
712
713
714#endif
715