Searched refs:dac (Results 1 - 14 of 14) sorted by relevance

/openbsd-current/sys/dev/sbus/
H A Dtvtwo.c413 volatile u_int32_t *dac = (u_int32_t *)(sc->sc_regs + PX_REG_BT463_RED); local
415 dac[0] = (addr & 0xff); /* lo addr */
416 dac[1] = ((addr >> 8) & 0xff); /* hi addr */
422 volatile u_int32_t *dac = (u_int32_t *)(sc->sc_regs + PX_REG_BT463_RED); local
427 dac[3] = c; /* R */
428 dac[3] = c; /* G */
429 dac[3] = c; /* B */
437 volatile u_int32_t *dac = (u_int32_t *)(sc->sc_regs + PX_REG_BT463_RED); local
440 dac[3] = r;
441 dac[
[all...]
H A Dvigra.c155 union dac { union
180 volatile union dac *sc_ramdac; /* ramdac registers */
/openbsd-current/sys/dev/pci/drm/apple/
H A Ddcp_backlight.c114 u32 dac; local
126 dac = interpolate(val, MIN_BRIGHTNESS_PART1, MAX_BRIGHTNESS_PART1,
129 dac = interpolate(val, MIN_BRIGHTNESS_PART2, MAX_BRIGHTNESS_PART2,
132 dac = interpolate(val, MAX_BRIGHTNESS_PART1, MIN_BRIGHTNESS_PART2,
136 return 16 * dac;
202 dcp->brightness.dac = calculate_dac(dcp, brightness);
233 dcp->brightness.dac = calculate_dac(dcp, dcp->brightness.nits);
H A Ddcp-internal.h86 u32 dac; member in struct:dcp_brightness
H A Diomfb_template.c1398 req->swap.bl_value = dcp->brightness.dac;
/openbsd-current/sys/dev/pci/
H A Denvyvar.h53 struct envy_codec *dac; member in struct:envy_card
H A Denvy.c239 "ak4524 dac", ak4524_dac_ndev, ak4524_dac_devinfo, ak4524_dac_get, ak4524_dac_set
243 "ak4358 dac", ak4358_dac_ndev, ak4358_dac_devinfo, ak4358_dac_get, ak4358_dac_set
2332 ndev = sc->card->dac->ndev(sc);
2334 sc->card->dac->devinfo(sc, dev, idx);
2376 ndev = sc->card->dac->ndev(sc);
2378 sc->card->dac->get(sc, ctl, idx);
2425 ndev = sc->card->dac->ndev(sc);
2427 return sc->card->dac->set(sc, ctl, idx);
H A Dazalia.c316 "dac", "adc", "mix", "sel", "pin", "pow", "volume",
2133 /* find a different dac */
2405 int i, j, dac, err; local
2442 dac = azalia_codec_find_defdac(this, w->nid, j);
2443 if (dac == -1)
2445 if (dac != this->dacs.groups[this->dacs.cur].conv[0] &&
2446 dac != this->spkr_dac && dac != this->fhp_dac)
2468 dac = azalia_codec_find_defdac(this, w->nid, j);
2469 if (dac
[all...]
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_encoders.c86 radeon_get_encoder_enum(struct drm_device *dev, uint32_t supported_device, uint8_t dac) argument
97 switch (dac) {
98 case 1: /* dac a */
108 case 2: /* dac b */
119 case 3: /* external dac */
H A Dradeon_combios.c874 uint8_t rev, bg, dac; local
890 dac = (RBIOS8(dac_info + 0x2) >> 4) & 0xf;
891 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
894 dac = RBIOS8(dac_info + 0x3) & 0xf;
895 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
898 if ((dac == 0) || (bg == 0))
1025 uint8_t rev, bg, dac; local
1039 dac = RBIOS8(dac_info + 0xd) & 0xf;
1040 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20);
1043 dac
[all...]
H A Dradeon_atombios.c898 uint8_t dac; local
956 dac = ci.sucConnectorInfo.sbfAccess.bfAssociatedDAC;
1019 dac),
1026 dac),
1773 uint8_t bg, dac; local
1787 dac = dac_info->ucDAC1_DAC_Adjustment;
1788 p_dac->ps2_pdac_adj = (bg << 8) | (dac);
1959 uint8_t bg, dac; local
1974 dac = dac_info->ucDAC2_CRT2_DAC_Adjustment;
1975 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 2
[all...]
H A Datombios_encoders.c2626 struct radeon_encoder_atom_dac *dac = kzalloc(sizeof(struct radeon_encoder_atom_dac), GFP_KERNEL); local
2628 if (!dac)
2631 dac->tv_std = radeon_atombios_get_tv_info(rdev);
2632 return dac;
H A Dradeon_mode.h367 /* legacy primary dac */
390 /* legacy tv dac */
676 uint8_t dac);
/openbsd-current/gnu/gcc/libdecnumber/
H A DdecNumber.c1000 decNumber *dac = (decNumber *) dacbuff; /* -> result accumulator */ local
1106 dac = allocdac; /* use the allocated space */
1108 decNumberZero (dac); /* acc=1 */
1109 *dac->lsu = 1; /* .. */
1121 decNumberCopy (res, dac); /* copy the 1 */
1130 decNumberCopy (&dnOne, dac); /* dnOne=1; [needed now or later] */
1135 /* divide lhs into 1, putting result in dac [dac=1/dac] */
1136 decDivideOp (dac,
[all...]

Completed in 302 milliseconds