| /src/sys/dev/eisa/ |
| eisareg.h | 74 #define EISA_VENDID_NODEV(vid) \ 75 (((vid)[0] & 0x80) != 0) 76 #define EISA_VENDID_IDDELAY(vid) \ 77 (((vid)[0] & 0xf0) == 0x70) 78 #define EISA_VENDID_0(vid) \ 79 ((((vid)[0] & 0x7c) >> 2) + '@') 80 #define EISA_VENDID_1(vid) \ 81 (((((vid)[0] & 0x03) << 3) | (((vid)[1] & 0xe0) >> 5)) + '@') 82 #define EISA_VENDID_2(vid) \ [all...] |
| /src/sys/arch/mvme68k/stand/wrtvid/ |
| wrtvid.c | 115 uint8_t *vid; local in function:main 150 if ((vid = malloc(SIZEOF_VID)) == NULL) { 155 /* Generate the VID and CFG data */ 156 memset(vid, 0, SIZEOF_VID); 157 memcpy(&vid[VID_ID_OFF], VID_ID, VID_ID_LEN); 158 write32(&vid[VID_OSS_OFF], is_disk ? VID_OSS_DISK : VID_OSS_TAPE); 159 write16(&vid[VID_OSL_OFF], len); 160 write32(&vid[VID_OSA_OFF], VID_OSA); 161 vid[VID_CAS_OFF] = VID_CAS; 162 vid[VID_CAL_OFF] = VID_CAL [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/volt/ |
| nouveau_nvkm_subdev_volt_gk20a.c | 106 if (volt->base.vid[i].uv >= uv) 113 gk20a_volt_vid_set(struct nvkm_volt *base, u8 vid) 118 nvkm_debug(subdev, "set voltage as %duv\n", volt->base.vid[vid].uv); 119 return regulator_set_voltage(volt->vdd, volt->base.vid[vid].uv, 1200000); 128 int target_uv = volt->base.vid[id].uv; 136 ret = gk20a_volt_vid_set(&volt->base, volt->base.vid[id].vid); 168 volt->base.vid[i].vid = i [all...] |
| nouveau_nvkm_subdev_volt_gpio.c | 46 u8 vid = 0; local in function:nvkm_voltgpio_get 54 vid |= ret << i; 58 return vid; 62 nvkm_voltgpio_set(struct nvkm_volt *volt, u8 vid) 67 for (i = 0; i < ARRAY_SIZE(tags); i++, vid >>= 1) { 69 int ret = nvkm_gpio_set(gpio, 0, tags[i], 0xff, vid & 1); 86 /* check we have gpio function info for each vid bit. on some 87 * boards (ie. nvs295) the vid mask has more bits than there 98 nvkm_debug(subdev, "VID bit %d has no GPIO\n", i);
|
| nouveau_nvkm_subdev_volt_base.c | 47 if (volt->vid[i].vid == ret) 48 return volt->vid[i].uv; 65 int err = volt->vid[i].uv - uv; 80 ret = volt->func->vid_set(volt, volt->vid[best].vid); 82 volt->vid[best].uv, ret); 208 volt->vid[volt->vid_nr].uv = info.base; 209 volt->vid[volt->vid_nr].vid = i [all...] |
| priv.h | 19 int (*vid_set)(struct nvkm_volt *, u8 vid);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/ |
| volt.h | 16 u8 vid; member in struct:nvkm_volt::__anonee2760b10108 17 } vid[256]; member in struct:nvkm_volt
|
| /src/sys/arch/x86/x86/ |
| powernow.c | 92 * in the PST tables, but they have correct FID/VID values. 137 static uint64_t powernow_k8_fidvid(u_int fid, uint64_t vid, uint64_t ctrl); 419 DPRINTF(("%s: fid=%d vid=%d\n", __func__, 421 sc->sc_state->state_table[i].vid)); 445 powernow_k7_states(device_t self, unsigned int fid, unsigned int vid) 490 * and fid/vid match. 499 (fid == pst->fid && vid == pst->vid))) { 524 int cvid, cfid, vid = 0, fid = 0; local in function:powernow_k7_setperf 536 vid = sc->sc_state->state_table[i].vid 787 int cfid, cvid, fid = 0, vid = 0; local in function:powernow_k8_setperf [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
| volt.h | 34 u8 vid; member in struct:nvbios_volt_entry
|
| /src/sys/arch/i386/isa/ |
| ahc_isa.c | 193 uint8_t vid[EISA_NVIDREGS], pid[EISA_NPIDREGS]; local in function:ahc_isa_idstring 200 vid[i] = bus_space_read_1(iot, ioh, AHC_ISA_VID + i); 204 if (EISA_VENDID_NODEV(vid)) { 208 aprint_error("\t(0x%x, 0x%x)\n", vid[0], vid[1]); 214 if (EISA_VENDID_IDDELAY(vid)) { 228 idstring[0] = EISA_VENDID_0(vid); 229 idstring[1] = EISA_VENDID_1(vid); 230 idstring[2] = EISA_VENDID_2(vid);
|
| /src/sys/arch/x86/include/ |
| powernow.h | 125 uint8_t vid; member in struct:powernow_state 154 uint8_t vid; member in struct:powernow_pst_s
|
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| dvo_ch7xxx.c | 94 u8 vid; member in struct:ch7xxx_id_struct 116 static const char *ch7xxx_get_id(u8 vid) 121 if (ch7xxx_ids[i].vid == vid) 226 DRM_DEBUG_KMS("ch7xxx not detected; got VID 0x%02x from %s slave %d.\n",
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/ |
| nouveau_nvkm_subdev_bios_volt.c | 151 info->vid = nvbios_rd08(bios, volt + 0x01); 155 info->vid = nvbios_rd08(bios, volt + 0x01) >> 2; 161 info->vid = (nvbios_rd32(bios, volt) >> 23) & 0xff;
|
| /src/sys/arch/x86/acpi/ |
| acpi_cpu_md.c | 252 * Evaluate support for the "FID/VID 776 uint32_t fid, i, vid; local in function:acpicpu_md_pstate_fidvid_get 798 vid = __SHIFTOUT(ps->ps_status, ACPI_0FH_STATUS_VID); 800 if (cfid == fid && cvid == vid) { 815 uint32_t val, vid, vst; local in function:acpicpu_md_pstate_fidvid_set 824 vid = __SHIFTOUT(ctrl, ACPI_0FH_CONTROL_VID); 836 while (cvid > vid) { 895 if (cvid != vid) { 897 acpicpu_md_pstate_fidvid_write(cfid, vid, 1, vst); 932 uint32_t vid, uint32_t cnt, uint32_t tmo [all...] |
| /src/sys/dev/ic/ |
| nvmeio.h | 161 identify->vid = le16toh(identify->vid);
|
| /src/sys/net/ |
| if_vlan.c | 412 const uint16_t vid = EVL_VLANOFTAG(tag); local in function:vlan_config 421 if ((vid == 0) || (vid == 0xfff)) 434 checkmib = vlan_lookup_tag_psref(p, vid, &psref); 514 nmib->ifvm_tag = vid; 523 idx = vlan_tag_hash(vid, ifv_hash.mask); 1453 uint16_t vid; local in function:vlan_input 1458 vid = EVL_VLANOFTAG(vlan_get_tag(m)); 1459 KASSERT(vid != 0); 1461 mib = vlan_lookup_tag_psref(ifp, vid, &psref) [all...] |
| /src/sys/dev/hdaudio/ |
| hdaudio.c | 705 uint32_t vid, snc, fgrp; local in function:hdaudio_codec_attach 711 vid = hdaudio_command(co, 0, CORB_GET_PARAMETER, COP_VENDOR_ID); 716 if (vid == 0xffffffff || vid == 0x00000000) 723 co->co_addr, vid >> 16, vid & 0xffff, 747 fg->fg_vendor = vid >> 16; 748 fg->fg_product = vid & 0xffff;
|
| /src/sys/external/gpl2/dts/dist/include/dt-bindings/usb/ |
| pd.h | 109 * <15:0> :: USB-IF assigned VID for this cable vendor 134 #define VDO_IDH(usbh, usbd, ufp_cable, is_modal, dfp, conn, vid) \ 137 | ((vid) & 0xffff))
|
| /src/sys/dev/pci/ |
| vga_pci.c | 117 int vid; member in struct:__anon97e247fe0208 135 if (vga_pci_vquirks[i].vid == PCI_VENDOR(pa->pa_id))
|
| ips.c | 1088 int vid = bv->bv_volid; local in function:ips_ioctl_vol 1093 if (vid >= sc->sc_nunits) 1097 ld = &conf->ld[vid]; 1115 total = htole32(rblstat->ld[vid].total); 1116 done = total - htole32(rblstat->ld[vid].remain); 1124 bv->bv_level = di->drive[vid].raid; 1128 if (vid == 0) { 1146 DPRINTF(IPS_D_INFO, ("%s: ips_ioctl_vol: vid %d, state 0x%02x, " 1148 device_xname(sc->sc_dev), vid, ld->state, total, done, bv->bv_size, 1161 int vid = bd->bd_volid, did = bd->bd_diskid local in function:ips_ioctl_disk [all...] |
| /src/sbin/atactl/ |
| atactl.c | 870 unsigned aid, vid; local in function:print_smart_status 931 for (vid = 0; 932 vendor_table[vid].id != i && vendor_table[vid].id != 0; 933 vid++) 935 if (vendor_table[vid].id != 0) { 936 name = vendor_table[vid].name; 937 special = vendor_table[vid].special;
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
| nouveau_nvkm_subdev_clk_gm20b.c | 481 clk->new_uv = volt->vid[cstate->voltage].uv; 995 vmin = volt->vid[0].uv; 997 if (volt->vid[i].uv <= vmin) { 998 vmin = volt->vid[i].uv; 999 id = volt->vid[i].vid;
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| kirkwood-nsa320.dts | 104 pmx_vid_b1: pmx-vid-b1 {
|
| /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/marvell/ |
| armada-3720-uDPU.dts | 9 * Vladimir Vid <vladimir.vid@sartura.hr>
|
| /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/ |
| msm8916-longcheer-l8910.dts | 67 vid-supply = <&pm8916_l6>;
|