Searched refs:val_h (Results 1 – 7 of 7) sorted by relevance
/drivers/edac/ |
D | npcm_edac.c | 108 u32 val_h = 0, val_l, id, synd; in handle_ce() local 114 regmap_read(npcm_regmap, pdata->ctl_ce_addr_h, &val_h); in handle_ce() 115 val_h &= pdata->ce_addr_h_mask; in handle_ce() 117 addr = ((addr | val_h) << 32) | val_l; in handle_ce() 121 regmap_read(npcm_regmap, pdata->ctl_ce_data_h, &val_h); in handle_ce() 122 data = ((data | val_h) << 32) | val_l; in handle_ce() 141 u32 val_h = 0, val_l, id, synd; in handle_ue() local 147 regmap_read(npcm_regmap, pdata->ctl_ue_addr_h, &val_h); in handle_ue() 148 val_h &= pdata->ue_addr_h_mask; in handle_ue() 150 addr = ((addr | val_h) << 32) | val_l; in handle_ue() [all …]
|
/drivers/regulator/ |
D | sy7636a-regulator.c | 27 unsigned int val, val_h; in sy7636a_get_vcom_voltage_op() local 33 ret = regmap_read(rdev->regmap, SY7636A_REG_VCOM_ADJUST_CTRL_H, &val_h); in sy7636a_get_vcom_voltage_op() 37 val |= (val_h << VCOM_ADJUST_CTRL_SHIFT); in sy7636a_get_vcom_voltage_op()
|
/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 | 732 u32 val, val_l, val_h; in vsc85xx_csr_read() local 774 val_h = phy_base_read(phydev, MSCC_EXT_PAGE_CSR_CNTL_18); in vsc85xx_csr_read() 779 return (val_h << 16) | val_l; in vsc85xx_csr_read()
|
/drivers/accel/habanalabs/common/ |
D | device.c | 232 u32 val_h, val_l; in hl_access_cfg_region() local 248 val_h = RREG32(addr + sizeof(u32) - cfg_region->region_base); in hl_access_cfg_region() 250 *val = (((u64) val_h) << 32) | val_l; in hl_access_cfg_region()
|