/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 31 #define VLAN_TCI(vid, prio) ((vid) | ((prio) << VLAN_PRIO_SHIFT)) argument 93 actions->push_vlan_tci = htons(act->vlan.vid); in bnxt_tc_parse_vlan()
|
/openbmc/linux/drivers/hwmon/ |
H A D | it87.c | 605 u8 vid; /* Register encoding, combined */ member 973 data->vid = it87_read_value(data, IT87_REG_VID); in it87_update_device() 978 data->vid &= 0x3f; in it87_update_device() 2220 return sprintf(buf, "%ld\n", (long)vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 3490 data->vid = sio_data->vid_value; in it87_probe()
|
H A D | dme1737.c | 212 u8 vid; member 612 data->vid = dme1737_read(data, DME1737_REG_VID) & in dme1737_update_device() 1494 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show()
|
/openbmc/linux/drivers/net/usb/ |
H A D | lan78xx.c | 2616 __be16 proto, u16 vid) in lan78xx_vlan_rx_add_vid() argument 2623 vid_dword_index = (vid >> 5) & 0x7F; in lan78xx_vlan_rx_add_vid() 2624 vid_bit_index = vid & 0x1F; in lan78xx_vlan_rx_add_vid() 2635 __be16 proto, u16 vid) in lan78xx_vlan_rx_kill_vid() argument 2642 vid_dword_index = (vid >> 5) & 0x7F; in lan78xx_vlan_rx_kill_vid() 2643 vid_bit_index = vid & 0x1F; in lan78xx_vlan_rx_kill_vid()
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_main.c | 1849 u16 flags = 0, vid = 0; in netxen_tso_check() local 1863 vid = skb_vlan_tag_get(skb); in netxen_tso_check() 1864 netxen_set_tx_vlan_tci(first_desc, vid); in netxen_tso_check() 1933 vh->h_vlan_TCI = htons(vid); in netxen_tso_check()
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_common.c | 2443 const unsigned char *addr, u16 vid, in ksz_port_fdb_add() argument 2451 return dev->dev_ops->fdb_add(dev, port, addr, vid, db); in ksz_port_fdb_add() 2456 u16 vid, struct dsa_db db) in ksz_port_fdb_del() argument 2463 return dev->dev_ops->fdb_del(dev, port, addr, vid, db); in ksz_port_fdb_del()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 12890 rc = bnx2x_set_vlan_one(bp, vid, &bp->sp_objs->vlan_obj, in __bnx2x_vlan_configure_vid() 12893 rc = bnx2x_vfpf_update_vlan(bp, vid, bp->fp->index, add); in __bnx2x_vlan_configure_vid() 12912 rc = __bnx2x_vlan_configure_vid(bp, vlan->vid, true); in bnx2x_vlan_configure_vid_list() 12914 BNX2X_ERR("Unable to config VLAN %d\n", vlan->vid); in bnx2x_vlan_configure_vid_list() 12958 DP(NETIF_MSG_IFUP, "Adding VLAN %d\n", vid); in bnx2x_vlan_rx_add_vid() 12964 vlan->vid = vid; in bnx2x_vlan_rx_add_vid() 12981 DP(NETIF_MSG_IFUP, "Removing VLAN %d\n", vid); in bnx2x_vlan_rx_kill_vid() 12984 if (vlan->vid == vid) { in bnx2x_vlan_rx_kill_vid() 12990 BNX2X_ERR("Unable to kill VLAN %d - not found\n", vid); in bnx2x_vlan_rx_kill_vid() 12995 rc = __bnx2x_vlan_configure_vid(bp, vid, false); in bnx2x_vlan_rx_kill_vid() [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | switch-driver.rst | 200 $ bridge vlan add vid 200 dev eth8
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.h | 1073 u16 vid; member
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am57xx-beagle-x15-common.dtsi | 385 compatible = "ti,palmas-usb-vid";
|
H A D | omap5-cm-t54.dts | 434 compatible = "ti,palmas-usb-vid";
|
/openbmc/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 1591 u16 vid; in mlx5_vdpa_add_mac_vlan_rules() local 1597 vid = key2vid(node->macvlan); in mlx5_vdpa_add_mac_vlan_rules() 1611 MLX5_SET(fte_match_set_lyr_2_4, headers_v, first_vid, vid); in mlx5_vdpa_add_mac_vlan_rules() 1694 static int mac_vlan_add(struct mlx5_vdpa_net *ndev, u8 *mac, u16 vid, bool tagged) in mac_vlan_add() argument 1701 val = search_val(mac, vid, tagged); in mac_vlan_add()
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | af9015.c | 1242 u16 vid = le16_to_cpu(d->udev->descriptor.idVendor); in af9015_get_rc_config() local 1258 if (!rc->map_name && vid == USB_VID_AFATECH) { in af9015_get_rc_config()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am62-main.dtsi | 746 <0x00 0x30206000 0x00 0x1000>, /* vid */ 752 reg-names = "common", "vidl1", "vid",
|
/openbmc/linux/drivers/usb/serial/ |
H A D | mos7840.c | 165 #define MCS_DEVICE(vid, pid, flags) \ argument 166 USB_DEVICE((vid), (pid)), .driver_info = (flags)
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 1944 u16 vid, in i40e_aq_set_vsi_mc_promisc_on_vlan() argument 1962 cmd->vlan_tag = cpu_to_le16(vid | I40E_AQC_SET_VSI_VLAN_VALID); in i40e_aq_set_vsi_mc_promisc_on_vlan() 1980 u16 vid, in i40e_aq_set_vsi_uc_promisc_on_vlan() argument 2004 cmd->vlan_tag = cpu_to_le16(vid | I40E_AQC_SET_VSI_VLAN_VALID); in i40e_aq_set_vsi_uc_promisc_on_vlan() 2021 u16 seid, bool enable, u16 vid, in i40e_aq_set_vsi_bc_promisc_on_vlan() argument 2039 cmd->vlan_tag = cpu_to_le16(vid | I40E_AQC_SET_VSI_VLAN_VALID); in i40e_aq_set_vsi_bc_promisc_on_vlan()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 2422 __be16 vlan_proto, u16 vid) in dpaa2_eth_rx_add_vid() argument 2428 vid, 0, 0, 0); in dpaa2_eth_rx_add_vid() 2433 vid); in dpaa2_eth_rx_add_vid() 2441 __be16 vlan_proto, u16 vid) in dpaa2_eth_rx_kill_vid() argument 2446 err = dpni_remove_vlan_id(priv->mc_io, 0, priv->mc_token, vid); in dpaa2_eth_rx_kill_vid() 2451 vid); in dpaa2_eth_rx_kill_vid()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.c | 4069 u16 vid = fi->l_data.mac_vlan.vlan_id; in ice_determine_promisc_mask() local 4086 if (vid) in ice_determine_promisc_mask() 4122 u16 vid) in ice_clear_vsi_promisc() argument 4156 vid != fltr_info->l_data.mac_vlan.vlan_id) in ice_clear_vsi_promisc() 4194 ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle, u8 promisc_mask, u16 vid) in ice_set_vsi_promisc() argument 4213 new_fltr.l_data.mac_vlan.vlan_id = vid; in ice_set_vsi_promisc()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_rxtx.c | 252 u16 tci = dsa.vlan.vid & VLAN_VID_MASK; in prestera_rxtx_process_skb()
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210-universal_c210.dts | 328 max8952,vid-gpios = <&gpx0 3 GPIO_ACTIVE_HIGH>,
|
/openbmc/linux/Documentation/usb/ |
H A D | usb-serial.rst | 509 echo <vid> <pid> >/sys/bus/usb-serial/drivers/generic/new_id 511 where the <vid> and <pid> is replaced with the hex representation of your
|
/openbmc/linux/drivers/media/platform/ti/omap/ |
H A D | omap_vout.c | 579 "platform:%s.%d", VOUT_NAME, vout->vid); in vidioc_querycap() 1462 vout->vid = k; in omap_vout_create_video_devices()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_main.c | 369 __be16 proto, u16 vid) in bond_vlan_rx_add_vid() argument 377 res = vlan_vid_add(slave->dev, proto, vid); in bond_vlan_rx_add_vid() 390 vlan_vid_del(rollback_slave->dev, proto, vid); in bond_vlan_rx_add_vid() 403 __be16 proto, u16 vid) in bond_vlan_rx_kill_vid() argument 410 vlan_vid_del(slave->dev, proto, vid); in bond_vlan_rx_kill_vid() 413 bond_alb_clear_vlan(bond, vid); in bond_vlan_rx_kill_vid()
|
/openbmc/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-hw.c | 223 u16 vid; in xlgmac_update_vlan_hash_table() local 226 for_each_set_bit(vid, pdata->active_vlans, VLAN_N_VID) { in xlgmac_update_vlan_hash_table() 228 vid_le = cpu_to_le16(vid); in xlgmac_update_vlan_hash_table()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps.c | 507 unsigned int vid = in init_emon() local 511 val = vid * vid * freq / 1000 * 255; in init_emon()
|