Home
last modified time | relevance | path

Searched refs:x9250 (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/iio/potentiometer/
Dx9250.c25 struct x9250 { struct
35 static int x9250_write8(struct x9250 *x9250, u8 cmd, u8 val) in x9250_write8() argument
43 return spi_write_then_read(x9250->spi, txbuf, ARRAY_SIZE(txbuf), NULL, 0); in x9250_write8()
46 static int x9250_read8(struct x9250 *x9250, u8 cmd, u8 *val) in x9250_read8() argument
53 return spi_write_then_read(x9250->spi, txbuf, ARRAY_SIZE(txbuf), val, 1); in x9250_read8()
76 struct x9250 *x9250 = iio_priv(indio_dev); in x9250_read_raw() local
83 ret = x9250_read8(x9250, X9250_CMD_RD_WCR(ch), &v); in x9250_read_raw()
90 *val = 1000 * x9250->cfg->kohms; in x9250_read_raw()
117 struct x9250 *x9250 = iio_priv(indio_dev); in x9250_write_raw() local
127 gpiod_set_value_cansleep(x9250->wp_gpio, 0); in x9250_write_raw()
[all …]
DMakefile18 obj-$(CONFIG_X9250) += x9250.o
DKconfig147 will be called x9250.
/linux-6.12.1/
DMAINTAINERS19752 F: Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml
19753 F: drivers/iio/potentiometer/x9250.c