Home
last modified time | relevance | path

Searched refs:port_vlan (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_priv.h268 u32 port_vlan; member
304 u32 port_vlan; member
Dcpsw.c186 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_set_mc()
433 vid == cpsw->slaves[priv->emac_port].port_vlan) in cpsw_rx_vlan_encap()
1188 slave_write(slave, slave->port_vlan, CPSW1_PORT_VLAN); in cpsw_add_dual_emac_def_ale_entries()
1190 slave_write(slave, slave->port_vlan, CPSW2_PORT_VLAN); in cpsw_add_dual_emac_def_ale_entries()
1191 cpsw_ale_add_vlan(cpsw->ale, slave->port_vlan, port_mask, in cpsw_add_dual_emac_def_ale_entries()
1194 ALE_PORT_HOST, ALE_VLAN, slave->port_vlan, 0); in cpsw_add_dual_emac_def_ale_entries()
1197 ALE_SECURE, slave->port_vlan); in cpsw_add_dual_emac_def_ale_entries()
1300 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_add_default_vlan()
2076 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_ndo_set_mac_address()
2167 if (vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid()
[all …]
Dnetcp_ethss.c257 u32 port_vlan; member
271 u32 port_vlan; member
397 u32 port_vlan; member
425 u32 port_vlan; member
584 u32 port_vlan; member
596 u16 port_vlan; member
611 u32 port_vlan; member
617 u16 port_vlan; member
3064 GBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
3081 GBENU_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave()
[all …]
Dcpsw_priv.c82 slave->port_vlan = slave->data->dual_emac_res_vlan; in cpsw_init_common()
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.h376 u16 port_vlan; member
Dhns_dsaf_main.c1596 mac_key->low.bits.port_vlan = 0; in hns_dsaf_set_mac_key()
1597 dsaf_set_field(mac_key->low.bits.port_vlan, DSAF_TBL_TCAM_KEY_VLAN_M, in hns_dsaf_set_mac_key()
1599 dsaf_set_field(mac_key->low.bits.port_vlan, DSAF_TBL_TCAM_KEY_PORT_M, in hns_dsaf_set_mac_key()
2033 soft_mac_entry->tcam_key.low.bits.port_vlan, in hns_dsaf_clr_mac_mc_port()
2049 soft_mac_entry->tcam_key.low.bits.port_vlan, in hns_dsaf_clr_mac_mc_port()