Home
last modified time | relevance | path

Searched refs:pse_port (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c205 int pse_port, dsa_port, queue; in mtk_flow_set_output_device() local
213 pse_port = PSE_WDMA0_PORT; in mtk_flow_set_output_device()
216 pse_port = PSE_WDMA1_PORT; in mtk_flow_set_output_device()
219 pse_port = PSE_WDMA2_PORT; in mtk_flow_set_output_device()
225 pse_port = 3; in mtk_flow_set_output_device()
234 pse_port = PSE_GDM1_PORT; in mtk_flow_set_output_device()
236 pse_port = PSE_GDM2_PORT; in mtk_flow_set_output_device()
238 pse_port = PSE_GDM3_PORT; in mtk_flow_set_output_device()
246 queue = pse_port - 1; in mtk_flow_set_output_device()
251 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device()
H A Dmtk_ppe.c213 int type, int l4proto, u8 pse_port, u8 *src_mac, in mtk_foe_entry_prepare() argument
228 val = FIELD_PREP(MTK_FOE_IB2_DEST_PORT_V2, pse_port) | in mtk_foe_entry_prepare()
239 val = FIELD_PREP(MTK_FOE_IB2_DEST_PORT, pse_port) | in mtk_foe_entry_prepare()
/linux/drivers/net/ethernet/airoha/
H A Dairoha_ppe.c381 u8 pse_port, channel; in airoha_ppe_foe_entry_prepare() local
388 pse_port = port->id == 4 ? FE_PSE_PORT_GDM4 in airoha_ppe_foe_entry_prepare()
391 pse_port = 2; /* uplink relies on GDM2 in airoha_ppe_foe_entry_prepare()
405 val |= FIELD_PREP(AIROHA_FOE_IB2_PSE_PORT, pse_port) | in airoha_ppe_foe_entry_prepare()
639 u32 index, pse_port, val, *data, *ib2, *meter; in airoha_ppe_foe_flow_stats_update() local
667 pse_port = FIELD_GET(AIROHA_FOE_IB2_PSE_PORT, *ib2); in airoha_ppe_foe_flow_stats_update()
668 if (pse_port == FE_PSE_PORT_CDM4) in airoha_ppe_foe_flow_stats_update()
681 nbq = pse_port == 1 ? 6 : 5; in airoha_ppe_foe_flow_stats_update()
H A Dairoha_eth.c1914 u32 pse_port = FE_PSE_PORT_PPE1; in airoha_dev_open() local
1936 pse_port = FE_PSE_PORT_PPE2; in airoha_dev_open()
1938 pse_port); in airoha_dev_open()
1983 u32 val, pse_port, chan; in airoha_enable_gdm2_loopback() local
2006 pse_port = port->id == AIROHA_GDM3_IDX ? FE_PSE_PORT_GDM3 in airoha_enable_gdm2_loopback()
2009 pse_port); in airoha_enable_gdm2_loopback()
2042 u32 pse_port; in airoha_disable_gdm2_loopback() local
2058 pse_port = airoha_ppe_is_enabled(eth, 1) ? FE_PSE_PORT_PPE2 in airoha_disable_gdm2_loopback()
2061 pse_port); in airoha_disable_gdm2_loopback()
3238 u32 pse_port; in airoha_enable_qos_for_gdm34() local
[all …]