Searched refs:spi_w8r8 (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.4/drivers/rtc/ |
D | rtc-m41t94.c | 63 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()
|
D | rtc-m41t93.c | 63 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()
|
D | rtc-rs5c348.c | 66 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/ |
D | adau1977-spi.c | 27 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()
|
D | adau1781-spi.c | 25 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()
|
D | adau1761-spi.c | 25 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/ |
D | adt7310.c | 63 return spi_w8r8(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_byte()
|
D | ads7871.c | 73 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
|
/Linux-v5.4/drivers/misc/eeprom/ |
D | at25.c | 211 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/ |
D | adxl34x-spi.c | 33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
|
/Linux-v5.4/drivers/misc/lis3lv02d/ |
D | lis3lv02d_spi.c | 28 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
|
/Linux-v5.4/drivers/iio/accel/ |
D | bma220_spi.c | 89 return spi_w8r8(spi, reg | BMA220_READ_MASK); in bma220_read_reg()
|
/Linux-v5.4/drivers/iio/proximity/ |
D | as3935.c | 91 ret = spi_w8r8(st->spi, cmd); in as3935_read()
|
/Linux-v5.4/include/linux/spi/ |
D | spi.h | 1189 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
|
/Linux-v5.4/drivers/staging/pi433/ |
D | rf69.c | 31 retval = spi_w8r8(spi, addr); in rf69_read_reg()
|
D | pi433_if.c | 1129 retval = spi_w8r8(spi, 0x10); in pi433_probe()
|
/Linux-v5.4/drivers/mtd/devices/ |
D | mtd_dataflash.c | 118 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()
|