Searched refs:pse_port (Results 1 – 5 of 5) sorted by relevance
| /linux-6.15/drivers/net/ethernet/mediatek/ |
| H 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()
|
| H A D | mtk_ppe.h | 376 int type, int l4proto, u8 pse_port, u8 *src_mac,
|
| H 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()
|
| /linux-6.15/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 227 u8 pse_port; in airoha_ppe_foe_entry_prepare() local 233 pse_port = port->id == 4 ? FE_PSE_PORT_GDM4 : port->id; in airoha_ppe_foe_entry_prepare() 235 pse_port = 2; /* uplink relies on GDM2 loopback */ in airoha_ppe_foe_entry_prepare() 236 val |= FIELD_PREP(AIROHA_FOE_IB2_PSE_PORT, pse_port); in airoha_ppe_foe_entry_prepare()
|
| H A D | airoha_eth.c | 1605 u32 pse_port = port->id == 3 ? FE_PSE_PORT_GDM3 : FE_PSE_PORT_GDM4; in airhoha_set_gdm2_loopback() local 1610 airoha_set_gdm_port_fwd_cfg(eth, REG_GDM_FWD_CFG(2), pse_port); in airhoha_set_gdm2_loopback() 1658 u32 pse_port; in airoha_dev_init() local 1670 pse_port = FE_PSE_PORT_PPE2; in airoha_dev_init() 1673 pse_port = FE_PSE_PORT_PPE1; in airoha_dev_init() 1677 airoha_set_gdm_port_fwd_cfg(eth, REG_GDM_FWD_CFG(port->id), pse_port); in airoha_dev_init()
|