Lines Matching refs:__priv
12 #define stmmac_do_void_callback(__priv, __module, __cname, __arg0, __args...) \ argument
15 if ((__priv)->hw->__module && (__priv)->hw->__module->__cname) { \
16 (__priv)->hw->__module->__cname((__arg0), ##__args); \
21 #define stmmac_do_callback(__priv, __module, __cname, __arg0, __args...) \ argument
24 if ((__priv)->hw->__module && (__priv)->hw->__module->__cname) \
25 __result = (__priv)->hw->__module->__cname((__arg0), ##__args); \
109 #define stmmac_init_rx_desc(__priv, __args...) \ argument
110 stmmac_do_void_callback(__priv, desc, init_rx_desc, __args)
111 #define stmmac_init_tx_desc(__priv, __args...) \ argument
112 stmmac_do_void_callback(__priv, desc, init_tx_desc, __args)
113 #define stmmac_prepare_tx_desc(__priv, __args...) \ argument
114 stmmac_do_void_callback(__priv, desc, prepare_tx_desc, __args)
115 #define stmmac_prepare_tso_tx_desc(__priv, __args...) \ argument
116 stmmac_do_void_callback(__priv, desc, prepare_tso_tx_desc, __args)
117 #define stmmac_set_tx_owner(__priv, __args...) \ argument
118 stmmac_do_void_callback(__priv, desc, set_tx_owner, __args)
119 #define stmmac_get_tx_owner(__priv, __args...) \ argument
120 stmmac_do_callback(__priv, desc, get_tx_owner, __args)
121 #define stmmac_release_tx_desc(__priv, __args...) \ argument
122 stmmac_do_void_callback(__priv, desc, release_tx_desc, __args)
123 #define stmmac_set_tx_ic(__priv, __args...) \ argument
124 stmmac_do_void_callback(__priv, desc, set_tx_ic, __args)
125 #define stmmac_get_tx_ls(__priv, __args...) \ argument
126 stmmac_do_callback(__priv, desc, get_tx_ls, __args)
127 #define stmmac_get_rx_vlan_tci(__priv, __args...) \ argument
128 stmmac_do_callback(__priv, desc, get_rx_vlan_tci, __args)
129 #define stmmac_get_rx_vlan_valid(__priv, __args...) \ argument
130 stmmac_do_callback(__priv, desc, get_rx_vlan_valid, __args)
131 #define stmmac_tx_status(__priv, __args...) \ argument
132 stmmac_do_callback(__priv, desc, tx_status, __args)
133 #define stmmac_get_tx_len(__priv, __args...) \ argument
134 stmmac_do_callback(__priv, desc, get_tx_len, __args)
135 #define stmmac_set_rx_owner(__priv, __args...) \ argument
136 stmmac_do_void_callback(__priv, desc, set_rx_owner, __args)
137 #define stmmac_get_rx_frame_len(__priv, __args...) \ argument
138 stmmac_do_callback(__priv, desc, get_rx_frame_len, __args)
139 #define stmmac_rx_status(__priv, __args...) \ argument
140 stmmac_do_callback(__priv, desc, rx_status, __args)
141 #define stmmac_rx_extended_status(__priv, __args...) \ argument
142 stmmac_do_void_callback(__priv, desc, rx_extended_status, __args)
143 #define stmmac_enable_tx_timestamp(__priv, __args...) \ argument
144 stmmac_do_void_callback(__priv, desc, enable_tx_timestamp, __args)
145 #define stmmac_get_tx_timestamp_status(__priv, __args...) \ argument
146 stmmac_do_callback(__priv, desc, get_tx_timestamp_status, __args)
147 #define stmmac_get_timestamp(__priv, __args...) \ argument
148 stmmac_do_void_callback(__priv, desc, get_timestamp, __args)
149 #define stmmac_get_rx_timestamp_status(__priv, __args...) \ argument
150 stmmac_do_callback(__priv, desc, get_rx_timestamp_status, __args)
151 #define stmmac_display_ring(__priv, __args...) \ argument
152 stmmac_do_void_callback(__priv, desc, display_ring, __args)
153 #define stmmac_set_mss(__priv, __args...) \ argument
154 stmmac_do_void_callback(__priv, desc, set_mss, __args)
155 #define stmmac_set_desc_addr(__priv, __args...) \ argument
156 stmmac_do_void_callback(__priv, desc, set_addr, __args)
157 #define stmmac_clear_desc(__priv, __args...) \ argument
158 stmmac_do_void_callback(__priv, desc, clear, __args)
159 #define stmmac_get_rx_hash(__priv, __args...) \ argument
160 stmmac_do_callback(__priv, desc, get_rx_hash, __args)
161 #define stmmac_get_rx_header_len(__priv, __args...) \ argument
162 stmmac_do_void_callback(__priv, desc, get_rx_header_len, __args)
163 #define stmmac_set_desc_sec_addr(__priv, __args...) \ argument
164 stmmac_do_void_callback(__priv, desc, set_sec_addr, __args)
165 #define stmmac_set_desc_sarc(__priv, __args...) \ argument
166 stmmac_do_void_callback(__priv, desc, set_sarc, __args)
167 #define stmmac_set_desc_vlan_tag(__priv, __args...) \ argument
168 stmmac_do_void_callback(__priv, desc, set_vlan_tag, __args)
169 #define stmmac_set_desc_vlan(__priv, __args...) \ argument
170 stmmac_do_void_callback(__priv, desc, set_vlan, __args)
171 #define stmmac_set_desc_tbs(__priv, __args...) \ argument
172 stmmac_do_void_callback(__priv, desc, set_tbs, __args)
244 #define stmmac_dma_init(__priv, __args...) \ argument
245 stmmac_do_void_callback(__priv, dma, init, __args)
246 #define stmmac_init_chan(__priv, __args...) \ argument
247 stmmac_do_void_callback(__priv, dma, init_chan, __priv, __args)
248 #define stmmac_init_rx_chan(__priv, __args...) \ argument
249 stmmac_do_void_callback(__priv, dma, init_rx_chan, __priv, __args)
250 #define stmmac_init_tx_chan(__priv, __args...) \ argument
251 stmmac_do_void_callback(__priv, dma, init_tx_chan, __priv, __args)
252 #define stmmac_axi(__priv, __args...) \ argument
253 stmmac_do_void_callback(__priv, dma, axi, __args)
254 #define stmmac_dump_dma_regs(__priv, __args...) \ argument
255 stmmac_do_void_callback(__priv, dma, dump_regs, __priv, __args)
256 #define stmmac_dma_rx_mode(__priv, __args...) \ argument
257 stmmac_do_void_callback(__priv, dma, dma_rx_mode, __priv, __args)
258 #define stmmac_dma_tx_mode(__priv, __args...) \ argument
259 stmmac_do_void_callback(__priv, dma, dma_tx_mode, __priv, __args)
260 #define stmmac_dma_diagnostic_fr(__priv, __args...) \ argument
261 stmmac_do_void_callback(__priv, dma, dma_diagnostic_fr, __args)
262 #define stmmac_enable_dma_transmission(__priv, __args...) \ argument
263 stmmac_do_void_callback(__priv, dma, enable_dma_transmission, __args)
264 #define stmmac_enable_dma_irq(__priv, __args...) \ argument
265 stmmac_do_void_callback(__priv, dma, enable_dma_irq, __priv, __args)
266 #define stmmac_disable_dma_irq(__priv, __args...) \ argument
267 stmmac_do_void_callback(__priv, dma, disable_dma_irq, __priv, __args)
268 #define stmmac_start_tx(__priv, __args...) \ argument
269 stmmac_do_void_callback(__priv, dma, start_tx, __priv, __args)
270 #define stmmac_stop_tx(__priv, __args...) \ argument
271 stmmac_do_void_callback(__priv, dma, stop_tx, __priv, __args)
272 #define stmmac_start_rx(__priv, __args...) \ argument
273 stmmac_do_void_callback(__priv, dma, start_rx, __priv, __args)
274 #define stmmac_stop_rx(__priv, __args...) \ argument
275 stmmac_do_void_callback(__priv, dma, stop_rx, __priv, __args)
276 #define stmmac_dma_interrupt_status(__priv, __args...) \ argument
277 stmmac_do_callback(__priv, dma, dma_interrupt, __priv, __args)
278 #define stmmac_get_hw_feature(__priv, __args...) \ argument
279 stmmac_do_callback(__priv, dma, get_hw_feature, __args)
280 #define stmmac_rx_watchdog(__priv, __args...) \ argument
281 stmmac_do_void_callback(__priv, dma, rx_watchdog, __priv, __args)
282 #define stmmac_set_tx_ring_len(__priv, __args...) \ argument
283 stmmac_do_void_callback(__priv, dma, set_tx_ring_len, __priv, __args)
284 #define stmmac_set_rx_ring_len(__priv, __args...) \ argument
285 stmmac_do_void_callback(__priv, dma, set_rx_ring_len, __priv, __args)
286 #define stmmac_set_rx_tail_ptr(__priv, __args...) \ argument
287 stmmac_do_void_callback(__priv, dma, set_rx_tail_ptr, __priv, __args)
288 #define stmmac_set_tx_tail_ptr(__priv, __args...) \ argument
289 stmmac_do_void_callback(__priv, dma, set_tx_tail_ptr, __priv, __args)
290 #define stmmac_enable_tso(__priv, __args...) \ argument
291 stmmac_do_void_callback(__priv, dma, enable_tso, __priv, __args)
292 #define stmmac_dma_qmode(__priv, __args...) \ argument
293 stmmac_do_void_callback(__priv, dma, qmode, __priv, __args)
294 #define stmmac_set_dma_bfsize(__priv, __args...) \ argument
295 stmmac_do_void_callback(__priv, dma, set_bfsize, __priv, __args)
296 #define stmmac_enable_sph(__priv, __args...) \ argument
297 stmmac_do_void_callback(__priv, dma, enable_sph, __priv, __args)
298 #define stmmac_enable_tbs(__priv, __args...) \ argument
299 stmmac_do_callback(__priv, dma, enable_tbs, __priv, __args)
428 #define stmmac_core_init(__priv, __args...) \ argument
429 stmmac_do_void_callback(__priv, mac, core_init, __args)
430 #define stmmac_mac_update_caps(__priv) \ argument
431 stmmac_do_void_callback(__priv, mac, update_caps, __priv)
432 #define stmmac_mac_set(__priv, __args...) \ argument
433 stmmac_do_void_callback(__priv, mac, set_mac, __args)
434 #define stmmac_rx_ipc(__priv, __args...) \ argument
435 stmmac_do_callback(__priv, mac, rx_ipc, __args)
436 #define stmmac_rx_queue_enable(__priv, __args...) \ argument
437 stmmac_do_void_callback(__priv, mac, rx_queue_enable, __args)
438 #define stmmac_rx_queue_prio(__priv, __args...) \ argument
439 stmmac_do_void_callback(__priv, mac, rx_queue_prio, __args)
440 #define stmmac_tx_queue_prio(__priv, __args...) \ argument
441 stmmac_do_void_callback(__priv, mac, tx_queue_prio, __args)
442 #define stmmac_rx_queue_routing(__priv, __args...) \ argument
443 stmmac_do_void_callback(__priv, mac, rx_queue_routing, __args)
444 #define stmmac_prog_mtl_rx_algorithms(__priv, __args...) \ argument
445 stmmac_do_void_callback(__priv, mac, prog_mtl_rx_algorithms, __args)
446 #define stmmac_prog_mtl_tx_algorithms(__priv, __args...) \ argument
447 stmmac_do_void_callback(__priv, mac, prog_mtl_tx_algorithms, __args)
448 #define stmmac_set_mtl_tx_queue_weight(__priv, __args...) \ argument
449 stmmac_do_void_callback(__priv, mac, set_mtl_tx_queue_weight, __priv, __args)
450 #define stmmac_map_mtl_to_dma(__priv, __args...) \ argument
451 stmmac_do_void_callback(__priv, mac, map_mtl_to_dma, __args)
452 #define stmmac_config_cbs(__priv, __args...) \ argument
453 stmmac_do_void_callback(__priv, mac, config_cbs, __priv, __args)
454 #define stmmac_dump_mac_regs(__priv, __args...) \ argument
455 stmmac_do_void_callback(__priv, mac, dump_regs, __args)
456 #define stmmac_host_irq_status(__priv, __args...) \ argument
457 stmmac_do_callback(__priv, mac, host_irq_status, __args)
458 #define stmmac_host_mtl_irq_status(__priv, __args...) \ argument
459 stmmac_do_callback(__priv, mac, host_mtl_irq_status, __priv, __args)
460 #define stmmac_set_filter(__priv, __args...) \ argument
461 stmmac_do_void_callback(__priv, mac, set_filter, __args)
462 #define stmmac_flow_ctrl(__priv, __args...) \ argument
463 stmmac_do_void_callback(__priv, mac, flow_ctrl, __args)
464 #define stmmac_pmt(__priv, __args...) \ argument
465 stmmac_do_void_callback(__priv, mac, pmt, __args)
466 #define stmmac_set_umac_addr(__priv, __args...) \ argument
467 stmmac_do_void_callback(__priv, mac, set_umac_addr, __args)
468 #define stmmac_get_umac_addr(__priv, __args...) \ argument
469 stmmac_do_void_callback(__priv, mac, get_umac_addr, __args)
470 #define stmmac_set_eee_mode(__priv, __args...) \ argument
471 stmmac_do_void_callback(__priv, mac, set_eee_mode, __args)
472 #define stmmac_reset_eee_mode(__priv, __args...) \ argument
473 stmmac_do_void_callback(__priv, mac, reset_eee_mode, __args)
474 #define stmmac_set_eee_lpi_timer(__priv, __args...) \ argument
475 stmmac_do_void_callback(__priv, mac, set_eee_lpi_entry_timer, __args)
476 #define stmmac_set_eee_timer(__priv, __args...) \ argument
477 stmmac_do_void_callback(__priv, mac, set_eee_timer, __args)
478 #define stmmac_set_eee_pls(__priv, __args...) \ argument
479 stmmac_do_void_callback(__priv, mac, set_eee_pls, __args)
480 #define stmmac_mac_debug(__priv, __args...) \ argument
481 stmmac_do_void_callback(__priv, mac, debug, __priv, __args)
482 #define stmmac_pcs_ctrl_ane(__priv, __args...) \ argument
483 stmmac_do_void_callback(__priv, mac, pcs_ctrl_ane, __args)
484 #define stmmac_pcs_get_adv_lp(__priv, __args...) \ argument
485 stmmac_do_void_callback(__priv, mac, pcs_get_adv_lp, __args)
486 #define stmmac_safety_feat_config(__priv, __args...) \ argument
487 stmmac_do_callback(__priv, mac, safety_feat_config, __args)
488 #define stmmac_safety_feat_irq_status(__priv, __args...) \ argument
489 stmmac_do_callback(__priv, mac, safety_feat_irq_status, __args)
490 #define stmmac_safety_feat_dump(__priv, __args...) \ argument
491 stmmac_do_callback(__priv, mac, safety_feat_dump, __args)
492 #define stmmac_rxp_config(__priv, __args...) \ argument
493 stmmac_do_callback(__priv, mac, rxp_config, __args)
494 #define stmmac_flex_pps_config(__priv, __args...) \ argument
495 stmmac_do_callback(__priv, mac, flex_pps_config, __args)
496 #define stmmac_set_mac_loopback(__priv, __args...) \ argument
497 stmmac_do_void_callback(__priv, mac, set_mac_loopback, __args)
498 #define stmmac_rss_configure(__priv, __args...) \ argument
499 stmmac_do_callback(__priv, mac, rss_configure, __args)
500 #define stmmac_update_vlan_hash(__priv, __args...) \ argument
501 stmmac_do_void_callback(__priv, mac, update_vlan_hash, __args)
502 #define stmmac_enable_vlan(__priv, __args...) \ argument
503 stmmac_do_void_callback(__priv, mac, enable_vlan, __args)
504 #define stmmac_rx_hw_vlan(__priv, __args...) \ argument
505 stmmac_do_void_callback(__priv, mac, rx_hw_vlan, __args)
506 #define stmmac_set_hw_vlan_mode(__priv, __args...) \ argument
507 stmmac_do_void_callback(__priv, mac, set_hw_vlan_mode, __args)
508 #define stmmac_add_hw_vlan_rx_fltr(__priv, __args...) \ argument
509 stmmac_do_callback(__priv, mac, add_hw_vlan_rx_fltr, __args)
510 #define stmmac_del_hw_vlan_rx_fltr(__priv, __args...) \ argument
511 stmmac_do_callback(__priv, mac, del_hw_vlan_rx_fltr, __args)
512 #define stmmac_restore_hw_vlan_rx_fltr(__priv, __args...) \ argument
513 stmmac_do_void_callback(__priv, mac, restore_hw_vlan_rx_fltr, __args)
514 #define stmmac_get_mac_tx_timestamp(__priv, __args...) \ argument
515 stmmac_do_callback(__priv, mac, get_mac_tx_timestamp, __args)
516 #define stmmac_sarc_configure(__priv, __args...) \ argument
517 stmmac_do_void_callback(__priv, mac, sarc_configure, __args)
518 #define stmmac_config_l3_filter(__priv, __args...) \ argument
519 stmmac_do_callback(__priv, mac, config_l3_filter, __args)
520 #define stmmac_config_l4_filter(__priv, __args...) \ argument
521 stmmac_do_callback(__priv, mac, config_l4_filter, __args)
522 #define stmmac_set_arp_offload(__priv, __args...) \ argument
523 stmmac_do_void_callback(__priv, mac, set_arp_offload, __args)
524 #define stmmac_fpe_map_preemption_class(__priv, __args...) \ argument
525 stmmac_do_void_callback(__priv, mac, fpe_map_preemption_class, __args)
542 #define stmmac_config_hw_tstamping(__priv, __args...) \ argument
543 stmmac_do_void_callback(__priv, ptp, config_hw_tstamping, __args)
544 #define stmmac_config_sub_second_increment(__priv, __args...) \ argument
545 stmmac_do_void_callback(__priv, ptp, config_sub_second_increment, __args)
546 #define stmmac_init_systime(__priv, __args...) \ argument
547 stmmac_do_callback(__priv, ptp, init_systime, __args)
548 #define stmmac_config_addend(__priv, __args...) \ argument
549 stmmac_do_callback(__priv, ptp, config_addend, __args)
550 #define stmmac_adjust_systime(__priv, __args...) \ argument
551 stmmac_do_callback(__priv, ptp, adjust_systime, __args)
552 #define stmmac_get_systime(__priv, __args...) \ argument
553 stmmac_do_void_callback(__priv, ptp, get_systime, __args)
554 #define stmmac_get_ptptime(__priv, __args...) \ argument
555 stmmac_do_void_callback(__priv, ptp, get_ptptime, __args)
556 #define stmmac_timestamp_interrupt(__priv, __args...) \ argument
557 stmmac_do_void_callback(__priv, ptp, timestamp_interrupt, __args)
558 #define stmmac_hwtstamp_correct_latency(__priv, __args...) \ argument
559 stmmac_do_void_callback(__priv, ptp, hwtstamp_correct_latency, __args)
577 #define stmmac_mode_init(__priv, __args...) \ argument
578 stmmac_do_void_callback(__priv, mode, init, __args)
579 #define stmmac_is_jumbo_frm(__priv, __args...) \ argument
580 stmmac_do_callback(__priv, mode, is_jumbo_frm, __args)
581 #define stmmac_jumbo_frm(__priv, __args...) \ argument
582 stmmac_do_callback(__priv, mode, jumbo_frm, __args)
583 #define stmmac_set_16kib_bfsize(__priv, __args...) \ argument
584 stmmac_do_callback(__priv, mode, set_16kib_bfsize, __args)
585 #define stmmac_init_desc3(__priv, __args...) \ argument
586 stmmac_do_void_callback(__priv, mode, init_desc3, __args)
587 #define stmmac_refill_desc3(__priv, __args...) \ argument
588 stmmac_do_void_callback(__priv, mode, refill_desc3, __args)
589 #define stmmac_clean_desc3(__priv, __args...) \ argument
590 stmmac_do_void_callback(__priv, mode, clean_desc3, __args)
617 #define stmmac_tc_init(__priv, __args...) \ argument
618 stmmac_do_callback(__priv, tc, init, __args)
619 #define stmmac_tc_setup_cls_u32(__priv, __args...) \ argument
620 stmmac_do_callback(__priv, tc, setup_cls_u32, __args)
621 #define stmmac_tc_setup_cbs(__priv, __args...) \ argument
622 stmmac_do_callback(__priv, tc, setup_cbs, __args)
623 #define stmmac_tc_setup_cls(__priv, __args...) \ argument
624 stmmac_do_callback(__priv, tc, setup_cls, __args)
625 #define stmmac_tc_setup_taprio(__priv, __args...) \ argument
626 stmmac_do_callback(__priv, tc, setup_taprio, __args)
627 #define stmmac_tc_setup_etf(__priv, __args...) \ argument
628 stmmac_do_callback(__priv, tc, setup_etf, __args)
629 #define stmmac_tc_query_caps(__priv, __args...) \ argument
630 stmmac_do_callback(__priv, tc, query_caps, __args)
631 #define stmmac_tc_setup_mqprio(__priv, __args...) \ argument
632 stmmac_do_callback(__priv, tc, setup_mqprio, __args)
642 #define stmmac_mmc_ctrl(__priv, __args...) \ argument
643 stmmac_do_void_callback(__priv, mmc, ctrl, __args)
644 #define stmmac_mmc_intr_all_mask(__priv, __args...) \ argument
645 stmmac_do_void_callback(__priv, mmc, intr_all_mask, __args)
646 #define stmmac_mmc_read(__priv, __args...) \ argument
647 stmmac_do_void_callback(__priv, mmc, read, __args)
656 #define stmmac_est_configure(__priv, __args...) \ argument
657 stmmac_do_callback(__priv, est, configure, __args)
658 #define stmmac_est_irq_status(__priv, __args...) \ argument
659 stmmac_do_void_callback(__priv, est, irq_status, __args)