Searched refs:regtemp (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/iio/adc/ |
D | npcm_adc.c | 79 u32 regtemp; in npcm_adc_isr() local 83 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_isr() 84 if (regtemp & NPCM_ADCCON_ADC_INT_ST) { in npcm_adc_isr() 85 iowrite32(regtemp, info->regs + NPCM_ADCCON); in npcm_adc_isr() 96 u32 regtemp; in npcm_adc_read() local 99 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read() 100 regtemp &= ~NPCM_ADCCON_CH_MASK; in npcm_adc_read() 102 iowrite32(regtemp | NPCM_ADCCON_CH(channel) | in npcm_adc_read() 108 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read() 109 if ((regtemp & NPCM_ADCCON_ADC_CONV) && info->rst_regmap) { in npcm_adc_read() [all …]
|
/Linux-v5.4/drivers/spi/ |
D | spi-npcm-pspi.c | 112 u16 regtemp; in npcm_pspi_set_mode() local 130 regtemp = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode() 131 regtemp &= ~(NPCM_PSPI_CTL1_SCM | NPCM_PSPI_CTL1_SCIDL); in npcm_pspi_set_mode() 132 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode() 137 u16 regtemp; in npcm_pspi_set_transfer_size() local 139 regtemp = ioread16(NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size() 143 regtemp &= ~NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size() 146 regtemp |= NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size() 150 iowrite16(regtemp, NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size() 156 u16 regtemp; in npcm_pspi_set_baudrate() local [all …]
|
/Linux-v5.4/drivers/hwmon/ |
D | vt8231.c | 85 static const u8 regtemp[] = { 0x1f, 0x21, 0x22, 0x23, 0x24, 0x25 }; variable 905 regtemp[i]) << 2) in vt8231_update_device()
|
D | vt1211.c | 67 static u8 regtemp[] = {0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25}; variable 275 regtemp[ix]); in vt1211_update_device()
|