Searched refs:x9250 (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/iio/potentiometer/ |
H A D | x9250.c | 25 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 …]
|
H A D | Makefile | 18 obj-$(CONFIG_X9250) += x9250.o
|
H A D | Kconfig | 147 will be called x9250.
|
/openbmc/linux/ |
H A D | MAINTAINERS | 18402 F: Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml 18403 F: drivers/iio/potentiometer/x9250.c
|
H A D | opengrok1.0.log | [all...] |
/openbmc/ |
D | opengrok1.0.log | [all...] |
D | opengrok2.0.log | [all...] |