/drivers/gpu/drm/i915/ |
H A D | dvo_ch7xxx.c | 88 uint8_t vid; member in struct:ch7xxx_id_struct 110 static char *ch7xxx_get_id(uint8_t vid) argument 115 if (ch7xxx_ids[i].vid == vid)
|
/drivers/media/common/b2c2/ |
H A D | flexcop-hw-filter.c | 143 flexcop_ibi_value vpid, vid; local 146 vid = fc->read_ibi_reg(fc, index_reg_310); 147 vid.index_reg_310.index_reg = index - 6; 148 fc->write_ibi_reg(fc, index_reg_310, vid);
|
/drivers/net/ethernet/cisco/enic/ |
H A D | enic_dev.c | 215 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 221 err = enic_add_vlan(enic, vid); 228 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 234 err = enic_del_vlan(enic, vid);
|
/drivers/usb/phy/ |
H A D | phy-ulpi.c | 183 int i, vid, pid, ret; local 192 vid = ulpi_id & 0xffff; 195 pr_info("ULPI transceiver vendor/product ID 0x%04x/0x%04x\n", vid, pid); 198 if (ulpi_ids[i].id == ULPI_ID(vid, pid)) {
|
/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.h | 495 #define dma_fmt(vid, val) ((val & 0xf) << ((vid) ? 20 : 16)) 496 #define dma_swaprb(vid, val) ((val ? 1 : 0) << ((vid) ? 4 : 12)) 497 #define dma_swapuv(vid, val) ((val ? 1 : 0) << ((vid) ? 3 : 11)) 498 #define dma_swapyuv(vid, val) ((val ? 1 : 0) << ((vid) ? 2 : 10)) 499 #define dma_csc(vid, val) ((val ? 1 : 0) << ((vid) [all...] |
H A D | mmp_ctrl.c | 65 vid = overlay_is_vid(overlay); local 127 return (dma_palette(0) | dma_fmt(vid, val) | 128 dma_swaprb(vid, rbswap) | dma_swapuv(vid, uvswap) | 129 dma_swapyuv(vid, yuvswap) | dma_csc(vid, csc_en));
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
H A D | volt.c | 126 info->vid = nv_ro08(bios, volt + 0x01); 130 info->vid = nv_ro08(bios, volt + 0x01) >> 2;
|
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.h | 60 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add);
|
/drivers/regulator/ |
H A D | max8952.c | 87 u8 vid = 0; local 90 vid += 1; 92 vid += 2; 94 return vid; 149 pd->gpio_vid0 = of_get_named_gpio(np, "max8952,vid-gpios", 0); 150 pd->gpio_vid1 = of_get_named_gpio(np, "max8952,vid-gpios", 1);
|
/drivers/fmc/ |
H A D | fmc-sdb.c | 254 uint64_t vid, uint32_t did, unsigned long *sz) 271 vid, did, sz); 276 if (__be64_to_cpu(p->vendor_id) != vid) 253 fmc_find_sdb_device(struct sdb_array *tree, uint64_t vid, uint32_t did, unsigned long *sz) argument
|
/drivers/cpufreq/ |
H A D | powernow-k8.h | 15 * vid/fid pairings, but are modified during the ->target() call 24 /* keep track of the current fid / vid or pstate */ 28 /* the powernow_table includes all frequency and vid/fid pairings: 29 * fid are the lower 8 bits of the index, vid are the upper 8 bits. 34 * used to determine valid frequency/vid/fid states */ 109 #define LEAST_VID 0x3e /* Lowest (numerically highest) useful vid value */ 115 #define INVALID_VID_MASK 0xffffffc0 /* not a valid vid if these bits are set */ 177 /* Pairs of fid/vid values are appended to the version 1.4 PSB table. */ 180 u8 vid; member in struct:pst_s
|
H A D | longhaul.c | 535 struct mV_pos minvid, maxvid, vid; local 619 vid = vrm_mV_table[mV_vrm_table[pos]]; 620 printk(KERN_INFO PFX "f: %d kHz, index: %d, vid: %d mV\n", 621 speed, (int)(freq_pos - longhaul_table), vid.mV); 634 u8 vid, current_vid; local 651 vid = (longhaul_table[i].driver_data >> 8) & 0x1f; 652 if (vid != current_vid) { 654 current_vid = vid;
|
/drivers/media/platform/omap/ |
H A D | omap_voutdef.h | 119 int vid; member in struct:omap_vout_device
|
/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_iov.c | 250 /* assign our default vid to the VF following reset */ 452 int fm10k_ndo_set_vf_vlan(struct net_device *netdev, int vf_idx, u16 vid, argument 465 if (qos || (vid > (VLAN_VID_MASK - 1))) 471 if (vf_info->pf_vid == vid) 475 vf_info->pf_vid = vid;
|
/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 258 * @vid: determines the vfta register and bit to set/unset 261 static s32 e1000_set_vfta_vf(struct e1000_hw *hw, u16 vid, bool set) argument 268 msgbuf[1] = vid;
|
/drivers/staging/wlan-ng/ |
H A D | prism2usb.c | 7 #define PRISM_DEV(vid, pid, name) \ 8 { USB_DEVICE(vid, pid), \
|
/drivers/char/tpm/ |
H A D | tpm_i2c_nuvoton.c | 524 u32 vid = 0; local 526 rc = get_vid(client, &vid); 530 dev_info(dev, "VID: %04X DID: %02X RID: %02X\n", (u16) vid, 531 (u8) (vid >> 16), (u8) (vid >> 24));
|
/drivers/media/common/saa7146/ |
H A D | saa7146_fops.c | 590 int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev, argument 628 *vid = vfd; 633 int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev) argument 637 video_unregister_device(*vid); 638 *vid = NULL;
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e.h | 645 i40e_status i40e_vsi_add_pvid(struct i40e_vsi *vsi, u16 vid); 675 __always_unused __be16 proto, u16 vid); 677 __always_unused __be16 proto, u16 vid); 681 int i40e_vsi_add_vlan(struct i40e_vsi *vsi, s16 vid); 682 int i40e_vsi_kill_vlan(struct i40e_vsi *vsi, s16 vid);
|
/drivers/net/ethernet/ti/ |
H A D | cpsw.c | 1591 u16 vid = 0; local 1597 vid = priv->slaves[priv->emac_port].port_vlan; 1602 flags, vid); 1604 flags, vid); 1630 unsigned short vid) 1640 ret = cpsw_ale_add_vlan(priv->ale, vid, 1648 priv->host_port, ALE_VLAN, vid); 1654 ALE_VLAN, vid, 0); 1661 priv->host_port, ALE_VLAN, vid); 1663 cpsw_ale_del_vlan(priv->ale, vid, 1629 cpsw_add_vlan_ale_entry(struct cpsw_priv *priv, unsigned short vid) argument 1667 cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument 1679 cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument [all...] |
/drivers/net/usb/ |
H A D | cdc_mbim.c | 73 static int cdc_mbim_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 79 if (vid == MBIM_IPS0_VID) 82 if (vid >= 512) /* we don't map these to MBIM session */ 87 static int cdc_mbim_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument 93 if (vid == MBIM_IPS0_VID)
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 392 static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, argument 396 if (!vid && !add) 399 return adapter->hw.mac.ops.set_vfta(&adapter->hw, vid, vf, (bool)add); 771 int vid = (msgbuf[1] & IXGBE_VLVF_VLANID_MASK); local 795 err = ixgbe_set_vf_vlan(adapter, add, vid, VMDQ_P(0)); 797 err = ixgbe_set_vf_vlan(adapter, add, vid, vf); 805 reg_ndx = ixgbe_find_vlvf_entry(hw, vid); 828 if ((vlvf & VLAN_VID_MASK) == vid && 829 !test_bit(vid, adapter->active_vlans) && !bits) 830 ixgbe_set_vf_vlan(adapter, add, vid, VMDQ_ [all...] |
/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 386 u16 vid; local 410 vid = ntohs(((struct fip_vlan_desc *)desc)->fd_vlan); 412 "process_vlan_resp: FIP VLAN %d\n", vid); 422 vlan->vid = vid & 0x0fff; 442 fnic->set_vlan(fnic, vlan->vid); 464 fnic->set_vlan(fnic, vlan->vid); 1292 vlan->vid, vlan->state, vlan->sol_count); 1314 vlan->vid); 1331 fnic->set_vlan(fnic, vlan->vid); [all...] |
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1192 u16 vid = 0xffff, t_vid; local 1226 if (unlikely(qlcnic_check_rx_tagging(adapter, skb, &vid))) { 1234 if (vid != 0xffff) 1235 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); 1263 u16 lro_length, length, data_offset, t_vid, vid = 0xffff; local 1302 if (unlikely(qlcnic_check_rx_tagging(adapter, skb, &vid))) { 1335 if (vid != 0xffff) 1336 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); 1715 u16 vid = 0xffff; local 1739 err = qlcnic_check_rx_tagging(adapter, skb, &vid); 1787 u16 vid = 0xffff; local [all...] |
/drivers/hwmon/ |
H A D | lm93.c | 47 #include <linux/hwmon-vid.h> 96 /* vid inputs: vid1-vid2 (nr => 0-1) */ 269 u8 vid[2]; member in struct:lm93_data 393 /* vid in mV, upper == 0 indicates low limit, otherwise upper limit */ 394 static unsigned LM93_IN_REL_FROM_REG(u8 reg, int upper, int vid) argument 398 const long uv_vid = vid * 1000; 402 #define LM93_IN_MIN_FROM_REG(reg, vid) LM93_IN_REL_FROM_REG((reg), 0, (vid)) 403 #define LM93_IN_MAX_FROM_REG(reg, vid) LM93_IN_REL_FROM_REG((reg), 1, (vid)) 410 LM93_IN_REL_TO_REG(unsigned val, int upper, int vid) argument 1146 long rc, vid; local 1164 long vid; local 1227 long rc, vid; local 1245 long vid; local [all...] |