Lines Matching refs:port_vlan
133 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc()
463 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid()
519 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_switch()
541 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_dual_mac()
596 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_dual_emac_def_ale_entries()
598 cpsw_ale_add_vlan(cpsw->ale, slave->port_vlan, port_mask, in cpsw_port_add_dual_emac_def_ale_entries()
601 ALE_PORT_HOST, ALE_VLAN, slave->port_vlan, in cpsw_port_add_dual_emac_def_ale_entries()
605 ALE_SECURE, slave->port_vlan); in cpsw_port_add_dual_emac_def_ale_entries()
638 port_mask, ALE_VLAN, slave->port_vlan, in cpsw_port_add_switch_def_ale_entries()
641 HOST_PORT_NUM, ALE_VLAN, slave->port_vlan); in cpsw_port_add_switch_def_ale_entries()
645 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_switch_def_ale_entries()
994 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_ndo_set_mac_address()
1037 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_kill_vid()
1676 slave->port_vlan = vlan; in cpsw_dl_switch_mode_set()
1702 slave->port_vlan = vlan; in cpsw_dl_switch_mode_set()
1731 slave->port_vlan = slave->data->dual_emac_res_vlan; in cpsw_dl_switch_mode_set()