/linux-master/drivers/scsi/ |
H A D | scsi_transport_fc.c | 2315 struct fc_vport_identifiers vid; local 2320 memset(&vid, 0, sizeof(vid)); 2330 stat = fc_parse_wwn(&buf[0], &vid.port_name); 2334 stat = fc_parse_wwn(&buf[17], &vid.node_name); 2338 vid.roles = FC_PORT_ROLE_FCP_INITIATOR; 2339 vid.vport_type = FC_PORTTYPE_NPIV; 2340 /* vid.symbolic_name is already zero/NULL's */ 2341 vid.disable = false; /* always enabled */ 2344 stat = fc_vport_setup(shost, 0, &shost->shost_gendev, &vid, [all...] |
/linux-master/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 507 unsigned int vid, i = 0; local 520 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { 521 mac_set_vlan_cam(regs, i, (u8 *) &vid); 530 __be16 proto, u16 vid) 535 set_bit(vid, vptr->active_vlans); 542 __be16 proto, u16 vid) 547 clear_bit(vid, vptr->active_vlans); 2086 u16 vid = swab16(le16_to_cpu(rd->rdesc1.PQTAG)); local 2088 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); 529 velocity_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 541 velocity_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 2370 u16 vid; local 2373 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { 2375 bna_rx_vlan_add(bnad->rx_info[rx_id].rx, vid); 3302 bnad_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 3313 bna_rx_vlan_add(bnad->rx_info[0].rx, vid); 3314 set_bit(vid, bnad->active_vlans); 3323 bnad_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 3334 clear_bit(vid, bnad->active_vlans); 3335 bna_rx_vlan_del(bnad->rx_info[0].rx, vid);
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 2586 u16 vid; local 2591 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) 2592 VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid); 2597 vmxnet3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 2605 VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid); 2612 set_bit(vid, adapter->active_vlans); 2619 vmxnet3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 2627 VMXNET3_CLEAR_VFTABLE_ENTRY(vfTable, vid); 2634 clear_bit(vid, adapter->active_vlans);
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 478 __be16 proto, u16 vid) 485 en_dbg(HW, priv, "adding VLAN:%d\n", vid); 487 set_bit(vid, priv->active_vlans); 498 err = mlx4_register_vlan(mdev->dev, priv->port, vid, &idx); 500 en_dbg(HW, priv, "Failed adding vlan %d\n", vid); 508 __be16 proto, u16 vid) 514 en_dbg(HW, priv, "Killing VID:%d\n", vid); 516 clear_bit(vid, priv->active_vlans); 520 mlx4_unregister_vlan(mdev->dev, priv->port, vid); 477 mlx4_en_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 507 mlx4_en_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument
|
/linux-master/drivers/nvme/host/ |
H A D | core.c | 2652 u16 vid; member in struct:nvme_core_quirk_entry 2664 .vid = 0x1179, 2674 .vid = 0x14a4, 2688 .vid = 0x1e0f, 2700 .vid = 0x144d, 2732 return q->vid == le16_to_cpu(id->vid) && 2761 le16_to_cpu(id->vid), le16_to_cpu(id->ssvid)); 2879 subsys->vendor_id = le16_to_cpu(id->vid);
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-gen1.c | 680 * @vid: Video device structure 688 static int vfe_queue_buffer(struct camss_video *vid, struct camss_buffer *buf) argument 690 struct vfe_line *line = container_of(vid, struct vfe_line, video_out);
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu_helper.c | 41 uint16_t convert_to_vddc(uint8_t vid) argument 43 return (uint16_t) ((6200 - (vid * 25)) / VOLTAGE_SCALE);
|
/linux-master/drivers/usb/serial/ |
H A D | xr_serial.c | 1063 #define XR_DEVICE(vid, pid, type) \ 1064 USB_DEVICE_INTERFACE_CLASS((vid), (pid), USB_CLASS_COMM), \
|
/linux-master/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);
|
/linux-master/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);
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | csi.c | 727 struct tegra_video_device *vid = dev_get_drvdata(client->host); local 746 vid->csi = csi;
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl.c | 474 u32 action, u16 vid, u16 proto, u8 prio, 495 vid, prio, ethertype, 472 mlxsw_sp_acl_rulei_act_vlan(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u32 action, u16 vid, u16 proto, u8 prio, struct netlink_ext_ack *extack) argument
|
H A D | reg.h | 320 * For Spectrum-2 when set_vid=0 and smpe_valid=1, the smpe will modify the vid. 374 const char *mac, u16 fid_vid, u16 vid, 383 mlxsw_reg_sfd_uc_set_vid_set(payload, rec_index, vid ? true : false); 384 mlxsw_reg_sfd_uc_vid_set(payload, rec_index, vid); 400 * For Spectrum-2 when set_vid=0 and smpe_valid=1, the smpe will modify the vid. 798 static inline void mlxsw_reg_spms_vid_pack(char *payload, u16 vid, argument 801 mlxsw_reg_spms_state_set(payload, vid, state); 913 * Number of records to update. Each record contains: i, e, u, vid. 1606 MLXSW_ITEM32(reg, svfa, vid, 0x04, 0, 12); 1666 bool valid, u16 fid, u16 vid, 372 mlxsw_reg_sfd_uc_pack(char *payload, int rec_index, enum mlxsw_reg_sfd_rec_policy policy, const char *mac, u16 fid_vid, u16 vid, enum mlxsw_reg_sfd_rec_action action, u16 local_port) argument 1665 mlxsw_reg_svfa_port_vid_pack(char *payload, u16 local_port, bool valid, u16 fid, u16 vid, bool irif_v, u16 irif) argument 1676 mlxsw_reg_svfa_vid_pack(char *payload, bool valid, u16 fid, u16 vid, bool irif_v, u16 irif) argument 7130 mlxsw_reg_ritr_sp_if_pack(char *payload, bool lag, u16 system_port, u16 efid, u16 vid) argument 10018 mlxsw_reg_mpat_eth_rspan_pack(char *payload, u16 vid) argument [all...] |
/linux-master/drivers/scsi/aacraid/ |
H A D | aachba.c | 849 char vid[8]; /* Vendor ID */ member in struct:scsi_inq 930 inqstrcpy("SMC", str->vid); 932 c = sizeof(str->vid); 937 inqstrcpy(cname, str->vid); 953 inqstrcpy (mp->vname, str->vid); 1682 u32 vid; local 1712 vid = (u32)le16_to_cpu( 1717 srb->id = cpu_to_le32(vid);
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_nportdisc.c | 363 uint32_t vid, flag; local 558 vid = be32_to_cpu(sp->un.vv.vid); 560 if ((vid == LPFC_VV_EMLX_ID) && (flag & LPFC_VV_SUPPRESS_RSP)) 1379 uint32_t vid, flag; local 1452 vid = be32_to_cpu(sp->un.vv.vid); 1454 if ((vid == LPFC_VV_EMLX_ID) &&
|
/linux-master/drivers/usb/storage/ |
H A D | usb.c | 467 u16 vid = le16_to_cpu(udev->descriptor.idVendor); local 485 if (vid == simple_strtoul(p, &p, 16) && 609 dev_info(pdev, "Quirks match for vid %04x pid %04x: %llx\n",
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 742 if (f->vlan.vid == vlan.vid && 873 * @vid: VLAN tag 876 __always_unused __be16 proto, u16 vid) 881 if (!vid) 893 if (!iavf_add_vlan(adapter, IAVF_VLAN(vid, be16_to_cpu(proto)))) 903 * @vid: VLAN tag 906 __always_unused __be16 proto, u16 vid) 911 if (!vid) 914 iavf_del_vlan(adapter, IAVF_VLAN(vid, be16_to_cp 875 iavf_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument 905 iavf_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument [all...] |
H A D | iavf_virtchnl.c | 701 vvfl->vlan_id[i] = f->vlan.vid; 760 vlan->tci = f->vlan.vid; 849 vvfl->vlan_id[i] = f->vlan.vid; 855 vvfl->vlan_id[i] = f->vlan.vid; 907 vlan->tci = f->vlan.vid;
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz_common.h | 341 const unsigned char *addr, u16 vid, struct dsa_db db); 343 const unsigned char *addr, u16 vid, struct dsa_db db);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_lib.c | 933 first->vid &= ~VLAN_PRIO_MASK; 935 first->vid |= FIELD_PREP(VLAN_PRIO_MASK, skb->priority);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en.h | 1032 u16 vid); 1034 u16 vid);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_debugfs.c | 138 " mac_filter_hash: %pM vid=%d, state %s\n", 910 u16 vid; local 926 vid = v; 927 ret = i40e_vsi_add_pvid(vsi, vid); 931 vid, vsi_seid); 935 vid, vsi_seid, ret); 1585 dev_info(&pf->pdev->dev, " add pvid <vsi_seid> <vid>\n");
|
/linux-master/drivers/hwmon/ |
H A D | w83793.c | 25 #include <linux/hwmon-vid.h> 215 u8 vid[2]; member in struct:w83793_data 326 return sprintf(buf, "%d\n", vid_from_reg(data->vid[index], data->vrm)); 2073 data->vid[0] = w83793_read_value(client, W83793_REG_VID_INA); 2075 data->vid[1] = w83793_read_value(client, W83793_REG_VID_INB);
|
/linux-master/drivers/net/team/ |
H A D | team_core.c | 1886 static int team_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) argument 1898 err = vlan_vid_add(port->dev, proto, vid); 1908 vlan_vid_del(port->dev, proto, vid); 1914 static int team_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) argument 1921 vlan_vid_del(port->dev, proto, vid);
|