Searched refs:pse_port (Results 1 – 5 of 5) sorted by relevance
| /drivers/net/ethernet/mediatek/ |
| A D | mtk_ppe_offload.c | 194 int pse_port, dsa_port, queue; in mtk_flow_set_output_device() local 202 pse_port = PSE_WDMA0_PORT; in mtk_flow_set_output_device() 205 pse_port = PSE_WDMA1_PORT; in mtk_flow_set_output_device() 208 pse_port = PSE_WDMA2_PORT; in mtk_flow_set_output_device() 214 pse_port = 3; in mtk_flow_set_output_device() 223 pse_port = PSE_GDM1_PORT; in mtk_flow_set_output_device() 225 pse_port = PSE_GDM2_PORT; in mtk_flow_set_output_device() 227 pse_port = PSE_GDM3_PORT; in mtk_flow_set_output_device() 235 queue = pse_port - 1; in mtk_flow_set_output_device() 240 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device()
|
| A D | mtk_ppe.c | 213 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()
|
| A D | mtk_ppe.h | 376 int type, int l4proto, u8 pse_port, u8 *src_mac,
|
| /drivers/net/ethernet/airoha/ |
| A D | airoha_ppe.c | 246 u8 pse_port; in airoha_ppe_foe_entry_prepare() local 252 pse_port = port->id == 4 ? FE_PSE_PORT_GDM4 : port->id; in airoha_ppe_foe_entry_prepare() 254 pse_port = 2; /* uplink relies on GDM2 loopback */ in airoha_ppe_foe_entry_prepare() 255 val |= FIELD_PREP(AIROHA_FOE_IB2_PSE_PORT, pse_port); in airoha_ppe_foe_entry_prepare() 472 u32 index, pse_port, val, *data, *ib2, *meter; in airoha_ppe_foe_flow_stats_update() local 503 pse_port = FIELD_GET(AIROHA_FOE_IB2_PSE_PORT, *ib2); in airoha_ppe_foe_flow_stats_update() 504 nbq = pse_port == 1 ? 6 : 5; in airoha_ppe_foe_flow_stats_update()
|
| A D | airoha_eth.c | 1699 u32 pse_port = port->id == 3 ? FE_PSE_PORT_GDM3 : FE_PSE_PORT_GDM4; in airhoha_set_gdm2_loopback() local 1704 airoha_set_gdm_port_fwd_cfg(eth, REG_GDM_FWD_CFG(2), pse_port); in airhoha_set_gdm2_loopback() 1751 u32 pse_port; in airoha_dev_init() local 1763 pse_port = FE_PSE_PORT_PPE2; in airoha_dev_init() 1766 pse_port = FE_PSE_PORT_PPE1; in airoha_dev_init() 1770 airoha_set_gdm_port_fwd_cfg(eth, REG_GDM_FWD_CFG(port->id), pse_port); in airoha_dev_init()
|
Completed in 83 milliseconds