Lines Matching refs:port_vlan
132 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc()
462 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid()
518 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_switch()
540 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_dual_mac()
595 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_dual_emac_def_ale_entries()
597 cpsw_ale_add_vlan(cpsw->ale, slave->port_vlan, port_mask, in cpsw_port_add_dual_emac_def_ale_entries()
600 ALE_PORT_HOST, ALE_VLAN, slave->port_vlan, in cpsw_port_add_dual_emac_def_ale_entries()
604 ALE_SECURE, slave->port_vlan); in cpsw_port_add_dual_emac_def_ale_entries()
637 port_mask, ALE_VLAN, slave->port_vlan, in cpsw_port_add_switch_def_ale_entries()
640 HOST_PORT_NUM, ALE_VLAN, slave->port_vlan); in cpsw_port_add_switch_def_ale_entries()
644 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_switch_def_ale_entries()
990 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_ndo_set_mac_address()
1033 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_kill_vid()
1668 slave->port_vlan = vlan; in cpsw_dl_switch_mode_set()
1694 slave->port_vlan = vlan; in cpsw_dl_switch_mode_set()
1723 slave->port_vlan = slave->data->dual_emac_res_vlan; in cpsw_dl_switch_mode_set()