/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_core.c | 461 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/include/media/ |
H A D | dvb-usb-ids.h | 15 #define DVB_USB_DEV(pid, vid) \ 16 [vid] = { USB_DEVICE(USB_VID_ ## pid, USB_PID_ ## vid) } 18 #define DVB_USB_DEV_VER(pid, vid, lo, hi) \ 19 [vid] = { USB_DEVICE_VER(USB_VID_ ## pid, USB_PID_ ## vid, lo, hi) }
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | devlink.c | 425 * @vid: Global1/6: VID, valid, and page. 439 u16 vid; member in struct:mv88e6xxx_devlink_vtu_entry 462 vlan.vid = mv88e6xxx_max_vid(chip); 482 &entry->vid); 493 } while (vlan.vid < mv88e6xxx_max_vid(chip)); 509 * @vid: Global1/6: Valid bit. 522 u16 vid; member in struct:mv88e6xxx_devlink_stu_entry 561 &entry->vid);
|
/linux-master/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 52 vid = overlay_is_vid(overlay); local 114 return (dma_palette(0) | dma_fmt(vid, val) | 115 dma_swaprb(vid, rbswap) | dma_swapuv(vid, uvswap) | 116 dma_swapyuv(vid, yuvswap) | dma_csc(vid, csc_en));
|
/linux-master/net/batman-adv/ |
H A D | types.h | 332 /** @vid: the VLAN identifier */ 333 unsigned short vid; member in struct:batadv_orig_node_vlan 1565 /** @vid: VLAN identifier */ 1566 unsigned short vid; member in struct:batadv_softif_vlan 1831 /** @vid: vlan id this gateway was detected on */ 1832 unsigned short vid; member in struct:batadv_bla_backbone_gw 1880 /** @vid: vlan id this client was detected on */ 1881 unsigned short vid; member in struct:batadv_bla_claim 1910 /** @vid: VLAN identifier */ 1911 unsigned short vid; member in struct:batadv_tt_common_entry 2329 unsigned short vid; member in struct:batadv_dat_entry [all...] |
H A D | main.c | 630 unsigned short vid; local 639 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK; 640 vid |= BATADV_VLAN_HAS_TAG; 642 return vid; 648 * @vid: the VLAN identifier for which the AP isolation attributed as to be 651 * Return: true if AP isolation is on for the VLAN identified by vid, false 654 bool batadv_vlan_ap_isola_get(struct batadv_priv *bat_priv, unsigned short vid) argument 662 vlan = batadv_softif_vlan_get(bat_priv, vid);
|
H A D | routing.c | 734 * @vid: VLAN identifier 745 u8 *dst_addr, unsigned short vid) 753 if (batadv_is_my_client(bat_priv, dst_addr, vid)) { 761 vid); 794 unsigned short vid; local 806 vid = batadv_get_vid(skb, hdr_len); 818 if (batadv_tt_local_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) { 820 ethhdr->h_dest, vid)) 866 ethhdr->h_dest, vid)) { 878 if (!batadv_is_my_client(bat_priv, ethhdr->h_dest, vid)) 743 batadv_reroute_unicast_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, struct batadv_unicast_packet *unicast_packet, u8 *dst_addr, unsigned short vid) argument [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | goodix_fwupload.c | 30 u8 vid[2]; member in struct:goodix_fw_header 82 fw_header->vid[0], fw_header->vid[1]);
|
/linux-master/drivers/watchdog/ |
H A D | exar_wdt.c | 302 unsigned short vid, did; local 308 vid = exar_sio_read16(config_port, EXAR_VID); 312 if (vid == EXAR_VEN_ID &&
|
/linux-master/drivers/net/dsa/ |
H A D | rzn1_a5psw.c | 497 const unsigned char *addr, u16 vid, 548 const unsigned char *addr, u16 vid, 661 static int a5psw_find_vlan_entry(struct a5psw *a5psw, u16 vid) argument 669 if (FIELD_GET(A5PSW_VLAN_RES_VLANID, vlan_res) == vid) 735 u16 vid = vlan->vid; local 738 vlan_res_id = a5psw_find_vlan_entry(a5psw, vid); 740 vlan_res_id = a5psw_new_vlan_res_entry(a5psw, vid); 754 a5psw_reg_writel(a5psw, A5PSW_SYSTEM_TAGINFO(port), vid); 763 u16 vid local 496 a5psw_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 547 a5psw_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument [all...] |
H A D | lantiq_gswip.c | 272 u16 vid; member in struct:gswip_vlan 666 vlan_active.key[0] = 0; /* vid */ 680 vlan_mapping.val[0] = 0 /* vid */; 917 int fid, u16 vid) 941 vlan_active.key[0] = vid; 952 priv->vlans[idx].vid = vid; 1036 u16 vid, bool untagged, 1054 if (priv->vlans[i].vid == vid) { 915 gswip_vlan_active_create(struct gswip_priv *priv, struct net_device *bridge, int fid, u16 vid) argument 1034 gswip_vlan_add_aware(struct gswip_priv *priv, struct net_device *bridge, int port, u16 vid, bool untagged, bool pvid) argument 1110 gswip_vlan_remove(struct gswip_priv *priv, struct net_device *bridge, int port, u16 vid, bool pvid, bool vlan_aware) argument 1364 gswip_port_fdb(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, bool add) argument 1407 gswip_port_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument 1414 gswip_port_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument [all...] |
/linux-master/arch/mips/txx9/generic/ |
H A D | pci.c | 51 unsigned short vid; local 65 pci_devfn, PCI_VENDOR_ID, &vid); 68 if (vid == 0xffff)
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pf.h | 100 s32 fm10k_iov_select_vid(struct fm10k_vf_info *vf_info, u16 vid);
|
/linux-master/drivers/cpufreq/ |
H A D | powernow-k8.h | 13 * vid/fid pairings, but are modified during the ->target() call 22 /* keep track of the current fid / vid or pstate */ 26 /* the powernow_table includes all frequency and vid/fid pairings: 27 * fid are the lower 8 bits of the index, vid are the upper 8 bits. 32 * used to determine valid frequency/vid/fid states */ 107 #define LEAST_VID 0x3e /* Lowest (numerically highest) useful vid value */ 113 #define INVALID_VID_MASK 0xffffffc0 /* not a valid vid if these bits are set */ 175 /* Pairs of fid/vid values are appended to the version 1.4 PSB table. */ 178 u8 vid; member in struct:pst_s
|
/linux-master/fs/afs/ |
H A D | protocol_yfs.h | 142 struct yfs_xdr_u64 vid; member in struct:yfs_xdr_YFSFetchVolumeStatus
|
H A D | security.c | 153 vnode->fid.vid, vnode->fid.vnode, key_serial(key), caller_access); 310 vnode->fid.vid, vnode->fid.vnode, key_serial(key)); 350 vnode->fid.vid, vnode->fid.vnode, key_serial(key)); 407 vnode->fid.vid, vnode->fid.vnode, vnode->flags, mask);
|
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_voutdef.h | 138 int vid; member in struct:omap_vout_device
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | pxe1610.c | 64 .format[PSC_VOLTAGE_OUT] = vid,
|
/linux-master/drivers/regulator/ |
H A D | rt6190-regulator.c | 382 unsigned int vid; local 404 ret = regmap_read(regmap, RT6190_REG_VID, &vid); 408 if (vid != RICHTEK_VID) 409 return dev_err_probe(dev, -ENODEV, "Incorrect VID 0x%02x\n", vid);
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | dual_vxlan_bridge.sh | 17 # | | vid 100 pvid untagged | | | | | 24 # | | vid 100 pvid untagged | | | | 59 # | | vid 100 pvid untagged | | | | | | 63 # | | | vid 100 pvid untagged | | | | | | | 157 bridge vlan add vid 100 dev vx100 pvid untagged 161 bridge vlan add vid 100 dev $swp1 pvid untagged 192 bridge vlan del vid 100 dev $swp1 274 in_ns ns1 bridge vlan add vid 100 dev vx100 pvid untagged
|
H A D | bridge_locked_port.sh | 127 bridge vlan add vid 100 dev $swp1 128 bridge vlan add vid 100 dev $swp2 148 bridge vlan del vid 100 dev $swp1 149 bridge vlan del vid 100 dev $swp2
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | 36 u16 vid; member in struct:mlxsw_sp_span_parms
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | vi.c | 1110 struct tegra_video_device *vid = dev_get_drvdata(vi->client.host); local 1154 chan->video.v4l2_dev = &vid->v4l2_dev; 1186 v4l2_async_nf_init(&chan->notifier, &vid->v4l2_dev); 1336 void tegra_v4l2_nodes_cleanup_tpg(struct tegra_video_device *vid) argument 1338 struct tegra_vi *vi = vid->vi; 1339 struct tegra_csi *csi = vid->csi; 1350 int tegra_v4l2_nodes_setup_tpg(struct tegra_video_device *vid) argument 1352 struct tegra_vi *vi = vid->vi; 1353 struct tegra_csi *csi = vid->csi; 1371 ret = v4l2_device_register_subdev(&vid 1812 struct tegra_video_device *vid = dev_get_drvdata(client->host); local [all...] |
/linux-master/include/net/ |
H A D | switchdev.h | 47 u16 vid; member in struct:switchdev_vlan_msti 99 u16 vid; member in struct:switchdev_obj_port_vlan 116 u16 vid; member in struct:switchdev_obj_port_mdb 247 u16 vid; member in struct:switchdev_notifier_fdb_info
|
/linux-master/drivers/power/supply/ |
H A D | rt9467-charger.c | 280 unsigned int vid; member in struct:rt9467_chg_data 1015 if (data->vid == RT9466_VID) { 1123 unsigned int vid; local 1126 ret = regmap_field_read(data->rm_field[F_VENDOR], &vid); 1128 dev_err(data->dev, "Failed to get vid\n"); 1132 if ((vid != RT9466_VID) && (vid != RT9467_VID)) 1134 "VID not correct [0x%02X]\n", vid); 1136 data->vid = vid; [all...] |