/openwrt/target/linux/generic/files/drivers/net/phy/ |
H A D | psb6970.c | 66 u16 pvid[PSB6970_NUM_PORTS]; member in struct:psb6970_priv 107 priv->pvid[port] = vlan; 114 *vlan = priv->pvid[port]; 197 priv->pvid[p->id] = val->port_vlan; 244 dvid = priv->vlan_id[priv->pvid[i]];
|
H A D | adm6996.c | 81 u16 pvid[ADM_NUM_PORTS]; /* Primary VLAN ID */ member in struct:adm6996_priv 393 priv->pvid[port] = vlan; 404 *vlan = priv->pvid[port]; 616 reg |= ADM_PORTCFG_PVID(priv->pvid[i]); 626 w16(priv, ADM_P0_PVID, ADM_P0_PVID_VAL(priv->pvid[0])); 627 w16(priv, ADM_P1_PVID, ADM_P1_PVID_VAL(priv->pvid[1])); 630 reg |= ADM_P2_PVID_VAL(priv->pvid[2]); 632 reg = ADM_P3_PVID_VAL(priv->pvid[3]); 633 reg |= ADM_P4_PVID_VAL(priv->pvid[4]); 637 reg |= ADM_P5_PVID_VAL(priv->pvid[ [all...] |
H A D | mvsw61xx.h | 247 u16 pvid; member in struct:mvsw61xx_state::port_state
|
H A D | ar8327.c | 857 else if ((priv->vlan_tagged & BIT(i)) || (priv->vlan_id[priv->pvid[i]] != vid)) 872 u32 pvid = priv->vlan_id[priv->pvid[port]]; local 882 t = pvid << AR8327_PORT_VLAN0_DEF_SVID_S; 883 t |= pvid << AR8327_PORT_VLAN0_DEF_CVID_S; 913 if ((priv->vlan_tagged & (1 << i)) || (priv->pvid[i] != val->port_vlan)) 933 if (val->port_vlan == priv->pvid[p->id]) { 938 priv->pvid[p->id] = val->port_vlan;
|
H A D | mvswitch.c | 253 u8 pvid = 0; local 262 pvid = j;
|
H A D | ar8216.c | 546 vlan = priv->vlan_id[priv->pvid[port]]; 644 u32 pvid; local 647 pvid = priv->vlan_id[priv->pvid[port]]; 654 pvid = port; 677 (pvid << AR8216_PORT_VLAN_DEFAULT_ID_S)); 803 u32 pvid; local 806 pvid = priv->vlan_id[priv->pvid[port]]; 813 pvid [all...] |
H A D | ip17xx.c | 310 u16 pvid; member in struct:ip17xx_state::port_state 566 state->ports[i].pvid); 678 err |= ip_phy_write(state, 22, 4+i, state->vlans[state->ports[i].pvid].tag); 711 state->ports[i].pvid = 0; 755 state->ports[i].pvid = 0; 1129 *val = state->ports[port].pvid; 1140 state->ports[port].pvid = val;
|
H A D | mvsw61xx.c | 203 *val = state->ports[port].pvid; 216 state->ports[port].pvid = (u16)val; 481 state->ports[i].pvid = state->vlans[vno].vid; 538 reg |= state->ports[i].pvid; 593 state->ports[i].pvid = 0;
|
H A D | rtl8366_smi.c | 682 "port", "pvid"); 685 int pvid; local 688 err = rtl8366_get_pvid(smi, i, &pvid); 694 "%4d %4d\n", i, pvid); 887 node = debugfs_create_file("pvid", S_IRUSR, root, smi, 891 "pvid"); 1112 int pvid = 0; local 1122 err = rtl8366_get_pvid(smi, port->id, &pvid); 1125 if (pvid == 0) {
|
H A D | ar8216.h | 456 u16 pvid[AR8X16_MAX_PORTS]; member in struct:ar8xxx_priv
|
/openwrt/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ |
H A D | ag71xx_ar7240.c | 301 u16 pvid[AR7240_NUM_PORTS]; member in struct:ar7240sw 706 vid = as->vlan_id[as->pvid[port]]; 798 as->pvid[port] = vlan; 806 *vlan = as->pvid[port]; 849 as->pvid[p->id] = val->port_vlan;
|
/openwrt/target/linux/generic/files/drivers/net/phy/b53/ |
H A D | b53_common.c | 446 dev->ports[i].pvid); 658 *val = priv->ports[port].pvid; 672 priv->ports[port].pvid = val; 730 priv->ports[port->id].pvid = val->port_vlan;
|
H A D | b53_priv.h | 69 unsigned int pvid:12; member in struct:b53_port
|
/openwrt/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/ |
H A D | cns3xxx_eth.c | 227 u32 pvid[2]; member in struct:switch_regs
|