Home
last modified time | relevance | path

Searched refs:nbq (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.c110 vip_port = eth->soc->ops.get_vip_port(port, port->nbq); in airoha_set_vip_for_gdm_port()
1823 src_port = eth->soc->ops.get_src_port_id(port, port->nbq); in airoha_set_gdm2_loopback()
1840 u32 mask = FC_ID_OF_SRC_PORT_MASK(port->nbq); in airoha_set_gdm2_loopback()
3024 port->nbq = id == AIROHA_GDM3_IDX && airoha_is_7581(eth) ? 4 : 0; in airoha_alloc_gdm_port()
3197 static int airoha_en7581_get_src_port_id(struct airoha_gdm_port *port, int nbq) in airoha_en7581_get_src_port_id() argument
3202 if (nbq == 4) in airoha_en7581_get_src_port_id()
3204 if (nbq == 5) in airoha_en7581_get_src_port_id()
3209 if (!nbq) in airoha_en7581_get_src_port_id()
3211 if (nbq == 1) in airoha_en7581_get_src_port_id()
3221 static u32 airoha_en7581_get_vip_port(struct airoha_gdm_port *port, int nbq) in airoha_en7581_get_vip_port() argument
[all …]
H A Dairoha_eth.h541 int nbq; member
581 int (*get_src_port_id)(struct airoha_gdm_port *port, int nbq);
582 u32 (*get_vip_port)(struct airoha_gdm_port *port, int nbq);
H A Dairoha_ppe.c586 u8 nbq; in airoha_ppe_foe_flow_stats_update() local
626 nbq = pse_port == 1 ? 6 : 5; in airoha_ppe_foe_flow_stats_update()
630 FIELD_PREP(AIROHA_FOE_IB2_NBQ, nbq); in airoha_ppe_foe_flow_stats_update()