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