Home
last modified time | relevance | path

Searched refs:real_value (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/xen/xen-pciback/
Dconf_space_capability.c98 u16 real_value; in pm_caps_read() local
100 err = pci_read_config_word(dev, offset, &real_value); in pm_caps_read()
104 *value = real_value & ~PCI_PM_CAP_PME_MASK; in pm_caps_read()
/linux-6.12.1/sound/soc/codecs/
Daw88261.c30 unsigned int real_value, volume; in aw88261_dev_set_volume() local
34 real_value = DB_TO_REG_VAL(volume); in aw88261_dev_set_volume()
38 real_value = (real_value | (reg_value & AW88261_VOL_START_MASK)); in aw88261_dev_set_volume()
40 dev_dbg(aw_dev->dev, "value 0x%x , real_value:0x%x", value, real_value); in aw88261_dev_set_volume()
42 regmap_write(aw_dev->regmap, AW88261_SYSCTRL2_REG, real_value); in aw88261_dev_set_volume()
Daw88399.c698 u16 real_value; in aw_dev_set_volume() local
701 real_value = min((value + vol_desc->init_volume), (unsigned int)AW88399_MUTE_VOL); in aw_dev_set_volume()
707 dev_dbg(aw_dev->dev, "value 0x%x , reg:0x%x", value, real_value); in aw_dev_set_volume()
709 real_value = (real_value << AW88399_VOL_START_BIT) | (reg_value & AW88399_VOL_MASK); in aw_dev_set_volume()
711 ret = regmap_write(aw_dev->regmap, AW88399_SYSCTRL2_REG, real_value); in aw_dev_set_volume()
/linux-6.12.1/sound/soc/codecs/aw88395/
Daw88395_device.c261 u16 real_value, volume; in aw_dev_set_volume() local
265 real_value = db_to_reg_val(volume); in aw_dev_set_volume()
272 dev_dbg(aw_dev->dev, "value 0x%x , reg:0x%x", value, real_value); in aw_dev_set_volume()
275 real_value = (real_value << AW88395_VOL_START_BIT) | (reg_value & AW88395_VOL_MASK); in aw_dev_set_volume()
278 ret = regmap_write(aw_dev->regmap, AW88395_SYSCTRL2_REG, real_value); in aw_dev_set_volume()