Home
last modified time | relevance | path

Searched refs:spi_w8r8 (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/rtc/
Drtc-m41t94.c63 ret = spi_w8r8(spi, M41T94_REG_HT); in m41t94_read_time()
73 ret = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_read_time()
82 tm->tm_sec = bcd2bin(spi_w8r8(spi, M41T94_REG_SECONDS)); in m41t94_read_time()
83 tm->tm_min = bcd2bin(spi_w8r8(spi, M41T94_REG_MINUTES)); in m41t94_read_time()
84 hour = spi_w8r8(spi, M41T94_REG_HOURS); in m41t94_read_time()
86 tm->tm_wday = bcd2bin(spi_w8r8(spi, M41T94_REG_WDAY)) - 1; in m41t94_read_time()
87 tm->tm_mday = bcd2bin(spi_w8r8(spi, M41T94_REG_DAY)); in m41t94_read_time()
88 tm->tm_mon = bcd2bin(spi_w8r8(spi, M41T94_REG_MONTH)) - 1; in m41t94_read_time()
89 tm->tm_year = bcd2bin(spi_w8r8(spi, M41T94_REG_YEAR)); in m41t94_read_time()
117 res = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_probe()
Drtc-m41t93.c63 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_set_time()
71 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_set_time()
116 tmp = spi_w8r8(spi, M41T93_REG_ALM_HOUR_HT); in m41t93_get_time()
126 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_get_time()
178 res = spi_w8r8(spi, M41T93_REG_WDAY); in m41t93_probe()
Drtc-rs5c348.c66 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_rtc_set_time()
113 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_rtc_read_time()
177 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_SECS)); in rs5c348_probe()
186 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL1)); in rs5c348_probe()
/Linux-v5.4/sound/soc/codecs/
Dadau1977-spi.c27 spi_w8r8(spi, 0x00); in adau1977_spi_switch_mode()
28 spi_w8r8(spi, 0x00); in adau1977_spi_switch_mode()
29 spi_w8r8(spi, 0x00); in adau1977_spi_switch_mode()
Dadau1781-spi.c25 spi_w8r8(spi, 0x00); in adau1781_spi_switch_mode()
26 spi_w8r8(spi, 0x00); in adau1781_spi_switch_mode()
27 spi_w8r8(spi, 0x00); in adau1781_spi_switch_mode()
Dadau1761-spi.c25 spi_w8r8(spi, 0x00); in adau1761_spi_switch_mode()
26 spi_w8r8(spi, 0x00); in adau1761_spi_switch_mode()
27 spi_w8r8(spi, 0x00); in adau1761_spi_switch_mode()
/Linux-v5.4/drivers/hwmon/
Dadt7310.c63 return spi_w8r8(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_byte()
Dads7871.c73 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
/Linux-v5.4/drivers/misc/eeprom/
Dat25.c211 sr = spi_w8r8(at25->spi, AT25_RDSR); in at25_ee_write()
335 sr = spi_w8r8(spi, AT25_RDSR); in at25_probe()
/Linux-v5.4/drivers/input/misc/
Dadxl34x-spi.c33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
/Linux-v5.4/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c28 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
/Linux-v5.4/drivers/iio/accel/
Dbma220_spi.c89 return spi_w8r8(spi, reg | BMA220_READ_MASK); in bma220_read_reg()
/Linux-v5.4/drivers/iio/proximity/
Das3935.c91 ret = spi_w8r8(st->spi, cmd); in as3935_read()
/Linux-v5.4/include/linux/spi/
Dspi.h1189 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
/Linux-v5.4/drivers/staging/pi433/
Drf69.c31 retval = spi_w8r8(spi, addr); in rf69_read_reg()
Dpi433_if.c1129 retval = spi_w8r8(spi, 0x10); in pi433_probe()
/Linux-v5.4/drivers/mtd/devices/
Dmtd_dataflash.c118 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()