Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/codecs/
Drt715.c55 unsigned int addr_l, unsigned int val_h, in rt715_get_gain() argument
60 *r_val = (val_h << 8); in rt715_get_gain()
66 val_h |= 0x20; in rt715_get_gain()
67 *l_val = (val_h << 8); in rt715_get_gain()
83 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt715_set_amp_gain_put() local
91 val_h = 0x80; in rt715_set_amp_gain_put()
93 val_h = 0x0; in rt715_set_amp_gain_put()
95 rt715_get_gain(rt715, addr_h, addr_l, val_h, &read_rl, &read_ll); in rt715_set_amp_gain_put()
137 val_h = (1 << mc->shift) | (3 << 4); in rt715_set_amp_gain_put()
139 (val_h << 8 | val_ll)); in rt715_set_amp_gain_put()
[all …]
Drt700.c333 unsigned int addr_l, unsigned int val_h, in rt700_get_gain() argument
337 *r_val = (val_h << 8); in rt700_get_gain()
341 val_h |= 0x20; in rt700_get_gain()
342 *l_val = (val_h << 8); in rt700_get_gain()
356 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt700_set_amp_gain_put() local
364 val_h = 0x80; in rt700_set_amp_gain_put()
366 val_h = 0x0; in rt700_set_amp_gain_put()
368 rt700_get_gain(rt700, addr_h, addr_l, val_h, &read_rl, &read_ll); in rt700_set_amp_gain_put()
411 val_h = (1 << mc->shift) | (3 << 4); in rt700_set_amp_gain_put()
413 addr_h, (val_h << 8 | val_ll)); in rt700_set_amp_gain_put()
[all …]
Drt711.c438 unsigned int addr_l, unsigned int val_h, in rt711_get_gain() argument
442 *r_val = (val_h << 8); in rt711_get_gain()
446 val_h |= 0x20; in rt711_get_gain()
447 *l_val = (val_h << 8); in rt711_get_gain()
461 unsigned int addr_h, addr_l, val_h, val_ll, val_lr; in rt711_set_amp_gain_put() local
471 val_h = 0x80; in rt711_set_amp_gain_put()
473 val_h = 0x0; in rt711_set_amp_gain_put()
475 rt711_get_gain(rt711, addr_h, addr_l, val_h, &read_rl, &read_ll); in rt711_set_amp_gain_put()
521 val_h = (1 << mc->shift) | (3 << 4); in rt711_set_amp_gain_put()
523 addr_h, (val_h << 8 | val_ll)); in rt711_set_amp_gain_put()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dlm95245.c94 static int temp_from_reg_unsigned(u8 val_h, u8 val_l) in temp_from_reg_unsigned() argument
96 return val_h * 1000 + val_l * 1000 / 256; in temp_from_reg_unsigned()
99 static int temp_from_reg_signed(u8 val_h, u8 val_l) in temp_from_reg_signed() argument
101 if (val_h & 0x80) in temp_from_reg_signed()
102 return (val_h - 0x100) * 1000; in temp_from_reg_signed()
103 return temp_from_reg_unsigned(val_h, val_l); in temp_from_reg_signed()
Dlm95241.c88 static int temp_from_reg_signed(u8 val_h, u8 val_l) in temp_from_reg_signed() argument
90 s16 val_hl = (val_h << 8) | val_l; in temp_from_reg_signed()
94 static int temp_from_reg_unsigned(u8 val_h, u8 val_l) in temp_from_reg_unsigned() argument
96 u16 val_hl = (val_h << 8) | val_l; in temp_from_reg_unsigned()
/kernel/linux/linux-5.10/drivers/net/phy/mscc/
Dmscc_macsec.c25 u32 val, val_l = 0, val_h = 0; in vsc8584_macsec_phy_read() local
53 val_h = __phy_read(phydev, MSCC_EXT_PAGE_MACSEC_18); in vsc8584_macsec_phy_read()
58 return (val_h << 16) | val_l; in vsc8584_macsec_phy_read()
Dmscc_main.c717 u32 val, val_l, val_h; in vsc85xx_csr_read() local
759 val_h = phy_base_read(phydev, MSCC_EXT_PAGE_CSR_CNTL_18); in vsc85xx_csr_read()
764 return (val_h << 16) | val_l; in vsc85xx_csr_read()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
Dgoya.c4151 u32 val_h = RREG32(addr + sizeof(u32) - CFG_BASE); in goya_debugfs_read64() local
4153 *val = (((u64) val_h) << 32) | val_l; in goya_debugfs_read64()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c4648 u32 val_h = RREG32(addr + sizeof(u32) - CFG_BASE); in gaudi_debugfs_read64() local
4650 *val = (((u64) val_h) << 32) | val_l; in gaudi_debugfs_read64()
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch332769 + u8 ret, val_h,val_l;
332771 + val_h = read_cr(nor);
332772 + if (val_h < 0)
332773 + return val_h;
332775 + if (val_h & SR_QUAD_EN_XTX)
332788 + nor->cmd_buf[1] = val_h;