spi_write_then_read   72 arch/mips/txx9/generic/spi_eeprom.c 		stat = spi_write_then_read(spi, cmd, sizeof(cmd), buf, c);
spi_write_then_read   98 drivers/base/regmap/regmap-spi.c 	return spi_write_then_read(spi, reg, reg_size, val, val_size);
spi_write_then_read   25 drivers/gpio/gpio-max7301.c 	return spi_write_then_read(spi, &word, sizeof(word), NULL, 0);
spi_write_then_read   37 drivers/gpio/gpio-max7301.c 	ret = spi_write_then_read(spi, &word, sizeof(word), &word,
spi_write_then_read  302 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	return spi_write_then_read(spi, buf, 2, NULL, 0);
spi_write_then_read  318 drivers/gpu/drm/panel/panel-ilitek-ili9322.c 	return spi_write_then_read(spi, buf, 1, val, 1);
spi_write_then_read   65 drivers/hwmon/adcxx.c 		status = spi_write_then_read(spi, tx_buf, sizeof(tx_buf),
spi_write_then_read   61 drivers/hwmon/lm70.c 	status = spi_write_then_read(spi, NULL, 0, &rxbuf[0], 2);
spi_write_then_read  107 drivers/iio/accel/bma220_spi.c 	ret = spi_write_then_read(spi, data->tx_buf, 1, data->buffer,
spi_write_then_read  183 drivers/iio/adc/ad7768-1.c 	ret = spi_write_then_read(st->spi, st->data.d8, 1,
spi_write_then_read   60 drivers/iio/adc/hi8435.c 	return spi_write_then_read(priv->spi, &reg, 1, val, 1);
spi_write_then_read   69 drivers/iio/adc/hi8435.c 	ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 2);
spi_write_then_read   81 drivers/iio/adc/hi8435.c 	ret = spi_write_then_read(priv->spi, &reg, 1, &be_val, 4);
spi_write_then_read   62 drivers/iio/adc/mcp3911.c 	ret = spi_write_then_read(adc->spi, &reg, 1, val, len);
spi_write_then_read   41 drivers/iio/chemical/bme680_spi.c 	ret = spi_write_then_read(spi, buf, 1, buf + 1, 1);
spi_write_then_read  101 drivers/iio/chemical/bme680_spi.c 	return spi_write_then_read(spi, &addr, 1, val, val_size);
spi_write_then_read  219 drivers/iio/health/afe4403.c 	ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0);
spi_write_then_read  223 drivers/iio/health/afe4403.c 	ret = spi_write_then_read(afe->spi, &reg, 1, rx, 3);
spi_write_then_read  233 drivers/iio/health/afe4403.c 	ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0);
spi_write_then_read  317 drivers/iio/health/afe4403.c 	ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0);
spi_write_then_read  323 drivers/iio/health/afe4403.c 		ret = spi_write_then_read(afe->spi,
spi_write_then_read  336 drivers/iio/health/afe4403.c 	ret = spi_write_then_read(afe->spi, tx, 4, NULL, 0);
spi_write_then_read   28 drivers/iio/pressure/bmp280-spi.c 	return spi_write_then_read(spi, buf, 2, NULL, 0);
spi_write_then_read   37 drivers/iio/pressure/bmp280-spi.c 	return spi_write_then_read(spi, reg, reg_size, val, val_size);
spi_write_then_read   21 drivers/iio/pressure/ms5611_spi.c 	return spi_write_then_read(st->client, &cmd, 1, NULL, 0);
spi_write_then_read   44 drivers/iio/pressure/ms5611_spi.c 	ret = spi_write_then_read(st->client, buf, 1, buf, 3);
spi_write_then_read   64 drivers/iio/pressure/ms5611_spi.c 	ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0);
spi_write_then_read   74 drivers/iio/pressure/ms5611_spi.c 	ret = spi_write_then_read(st->client, &osr->cmd, 1, NULL, 0);
spi_write_then_read   71 drivers/iio/temperature/max31856.c 	return spi_write_then_read(data->spi, &reg, 1, val, read_size);
spi_write_then_read   56 drivers/input/misc/adxl34x-spi.c 	status = spi_write_then_read(spi, &reg, 1, buf, count);
spi_write_then_read   56 drivers/media/dvb-frontends/cxd2880/cxd2880_spi_device.c 	result = spi_write_then_read(spi_device->spi, tx_data,
spi_write_then_read  167 drivers/media/spi/cxd2880-spi.c 	ret = spi_write_then_read(spi, &send_data, 1,
spi_write_then_read   95 drivers/misc/lattice-ecp3-config.c 	ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
spi_write_then_read  113 drivers/misc/lattice-ecp3-config.c 	ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
spi_write_then_read  146 drivers/misc/lattice-ecp3-config.c 		ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
spi_write_then_read  169 drivers/misc/lattice-ecp3-config.c 	ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len);
spi_write_then_read  792 drivers/mtd/devices/mtd_dataflash.c 	ret = spi_write_then_read(spi, &code, 1, id, id_size);
spi_write_then_read   33 drivers/mux/adgs1408.c 	return spi_write_then_read(spi, tx_buf, sizeof(tx_buf), NULL, 0);
spi_write_then_read  241 drivers/net/can/m_can/tcan4x5x.c 	return spi_write_then_read(spi, &addr, reg_size, (u32 *)val, val_size);
spi_write_then_read   50 drivers/net/dsa/b53/b53_spi.c 	return spi_write_then_read(spi, txbuf, 2, val, len);
spi_write_then_read  157 drivers/net/ethernet/microchip/enc28j60.c 	ret = spi_write_then_read(priv->spi, tx_buf, 1, rx_buf, slen);
spi_write_then_read  111 drivers/net/ethernet/microchip/encx24j600-regmap.c 	ret = spi_write_then_read(ctx->spi, tx_buf, i, val, len);
spi_write_then_read  245 drivers/net/ethernet/microchip/encx24j600-regmap.c 	return spi_write_then_read(ctx->spi, &reg, sizeof(reg), data, count);
spi_write_then_read   33 drivers/net/ethernet/wiznet/w5100-spi.c 	ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, 1);
spi_write_then_read   43 drivers/net/ethernet/wiznet/w5100-spi.c 	return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0);
spi_write_then_read  146 drivers/net/ethernet/wiznet/w5100-spi.c 	ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, 1);
spi_write_then_read  156 drivers/net/ethernet/wiznet/w5100-spi.c 	return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0);
spi_write_then_read  166 drivers/net/ethernet/wiznet/w5100-spi.c 	ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, sizeof(data));
spi_write_then_read  180 drivers/net/ethernet/wiznet/w5100-spi.c 	return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0);
spi_write_then_read  295 drivers/net/ethernet/wiznet/w5100-spi.c 	ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, 1);
spi_write_then_read  310 drivers/net/ethernet/wiznet/w5100-spi.c 	return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0);
spi_write_then_read  324 drivers/net/ethernet/wiznet/w5100-spi.c 	ret = spi_write_then_read(spi, cmd, sizeof(cmd), &data, sizeof(data));
spi_write_then_read  340 drivers/net/ethernet/wiznet/w5100-spi.c 	return spi_write_then_read(spi, cmd, sizeof(cmd), NULL, 0);
spi_write_then_read  530 drivers/net/ieee802154/mrf24j40.c 	return spi_write_then_read(spi, reg, reg_size, val, val_size);
spi_write_then_read   63 drivers/net/wan/slic_ds26522.c 	spi_write_then_read(spi, &temp[0], SLIC_TWO_LEN, &data,
spi_write_then_read  475 drivers/nfc/trf7970a.c 	ret = spi_write_then_read(trf->spi, &addr, 1, val, 1);
spi_write_then_read  539 drivers/nfc/trf7970a.c 		ret = spi_write_then_read(trf->spi, &addr, 1, buf, 2);
spi_write_then_read  541 drivers/nfc/trf7970a.c 		ret = spi_write_then_read(trf->spi, &addr, 1, buf, 1);
spi_write_then_read  562 drivers/nfc/trf7970a.c 	ret = spi_write_then_read(trf->spi, &addr, 1, buf, 2);
spi_write_then_read  361 drivers/pinctrl/pinctrl-mcp23s08.c 	return spi_write_then_read(spi, tx, sizeof(tx), val, val_size);
spi_write_then_read   51 drivers/rtc/rtc-ds1302.c 	status = spi_write_then_read(spi, buf, 2,
spi_write_then_read   70 drivers/rtc/rtc-ds1302.c 	return spi_write_then_read(spi, buf, sizeof(buf),
spi_write_then_read   84 drivers/rtc/rtc-ds1302.c 	status = spi_write_then_read(spi, &addr, sizeof(addr),
spi_write_then_read  130 drivers/rtc/rtc-ds1302.c 	status = spi_write_then_read(spi, &addr, sizeof(addr), buf, 1);
spi_write_then_read  138 drivers/rtc/rtc-ds1302.c 		status = spi_write_then_read(spi, &addr, sizeof(addr), buf, 1);
spi_write_then_read  155 drivers/rtc/rtc-ds1302.c 		status = spi_write_then_read(spi, buf, 2, NULL, 0);
spi_write_then_read  163 drivers/rtc/rtc-ds1302.c 		status = spi_write_then_read(spi, &addr, sizeof(addr), buf, 1);
spi_write_then_read  157 drivers/rtc/rtc-ds1305.c 	err = spi_write_then_read(ds1305->spi, buf, sizeof(buf), NULL, 0);
spi_write_then_read  180 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(ds1305->spi, &addr, sizeof(addr),
spi_write_then_read  231 drivers/rtc/rtc-ds1305.c 	return spi_write_then_read(ds1305->spi, buf, sizeof(buf),
spi_write_then_read  280 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(spi, &addr, sizeof(addr),
spi_write_then_read  290 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(spi, &addr, sizeof(addr),
spi_write_then_read  352 drivers/rtc/rtc-ds1305.c 		status = spi_write_then_read(ds1305->spi, buf, 2, NULL, 0);
spi_write_then_read  368 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0);
spi_write_then_read  378 drivers/rtc/rtc-ds1305.c 		status = spi_write_then_read(ds1305->spi, buf, 2, NULL, 0);
spi_write_then_read  461 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(spi, buf, sizeof(buf),
spi_write_then_read  582 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(spi, &addr, sizeof(addr),
spi_write_then_read  614 drivers/rtc/rtc-ds1305.c 		status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0);
spi_write_then_read  668 drivers/rtc/rtc-ds1305.c 		status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0);
spi_write_then_read  680 drivers/rtc/rtc-ds1305.c 	status = spi_write_then_read(spi, &addr, sizeof(addr),
spi_write_then_read   79 drivers/rtc/rtc-ds1390.c 	status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1);
spi_write_then_read  137 drivers/rtc/rtc-ds1390.c 	status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 8);
spi_write_then_read  173 drivers/rtc/rtc-ds1390.c 	return spi_write_then_read(spi, chip->txrx_buf, 8, NULL, 0);
spi_write_then_read  139 drivers/rtc/rtc-m41t93.c 	tmp = spi_write_then_read(spi, &start_addr, 1, buf, sizeof(buf));
spi_write_then_read   38 drivers/rtc/rtc-max6902.c 	return spi_write_then_read(spi, buf, 2, NULL, 0);
spi_write_then_read   49 drivers/rtc/rtc-max6902.c 	return spi_write_then_read(spi, data, 1, data, 1);
spi_write_then_read   60 drivers/rtc/rtc-max6902.c 	err = spi_write_then_read(spi, buf, 1, buf, 8);
spi_write_then_read   38 drivers/rtc/rtc-max6916.c 	return spi_write_then_read(spi, data, 1, data, 1);
spi_write_then_read   50 drivers/rtc/rtc-max6916.c 	return spi_write_then_read(spi, buf, 2, NULL, 0);
spi_write_then_read   61 drivers/rtc/rtc-max6916.c 	err = spi_write_then_read(spi, buf, 1, buf, 8);
spi_write_then_read   99 drivers/rtc/rtc-max6916.c 	return spi_write_then_read(spi, buf, 9, NULL, 0);
spi_write_then_read   68 drivers/rtc/rtc-mcp795.c 	ret = spi_write_then_read(spi, tx, sizeof(tx), buf, count);
spi_write_then_read   61 drivers/rtc/rtc-r9701.c 		ret = spi_write_then_read(spi, txbuf, 1, rxbuf, 1);
spi_write_then_read   72 drivers/rtc/rtc-rs5c348.c 		ret = spi_write_then_read(spi, txbuf, 2, NULL, 0);
spi_write_then_read  100 drivers/rtc/rtc-rs5c348.c 	ret = spi_write_then_read(spi, txbuf, sizeof(txbuf), NULL, 0);
spi_write_then_read  131 drivers/rtc/rtc-rs5c348.c 	ret = spi_write_then_read(spi, txbuf, sizeof(txbuf),
spi_write_then_read   76 drivers/rtc/rtc-rx4581.c 	return spi_write_then_read(spi, buf, 2, NULL, 0);
spi_write_then_read   87 drivers/rtc/rtc-rx4581.c 	return spi_write_then_read(spi, data, 1, data, 1);
spi_write_then_read  126 drivers/rtc/rtc-rx4581.c 		err = spi_write_then_read(spi, date, 1, date, 7);
spi_write_then_read  212 drivers/rtc/rtc-rx4581.c 	err = spi_write_then_read(spi, buf, 8, NULL, 0);
spi_write_then_read 3653 drivers/spi/spi.c EXPORT_SYMBOL_GPL(spi_write_then_read);
spi_write_then_read   45 drivers/staging/iio/addac/adt7316-spi.c 	ret = spi_write_then_read(spi_dev, cmd, 1, data, count);
spi_write_then_read 1174 include/linux/spi/spi.h extern int spi_write_then_read(struct spi_device *spi,
spi_write_then_read 1194 include/linux/spi/spi.h 	status = spi_write_then_read(spi, &cmd, 1, &result, 1);
spi_write_then_read 1219 include/linux/spi/spi.h 	status = spi_write_then_read(spi, &cmd, 1, &result, 2);
spi_write_then_read 1245 include/linux/spi/spi.h 	status = spi_write_then_read(spi, &cmd, 1, &result, 2);