Searched refs:val_h (Results 1 – 3 of 3) sorted by relevance
94 static int temp_from_reg_unsigned(u8 val_h, u8 val_l) in temp_from_reg_unsigned() argument96 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() argument101 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()
88 static int temp_from_reg_signed(u8 val_h, u8 val_l) in temp_from_reg_signed() argument90 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() argument96 u16 val_hl = (val_h << 8) | val_l; in temp_from_reg_unsigned()
1851 u32 val, val_l, val_h; in vsc85xx_csr_ctrl_phy_read() local1887 val_h = phy_base_read(phydev, MSCC_EXT_PAGE_CSR_CNTL_18); in vsc85xx_csr_ctrl_phy_read()1892 return (val_h << 16) | val_l; in vsc85xx_csr_ctrl_phy_read()