Searched refs:vid (Results 1 - 25 of 167) sorted by relevance

1234567

/drivers/gpu/drm/sti/
H A Dsti_vid.c46 static int sti_vid_prepare_layer(struct sti_layer *vid, bool first_prepare) argument
51 val = readl(vid->regs + VID_CTL);
53 writel(val, vid->regs + VID_CTL);
58 static int sti_vid_commit_layer(struct sti_layer *vid) argument
60 struct drm_display_mode *mode = vid->mode;
63 ydo = sti_vtg_get_line_number(*mode, vid->dst_y);
64 yds = sti_vtg_get_line_number(*mode, vid->dst_y + vid->dst_h - 1);
65 xdo = sti_vtg_get_pixel_number(*mode, vid->dst_x);
66 xds = sti_vtg_get_pixel_number(*mode, vid
74 sti_vid_disable_layer(struct sti_layer *vid) argument
96 sti_vid_init(struct sti_layer *vid) argument
127 struct sti_layer *vid; local
[all...]
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-cx2584x-v4l.c42 int vid; member in struct:routing_scheme_item
53 .vid = CX25840_COMPOSITE7,
57 .vid = CX25840_COMPOSITE3,
61 .vid = CX25840_COMPOSITE3,
65 .vid = CX25840_SVIDEO1,
78 .vid = CX25840_COMPOSITE2,
84 .vid = CX25840_COMPOSITE1,
88 .vid = CX25840_COMPOSITE1,
92 .vid = (CX25840_SVIDEO_LUMA3|CX25840_SVIDEO_CHROMA4),
105 .vid
[all...]
/drivers/gpu/drm/nouveau/core/subdev/volt/
H A Dgpio.c38 u8 vid = 0; local
46 vid |= ret << i;
50 return vid;
54 nouveau_voltgpio_set(struct nouveau_volt *volt, u8 vid) argument
59 for (i = 0; i < ARRAY_SIZE(tags); i++, vid >>= 1) {
61 int ret = gpio->set(gpio, 0, tags[i], 0xff, vid & 1);
77 /* check we have gpio function info for each vid bit. on some
78 * boards (ie. nvs295) the vid mask has more bits than there
H A Dbase.c38 if (volt->vid[i].vid == ret)
39 return volt->vid[i].uv;
54 if (volt->vid[i].uv == uv) {
55 ret = volt->vid_set(volt, volt->vid[i].vid);
160 volt->vid[volt->vid_nr].uv = info.base;
161 volt->vid[volt->vid_nr].vid = i;
173 volt->vid[vol
[all...]
/drivers/usb/storage/
H A Dusual-tables.c73 u16 vid, pid, bcdmin, bcdmax; member in struct:ignore_entry
80 .vid = id_vendor, \
109 unsigned vid, pid, bcd; local
113 vid = le16_to_cpu(udev->descriptor.idVendor);
117 for (p = ignore_ids; p->vid; ++p) {
118 if (p->vid == vid && p->pid == pid &&
/drivers/media/platform/vivid/
H A DMakefile1 vivid-objs := vivid-core.o vivid-ctrls.o vivid-vid-common.o vivid-vbi-gen.o \
2 vivid-vid-cap.o vivid-vid-out.o vivid-kthread-cap.o vivid-kthread-out.o \
/drivers/scsi/fnic/
H A Dfnic_fip.h38 __be16 vid; member in struct:vlan
47 u16 vid; /* vlan ID */ member in struct:fcoe_vlan
/drivers/hwmon/
H A Datxp1.c27 #include <linux/hwmon-vid.h>
54 u8 vid; /* VID output register */ member in struct:atxp1_data::__anon1334
72 data->reg.vid = i2c_smbus_read_byte_data(client, ATXP1_VID);
95 size = sprintf(buf, "%d\n", vid_from_reg(data->reg.vid & ATXP1_VIDMASK,
107 int vid, cvid; local
119 vid = vid_to_reg(vcore, data->vrm);
120 if (vid < 0) {
122 return vid;
129 if (data->reg.vid & ATXP1_VIDENA)
130 cvid = data->reg.vid
[all...]
H A Dhwmon-vid.c2 * hwmon-vid.c - VID/VRM/VRD voltage conversions
6 * Partly imported from i2c-vid.h of the lm_sensors project
29 #include <linux/hwmon-vid.h>
84 int vid; local
94 vid = 1087500 - (val & 0x1f) * 25000;
96 vid = 1862500 - (val & 0x1f) * 25000;
98 vid -= 12500;
99 return (vid + 500) / 1000;
249 unsigned int vid, brand, __maybe_unused dummy; local
254 rdmsr(0x198, dummy, vid);
[all...]
/drivers/net/ethernet/ti/
H A Dcpsw_ale.h97 int flags, u16 vid);
99 int flags, u16 vid);
101 int flags, u16 vid, int mcast_state);
103 int flags, u16 vid);
104 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag,
106 int cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port);
H A Dcpsw_ale.c149 int cpsw_ale_match_addr(struct cpsw_ale *ale, u8 *addr, u16 vid) argument
161 if (cpsw_ale_get_vlan_id(ale_entry) != vid)
170 int cpsw_ale_match_vlan(struct cpsw_ale *ale, u16 vid) argument
180 if (cpsw_ale_get_vlan_id(ale_entry) == vid)
294 int flags, u16 vid)
298 cpsw_ale_set_vlan_id(ale_entry, vid);
305 int flags, u16 vid)
310 cpsw_ale_set_vlan_entry_type(ale_entry, flags, vid);
318 idx = cpsw_ale_match_addr(ale, addr, (flags & ALE_VLAN) ? vid : 0);
331 int flags, u16 vid)
293 cpsw_ale_set_vlan_entry_type(u32 *ale_entry, int flags, u16 vid) argument
304 cpsw_ale_add_ucast(struct cpsw_ale *ale, u8 *addr, int port, int flags, u16 vid) argument
330 cpsw_ale_del_ucast(struct cpsw_ale *ale, u8 *addr, int port, int flags, u16 vid) argument
345 cpsw_ale_add_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, int flags, u16 vid, int mcast_state) argument
376 cpsw_ale_del_mcast(struct cpsw_ale *ale, u8 *addr, int port_mask, int flags, u16 vid) argument
397 cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag, int reg_mcast, int unreg_mcast) argument
426 cpsw_ale_del_vlan(struct cpsw_ale *ale, u16 vid, int port_mask) argument
[all...]
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_vf.c156 * @vid: VLAN ID to add to table
163 static s32 fm10k_update_vlan_vf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) argument
172 /* verify upper 4 bits of vid and length are 0 */
173 if ((vid << 16 | vid) >> 28)
178 vid |= FM10K_VLAN_CLEAR;
182 fm10k_tlv_attr_put_u32(msg, FM10K_MAC_VLAN_MSG_VLAN, vid);
200 u16 vid; local
206 perm_addr, &vid);
211 hw->mac.default_vid = vid
266 fm10k_update_uc_addr_vf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add, u8 flags) argument
308 fm10k_update_mc_addr_vf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add) argument
[all...]
H A Dfm10k_netdev.c720 u16 vid = interface->vid; local
721 bool set = !!(vid / VLAN_N_VID);
725 vid &= VLAN_N_VID - 1;
727 err = hw->mac.ops.update_uc_addr(hw, glort, uc_addr, vid, set, 0);
741 u16 vid = interface->vid; local
742 bool set = !!(vid / VLAN_N_VID);
746 vid &= VLAN_N_VID - 1;
748 err = hw->mac.ops.update_mc_addr(hw, glort, mc_addr, vid, se
756 fm10k_update_vid(struct net_device *netdev, u16 vid, bool set) argument
810 fm10k_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
817 fm10k_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto, u16 vid) argument
824 fm10k_find_next_vlan(struct fm10k_intfc *interface, u16 vid) argument
838 u32 vid, prev_vid; local
858 u16 vid, glort = interface->glort; local
925 u16 vid, glort = interface->glort; local
1003 u16 vid, glort; local
[all...]
H A Dfm10k_pf.c203 * @vid: VLAN ID to add to table
212 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) argument
233 len = vid >> 16;
234 vid = (vid << 17) >> 17;
238 vid >= FM10K_VLAN_TABLE_VID_MAX)
242 for (reg = FM10K_VLAN_TABLE(vsi, vid / 32), bit = vid % 32;
319 * @vid: VLAN ID to add/remove from table
327 const u8 *mac, u16 vid, boo
326 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add, u8 flags) argument
373 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add, u8 flags) argument
394 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add) argument
640 u32 vid = hw->mac.default_vid << FM10K_TXQCTL_VID_SHIFT; local
1176 u32 vid; local
[all...]
/drivers/gpu/drm/nouveau/core/include/subdev/
H A Dvolt.h17 int (*vid_set)(struct nouveau_volt *, u8 vid);
25 u8 vid; member in struct:nouveau_volt::__anon863
26 } vid[256]; member in struct:nouveau_volt
/drivers/cpufreq/
H A Dpowernow-k7.c63 vid:5, member in struct:powernow_acpi_control_t::__anon480
178 u8 fid, vid; local
205 vid = *pst++;
206 powernow_table[j].driver_data |= (vid << 8); /* upper 8 bits */
210 fid_codes[fid] % 10, speed/1000, vid,
211 mobile_vid_table[vid]/1000,
212 mobile_vid_table[vid]%1000);
236 static void change_VID(int vid) argument
241 if (fidvidctl.bits.VID != vid) {
243 fidvidctl.bits.VID = vid;
253 u8 fid, vid; local
355 u8 fid, vid; local
[all...]
H A Dpowernow-k8.c106 * Update the global current fid / vid values from the status msr.
146 u8 fid, vid; local
149 vid = hi & MSR_S_HI_CURRENT_VID;
151 lo = fid | (vid << MSR_C_LO_VID_SHIFT);
187 pr_err("vid change on fid trans, old 0x%x, new 0x%x\n",
201 /* Write a new vid to the hardware */
202 static int write_new_vid(struct powernow_k8_data *data, u32 vid) argument
208 if ((data->currfid & INVALID_FID_MASK) || (vid & INVALID_VID_MASK)) {
209 pr_err("internal error - overflow on vid write\n");
214 lo |= (vid << MSR_C_LO_VID_SHIF
821 u32 vid; local
902 u32 vid = 0; local
[all...]
H A Dintel_pstate.c105 struct vid_data vid; member in struct:cpudata
428 u32 vid; local
434 vid_fp = cpudata->vid.min + mul_fp(
436 cpudata->vid.ratio);
438 vid_fp = clamp_t(int32_t, vid_fp, cpudata->vid.min, cpudata->vid.max);
439 vid = ceiling_fp(vid_fp);
442 vid = cpudata->vid.turbo;
444 val |= vid;
[all...]
/drivers/staging/gdm72xx/
H A Dusb_ids.h34 #define USB_DEVICE_BOOTLOADER(vid, pid) \
35 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD)}, \
36 {USB_DEVICE((vid), ((pid)&BL_PID_MASK)|B_DOWNLOAD|B_DIFF_DL_DRV)}
38 #define USB_DEVICE_CDC_DATA(vid, pid) \
39 {USB_DEVICE_INTF((vid), (pid), USB_CLASS_CDC_DATA)}
/drivers/net/ethernet/cisco/enic/
H A Denic_dev.h50 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid);
51 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.h60 u16 vid, u16 qos, u32 vf)
63 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT;
59 ixgbe_set_vmvir(struct ixgbe_adapter *adapter, u16 vid, u16 qos, u32 vf) argument
/drivers/rapidio/
H A Drio-driver.c33 while (id->vid || id->asm_vid) {
34 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) &&
213 rdev->vid, rdev->did, rdev->asm_vid, rdev->asm_did))
/drivers/net/vmxnet3/
H A Dvmxnet3_defs.h615 #define VMXNET3_SET_VFTABLE_ENTRY(vfTable, vid) \
616 (vfTable[vid >> 5] |= (1 << (vid & 31)))
617 #define VMXNET3_CLEAR_VFTABLE_ENTRY(vfTable, vid) \
618 (vfTable[vid >> 5] &= ~(1 << (vid & 31)))
620 #define VMXNET3_VFTABLE_ENTRY_IS_SET(vfTable, vid) \
621 ((vfTable[vid >> 5] & (1 << (vid & 31))) != 0)
/drivers/gpu/drm/nouveau/core/include/subdev/bios/
H A Dvolt.h20 u8 vid; member in struct:nvbios_volt_entry
/drivers/net/ethernet/sfc/
H A Dfilter.h231 * @vid: Outer VLAN ID to match, or %EFX_FILTER_VID_UNSPEC
235 u16 vid, const u8 *addr)
237 if (vid == EFX_FILTER_VID_UNSPEC && addr == NULL)
240 if (vid != EFX_FILTER_VID_UNSPEC) {
242 spec->outer_vid = htons(vid);
234 efx_filter_set_eth_local(struct efx_filter_spec *spec, u16 vid, const u8 *addr) argument

Completed in 499 milliseconds

1234567