Home
last modified time | relevance | path

Searched refs:regtemp (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dnpcm_adc.c76 u32 regtemp; in npcm_adc_isr() local
80 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_isr()
81 if (regtemp & NPCM_ADCCON_ADC_INT_ST) { in npcm_adc_isr()
82 iowrite32(regtemp, info->regs + NPCM_ADCCON); in npcm_adc_isr()
93 u32 regtemp; in npcm_adc_read() local
96 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
97 regtemp &= ~NPCM_ADCCON_CH_MASK; in npcm_adc_read()
99 iowrite32(regtemp | NPCM_ADCCON_CH(channel) | in npcm_adc_read()
105 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
106 if (regtemp in npcm_adc_read()
293 u32 regtemp; npcm_adc_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dnpcm_adc.c102 u32 regtemp; in npcm_adc_isr() local
106 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_isr()
107 if (regtemp & NPCM_ADCCON_ADC_INT_ST) { in npcm_adc_isr()
108 iowrite32(regtemp, info->regs + NPCM_ADCCON); in npcm_adc_isr()
119 u32 regtemp; in npcm_adc_read() local
122 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
123 regtemp &= ~NPCM_ADCCON_CH_MASK; in npcm_adc_read()
125 iowrite32(regtemp | NPCM_ADCCON_CH(channel) | in npcm_adc_read()
131 regtemp = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_read()
132 if (regtemp in npcm_adc_read()
327 u32 regtemp; npcm_adc_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-npcm-pspi.c105 u16 regtemp; in npcm_pspi_set_mode() local
123 regtemp = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
124 regtemp &= ~(NPCM_PSPI_CTL1_SCM | NPCM_PSPI_CTL1_SCIDL); in npcm_pspi_set_mode()
125 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
130 u16 regtemp; in npcm_pspi_set_transfer_size() local
132 regtemp = ioread16(NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size()
136 regtemp &= ~NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size()
139 regtemp |= NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size()
143 iowrite16(regtemp, NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size()
149 u16 regtemp; in npcm_pspi_set_baudrate() local
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-npcm-pspi.c105 u16 regtemp; in npcm_pspi_set_mode() local
123 regtemp = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
124 regtemp &= ~(NPCM_PSPI_CTL1_SCM | NPCM_PSPI_CTL1_SCIDL); in npcm_pspi_set_mode()
125 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
130 u16 regtemp; in npcm_pspi_set_transfer_size() local
132 regtemp = ioread16(NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size()
136 regtemp &= ~NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size()
139 regtemp |= NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size()
143 iowrite16(regtemp, NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size()
149 u16 regtemp; in npcm_pspi_set_baudrate() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dvt1211.c67 static u8 regtemp[] = {0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25}; variable
275 regtemp[ix]); in vt1211_update_device()
H A Dvt8231.c85 static const u8 regtemp[] = { 0x1f, 0x21, 0x22, 0x23, 0x24, 0x25 }; variable
117 * VIA datasheet only considers the 8 MSBs obtained from the regtemp[]
905 regtemp[i]) << 2) in vt8231_update_device()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dvt8231.c86 static const u8 regtemp[] = { 0x1f, 0x21, 0x22, 0x23, 0x24, 0x25 }; variable
118 * VIA datasheet only considers the 8 MSBs obtained from the regtemp[]
211 regtemp[i]) << 2) in vt8231_update_device()
H A Dvt1211.c67 static u8 regtemp[] = {0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25}; variable
269 regtemp[ix]); in vt1211_update_device()

Completed in 9 milliseconds