Lines Matching refs:airoha_eth
787 struct airoha_eth *eth;
815 struct airoha_eth { struct
914 struct airoha_eth *eth = port->qdma->eth; in airoha_set_macaddr()
927 static void airoha_set_gdm_port_fwd_cfg(struct airoha_eth *eth, u32 addr, in airoha_set_gdm_port_fwd_cfg()
940 static int airoha_set_gdm_port(struct airoha_eth *eth, int port, bool enable) in airoha_set_gdm_port()
979 static int airoha_set_gdm_ports(struct airoha_eth *eth, bool enable) in airoha_set_gdm_ports()
1004 static void airoha_fe_maccr_init(struct airoha_eth *eth) in airoha_fe_maccr_init()
1026 static void airoha_fe_vip_setup(struct airoha_eth *eth) in airoha_fe_vip_setup()
1090 static u32 airoha_fe_get_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_get_pse_queue_rsv_pages()
1104 static void airoha_fe_set_pse_queue_rsv_pages(struct airoha_eth *eth, in airoha_fe_set_pse_queue_rsv_pages()
1117 static u32 airoha_fe_get_pse_all_rsv(struct airoha_eth *eth) in airoha_fe_get_pse_all_rsv()
1124 static int airoha_fe_set_pse_oq_rsv(struct airoha_eth *eth, in airoha_fe_set_pse_oq_rsv()
1158 static void airoha_fe_pse_ports_init(struct airoha_eth *eth) in airoha_fe_pse_ports_init()
1233 static int airoha_fe_mc_vlan_clear(struct airoha_eth *eth) in airoha_fe_mc_vlan_clear()
1273 static void airoha_fe_crsn_qsel_init(struct airoha_eth *eth) in airoha_fe_crsn_qsel_init()
1319 static int airoha_fe_init(struct airoha_eth *eth) in airoha_fe_init()
1414 struct airoha_eth *eth = qdma->eth; in airoha_qdma_fill_rx_queue()
1459 static int airoha_qdma_get_gdm_port(struct airoha_eth *eth, in airoha_qdma_get_gdm_port()
1483 struct airoha_eth *eth = qdma->eth; in airoha_qdma_rx_process()
1573 struct airoha_eth *eth = qdma->eth; in airoha_qdma_init_rx_queue()
1619 struct airoha_eth *eth = q->qdma->eth; in airoha_qdma_cleanup_rx_queue()
1659 struct airoha_eth *eth; in airoha_qdma_tx_napi_poll()
1766 struct airoha_eth *eth = qdma->eth; in airoha_qdma_init_tx_queue()
1805 struct airoha_eth *eth = qdma->eth; in airoha_qdma_tx_irq_init()
1851 struct airoha_eth *eth = q->qdma->eth; in airoha_qdma_cleanup_tx_queue()
1870 struct airoha_eth *eth = qdma->eth; in airoha_qdma_init_hfwd_queues()
2055 struct airoha_eth *eth, in airoha_qdma_init()
2098 struct airoha_eth *eth) in airoha_hw_init()
2178 struct airoha_eth *eth = port->qdma->eth; in airoha_update_hw_stats()
2538 struct airoha_eth *eth = port->qdma->eth; in airoha_ethtool_get_drvinfo()
2615 static int airoha_alloc_gdm_port(struct airoha_eth *eth, struct device_node *np) in airoha_alloc_gdm_port()
2686 struct airoha_eth *eth; in airoha_probe()
2780 struct airoha_eth *eth = platform_get_drvdata(pdev); in airoha_remove()