/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_lib.c | 935 first->vid &= ~VLAN_PRIO_MASK; in ice_tx_prepare_vlan_flags_dcb() 937 first->vid |= (skb->priority << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in ice_tx_prepare_vlan_flags_dcb()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | net_driver.h | 1429 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid); 1430 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | reg.h | 374 const char *mac, u16 fid_vid, u16 vid, in mlxsw_reg_sfd_uc_pack() argument 384 mlxsw_reg_sfd_uc_vid_set(payload, rec_index, vid); in mlxsw_reg_sfd_uc_pack() 801 mlxsw_reg_spms_state_set(payload, vid, state); in mlxsw_reg_spms_vid_pack() 1604 MLXSW_ITEM32(reg, svfa, vid, 0x04, 0, 12); 1664 bool valid, u16 fid, u16 vid, in mlxsw_reg_svfa_port_vid_pack() argument 1671 mlxsw_reg_svfa_vid_set(payload, vid); in mlxsw_reg_svfa_port_vid_pack() 1675 u16 vid, bool irif_v, u16 irif) in mlxsw_reg_svfa_vid_pack() argument 1680 mlxsw_reg_svfa_vid_set(payload, vid); in mlxsw_reg_svfa_vid_pack() 7056 u16 system_port, u16 efid, u16 vid) in mlxsw_reg_ritr_sp_if_pack() argument 7061 mlxsw_reg_ritr_sp_if_vid_set(payload, vid); in mlxsw_reg_ritr_sp_if_pack() [all …]
|
/openbmc/linux/include/net/bluetooth/ |
H A D | hci.h | 940 __le16 vid; member 1423 __le16 vid; member 1457 __le16 vid; member 1476 __le16 vid; member
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_sriov.c | 102 static int hinic_set_vf_vlan(struct hinic_hwdev *hwdev, bool add, u16 vid, in hinic_set_vf_vlan() argument 111 if (!vid && !add) in hinic_set_vf_vlan() 115 vf_vlan.vlan_id = vid; in hinic_set_vf_vlan()
|
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_tse_main.c | 342 u16 vid; in tse_rx_vlan() local 345 !__vlan_get_tag(skb, &vid)) { in tse_rx_vlan() 349 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in tse_rx_vlan()
|
/openbmc/qemu/hw/intc/ |
H A D | openpic.c | 1263 (opp->vid << FRR_VID_SHIFT); in openpic_reset() 1330 opp->vid = VID_REVISION_1_2; in fsl_common_init() 1572 opp->vid = VID_REVISION_1_2; in openpic_realize()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 3117 vid, f->macaddr); in i40e_add_vlan_all_mac() 3145 if (!vid) in i40e_vsi_add_vlan() 3182 if (f->vlan == vid) in i40e_rm_vlan_all_mac() 3194 if (!vid || vsi->info.pvid) in i40e_vsi_kill_vlan() 3198 i40e_rm_vlan_all_mac(vsi, vid); in i40e_vsi_kill_vlan() 3222 if (vid >= VLAN_N_VID) in i40e_vlan_rx_add_vid() 3244 if (vid >= VLAN_N_VID) in i40e_vlan_rx_add_vid_up() 3267 i40e_vsi_kill_vlan(vsi, vid); in i40e_vlan_rx_kill_vid() 3280 u16 vid; in i40e_restore_vlan() local 3292 vid); in i40e_restore_vlan() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ |
H A D | ingress_lgcy.c | 224 flow_act.vlan[0].vid = vport->info.vlan; in esw_acl_ingress_lgcy_setup()
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aachba.c | 849 char vid[8]; /* Vendor ID */ member 930 inqstrcpy("SMC", str->vid); in setinqstr() 932 c = sizeof(str->vid); in setinqstr() 937 inqstrcpy(cname, str->vid); in setinqstr() 953 inqstrcpy (mp->vname, str->vid); in setinqstr() 1682 u32 vid; in aac_send_safw_bmic_cmd() local 1712 vid = (u32)le16_to_cpu( in aac_send_safw_bmic_cmd() 1717 srb->id = cpu_to_le32(vid); in aac_send_safw_bmic_cmd()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 769 if (f->vlan.vid == vlan.vid && in iavf_find_vlan() 903 __always_unused __be16 proto, u16 vid) in iavf_vlan_rx_add_vid() argument 908 if (!vid) in iavf_vlan_rx_add_vid() 920 if (!iavf_add_vlan(adapter, IAVF_VLAN(vid, be16_to_cpu(proto)))) in iavf_vlan_rx_add_vid() 933 __always_unused __be16 proto, u16 vid) in iavf_vlan_rx_kill_vid() argument 938 if (!vid) in iavf_vlan_rx_kill_vid() 941 iavf_del_vlan(adapter, IAVF_VLAN(vid, be16_to_cpu(proto))); in iavf_vlan_rx_kill_vid()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | net_driver.h | 1478 int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid); 1479 int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
|
/openbmc/linux/drivers/usb/serial/ |
H A D | xr_serial.c | 1063 #define XR_DEVICE(vid, pid, type) \ argument 1064 USB_DEVICE_INTERFACE_CLASS((vid), (pid), USB_CLASS_COMM), \
|
H A D | ti_usb_3410_5052.c | 515 u16 vid, pid; in ti_startup() local 538 vid = le16_to_cpu(dev->descriptor.idVendor); in ti_startup() 540 if (vid == MXU1_VENDOR_ID) { in ti_startup()
|
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 2586 u16 vid; in vmxnet3_restore_vlan() local 2591 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in vmxnet3_restore_vlan() 2592 VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid); in vmxnet3_restore_vlan() 2597 vmxnet3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in vmxnet3_vlan_rx_add_vid() argument 2605 VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid); in vmxnet3_vlan_rx_add_vid() 2612 set_bit(vid, adapter->active_vlans); in vmxnet3_vlan_rx_add_vid() 2619 vmxnet3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in vmxnet3_vlan_rx_kill_vid() argument 2627 VMXNET3_CLEAR_VFTABLE_ENTRY(vfTable, vid); in vmxnet3_vlan_rx_kill_vid() 2634 clear_bit(vid, adapter->active_vlans); in vmxnet3_vlan_rx_kill_vid()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | core.c | 2540 u16 vid; member 2552 .vid = 0x1179, 2562 .vid = 0x14a4, 2576 .vid = 0x1e0f, 2588 .vid = 0x144d, 2620 return q->vid == le16_to_cpu(id->vid) && in quirk_matches() 2649 le16_to_cpu(id->vid), le16_to_cpu(id->ssvid)); in nvme_init_subnqn() 2767 subsys->vendor_id = le16_to_cpu(id->vid); in nvme_init_subsystem()
|
/openbmc/linux/drivers/hwmon/ |
H A D | w83781d.c | 224 u8 vid; /* Register encoding, combined */ member 409 return sprintf(buf, "%ld\n", (long) vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1511 data->vid = i & 0x0f; in w83781d_update_device() 1512 data->vid |= (w83781d_read_value(data, in w83781d_update_device()
|
H A D | w83793.c | 215 u8 vid[2]; member 326 return sprintf(buf, "%d\n", vid_from_reg(data->vid[index], data->vrm)); in show_vid() 2073 data->vid[0] = w83793_read_value(client, W83793_REG_VID_INA); in w83793_update_device() 2075 data->vid[1] = w83793_read_value(client, W83793_REG_VID_INB); in w83793_update_device()
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stih407-clock.dtsi | 182 "clk-vid-dmu",
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_module.c | 346 desc.vid = 2; /* todo */ in gb_audio_probe()
|
/openbmc/linux/include/linux/ |
H A D | mod_devicetable.h | 757 __u16 did, vid; member
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | mpic.c | 205 uint32_t vid; member 519 (opp->vid << FRR_VID_SHIFT); in openpic_reset() 1306 opp->vid = VID_REVISION_1_2; in fsl_common_init()
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 1193 uint16_t vid) in vhost_vdpa_net_load_single_vlan() argument 1196 .iov_base = &vid, in vhost_vdpa_net_load_single_vlan() 1197 .iov_len = sizeof(vid), in vhost_vdpa_net_load_single_vlan()
|
/openbmc/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 970 u16 vid; member 987 u16 vid; member 1083 u16 vid; member 1687 static int sw_r_vlan_table(struct ksz_hw *hw, u16 addr, u16 *vid, u8 *fid, in sw_r_vlan_table() argument 1694 *vid = (u16)(data & VLAN_TABLE_VID); in sw_r_vlan_table() 2330 static void port_get_def_vid(struct ksz_hw *hw, int port, u16 *vid) in port_get_def_vid() argument 2336 *vid = readw(hw->io + addr); in port_get_def_vid() 2354 &sw->vlan_table[entry].vid, in sw_init_vlan() 2360 port_get_def_vid(hw, port, &sw->port_cfg[port].vid); in sw_init_vlan()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en.h | 1007 u16 vid); 1009 u16 vid);
|