/Linux-v4.19/drivers/rtc/ |
D | rtc-ds1302.c | 54 status = spi_write_then_read(spi, buf, 2, in ds1302_rtc_set_time() 73 return spi_write_then_read(spi, buf, sizeof(buf), in ds1302_rtc_set_time() 87 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1302_rtc_get_time() 133 status = spi_write_then_read(spi, &addr, sizeof(addr), buf, 1); in ds1302_probe() 141 status = spi_write_then_read(spi, &addr, sizeof(addr), buf, 1); in ds1302_probe() 158 status = spi_write_then_read(spi, buf, 2, NULL, 0); in ds1302_probe() 166 status = spi_write_then_read(spi, &addr, sizeof(addr), buf, 1); in ds1302_probe()
|
D | rtc-ds1305.c | 161 err = spi_write_then_read(ds1305->spi, buf, sizeof(buf), NULL, 0); in ds1305_alarm_irq_enable() 184 status = spi_write_then_read(ds1305->spi, &addr, sizeof(addr), in ds1305_get_time() 235 return spi_write_then_read(ds1305->spi, buf, sizeof(buf), in ds1305_set_time() 284 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_get_alarm() 294 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_get_alarm() 356 status = spi_write_then_read(ds1305->spi, buf, 2, NULL, 0); in ds1305_set_alarm() 372 status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0); in ds1305_set_alarm() 382 status = spi_write_then_read(ds1305->spi, buf, 2, NULL, 0); in ds1305_set_alarm() 465 status = spi_write_then_read(spi, buf, sizeof(buf), in ds1305_work() 586 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_probe() [all …]
|
D | rtc-max6916.c | 42 return spi_write_then_read(spi, data, 1, data, 1); in max6916_read_reg() 54 return spi_write_then_read(spi, buf, 2, NULL, 0); in max6916_write_reg() 65 err = spi_write_then_read(spi, buf, 1, buf, 8); in max6916_read_time() 103 return spi_write_then_read(spi, buf, 9, NULL, 0); in max6916_set_time()
|
D | rtc-rx4581.c | 84 return spi_write_then_read(spi, buf, 2, NULL, 0); in rx4581_set_reg() 95 return spi_write_then_read(spi, data, 1, data, 1); in rx4581_get_reg() 134 err = spi_write_then_read(spi, date, 1, date, 7); in rx4581_get_datetime() 220 err = spi_write_then_read(spi, buf, 8, NULL, 0); in rx4581_set_datetime()
|
D | rtc-max6902.c | 42 return spi_write_then_read(spi, buf, 2, NULL, 0); in max6902_set_reg() 53 return spi_write_then_read(spi, data, 1, data, 1); in max6902_get_reg() 64 err = spi_write_then_read(spi, buf, 1, buf, 8); in max6902_read_time()
|
D | rtc-ds1390.c | 82 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1); in ds1390_get_reg() 140 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 8); in ds1390_read_time() 176 return spi_write_then_read(spi, chip->txrx_buf, 8, NULL, 0); in ds1390_set_time()
|
D | rtc-rs5c348.c | 92 ret = spi_write_then_read(spi, txbuf, sizeof(txbuf), NULL, 0); in rs5c348_rtc_set_time() 113 ret = spi_write_then_read(spi, txbuf, sizeof(txbuf), in rs5c348_rtc_read_time() 187 ret = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0); in rs5c348_probe()
|
D | rtc-r9701.c | 64 ret = spi_write_then_read(spi, txbuf, 1, rxbuf, 1); in read_regs()
|
/Linux-v4.19/drivers/net/ethernet/wiznet/ |
D | w5100-spi.c | 33 ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, 1); in w5100_spi_read() 43 return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0); in w5100_spi_write() 146 ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, 1); in w5200_spi_read() 156 return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0); in w5200_spi_write() 166 ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, sizeof(data)); in w5200_spi_read16() 180 return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0); in w5200_spi_write16() 295 ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, 1); in w5500_spi_read() 310 return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0); in w5500_spi_write() 324 ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, sizeof(data)); in w5500_spi_read16() 340 return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0); in w5500_spi_write16()
|
/Linux-v4.19/drivers/iio/pressure/ |
D | ms5611_spi.c | 24 return spi_write_then_read(st->client, &cmd, 1, NULL, 0); in ms5611_spi_reset() 47 ret = spi_write_then_read(st->client, buf, 1, buf, 3); in ms5611_spi_read_adc() 67 ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0); in ms5611_spi_read_adc_temp_and_pressure() 77 ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0); in ms5611_spi_read_adc_temp_and_pressure()
|
D | bmp280-spi.c | 27 return spi_write_then_read(spi, buf, 2, NULL, 0); in bmp280_regmap_spi_write() 36 return spi_write_then_read(spi, reg, reg_size, val, val_size); in bmp280_regmap_spi_read()
|
/Linux-v4.19/arch/arm/mach-u300/ |
D | dummyspichip.c | 90 status = spi_write_then_read(spi, &txbuf[0], 8, &rxbuf[0], 8); in dummy_looptest() 99 status = spi_write_then_read(spi, &txbuf[0], 14, &rxbuf[0], 14); in dummy_looptest() 175 status = spi_write_then_read(spi, &txbuf[0], 8, &rxbuf[0], 8); in dummy_looptest() 184 status = spi_write_then_read(spi, &txbuf[0], 14, &rxbuf[0], 14); in dummy_looptest()
|
/Linux-v4.19/drivers/misc/ |
D | lattice-ecp3-config.c | 99 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load() 117 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load() 150 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load() 173 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load()
|
/Linux-v4.19/drivers/iio/health/ |
D | afe4403.c | 227 ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0); in afe4403_read() 231 ret = spi_write_then_read(afe->spi, ®, 1, rx, 3); in afe4403_read() 241 ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0); in afe4403_read() 325 ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0); in afe4403_trigger_handler() 331 ret = spi_write_then_read(afe->spi, in afe4403_trigger_handler() 344 ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0); in afe4403_trigger_handler()
|
/Linux-v4.19/drivers/iio/chemical/ |
D | bme680_spi.c | 27 return spi_write_then_read(spi, buf, 2, NULL, 0); in bme680_regmap_spi_write() 35 return spi_write_then_read(spi, reg, reg_size, val, val_size); in bme680_regmap_spi_read()
|
/Linux-v4.19/include/linux/spi/ |
D | spi.h | 1104 extern int spi_write_then_read(struct spi_device *spi, 1124 status = spi_write_then_read(spi, &cmd, 1, &result, 1); in spi_w8r8() 1149 status = spi_write_then_read(spi, &cmd, 1, &result, 2); in spi_w8r16() 1175 status = spi_write_then_read(spi, &cmd, 1, &result, 2); in spi_w8r16be()
|
/Linux-v4.19/drivers/iio/adc/ |
D | hi8435.c | 64 return spi_write_then_read(priv->spi, ®, 1, val, 1); in hi8435_readb() 73 ret = spi_write_then_read(priv->spi, ®, 1, &be_val, 2); in hi8435_readw() 85 ret = spi_write_then_read(priv->spi, ®, 1, &be_val, 4); in hi8435_readl()
|
/Linux-v4.19/arch/mips/txx9/generic/ |
D | spi_eeprom.c | 72 stat = spi_write_then_read(spi, cmd, sizeof(cmd), buf, c); in early_seeprom_probe()
|
/Linux-v4.19/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_spi_device.c | 56 result = spi_write_then_read(spi_device->spi, tx_data, in cxd2880_spi_device_write_read()
|
/Linux-v4.19/drivers/mux/ |
D | adgs1408.c | 33 return spi_write_then_read(spi, tx_buf, sizeof(tx_buf), NULL, 0); in adgs1408_spi_reg_write()
|
/Linux-v4.19/drivers/input/misc/ |
D | adxl34x-spi.c | 56 status = spi_write_then_read(spi, ®, 1, buf, count); in adxl34x_spi_read_block()
|
/Linux-v4.19/drivers/staging/iio/addac/ |
D | adt7316-spi.c | 46 ret = spi_write_then_read(spi_dev, cmd, 1, data, count); in adt7316_spi_multi_read()
|
/Linux-v4.19/drivers/hwmon/ |
D | lm70.c | 74 status = spi_write_then_read(spi, NULL, 0, &rxbuf[0], 2); in temp1_input_show()
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap-spi.c | 102 return spi_write_then_read(spi, reg, reg_size, val, val_size); in regmap_spi_read()
|
/Linux-v4.19/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 114 ret = spi_write_then_read(ctx->spi, tx_buf, i, val, len); in regmap_encx24j600_sfr_read() 248 return spi_write_then_read(ctx->spi, ®, sizeof(reg), data, count); in regmap_encx24j600_spi_read()
|