/src/sys/arch/mac68k/include/ |
iteioctl.h | 46 int vol; /* percentage volume */ member in struct:bellparams
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
if900d.h | 18 __u8 vol; member in struct:gf100_vmm_map_v0
|
ifb00d.h | 24 __u8 vol; member in struct:gm200_vmm_map_v0
|
ifc00d.h | 24 __u8 vol; member in struct:gp100_vmm_map_v0
|
/src/sys/dev/dec/ |
lk201_ws.c | 200 unsigned int vol; local in function:lk201_bell 203 vol = 8 - bell->volume * 8 / 100; 204 if (vol > 7) 205 vol = 7; 207 vol = 3; 209 if (vol != lks->bellvol) { 211 send(lks, LK_PARAM_VOLUME(vol)); 212 lks->bellvol = vol; 238 lk201_set_keyclick(struct lk201_state *lks, int vol) 242 if (vol == 0 [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
ustarfs.c | 132 int vol, cnt; local in function:__block_read_n 135 vol = __block2volume(blk); 136 if (vol != __volume.current_volume) { 137 __change_volume(vol); 138 __volume.current_volume = vol; 141 cnt = __next_block(vol) - blk; 158 int vol; local in function:__block_read 160 vol = __block2volume(blk); 162 if (vol != __volume.current_volume) { 163 __change_volume(vol); [all...] |
/src/sys/stand/efiboot/ |
efifile.c | 40 intmax_t vol; local in function:efi_file_parse 46 vol = strtoimax(fname + 2, &ep, 10); 47 if (vol < 0 || vol >= efi_nvol || *ep != ':') 49 *pvol = vol; 74 UINTN vol; local in function:efi_file_open 85 rv = efi_file_parse(fname, &vol, &path); 94 file_dp = FileDevicePath(efi_vol[vol], upath); 161 UINTN vol; local in function:efi_file_path 168 for (vol = 0; vol < efi_nvol; vol++) [all...] |
/src/sys/dev/isa/ |
cms.c | 227 u_int8_t vol; local in function:cms_on 263 vol = 15 + ((level_cB > -75) ? level_cB/5 : -15); 264 CMS_WRITE(sc, chip, CMS_IREG_VOL0 + voice, ((vol<<4)|vol));
|
aztech.c | 96 u_int8_t vol; member in struct:az_softc 172 sc->vol = 0; 204 sc->mute ? 0 : sc->vol); 207 sc->mute ? 0 : sc->vol); 213 u_int8_t vol; local in function:az_set_freq 216 vol = sc->mute ? 0 : sc->vol; 228 lm700x_hardware_write(&sc->lm, reg, vol); 247 az_conv_vol(u_int8_t vol) 249 if (vol < VOLUME_RATIO(1) [all...] |
radiotrack.c | 108 u_int8_t vol; member in struct:rt_softc 185 sc->vol = 0; 231 rt_set_mute(struct rt_softc *sc, int vol) 244 val = sc->vol - vol; 276 rt_set_mute(sc, sc->vol); 311 rt_conv_vol(u_int8_t vol) 313 if (vol < VOLUME_RATIO(1)) 315 else if (vol >= VOLUME_RATIO(1) && vol < VOLUME_RATIO(2) [all...] |
radiotrack2.c | 103 u_int8_t vol; member in struct:rtii_softc 173 sc->vol = 0; 205 mute = (sc->mute || !sc->vol) ? RTII_MUTE : RTII_UNMUTE; 298 ri->volume = sc->vol ? 255 : 0; 327 sc->vol = ri->volume ? 255 : 0;
|
sf16fmr2.c | 103 u_int8_t vol; member in struct:sf2r_softc 173 sc->vol = 0; 205 mute = (sc->mute || !sc->vol) ? SF16FMR2_MUTE : SF16FMR2_UNMUTE; 317 ri->volume = sc->vol ? 255 : 0; 336 sc->vol = ri->volume ? 255 : 0;
|
ym.c | 449 ym_set_master_gain(struct ym_softc *sc, struct ad1848_volume *vol) 453 sc->master_gain = *vol; 455 atten = ((AUDIO_MAX_GAIN - vol->left) * (SA3_VOL_MV + 1)) / 460 atten = ((AUDIO_MAX_GAIN - vol->right) * (SA3_VOL_MV + 1)) / 506 ym_set_mic_gain(struct ym_softc *sc, int vol) 510 sc->mic_gain = vol; 512 atten = ((AUDIO_MAX_GAIN - vol) * (SA3_MIC_MCV + 1)) / 563 struct ad1848_volume vol; local in function:ym_mixer_set_port 588 ad1848_to_vol(cp, &vol); 589 ym_set_master_gain(sc, &vol); [all...] |
/src/sys/dev/wscons/ |
wsbell.c | 413 u_int vol; local in function:bell_thread 430 vol = vb->volume; 435 spkrioctl(sc->sc_spkr, SPKRSETVOL, &vol, 0, curlwp);
|
/src/sys/dev/i2c/ |
axp809.c | 206 u_int vol, reg_val; local in function:axp809_set_voltage 218 vol = c->c_min; 220 for (nstep = 0; nstep < c->c_step1cnt && vol < min; nstep++) { 222 vol += c->c_step1; 224 for (nstep = 0; nstep < c->c_step2cnt && vol < min; nstep++) { 226 vol += c->c_step2; 229 if (vol > max)
|
/src/sys/dev/pci/ |
gtp.c | 97 u_int8_t vol; member in struct:gtp_softc 163 sc->vol = 0; 186 ri->volume = sc->vol ? 255 : 0; 207 sc->vol = ri->volume ? 255 : 0; 231 if (sc->mute || !sc->vol)
|
pccbb.c | 1474 int vol = PCCARD_VCC_UKN; /* set 0 */ local in function:cb_detect_voltage 1479 vol |= PCCARD_VCC_5V; 1482 vol |= PCCARD_VCC_3V; 1484 return vol;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mmu/ |
nouveau_nvkm_subdev_mmu_vmmgf100.c | 128 data |= BIT_ULL(35); /* VOL */ 142 data |= BIT_ULL(34); /* VOL */ 261 u8 kind, kind_inv, priv, ro, vol; local in function:gf100_vmm_valid 269 vol = !!args->v0.vol; 275 vol = target == NVKM_MEM_TARGET_HOST; 327 map->type |= (u64) vol << 32; 359 base |= BIT_ULL(2) /* VOL. */;
|
nouveau_nvkm_subdev_mmu_vmmgp100.c | 108 data |= BIT_ULL(3); /* VOL. */ 176 /* VALID_FALSE + VOL tells the MMU to treat the PTE as sparse. */ 177 VMM_FO064(pt, vmm, ptei * 8, BIT_ULL(3) /* VOL. */, ptes); 237 *data |= BIT_ULL(3); /* VOL. */ 342 u8 kind, kind_inv, priv, ro, vol; local in function:gp100_vmm_valid 350 vol = !!args->v0.vol; 356 vol = target == NVKM_MEM_TARGET_HOST; 402 map->type |= (u64) vol << 3;
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
amdgpu_smu_helper.c | 576 uint32_t vol; local in function:phm_get_voltage_evv_on_sclk 586 ret = atomctrl_get_voltage_evv_on_sclk_ai(hwmgr, voltage_type, sclk, id, &vol); 587 *voltage = (uint16_t)(vol/100);
|
smu10_hwmgr.h | 191 uint32_t vol; member in struct:smu10_clock_voltage_dependency_record
|
/src/sys/dev/ic/ |
ad1848.c | 199 ad1848_to_vol(mixer_ctrl_t *cp, struct ad1848_volume *vol) 203 vol->left = 204 vol->right = cp->un.value.level[AUDIO_MIXER_LEVEL_MONO]; 208 vol->left = cp->un.value.level[AUDIO_MIXER_LEVEL_LEFT]; 209 vol->right = cp->un.value.level[AUDIO_MIXER_LEVEL_RIGHT]; 216 ad1848_from_vol(mixer_ctrl_t *cp, struct ad1848_volume *vol) 220 cp->un.value.level[AUDIO_MIXER_LEVEL_MONO] = vol->left; 224 cp->un.value.level[AUDIO_MIXER_LEVEL_LEFT] = vol->left; 225 cp->un.value.level[AUDIO_MIXER_LEVEL_RIGHT] = vol->right; 656 struct ad1848_volume vol; local in function:ad1848_mixer_get_port 729 struct ad1848_volume vol; local in function:ad1848_mixer_set_port [all...] |
/src/sys/arch/amiga/amiga/ |
custom.h | 141 unsigned short vol; member in struct:Custom::Audio
|
/src/sys/sys/ |
cdio.h | 216 u_char vol[4]; /* one for each channel */ member in struct:ioc_vol
|
/src/sys/arch/macppc/dev/ |
awacs.c | 789 int l, r, vol; local in function:awacs_get_port 807 vol = sc->sc_codecctl0 & 0xff; 808 l = (vol & 0xf0); 809 r = (vol & 0x0f) << 4; 815 vol = sc->sc_codecctl5 & 0x3cf; 816 l = (vol & 0x3c0) >> 6; 817 r = vol & 0xf;
|