/openbmc/linux/drivers/usb/phy/ |
H A D | phy-ulpi.c | 170 int i, vid, pid, ret; in ulpi_init() local 179 vid = ulpi_id & 0xffff; in ulpi_init() 182 pr_info("ULPI transceiver vendor/product ID 0x%04x/0x%04x\n", vid, pid); in ulpi_init() 185 if (ulpi_ids[i].id == ULPI_ID(vid, pid)) { in ulpi_init()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_lag_lacp.sh | 60 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 D | mirror_gre_bridge_1q_lag.sh | 62 local vid=$1; shift 68 vlan_create $if_name $vid $vrf_name "${ips[@]}" 74 local vid=$1; shift 77 vlan_destroy $if_name $vid
|
H A D | bridge_mdb_max.sh | 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 20 dev $swp2 110 bridge vlan global set dev br0 vid 10 mcast_igmp_version 3 111 bridge vlan global set dev br0 vid 10 mcast_mld_version 2 112 bridge vlan global set dev br0 vid 20 mcast_igmp_version 3 113 bridge vlan global set dev br0 vid 20 mcast_mld_version 2 [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.t1040-l2switch | 40 ethsw [port <port_no>] [vlan <vid>] fdb { [help] | show | flush | { add | del } <mac> } - add/delet… 41 if [vlan <vid>] is missing, VID 1 will be used 43 ethsw [port <port_no>] vlan { [help] | show | add <vid> | del <vid> } - add a VLAN to a port (VLAN …
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | speedstep.h | 29 uint8_t vid; member 55 ((uint16_t)(state).vid & SPEEDSTEP_VID_MASK))
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.h | 35 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid); 36 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
|
/openbmc/qemu/hw/net/ |
H A D | e1000x_common.c | 64 uint16_t vid = lduw_be_p(&vhdr->h_tci); in e1000x_rx_vlan_filter() local 67 ((vid >> E1000_VFTA_ENTRY_SHIFT) & E1000_VFTA_ENTRY_MASK)); in e1000x_rx_vlan_filter() 68 if ((vfta & (1 << (vid & E1000_VFTA_ENTRY_BIT_SHIFT_MASK))) == 0) { in e1000x_rx_vlan_filter() 69 trace_e1000x_rx_flt_vlan_mismatch(vid); in e1000x_rx_vlan_filter() 73 trace_e1000x_rx_flt_vlan_match(vid); in e1000x_rx_vlan_filter()
|
/openbmc/linux/net/batman-adv/ |
H A D | originator.c | 114 unsigned short vid) in batadv_orig_node_vlan_get() argument 120 if (tmp->vid != vid) in batadv_orig_node_vlan_get() 142 static bool batadv_vlan_id_valid(unsigned short vid) in batadv_vlan_id_valid() argument 144 unsigned short non_vlan = vid & ~(BATADV_VLAN_HAS_TAG | VLAN_VID_MASK); in batadv_vlan_id_valid() 146 if (vid == 0) in batadv_vlan_id_valid() 149 if (!(vid & BATADV_VLAN_HAS_TAG)) in batadv_vlan_id_valid() 172 unsigned short vid) in batadv_orig_node_vlan_new() argument 176 if (!batadv_vlan_id_valid(vid)) in batadv_orig_node_vlan_new() 182 vlan = batadv_orig_node_vlan_get(orig_node, vid); in batadv_orig_node_vlan_new() 191 vlan->vid = vid; in batadv_orig_node_vlan_new()
|
/openbmc/linux/fs/afs/ |
H A D | flock.c | 38 _enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode); in afs_lock_may_be_available() 199 vnode->fid.vid, in afs_set_lock() 230 vnode->fid.vid, in afs_extend_lock() 261 vnode->fid.vid, in afs_release_lock() 289 _enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode); in afs_lock_work() 309 vnode->fid.vid, vnode->fid.vnode, ret); in afs_lock_work() 340 vnode->fid.vid, vnode->fid.vnode, ret); in afs_lock_work() 466 vnode->fid.vid, vnode->fid.vnode, in afs_do_setlk() 707 _enter("{%llx:%llu},%u", vnode->fid.vid, vnode->fid.vnode, fl->fl_type); in afs_do_unlk() 771 vnode->fid.vid, vnode->fid.vnode, cmd, in afs_lock() [all …]
|
/openbmc/linux/drivers/media/common/b2c2/ |
H A D | flexcop-hw-filter.c | 148 flexcop_ibi_value vpid, vid; in flexcop_pid_control() local 151 vid = fc->read_ibi_reg(fc, index_reg_310); in flexcop_pid_control() 152 vid.index_reg_310.index_reg = index - 6; in flexcop_pid_control() 153 fc->write_ibi_reg(fc, index_reg_310, vid); in flexcop_pid_control()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | mt6370-adc.c | 64 unsigned int vid; member 110 switch (priv->vid) { in mt6370_adc_get_ibus_scale() 122 switch (priv->vid) { in mt6370_adc_get_ibat_scale() 294 priv->vid = FIELD_GET(MT6370_VENID_MASK, dev_info); in mt6370_get_vendor_info()
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | debug.c | 100 u16 vid; in mlx5_vdpa_add_rx_counters() local 105 vid = key2vid(node->macvlan); in mlx5_vdpa_add_rx_counters() 106 snprintf(vidstr, sizeof(vidstr), "0x%x", vid); in mlx5_vdpa_add_rx_counters()
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | amd.c | 24 unsigned vid:7; member 38 unsigned vid:8; member 48 unsigned vid:8; member
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fltr.h | 18 u16 vid); 21 u16 vid);
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_gop.c | 64 static __always_inline struct efi_gop_pixel efi_vid16_to_blt_col(u16 vid) in efi_vid16_to_blt_col() argument 70 blt.blue = (vid & 0x1f) << 3; in efi_vid16_to_blt_col() 71 vid >>= 5; in efi_vid16_to_blt_col() 72 blt.green = (vid & 0x3f) << 2; in efi_vid16_to_blt_col() 73 vid >>= 6; in efi_vid16_to_blt_col() 74 blt.red = (vid & 0x1f) << 3; in efi_vid16_to_blt_col()
|
/openbmc/linux/include/linux/ |
H A D | if_vlan.h | 144 int (*action)(struct net_device *dev, int vid, 228 extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid); 229 extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid); 248 int (*action)(struct net_device *dev, int vid, void *arg), in vlan_for_each() argument 283 static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_add() argument 288 static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid) in vlan_vid_del() argument
|
/openbmc/linux/drivers/net/dsa/ |
H A D | lantiq_gswip.c | 272 u16 vid; member 910 int fid, u16 vid) in gswip_vlan_active_create() argument 934 vlan_active.key[0] = vid; in gswip_vlan_active_create() 945 priv->vlans[idx].vid = vid; in gswip_vlan_active_create() 1029 u16 vid, bool untagged, in gswip_vlan_add_aware() argument 1047 if (priv->vlans[i].vid == vid) { in gswip_vlan_add_aware() 1066 vlan_mapping.val[0] = vid; in gswip_vlan_add_aware() 1079 vlan_mapping.val[0] = vid; in gswip_vlan_add_aware() 1105 u16 vid, bool pvid, bool vlan_aware) in gswip_vlan_remove() argument 1117 (!vlan_aware || priv->vlans[i].vid == vid)) { in gswip_vlan_remove() [all …]
|
/openbmc/linux/net/dsa/ |
H A D | tag_sja1105.c | 480 int *switch_id, int *vbid, u16 *vid) in sja1105_vlan_rcv() argument 494 *vid = vlan_tci & VLAN_VID_MASK; in sja1105_vlan_rcv() 505 u16 vid; in sja1105_rcv() local 531 &vid); in sja1105_rcv() 557 skb->dev = dsa_find_designated_bridge_port_by_vid(netdev, vid); in sja1105_rcv() 682 u16 vid = 0; in sja1110_rcv() local 694 sja1105_vlan_rcv(skb, &source_port, &switch_id, &vbid, &vid); in sja1110_rcv() 699 skb->dev = dsa_find_designated_bridge_port_by_vid(netdev, vid); in sja1110_rcv()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.h | 44 u16 vid, u16 qos, u32 vf) in ixgbe_set_vmvir() argument 47 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
|
/openbmc/u-boot/board/samsung/universal_c210/ |
H A D | universal.c | 389 void exynos_lcd_misc_init(vidinfo_t *vid) in exynos_lcd_misc_init() argument 392 get_tizen_logo_info(vid); in exynos_lcd_misc_init() 396 vid->pclk_name = 1; /* MPLL */ in exynos_lcd_misc_init() 397 vid->sclk_div = 1; in exynos_lcd_misc_init()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | dvo_ch7xxx.c | 100 u8 vid; member 122 static char *ch7xxx_get_id(u8 vid) in ch7xxx_get_id() argument 127 if (ch7xxx_ids[i].vid == vid) in ch7xxx_get_id()
|
/openbmc/linux/net/bridge/ |
H A D | br.c | 169 fdb_info->vid, in br_switchdev_event() 176 fdb_info->vid, fdb_info->offloaded); in br_switchdev_event() 181 fdb_info->vid, false); in br_switchdev_event() 188 fdb_info->vid, fdb_info->offloaded); in br_switchdev_event() 193 br_fdb_delete_by_port(br, p, fdb_info->vid, 0); in br_switchdev_event()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 204 u16 vid = U16_MAX; in sja1105_flower_parse_key() local 272 vid = match.key->vlan_id; in sja1105_flower_parse_key() 277 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) { in sja1105_flower_parse_key() 281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key() 286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key() 289 key->vl.vid = vid; in sja1105_flower_parse_key()
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | q_in_vni_veto.sh | 47 bridge vlan add vid 100 dev vx100 pvid untagged 2>/dev/null 50 bridge vlan add vid 100 dev vx100 pvid untagged 2>&1 >/dev/null \
|