Searched refs:vid (Results 226 - 250 of 615) sorted by relevance

1234567891011>>

/linux-master/include/net/
H A Dsmc.h58 u32 vid_valid, u32 vid);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c344 int mlxsw_sp_port_vid_stp_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, argument
356 mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state);
454 int mlxsw_sp_port_vid_learning_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, argument
464 mlxsw_reg_spvmlr_pack(spvmlr_pl, mlxsw_sp_port->local_port, vid, vid,
522 u16 vid, u16 ethtype)
533 mlxsw_reg_spvid_pack(spvid_pl, mlxsw_sp_port->local_port, vid,
549 int mlxsw_sp_port_pvid_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, argument
554 if (!vid) {
559 err = __mlxsw_sp_port_pvid_set(mlxsw_sp_port, vid, ethtyp
521 __mlxsw_sp_port_pvid_set(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid, u16 ethtype) argument
1040 u16 vid, vid_e; local
1081 mlxsw_sp_port_vlan_create(struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument
1115 u16 vid = mlxsw_sp_port_vlan->vid; local
1123 mlxsw_sp_port_add_vid(struct net_device *dev, __be16 __always_unused proto, u16 vid) argument
1137 mlxsw_sp_port_kill_vid(struct net_device *dev, __be16 __always_unused proto, u16 vid) argument
4691 u16 vid; local
4712 u16 vid = 1; local
4747 u16 vid; local
5114 mlxsw_sp_netdevice_port_vlan_event(struct net_device *vlan_dev, struct net_device *dev, unsigned long event, void *ptr, u16 vid, bool replay_deslavement) argument
5182 mlxsw_sp_netdevice_lag_port_vlan_event(struct net_device *vlan_dev, struct net_device *lag_dev, unsigned long event, void *ptr, u16 vid) argument
5204 mlxsw_sp_netdevice_bridge_vlan_event(struct mlxsw_sp *mlxsw_sp, struct net_device *vlan_dev, struct net_device *br_dev, unsigned long event, void *ptr, u16 vid, bool process_foreign) argument
5246 u16 vid = vlan_dev_vlan_id(vlan_dev); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvolt.c146 info->vid = nvbios_rd08(bios, volt + 0x01);
150 info->vid = nvbios_rd08(bios, volt + 0x01) >> 2;
156 info->vid = (nvbios_rd32(bios, volt) >> 23) & 0xff;
/linux-master/drivers/input/keyboard/
H A Dsnvs_pwrkey.c122 u32 vid; local
172 regmap_read(pdata->snvs, SNVS_HPVIDR1_REG, &vid);
173 pdata->minor_rev = vid & 0xff;
/linux-master/drivers/gpu/drm/sti/
H A Dsti_compositor.c52 if (compo->vid[i])
53 vid_debugfs_init(compo->vid[i], minor);
79 compo->vid[vid_id++] =
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan.c15 .vlan.vid = 0,
60 attr->vlan_vid[vlan_idx] = act->vlan.vid;
100 .vlan.vid = vlan_dev_vlan_id(vlan_dev),
/linux-master/include/uapi/linux/
H A Dbatadv_packet.h612 * @vid: vlan identifier
617 __be16 vid; member in struct:batadv_tvlv_tt_vlan_data
627 * @vid: VLAN identifier
633 __be16 vid; member in struct:batadv_tvlv_tt_change
639 * @vid: VLAN identifier
643 __be16 vid; member in struct:batadv_tvlv_roam_adv
/linux-master/fs/afs/
H A Dwrite.c24 vnode->fid.vid, vnode->fid.vnode, len, start);
114 vnode->fid.vid,
242 vnode->fid.vid, vnode->fid.vnode, file,
H A Dflock.c38 _enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode);
198 vnode->fid.vid,
229 vnode->fid.vid,
260 vnode->fid.vid,
288 _enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode);
308 vnode->fid.vid, vnode->fid.vnode, ret);
339 vnode->fid.vid, vnode->fid.vnode, ret);
465 vnode->fid.vid, vnode->fid.vnode,
706 _enter("{%llx:%llu},%u", vnode->fid.vid, vnode->fid.vnode,
771 vnode->fid.vid, vnod
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_main.c72 static int sja1105_is_vlan_configured(struct sja1105_private *priv, u16 vid) argument
81 if (vlan[i].vlanid == vid)
1530 const u8 *addr, u16 vid,
1551 l2_lookup.vlanid == vid) {
1562 const unsigned char *addr, u16 vid)
1571 bin = sja1105et_fdb_hash(priv, addr, vid);
1573 way = sja1105et_is_fdb_entry_in_bin(priv, bin, addr, vid,
1591 l2_lookup.vlanid = vid;
1632 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid)
1647 const unsigned char *addr, u16 vid)
1529 sja1105et_is_fdb_entry_in_bin(struct sja1105_private *priv, int bin, const u8 *addr, u16 vid, struct sja1105_l2_lookup_entry *match, int *last_unused) argument
1561 sja1105et_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument
1646 sja1105et_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument
1681 sja1105pqrs_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument
1772 sja1105pqrs_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid) argument
1809 sja1105_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1836 __sja1105_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1858 sja1105_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
2494 sja1105_vlan_add(struct sja1105_private *priv, int port, u16 vid, u16 flags, bool allowed_ingress) argument
2532 sja1105_vlan_del(struct sja1105_private *priv, int port, u16 vid) argument
2620 sja1105_dsa_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, u16 flags) argument
2643 sja1105_dsa_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) argument
[all...]
H A Dsja1105_flower.c204 u16 vid = U16_MAX; local
275 vid = match.key->vlan_id;
280 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) {
284 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) {
289 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) {
292 key->vl.vid = vid;
/linux-master/drivers/hwmon/
H A Dlm93.c34 #include <linux/hwmon-vid.h>
83 /* vid inputs: vid1-vid2 (nr => 0-1) */
256 u8 vid[2]; member in struct:lm93_data
380 /* vid in mV, upper == 0 indicates low limit, otherwise upper limit */
381 static unsigned LM93_IN_REL_FROM_REG(u8 reg, int upper, int vid) argument
385 const long uv_vid = vid * 1000;
389 #define LM93_IN_MIN_FROM_REG(reg, vid) LM93_IN_REL_FROM_REG((reg), 0, (vid))
390 #define LM93_IN_MAX_FROM_REG(reg, vid) LM93_IN_REL_FROM_REG((reg), 1, (vid))
397 LM93_IN_REL_TO_REG(unsigned val, int upper, int vid) argument
1133 long rc, vid; local
1151 long vid; local
1198 long rc, vid; local
1216 long vid; local
[all...]
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix.c68 int upstream, u16 vid)
98 outer_tagging_rule->action.vid_a_val = vid;
108 int upstream, u16 vid)
130 u16 vid)
152 untagging_rule->vlan.vid.value = vid;
153 untagging_rule->vlan.vid.mask = VLAN_VID_MASK;
196 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) argument
227 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, argument
241 err = felix_tag_8021q_vlan_add_rx(ds, port, cpu_dp->index, vid);
67 felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, int upstream, u16 vid) argument
107 felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, int upstream, u16 vid) argument
129 felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, u16 vid) argument
259 felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) argument
783 felix_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
804 felix_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
825 felix_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
838 felix_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
[all...]
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_main.c350 u16 vid)
357 set_bit(vid, aq_nic->active_vlans);
363 u16 vid)
370 clear_bit(vid, aq_nic->active_vlans);
372 if (-ENOENT == aq_del_fvlan_by_vlan(aq_nic, vid))
349 aq_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
362 aq_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
/linux-master/drivers/net/dsa/b53/
H A Db53_priv.h279 u16 vid; member in struct:b53_arl_entry
294 ent->vid = mac_vid >> ARLTBL_VID_S;
301 *mac_vid |= (u64)(ent->vid & ARLTBL_VID_MASK) << ARLTBL_VID_S;
363 const unsigned char *addr, u16 vid,
366 const unsigned char *addr, u16 vid,
/linux-master/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb_max.sh21 # | | vid 10 vid 10 | |
22 # | | vid 20 vid 20 | |
91 bridge vlan add vid 10 dev br0 self
92 bridge vlan add vid 20 dev br0 self
98 bridge vlan add vid 10 dev $swp1
99 bridge vlan add vid 20 dev $swp1
103 bridge vlan add vid 10 dev $swp2
104 bridge vlan add vid 2
[all...]
/linux-master/include/soc/mscc/
H A Docelot.h684 u16 vid; member in struct:ocelot_bridge_vlan
744 u16 vid; member in struct:ocelot_lag_fdb
1043 u16 vid, const struct net_device *bridge);
1045 u16 vid, const struct net_device *bridge);
1047 const unsigned char *addr, u16 vid,
1050 const unsigned char *addr, u16 vid,
1052 int ocelot_vlan_prepare(struct ocelot *ocelot, int port, u16 vid, bool pvid,
1054 int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid,
1056 int ocelot_vlan_del(struct ocelot *ocelot, int port, u16 vid);
1146 unsigned int vid, enu
[all...]
/linux-master/net/batman-adv/
H A Dsend.c323 * @vid: the vid to be used to search the translation table
335 unsigned short vid)
373 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid))
393 * @vid: the vid to be used to search the translation table
406 unsigned short vid)
421 orig_node = batadv_transtable_search(bat_priv, src, dst, vid);
424 packet_subtype, orig_node, vid);
435 * @vid
331 batadv_send_skb_unicast(struct batadv_priv *bat_priv, struct sk_buff *skb, int packet_type, int packet_subtype, struct batadv_orig_node *orig_node, unsigned short vid) argument
403 batadv_send_skb_via_tt_generic(struct batadv_priv *bat_priv, struct sk_buff *skb, int packet_type, int packet_subtype, u8 *dst_hint, unsigned short vid) argument
442 batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid) argument
[all...]
/linux-master/drivers/cpufreq/
H A Dlonghaul.c532 struct mV_pos minvid, maxvid, vid; local
609 vid = vrm_mV_table[mV_vrm_table[pos]];
610 pr_info("f: %d kHz, index: %d, vid: %d mV\n",
611 speed, j, vid.mV);
624 u8 vid, current_vid; local
641 vid = (longhaul_table[i].driver_data >> 8) & 0x1f;
642 if (vid != current_vid) {
644 current_vid = vid;
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.c185 struct ionic_rx_filter *ionic_rx_filter_by_vlan(struct ionic_lif *lif, u16 vid) argument
191 key = hash_32(vid, IONIC_RX_FILTER_HASH_BITS);
197 if (le16_to_cpu(f->cmd.vlan.vlan) == vid)
457 int ionic_lif_vlan_add(struct ionic_lif *lif, const u16 vid) argument
461 .vlan.vlan = cpu_to_le16(vid),
543 int ionic_lif_vlan_del(struct ionic_lif *lif, const u16 vid) argument
547 .vlan.vlan = cpu_to_le16(vid),
/linux-master/drivers/net/dsa/
H A Dmt7530.c320 fdb->vid = (reg[1] >> CVID) & CVID_MASK;
333 mt7530_fdb_write(struct mt7530_priv *priv, u16 vid, argument
340 reg[1] |= vid & CVID_MASK;
1526 const unsigned char *addr, u16 vid,
1534 mt7530_fdb_write(priv, vid, port_mask, addr, -1, STATIC_ENT);
1543 const unsigned char *addr, u16 vid,
1551 mt7530_fdb_write(priv, vid, port_mask, addr, -1, STATIC_EMP);
1578 ret = cb(_fdb.mac, _fdb.vid, _fdb.noarp,
1600 u16 vid = mdb->vid; local
1525 mt7530_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1542 mt7530_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1627 u16 vid = mdb->vid; local
1649 mt7530_vlan_cmd(struct mt7530_priv *priv, enum mt7530_vlan_cmd cmd, u16 vid) argument
1759 mt7530_hw_vlan_update(struct mt7530_priv *priv, u16 vid, struct mt7530_hw_vlan_entry *entry, mt7530_vlan_op vlan_op) argument
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h181 /* Egress default VLAN (vid) */
182 u16 vid; member in struct:sparx5_port
228 u16 vid; member in struct:sparx5_mdb_entry
347 const unsigned char mac[ETH_ALEN], u16 vid);
349 unsigned char mac[ETH_ALEN], u16 *vid, u32 *pcfg2);
351 const unsigned char mac[ETH_ALEN], u16 vid, u32 *pcfg2);
353 const unsigned char mac[ETH_ALEN], u16 vid);
357 const unsigned char *addr, u16 vid);
360 u16 vid);
373 int sparx5_vlan_vid_add(struct sparx5_port *port, u16 vid, boo
[all...]
/linux-master/sound/usb/
H A Dcard.c67 static int vid[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = -1 }; variable
87 module_param_array(vid, int, NULL, 0444);
88 MODULE_PARM_DESC(vid, "Vendor ID for the USB audio device.");
350 #define PROFILE_NAME(vid, pid, vendor, product, profile) \
351 { .id = USB_ID(vid, pid), .vendor_name = (vendor), \
353 #define DEVICE_NAME(vid, pid, vendor, product) \
354 PROFILE_NAME(vid, pid, vendor, product, NULL)
828 (vid[i] == -1 || vid[i] == USB_ID_VENDOR(id)) &&
836 } else if (vid[
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_core.c461 static void dwmac4_write_single_vlan(struct net_device *dev, u16 vid) argument
468 val |= GMAC_VLAN_TAG_ETV | vid;
508 __be16 proto, u16 vid)
514 if (vid > 4095)
520 if (vid == 0) {
530 hw->vlan_filter[0] = vid;
531 dwmac4_write_single_vlan(dev, vid);
537 val |= GMAC_VLAN_TAG_DATA_ETV | GMAC_VLAN_TAG_DATA_VEN | vid;
562 __be16 proto, u16 vid)
568 if ((hw->vlan_filter[0] & GMAC_VLAN_TAG_VID) == vid) {
506 dwmac4_add_hw_vlan_rx_fltr(struct net_device *dev, struct mac_device_info *hw, __be16 proto, u16 vid) argument
560 dwmac4_del_hw_vlan_rx_fltr(struct net_device *dev, struct mac_device_info *hw, __be16 proto, u16 vid) argument
1166 u16 vid = hw->desc->get_rx_vlan_tci(rx_desc); local
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c70 int prestera_port_pvid_set(struct prestera_port *port, u16 vid) argument
77 if (vid) {
78 err = prestera_hw_vlan_port_vid_set(port, vid);
89 port->pvid = vid;
1206 const unsigned char *addr, u16 vid)
1220 mdb_entry->vid = vid;
1275 u16 vid)
1287 flood_domain_port->vid = vid;
1205 prestera_mdb_entry_create(struct prestera_switch *sw, const unsigned char *addr, u16 vid) argument
1273 prestera_flood_domain_port_create(struct prestera_flood_domain *flood_domain, struct net_device *dev, u16 vid) argument
1333 prestera_flood_domain_port_find(struct prestera_flood_domain *flood_domain, struct net_device *dev, u16 vid) argument
[all...]

Completed in 342 milliseconds

1234567891011>>