Searched refs:val_h (Results 1 – 6 of 6) sorted by relevance
/drivers/hwmon/ |
D | lm95245.c | 94 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()
|
D | lm95241.c | 88 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()
|
/drivers/net/phy/mscc/ |
D | mscc_macsec.c | 25 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()
|
D | mscc_main.c | 721 u32 val, val_l, val_h; in vsc85xx_csr_read() local 763 val_h = phy_base_read(phydev, MSCC_EXT_PAGE_CSR_CNTL_18); in vsc85xx_csr_read() 768 return (val_h << 16) | val_l; in vsc85xx_csr_read()
|
/drivers/misc/habanalabs/goya/ |
D | goya.c | 4151 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()
|
/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 4648 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()
|