Home
last modified time | relevance | path

Searched refs:dac (Results 1 – 10 of 10) sorted by relevance

/drivers/video/
Dffb.c355 struct ffb_dac __iomem *dac; member
427 struct ffb_dac __iomem *dac = par->dac; in ffb_switch_from_graph() local
446 upa_writel(FFB_DAC_CUR_CTRL, &dac->type2); in ffb_switch_from_graph()
448 upa_writel(0, &dac->value2); in ffb_switch_from_graph()
451 FFB_DAC_CUR_CTRL_P1), &dac->value2); in ffb_switch_from_graph()
676 struct ffb_dac __iomem *dac = par->dac; in ffb_blank() local
685 upa_writel(FFB_DAC_TGEN, &dac->type); in ffb_blank()
686 val = upa_readl(&dac->value); in ffb_blank()
701 upa_writel(FFB_DAC_TGEN, &dac->type); in ffb_blank()
702 upa_writel(val, &dac->value); in ffb_blank()
[all …]
Darkfb.c37 struct dac_info *dac; member
374 struct dac_info dac; member
503 int rv = dac_set_freq(par->dac, 0, 1000000000 / pixclock); in ark_set_pixclock()
550 dac_set_mode(par->dac, DAC_PSEUDO8_8); in arkfb_release()
706 dac_set_mode(par->dac, DAC_PSEUDO8_8); in arkfb_set_par()
715 dac_set_mode(par->dac, DAC_PSEUDO8_8); in arkfb_set_par()
722 dac_set_mode(par->dac, DAC_PSEUDO8_8); in arkfb_set_par()
732 dac_set_mode(par->dac, DAC_PSEUDO8_8); in arkfb_set_par()
736 dac_set_mode(par->dac, DAC_PSEUDO8_16); in arkfb_set_par()
745 dac_set_mode(par->dac, DAC_RGB1555_16); in arkfb_set_par()
[all …]
Dpmag-ba-fb.c43 volatile u32 __iomem *dac; member
83 writeb(v, par->dac + reg / 4); in dac_write()
88 return readb(par->dac + reg / 4); in dac_read()
190 par->dac = par->mmio + PMAG_BA_BT459; in pmagbafb_probe()
Dpmagb-b-fb.c41 volatile u32 __iomem *dac; member
82 writeb(v, par->dac + reg / 4); in dac_write()
87 return readb(par->dac + reg / 4); in dac_read()
298 par->dac = par->mmio + PMAGB_B_BT459; in pmagbbfb_probe()
/drivers/hwmon/
Dmax6650.c153 u8 dac; member
289 pwm = 255 - (255 * (int)data->dac)/180; in get_pwm()
291 pwm = 255 - (255 * (int)data->dac)/76; in get_pwm()
311 data->dac = 180 - (180 * pwm)/255; in set_pwm()
313 data->dac = 76 - (76 * pwm)/255; in set_pwm()
315 i2c_smbus_write_byte_data(client, MAX6650_REG_DAC, data->dac); in set_pwm()
660 data->dac = i2c_smbus_read_byte_data(client, MAX6650_REG_DAC); in max6650_update_device()
/drivers/net/wireless/
Dwavelan_cs.c1557 unsigned short dac[2]; in wv_set_frequency() local
1579 dac, 2); in wv_set_frequency()
1599 dac[0], dac[1]); in wv_set_frequency()
1616 dac[1] = ((power_adjust >> 1) & 0x7F) | (dac[1] & 0xFF80); in wv_set_frequency()
1617 dac[0] = ((power_adjust & 0x1) << 4) | (dac[0] & 0xFFEF); in wv_set_frequency()
1625 dac, 2); in wv_set_frequency()
1639 memcmp(dac, dac_verify, 2 * 2)) in wv_set_frequency()
Dwavelan.c1515 unsigned short dac[2]; in wv_set_frequency() local
1534 fee_read(ioaddr, 0x60, dac, 2); in wv_set_frequency()
1552 dac[0], dac[1]); in wv_set_frequency()
1569 dac[1] = ((power_adjust >> 1) & 0x7F) | (dac[1] & 0xFF80); in wv_set_frequency()
1570 dac[0] = ((power_adjust & 0x1) << 4) | (dac[0] & 0xFFEF); in wv_set_frequency()
1576 fee_write(ioaddr, 0x60, dac, 2); in wv_set_frequency()
1588 memcmp(dac, dac_verify, 2 * 2)) { in wv_set_frequency()
/drivers/video/aty/
Daty128fb.c1876 u32 dac; in aty128_init() local
1980 dac = aty_ld_le32(DAC_CNTL); in aty128_init()
1981 dac |= (DAC_8BIT_EN | DAC_RANGE_CNTL); in aty128_init()
1982 dac |= DAC_MASK; in aty128_init()
1984 dac |= DAC_PALETTE2_SNOOP_EN; in aty128_init()
1985 aty_st_le32(DAC_CNTL, dac); in aty128_init()
/drivers/net/wireless/b43legacy/
Dradio.c1905 u16 dac; in b43legacy_radio_set_txpower_a() local
1922 dac = b43legacy_get_txgain_dac(txpower); in b43legacy_radio_set_txpower_a()
1923 dac <<= 3; in b43legacy_radio_set_txpower_a()
1924 dac |= ilt; in b43legacy_radio_set_txpower_a()
1926 b43legacy_ilt_write(dev, 0x3001, dac); in b43legacy_radio_set_txpower_a()
/drivers/block/
Dcciss.c3601 int dac, return_code; in cciss_init_one() local
3641 dac = 1; in cciss_init_one()
3643 dac = 0; in cciss_init_one()
3678 hba[i]->intr[SIMPLE_MODE_INT], dac ? "" : " not"); in cciss_init_one()