Searched refs:vid (Results 176 - 200 of 614) sorted by relevance

1234567891011>>

/linux-master/net/bridge/
H A Dbr_netlink.c41 if (v->vid == pvid)
49 } else if ((v->vid - vid_range_end) == 1 &&
51 vid_range_end = v->vid;
60 vid_range_start = v->vid;
61 vid_range_end = v->vid;
337 vinfo.vid = vid_start;
343 vinfo.vid = vid_end;
349 vinfo.vid = vid_start;
379 if (v->vid == pvid)
387 } else if ((v->vid
[all...]
H A Dbr_mst.c44 __set_bit(v->vid, vids);
86 if (v->vid == vg->pvid)
154 .vid = mv->vid,
175 pv = br_vlan_find(vg, mv->vid);
H A Dbr.c169 fdb_info->vid,
176 fdb_info->vid, fdb_info->offloaded);
181 fdb_info->vid, false);
188 fdb_info->vid, fdb_info->offloaded);
193 br_fdb_delete_by_port(br, p, fdb_info->vid, 0);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.h291 u16 vid; member in struct:mlxsw_sp_port_vlan
454 u16 vid = 0; local
457 err = br_vlan_get_pvid(vxlan_dev, &vid);
458 if (err || !vid)
461 err = br_vlan_get_info(vxlan_dev, vid, &vinfo);
463 vid = 0;
466 *p_vid = vid;
490 u16 vid)
496 if (mlxsw_sp_port_vlan->vid == vid)
489 mlxsw_sp_port_vlan_find_by_vid(const struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_lag_lacp.sh60 local vid=$1; shift
66 vlan_create $if_name $vid $vrf_name "${ips[@]}"
72 local vid=$1; shift
75 vlan_destroy $if_name $vid
H A Dmirror_gre_bridge_1q_lag.sh62 local vid=$1; shift
68 vlan_create $if_name $vid $vrf_name "${ips[@]}"
74 local vid=$1; shift
77 vlan_destroy $if_name $vid
/linux-master/drivers/usb/phy/
H A Dphy-ulpi.c170 int i, vid, pid, ret; local
179 vid = ulpi_id & 0xffff;
182 pr_info("ULPI transceiver vendor/product ID 0x%04x/0x%04x\n", vid, pid);
185 if (ulpi_ids[i].id == ULPI_ID(vid, pid)) {
/linux-master/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c148 flexcop_ibi_value vpid, vid; local
151 vid = fc->read_ibi_reg(fc, index_reg_310);
152 vid.index_reg_310.index_reg = index - 6;
153 fc->write_ibi_reg(fc, index_reg_310, vid);
/linux-master/drivers/staging/greybus/
H A Daudio_manager_module.c88 return sprintf(buf, "%d", module->desc.vid);
92 __ATTR(vid, 0664, gb_audio_module_vid_show, NULL);
173 snprintf(vid_string, 64, "VID=%d", module->desc.vid);
233 pr_info("audio module #%d name=%s vid=%d pid=%d intf_id=%d i/p devices=0x%X o/p devices=0x%X\n",
236 module->desc.vid,
/linux-master/drivers/hwmon/pmbus/
H A Dpm6764tr.c34 .format[PSC_VOLTAGE_OUT] = vid,
/linux-master/drivers/iio/adc/
H A Dmt6370-adc.c64 unsigned int vid; member in struct:mt6370_adc_data
110 switch (priv->vid) {
122 switch (priv->vid) {
294 priv->vid = FIELD_GET(MT6370_VENID_MASK, dev_info);
322 return dev_err_probe(dev, ret, "Failed to get vid\n");
/linux-master/include/rdma/
H A Dib_addr.h236 u16 vid; local
238 vid = dgid->raw[11] << 8 | dgid->raw[12];
239 return vid < 0x1000 ? vid : 0xffff;
/linux-master/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c109 u16 vid; local
112 ret = regmap_raw_read(regmap, TCPC_VENDOR_ID, &vid, sizeof(u16));
116 if (vid != MT6370_VENDOR_ID)
118 "Vendor ID not correct 0x%02x\n", vid);
/linux-master/fs/afs/
H A Dserver_list.c172 if (volume->vid <= pe->volume->vid)
218 if (volume->vid <= s->volume->vid)
H A Dinode.c43 vnode->fid.vid,
48 parent_vnode->fid.vid,
76 vp->fid.vid, vp->fid.vnode, vp->fid.unique,
174 vp->fid.vid, vp->fid.vnode, vp->fid.unique,
181 vnode->fid.vid,
219 vnode->fid.vid, vnode->fid.vnode,
362 vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique,
471 _enter(",{%llx:%llu.%u},,", vp->fid.vid, vp->fid.vnode, vp->fid.unique);
482 inode, vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique);
515 vnode->fid.vid
[all...]
/linux-master/net/dsa/
H A Dtag_dsa.c182 u16 vid; local
184 vid = br_dev ? MV88E6XXX_VID_BRIDGED : MV88E6XXX_VID_STANDALONE;
194 dsa_header[2] = vid >> 8;
195 dsa_header[3] = vid & 0xff;
H A Duser.c43 u16 vid; member in struct:dsa_switchdev_event_work
59 u16 vid; member in struct:dsa_standalone_event_work
91 u16 vid = standalone_work->vid; local
96 err = dsa_port_standalone_host_fdb_add(dp, addr, vid);
99 "port %d failed to add %pM vid %d to fdb: %d\n",
100 dp->index, addr, vid, err);
106 err = dsa_port_standalone_host_fdb_del(dp, addr, vid);
109 "port %d failed to delete %pM vid %d from fdb: %d\n",
110 dp->index, addr, vid, er
143 dsa_user_schedule_standalone_work(struct net_device *dev, enum dsa_standalone_event event, const unsigned char *addr, u16 vid) argument
166 dsa_user_host_vlan_rx_filtering(void *arg, int vid) argument
174 dsa_user_vlan_for_each(struct net_device *dev, int (*cb)(void *arg, int vid), void *arg) argument
511 dsa_user_port_fdb_do_dump(const unsigned char *addr, u16 vid, bool is_static, void *data) argument
673 u16 vid; local
1740 dsa_user_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument
1815 dsa_user_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
1873 dsa_user_restore_vlan(struct net_device *vdev, int vid, void *arg) argument
1880 dsa_user_clear_vlan(struct net_device *vdev, int vid, void *arg) argument
2984 u16 vid; local
3460 u16 vid = switchdev_work->vid; local
[all...]
/linux-master/arch/xtensa/lib/
H A Dpci-auto.c227 unsigned short vid; local
267 pci_read_config_word(dev, PCI_VENDOR_ID, &vid);
269 if (vid == 0xffff || vid == 0x0000) {
/linux-master/drivers/gpu/drm/i915/display/
H A Ddvo_ch7xxx.c100 u8 vid; member in struct:ch7xxx_id_struct
122 static char *ch7xxx_get_id(u8 vid) argument
127 if (ch7xxx_ids[i].vid == vid)
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h125 u16 vid; /* default VLAN ID of queue */ member in struct:fm10k_ring
237 u16 vid; member in struct:fm10k_macvlan_request::__anon1024::fm10k_mac_request
240 u32 vid; member in struct:fm10k_macvlan_request::__anon1024::fm10k_vlan_request
390 u16 vid; member in struct:fm10k_intfc
512 int fm10k_queue_vlan_request(struct fm10k_intfc *interface, u32 vid,
515 const unsigned char *addr, u16 vid, bool set);
534 int vf_idx, u16 vid, u8 qos, __be16 vlan_proto);
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c634 u16 vid)
641 ucast.vlan = vid;
677 int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument
683 DP_VERBOSE(edev, NETIF_MSG_IFUP, "Adding vlan 0x%04x\n", vid);
691 vlan->vid = vid;
696 if (tmp->vid == vlan->vid) {
709 vid);
710 if (vid !
632 qede_set_ucast_rx_vlan(struct qede_dev *edev, enum qed_filter_xcast_params_type opcode, u16 vid) argument
829 qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
[all...]
/linux-master/drivers/net/dsa/
H A Ddsa_loop.c214 if (vlan->vid >= ARRAY_SIZE(ps->vlans))
220 vl = &ps->vlans[vlan->vid];
229 __func__, port, vlan->vid, untagged ? "un" : "", pvid);
232 ps->ports[port].pvid = vlan->vid;
249 vl = &ps->vlans[vlan->vid];
255 if (pvid == vlan->vid)
259 __func__, port, vlan->vid, untagged ? "un" : "", pvid);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h179 /* Egress default VLAN (vid) */
180 u16 vid; member in struct:sparx5_port
226 u16 vid; member in struct:sparx5_mdb_entry
328 const unsigned char mac[ETH_ALEN], u16 vid);
330 unsigned char mac[ETH_ALEN], u16 *vid, u32 *pcfg2);
332 const unsigned char mac[ETH_ALEN], u16 vid, u32 *pcfg2);
334 const unsigned char mac[ETH_ALEN], u16 vid);
338 const unsigned char *addr, u16 vid);
341 u16 vid);
354 int sparx5_vlan_vid_add(struct sparx5_port *port, u16 vid, boo
[all...]
/linux-master/drivers/clk/
H A Dclk-renesas-pcie.c285 unsigned int vid, did; local
322 ret = regmap_read(rs9->regmap, RS9_REG_VID, &vid);
330 vid &= RS9_REG_VID_MASK;
331 if (vid != RS9_REG_VID_IDT || did != rs9->chip_info->did)
334 vid, did, RS9_REG_VID_IDT,
/linux-master/net/ncsi/
H A Dncsi-manage.c605 u16 vid; local
616 vid = ncf->vids[index];
623 nca->words[1] = vid;
641 u16 vid; local
653 vid = vlan->vid;
655 if (ncf->vids[i] == vid) {
656 vid = 0;
659 if (vid)
664 if (!vid) {
1655 ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument
1706 ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
[all...]

Completed in 319 milliseconds

1234567891011>>