Searched refs:reg_temp (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | max31760.c | 82 unsigned int reg_temp; in max31760_read() local 121 reg_temp = REG_TEMP_INPUT(channel); in max31760_read() 124 reg_temp = REG_TEMP_MAX(channel); in max31760_read() 127 reg_temp = REG_TEMP_CRIT(channel); in max31760_read() 133 ret = regmap_bulk_read(state->regmap, reg_temp, reg, 2); in max31760_read() 241 unsigned int reg_temp; in max31760_write() local 249 reg_temp = REG_TEMP_MAX(channel); in max31760_write() 252 reg_temp = REG_TEMP_CRIT(channel); in max31760_write() 262 return regmap_bulk_write(state->regmap, reg_temp, reg_val, 2); in max31760_write()
|
H A D | nct6775-core.c | 1651 for (j = 0; j < ARRAY_SIZE(data->reg_temp); j++) { in nct6775_update_device() 1652 if (data->reg_temp[j][i]) { in nct6775_update_device() 1653 err = nct6775_read_temp(data, data->reg_temp[j][i], ®); in nct6775_update_device() 2234 err = nct6775_write_temp(data, data->reg_temp[index][nr], data->temp[index][nr]); in store_temp() 2366 if (nr == 4 && !data->reg_temp[1][temp]) /* max */ in nct6775_temp_is_visible() 2369 if (nr == 5 && !data->reg_temp[2][temp]) /* max_hyst */ in nct6775_temp_is_visible() 2372 if (nr == 6 && !data->reg_temp[3][temp]) /* crit */ in nct6775_temp_is_visible() 2375 if (nr == 7 && !data->reg_temp[4][temp]) /* lcrit */ in nct6775_temp_is_visible() 3510 const u16 *reg_temp, *reg_temp_over, *reg_temp_hyst, *reg_temp_config; in nct6775_probe() local 3589 reg_temp = NCT6106_REG_TEMP; in nct6775_probe() [all …]
|
H A D | nct6775.h | 30 u16 reg_temp[5][NUM_TEMP]; /* 0=temp, 1=temp_over, 2=temp_hyst, member
|
H A D | nct6775-platform.c | 454 for (j = 1; j < ARRAY_SIZE(data->reg_temp); j++) in nct6775_resume() 455 if (data->reg_temp[j][i]) { in nct6775_resume() 456 err = nct6775_write_temp(data, data->reg_temp[j][i], in nct6775_resume()
|
H A D | nct7802.c | 206 u8 reg_temp, u8 reg_temp_low, int *temp) in nct7802_read_temp() argument 214 err = regmap_read(data->regmap, reg_temp, &t1); in nct7802_read_temp()
|
H A D | w83627ehf.c | 311 u16 reg_temp[NUM_REG_TEMP]; member 663 data->reg_temp[i]); in w83627ehf_update_device() 1283 data->reg_temp[i] = W83627EHF_REG_TEMP[i]; in w83627ehf_set_temp_reg_ehf()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-sunplus-sp7021.c | 305 u32 reg_temp; in sp7021_spi_master_transfer_one() local 328 reg_temp = readl(pspim->m_base + SP7021_SPI_CONFIG_REG); in sp7021_spi_master_transfer_one() 329 reg_temp &= ~SP7021_CLEAN_RW_BYTE; in sp7021_spi_master_transfer_one() 330 reg_temp &= ~SP7021_CLEAN_FLUG_MASK; in sp7021_spi_master_transfer_one() 331 reg_temp |= SP7021_FD_SEL | SP7021_FINISH_FLAG_MASK | in sp7021_spi_master_transfer_one() 334 writel(reg_temp, pspim->m_base + SP7021_SPI_CONFIG_REG); in sp7021_spi_master_transfer_one() 336 reg_temp = FIELD_PREP(SP7021_SET_TX_LEN, xfer_len) | in sp7021_spi_master_transfer_one() 339 writel(reg_temp, pspim->m_base + SP7021_SPI_STATUS_REG); in sp7021_spi_master_transfer_one() 347 reg_temp = readl(pspim->m_base + SP7021_SPI_STATUS_REG); in sp7021_spi_master_transfer_one() 348 if (reg_temp & SP7021_FINISH_FLAG) { in sp7021_spi_master_transfer_one()
|
/openbmc/u-boot/drivers/net/ |
H A D | ag7xxx.c | 199 u32 reg_temp; in ag7xxx_switch_reg_read() local 217 reg_temp = (reg >> 1) & 0x1e; in ag7xxx_switch_reg_read() 220 ret = ag7xxx_switch_read(bus, phy_temp, reg_temp | 0, &rv); in ag7xxx_switch_reg_read() 225 ret = ag7xxx_switch_read(bus, phy_temp, reg_temp | 1, &rv); in ag7xxx_switch_reg_read() 239 u32 reg_temp; in ag7xxx_switch_reg_write() local 256 reg_temp = (reg >> 1) & 0x1e; in ag7xxx_switch_reg_write() 267 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 0, val & 0xffff); in ag7xxx_switch_reg_write() 271 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 1, val >> 16); in ag7xxx_switch_reg_write() 275 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 1, val >> 16); in ag7xxx_switch_reg_write() 279 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 0, val & 0xffff); in ag7xxx_switch_reg_write()
|