/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | filter.h | 258 u16 vid, const u8 *addr) in efx_filter_set_eth_local() argument 260 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL) in efx_filter_set_eth_local() 263 if (vid != EFX_FILTER_VID_UNSPEC) { in efx_filter_set_eth_local() 265 spec->outer_vid = htons(vid); in efx_filter_set_eth_local()
|
/openbmc/linux/drivers/staging/media/tegra-video/ |
H A D | video.h | 23 int tegra_v4l2_nodes_setup_tpg(struct tegra_video_device *vid); 24 void tegra_v4l2_nodes_cleanup_tpg(struct tegra_video_device *vid);
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rl6347a.c | 65 unsigned int index, vid; in rl6347a_hw_read() local 74 vid = (reg >> 8) & 0xfff; in rl6347a_hw_read() 76 if (AC_VERB_GET_AMP_GAIN_MUTE == (vid & 0xf00)) { in rl6347a_hw_read()
|
/openbmc/linux/fs/afs/ |
H A D | inode.c | 43 vnode->fid.vid, in dump_vnode() 48 parent_vnode->fid.vid, in dump_vnode() 76 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_inode_init_from_status() 175 vp->fid.vid, vp->fid.vnode, vp->fid.unique, in afs_apply_status() 182 vnode->fid.vid, in afs_apply_status() 219 vnode->fid.vid, vnode->fid.vnode, in afs_apply_status() 512 vnode->fid.vid = as->volume->vid, in afs_iget5_set_root() 532 _enter(",{%llx},,", as->volume->vid); in afs_root_iget() 703 vnode->fid.vid, vnode->fid.vnode, vnode->flags, in afs_validate() 815 vnode->fid.vid, in afs_evict_inode() [all …]
|
/openbmc/linux/drivers/perf/ |
H A D | cxl_pmu.c | 84 u16 vid; member 175 pmu_ev->vid = FIELD_GET(CXL_PMU_EVENT_CAP_VENDOR_ID_MSK, eval); in cxl_pmu_parse_caps() 200 pmu_ev->vid = FIELD_GET(CXL_PMU_EVENT_CAP_VENDOR_ID_MSK, eval); in cxl_pmu_parse_caps() 244 [cxl_pmu_vid_attr] = CXL_PMU_FORMAT_ATTR(vid, "config:48-63"), 438 int vid, int gid, int msk) in cxl_pmu_find_fixed_counter_ev_cap() argument 443 if (vid != pmu_ev->vid || gid != pmu_ev->gid) in cxl_pmu_find_fixed_counter_ev_cap() 455 int vid, int gid, int msk) in cxl_pmu_find_config_counter_ev_cap() argument 460 if (vid != pmu_ev->vid || gid != pmu_ev->gid) in cxl_pmu_find_config_counter_ev_cap() 480 int vid = FIELD_GET(CXL_PMU_ATTR_CONFIG_VID_MSK, pmu_attr->id); in cxl_pmu_event_is_visible() local 532 u16 gid, vid; in cxl_pmu_get_event_idx() local [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 79 if (vlan[i].vlanid == vid) in sja1105_is_vlan_configured() 1517 const u8 *addr, u16 vid, in sja1105et_is_fdb_entry_in_bin() argument 1538 l2_lookup.vlanid == vid) { in sja1105et_is_fdb_entry_in_bin() 1578 l2_lookup.vlanid = vid; in sja1105et_fdb_add() 1677 l2_lookup.vlanid = vid; in sja1105pqrs_fdb_add() 1745 port, addr, vid, ERR_PTR(rc)); in sja1105pqrs_fdb_add() 1768 l2_lookup.vlanid = vid; in sja1105pqrs_fdb_del() 1803 if (!vid) { in sja1105_fdb_add() 1829 if (!vid) { in __sja1105_fdb_del() 2503 vlan[match].vlanid = vid; in sja1105_vlan_add() [all …]
|
/openbmc/linux/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.h | 481 #define dma_fmt(vid, val) ((val & 0xf) << ((vid) ? 20 : 16)) argument 482 #define dma_swaprb(vid, val) ((val ? 1 : 0) << ((vid) ? 4 : 12)) argument 483 #define dma_swapuv(vid, val) ((val ? 1 : 0) << ((vid) ? 3 : 11)) argument 484 #define dma_swapyuv(vid, val) ((val ? 1 : 0) << ((vid) ? 2 : 10)) argument 485 #define dma_csc(vid, val) ((val ? 1 : 0) << ((vid) ? 1 : 9)) argument 486 #define dma_hsmooth(vid, val) ((val ? 1 : 0) << ((vid) ? 6 : 14)) argument 487 #define dma_mask(vid) (dma_palette(1) | dma_fmt(vid, 0xf) | dma_csc(vid, 1) \ argument 488 | dma_swaprb(vid, 1) | dma_swapuv(vid, 1) | dma_swapyuv(vid, 1))
|
/openbmc/u-boot/board/freescale/common/ |
H A D | zm7300.c | 173 u8 reg = 0x7, vid; in zm_write_voltage() local 177 vid = (voltage - 5000) / ZM_STEP; in zm_write_voltage() 179 ret = zm_write(reg, vid); in zm_write_voltage()
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | q_in_vni.sh | 155 bridge vlan add vid 100 dev vx100 pvid untagged 159 bridge vlan add vid 100 dev $swp1 pvid untagged 163 bridge vlan add vid 100 dev $swp2 pvid untagged 174 bridge vlan del vid 100 dev $swp2 178 bridge vlan del vid 100 dev $swp1 230 bridge vlan add vid 100 dev w1 pvid untagged 241 bridge vlan add vid 100 dev vx100 pvid untagged
|
H A D | q_in_vni_ipv6.sh | 154 bridge vlan add vid 100 dev vx100 pvid untagged 158 bridge vlan add vid 100 dev $swp1 pvid untagged 162 bridge vlan add vid 100 dev $swp2 pvid untagged 173 bridge vlan del vid 100 dev $swp2 177 bridge vlan del vid 100 dev $swp1 229 bridge vlan add vid 100 dev w1 pvid untagged 240 bridge vlan add vid 100 dev vx100 pvid untagged
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 523 if (vid == OCELOT_STANDALONE_PVID) in ocelot_vlan_vid_del() 605 u16 vid; member 612 u16 vid; member 628 w->learn.vid, w->learn.entry_type); in ocelot_mact_work() 663 w.forget.vid = OCELOT_STANDALONE_PVID; in ocelot_mc_unsync() 677 w.learn.vid = OCELOT_STANDALONE_PVID; in ocelot_mc_sync() 733 u16 vid, u16 flags, in ocelot_port_fdb_add() argument 786 if (vid && nla_put_u16(dump->skb, NDA_VLAN, vid)) in ocelot_port_fdb_do_dump() 824 u16 vid) in ocelot_vlan_rx_add_vid() argument 830 u16 vid) in ocelot_vlan_rx_kill_vid() argument [all …]
|
H A D | ocelot.h | 72 u16 vid; member 91 unsigned int vid, enum macaccess_entry_type type); 93 const unsigned char mac[ETH_ALEN], unsigned int vid);
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | fnic_fip.h | 18 __be16 vid; member 27 u16 vid; /* vlan ID */ member
|
/openbmc/linux/net/bridge/ |
H A D | br_switchdev.c | 133 item->vid = fdb->key.vlan_id; in br_switchdev_fdb_populate() 176 int br_switchdev_port_vlan_add(struct net_device *dev, u16 vid, u16 flags, in br_switchdev_port_vlan_add() argument 183 .vid = vid, in br_switchdev_port_vlan_add() 190 int br_switchdev_port_vlan_del(struct net_device *dev, u16 vid) in br_switchdev_port_vlan_del() argument 195 .vid = vid, in br_switchdev_port_vlan_del() 376 attr.u.vlan_msti.vid = v->vid; in br_switchdev_vlan_attr_replay() 431 .vid = v->vid, in br_switchdev_vlan_replay_group() 539 mdb->vid = mp->addr.vid; in br_switchdev_mdb_populate()
|
/openbmc/linux/drivers/usb/core/ |
H A D | quirks.c | 16 u16 vid; member 31 u16 vid, pid; in quirks_param_set() local 79 if (kstrtou16(field, 16, &vid)) in quirks_param_set() 149 { .vid = vid, .pid = pid, .flags = flags }; in quirks_param_set() 677 u16 vid = le16_to_cpu(udev->descriptor.idVendor); in usb_detect_dynamic_quirks() local 684 if (vid == quirk_list[i].vid && pid == quirk_list[i].pid) { in usb_detect_dynamic_quirks()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.c | 268 u16 vid = *p_vid; in mlxsw_sp_span_entry_bridge_8021q() local 270 if (!vid && WARN_ON(br_vlan_get_pvid(br_dev, &vid))) in mlxsw_sp_span_entry_bridge_8021q() 272 if (!vid || br_vlan_get_info(br_dev, vid, &vinfo) || in mlxsw_sp_span_entry_bridge_8021q() 285 *p_vid = vid; in mlxsw_sp_span_entry_bridge_8021q() 363 u16 vid = 0; in mlxsw_sp_span_entry_tunnel_parms_common() local 381 if (vid || !(edev->flags & IFF_UP)) in mlxsw_sp_span_entry_tunnel_parms_common() 403 sparmsp->vid = vid; in mlxsw_sp_span_entry_tunnel_parms_common() 495 sparms.dmac, !!sparms.vid); in mlxsw_sp_span_entry_gretap4_configure() 599 sparms.dmac, !!sparms.vid); in mlxsw_sp_span_entry_gretap6_configure() 636 u16 vid; in mlxsw_sp_span_entry_vlan_parms() local [all …]
|
H A D | spectrum.h | 294 u16 vid; member 457 u16 vid = 0; in mlxsw_sp_vxlan_mapped_vid() local 460 err = br_vlan_get_pvid(vxlan_dev, &vid); in mlxsw_sp_vxlan_mapped_vid() 461 if (err || !vid) in mlxsw_sp_vxlan_mapped_vid() 466 vid = 0; in mlxsw_sp_vxlan_mapped_vid() 469 *p_vid = vid; in mlxsw_sp_vxlan_mapped_vid() 493 u16 vid) in mlxsw_sp_port_vlan_find_by_vid() argument 499 if (mlxsw_sp_port_vlan->vid == vid) in mlxsw_sp_port_vlan_find_by_vid() 704 __be16 __always_unused proto, u16 vid); 1033 u32 action, u16 vid, u16 proto, u8 prio, [all …]
|
/openbmc/linux/net/batman-adv/ |
H A D | soft-interface.h | 24 int batadv_softif_create_vlan(struct batadv_priv *bat_priv, unsigned short vid); 27 unsigned short vid);
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_defs.h | 823 #define VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid) \ argument 824 (vfTable[vid >> 5] |= (1 << (vid & 31))) 825 #define VMXNET3_CLEAR_VFTABLE_ENTRY(vfTable, vid) \ argument 826 (vfTable[vid >> 5] &= ~(1 << (vid & 31))) 828 #define VMXNET3_VFTABLE_ENTRY_IS_SET(vfTable, vid) \ argument 829 ((vfTable[vid >> 5] & (1 << (vid & 31))) != 0)
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | filter.h | 279 u16 vid, const u8 *addr) in efx_filter_set_eth_local() argument 281 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL) in efx_filter_set_eth_local() 284 if (vid != EFX_FILTER_VID_UNSPEC) { in efx_filter_set_eth_local() 286 spec->outer_vid = htons(vid); in efx_filter_set_eth_local()
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpci_mt6370.c | 109 u16 vid; in mt6370_check_vendor_info() local 112 ret = regmap_raw_read(regmap, TCPC_VENDOR_ID, &vid, sizeof(u16)); in mt6370_check_vendor_info() 116 if (vid != MT6370_VENDOR_ID) in mt6370_check_vendor_info() 118 "Vendor ID not correct 0x%02x\n", vid); in mt6370_check_vendor_info()
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.c | 166 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in enic_vlan_rx_add_vid() argument 172 err = enic_add_vlan(enic, vid); in enic_vlan_rx_add_vid() 179 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in enic_vlan_rx_kill_vid() argument 185 err = enic_del_vlan(enic, vid); in enic_vlan_rx_kill_vid()
|
/openbmc/u-boot/board/samsung/common/ |
H A D | misc.c | 226 vidinfo_t *vid = &panel_info; in display_board_info() local 249 if (vid) in display_board_info() 251 vid->vl_col, vid->vl_row); in display_board_info() 253 lcd_printf("\tDisplay BPP: %u\n", 1 << vid->vl_bpix); in display_board_info()
|
/openbmc/linux/drivers/scsi/qedf/ |
H A D | qedf_fip.c | 84 u16 vid = 0; in qedf_fcoe_process_vlan_resp() local 96 vid = ntohs(((struct fip_vlan_desc *)desc)->fd_vlan); in qedf_fcoe_process_vlan_resp() 110 "vid=0x%x.\n", vid); in qedf_fcoe_process_vlan_resp() 112 if (vid > 0 && qedf->vlan_id != vid) { in qedf_fcoe_process_vlan_resp() 113 qedf_set_vlan_id(qedf, vid); in qedf_fcoe_process_vlan_resp()
|
/openbmc/linux/net/ncsi/ |
H A D | ncsi-manage.c | 607 u16 vid; in clear_one_vid() local 643 u16 vid; in set_one_vid() local 655 vid = vlan->vid; in set_one_vid() 658 vid = 0; in set_one_vid() 661 if (vid) in set_one_vid() 666 if (!vid) { in set_one_vid() 1655 if (vid == 0) in ncsi_vlan_rx_add_vid() 1669 if (vlan->vid == vid) { in ncsi_vlan_rx_add_vid() 1671 vid); in ncsi_vlan_rx_add_vid() 1687 vlan->vid = vid; in ncsi_vlan_rx_add_vid() [all …]
|