/freebsd-11-stable/sys/dev/etherswitch/ip17x/ |
H A D | ip17x_var.h | 63 uint32_t *pvid; /* PVID */ member in struct:ip17x_softc
|
H A D | ip17x_vlans.c | 70 memset(sc->pvid, 0, sizeof(uint32_t) * sc->numports); 98 sc->pvid[i] = 1;
|
H A D | ip175c.c | 165 if (ip17x_writephy(sc->sc_dev, 29, 30, sc->pvid[i])) 168 if (ip17x_writephy(sc->sc_dev, 29, 24 + i, sc->pvid[i]))
|
H A D | ip175d.c | 137 ip17x_writephy(sc->sc_dev, 22, 4 + i, sc->pvid[i]);
|
H A D | ip17x.c | 203 sc->pvid = malloc(sizeof(uint32_t) * sc->numports, M_IP17X, 261 free(sc->pvid, M_IP17X); 374 p->es_pvid = sc->pvid[phy]; 439 sc->pvid[phy] = p->es_pvid;
|
/freebsd-11-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_vlans.c | 367 ar8xxx_get_pvid(struct arswitch_softc *sc, int port, int *pvid) argument 373 *pvid = reg & 0xfff; 378 ar8xxx_set_pvid(struct arswitch_softc *sc, int port, int pvid) argument 383 AR8X16_REG_PORT_VLAN(port), 0xfff, pvid));
|
H A D | arswitch_8327.c | 879 /* set pvid = 1; there's only one vlangroup to start with */ 906 * If dot1q - set pvid; dot1q, etc. 911 /* Each port - pvid 1 */ 971 ar8327_get_pvid(struct arswitch_softc *sc, int port, int *pvid) argument 985 *pvid = reg; 990 ar8327_set_pvid(struct arswitch_softc *sc, int port, int pvid) argument 994 /* Limit pvid to valid values */ 995 pvid &= 0x7f; 997 t = pvid << AR8327_PORT_VLAN0_DEF_SVID_S; 998 t |= pvid << AR8327_PORT_VLAN0_DEF_CVID_ [all...] |
/freebsd-11-stable/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch_mt7620.c | 502 mtkswitch_vlan_get_pvid(struct mtkswitch_softc *sc, int port, int *pvid) argument 507 *pvid = sc->hal.mtkswitch_read(sc, MTKSWITCH_PPBV1(port)); 508 *pvid = PPBV_VID_FROM_REG(*pvid); 514 mtkswitch_vlan_set_pvid(struct mtkswitch_softc *sc, int port, int pvid) argument 519 val = PPBV_VID(pvid & PPBV_VID_MASK);
|
H A D | mtkswitch_rt3050.c | 445 mtkswitch_vlan_get_pvid(struct mtkswitch_softc *sc, int port, int *pvid) argument 449 *pvid = (MTKSWITCH_READ(sc, MTKSWITCH_PVID(port)) >> PVID_OFF(port)) & 456 mtkswitch_vlan_set_pvid(struct mtkswitch_softc *sc, int port, int pvid) argument 463 val |= (pvid & PVID_MASK) << PVID_OFF(port);
|
/freebsd-11-stable/sys/dev/etherswitch/e6000sw/ |
H A D | e6000sw.c | 135 static int e6000sw_get_pvid(e6000sw_softc_t *sc, int port, int *pvid); 136 static int e6000sw_set_pvid(e6000sw_softc_t *sc, int port, int pvid); 746 e6000sw_set_pvid(e6000sw_softc_t *sc, int port, int pvid) argument 749 e6000sw_writereg(sc, REG_PORT(port), PORT_VID, pvid & 756 e6000sw_get_pvid(e6000sw_softc_t *sc, int port, int *pvid) argument 759 if (pvid == NULL) 762 *pvid = e6000sw_readreg(sc, REG_PORT(port), PORT_VID) &
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_iov_api.h | 432 * @brief Set forced VLAN [pvid] in PFs copy of bulletin board 434 * Setting of pvid 0 would clear the feature. 436 * @param pvid 440 u16 pvid, int vfid); 569 * @brief Returns pvid if one is configured 574 * @return 0 if no pvid is configured, otherwise the pvid. 792 static OSAL_INLINE void ecore_iov_bulletin_set_forced_vlan(struct ecore_hwfn OSAL_UNUSED p_hwfn, u16 OSAL_UNUSED pvid, int OSAL_UNUSED vfid) {} argument
|
H A D | ecore_vfpf_if.h | 663 u16 pvid; member in struct:ecore_bulletin_content
|
H A D | ecore_sriov.c | 2051 filter.vlan = p_vf->bulletin.p_virt->pvid; 4549 u16 pvid, int vfid) 4568 vf_info->bulletin.p_virt->pvid = pvid; 4569 if (pvid) 4763 return p_vf->bulletin.p_virt->pvid; 4548 ecore_iov_bulletin_set_forced_vlan(struct ecore_hwfn *p_hwfn, u16 pvid, int vfid) argument
|
H A D | ecore_vf.c | 1917 *dst_pvid = bulletin->pvid;
|
/freebsd-11-stable/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 860 show_host_device_selection(uint8_t level, uint16_t *pvid, uint16_t *ppid) argument 910 *pvid = 0; 914 *pvid = vid[sel];
|
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_if.h | 894 uint32_t pvid; member in struct:oce_softc 1188 #define IS_QNQ_OR_UMC(sc) ((sc->pvid && (sc->function_mode & FNM_UMC_MODE ))\
|
H A D | oce_if.c | 1691 } else if (sc->pvid != (cq_info.vtag & VLAN_VID_MASK)) { 1692 /* In UMC mode generally pvid will be striped by 1694 with pvid. So if pvid == vlan, neglect vlan. 1769 } else if (sc->pvid != (vtag & VLAN_VID_MASK)) { 1770 /* In UMC mode generally pvid will be striped by 1772 with pvid. So if pvid == vlan, neglect vlan. 2712 sc->pvid = gcqe->tag & VLAN_VID_MASK; 2714 sc->pvid [all...] |
H A D | oce_sysctl.c | 123 OID_AUTO, "pvid", 125 &sc->pvid,
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | i40e_adminq_cmd.h | 926 __le16 pvid; /* VLANS include priority bits */ member in struct:i40e_aqc_vsi_properties_data
|