Home
last modified time | relevance | path

Searched refs:val_l (Results 1 – 3 of 3) sorted by relevance

/drivers/hwmon/
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()
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
103 return temp_from_reg_unsigned(val_h, val_l); in temp_from_reg_signed()
/drivers/net/phy/
Dmscc.c1851 u32 val, val_l, val_h; in vsc85xx_csr_ctrl_phy_read() local
1884 val_l = phy_base_read(phydev, MSCC_EXT_PAGE_CSR_CNTL_17); in vsc85xx_csr_ctrl_phy_read()
1892 return (val_h << 16) | val_l; in vsc85xx_csr_ctrl_phy_read()