| /u-boot/drivers/misc/ |
| A D | cros_ec_spi.c | 36 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet() 41 rv = spi_xfer(slave, 8, NULL, &byte, 0); in cros_ec_spi_packet() 52 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0); in cros_ec_spi_packet() 54 spi_xfer(slave, 0, NULL, NULL, SPI_XFER_END); in cros_ec_spi_packet() 139 rv = spi_xfer(slave, max(len, in_bytes) * 8, out, p, in cros_ec_spi_command()
|
| /u-boot/include/ |
| A D | _exports.h | 62 EXPORT_FUNC(dummy, void, spi_xfer, void) 66 EXPORT_FUNC(spi_xfer, int, spi_xfer, struct spi_slave *,
|
| A D | spi.h | 289 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, 376 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
|
| /u-boot/drivers/rtc/ |
| A D | m41t94.c | 63 ret = spi_xfer(slave, 64, buf, NULL, SPI_XFER_BEGIN | SPI_XFER_END); in rtc_set() 89 spi_xfer(slave, 16, buf, NULL, SPI_XFER_BEGIN | SPI_XFER_END); in rtc_get() 99 spi_xfer(slave, 16, buf, NULL, SPI_XFER_BEGIN | SPI_XFER_END); in rtc_get()
|
| A D | ds1306.c | 435 spi_xfer (slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in rtc_write()
|
| /u-boot/drivers/video/ |
| A D | scf0403_lcd.c | 164 error = spi_xfer(spi, 9, &cmd, NULL, SPI_XFER_ONCE); in scf0403_spi_read_rddid() 173 error = spi_xfer(spi, 9, NULL, &dummy_buf, SPI_XFER_ONCE); in scf0403_spi_read_rddid() 182 error = spi_xfer(spi, 8, NULL, &ids_buf, SPI_XFER_ONCE); in scf0403_spi_read_rddid() 201 error = spi_xfer(spi, 9, &command, NULL, SPI_XFER_ONCE); in scf0403_spi_transfer() 207 error = spi_xfer(spi, 9, &msg, NULL, SPI_XFER_ONCE); in scf0403_spi_transfer()
|
| A D | hx8238d.c | 165 ret = spi_xfer(priv->spi, HX8238D_REG_BIT_LEN, sr_buf, NULL, in hx8238d_probe() 172 ret = spi_xfer(priv->spi, HX8238D_REG_BIT_LEN, wr_buf, NULL, in hx8238d_probe()
|
| A D | ld9040.c | 82 spi_xfer(NULL, 9, &data_out, &data_in, SPI_XFER_BEGIN); in ld9040_spi_write()
|
| A D | lg4573.c | 27 ret = spi_xfer(slave, 16, &buf16, NULL, in lb043wv_spi_write_u16()
|
| A D | formike.c | 31 ret = spi_xfer(spi, 8, buf, NULL, flags); in spi_write_tag_val() 34 ret = spi_xfer(spi, 8, buf, NULL, flags); in spi_write_tag_val()
|
| /u-boot/drivers/power/ |
| A D | power_spi.c | 42 if (spi_xfer(slave, pmic_spi_bitlen, &tmp, &pmic_rx, in pmic_reg() 49 if (spi_xfer(slave, pmic_spi_bitlen, &tmp, &pmic_rx, in pmic_reg()
|
| /u-boot/board/work-microwave/work_92105/ |
| A D | work_92105_display.c | 99 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_write() 122 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read() 130 spi_xfer(slave, 16, din, din, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
|
| /u-boot/drivers/spi/ |
| A D | spi-mem-nodm.c | 56 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op() 62 ret = spi_xfer(slave, op->data.nbytes * 8, tx_buf, in spi_mem_exec_op()
|
| A D | spi-uclass.c | 132 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function 148 ret = spi_xfer(slave, n_opcode * 8, opcode, NULL, flags); in spi_write_then_read() 154 ret = spi_xfer(slave, n_buf * 8, txbuf, rxbuf, SPI_XFER_END); in spi_write_then_read()
|
| A D | spi-mem.c | 385 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op() 391 ret = spi_xfer(slave, op->data.nbytes * 8, tx_buf, in spi_mem_exec_op()
|
| A D | sh_qspi.c | 289 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
|
| /u-boot/drivers/fpga/ |
| A D | stratixv.c | 32 ret = spi_xfer(slave, rbf_size * 8, rbf_data, (void *)rbf_data, in program_write()
|
| /u-boot/drivers/usb/gadget/ |
| A D | max3420_udc.c | 154 spi_xfer(slave, sizeof(txdata), txdata, NULL, SPI_XFER_ONCE); in spi_ack_ctrl() 168 spi_xfer(slave, sizeof(txdata), txdata, rxdata, SPI_XFER_ONCE); in spi_rd8_ack() 188 spi_xfer(slave, sizeof(txdata), txdata, NULL, SPI_XFER_ONCE); in spi_wr8_ack() 204 spi_xfer(slave, sizeof(txdata), txdata, NULL, SPI_XFER_BEGIN); in spi_rd_buf() 205 spi_xfer(slave, len * 8, NULL, buf, SPI_XFER_END); in spi_rd_buf() 216 spi_xfer(slave, sizeof(txdata), txdata, NULL, SPI_XFER_BEGIN); in spi_wr_buf() 217 spi_xfer(slave, len * 8, buf, NULL, SPI_XFER_END); in spi_wr_buf()
|
| /u-boot/drivers/tpm/ |
| A D | tpm2_tis_spi.c | 100 ret = spi_xfer(slave, 4 * 8, tx_buf, rx_buf, SPI_XFER_BEGIN); in tpm_tis_spi_xfer() 113 ret = spi_xfer(slave, 1 * 8, NULL, rx_buf, 0); in tpm_tis_spi_xfer() 139 ret = spi_xfer(slave, transfer_len * 8, in tpm_tis_spi_xfer() 161 spi_xfer(slave, 0, NULL, NULL, SPI_XFER_END); in tpm_tis_spi_xfer()
|
| A D | tpm_tis_st33zp24_spi.c | 142 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_write() 187 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_read8_reg()
|
| /u-boot/cmd/ |
| A D | spi.c | 64 ret = spi_xfer(slave, bitlen, dout, din, in do_spi_xfer()
|
| /u-boot/examples/standalone/ |
| A D | atmel_df_pow2.c | 21 return spi_xfer(slave, 8 * len, buf, buf, SPI_XFER_BEGIN | SPI_XFER_END); in flash_cmd()
|
| /u-boot/test/dm/ |
| A D | spi.c | 188 ut_assertok(spi_xfer(slave, 40, dout, din, in dm_test_spi_xfer()
|
| /u-boot/drivers/net/ |
| A D | e1000_spi.c | 139 int spi_xfer(struct spi_slave *spi, unsigned int bitlen, in spi_xfer() function
|
| /u-boot/board/CZ.NIC/turris_mox/ |
| A D | turris_mox.c | 144 ret = spi_xfer(slave, size * 8, out, in, SPI_XFER_ONCE); in mox_do_spi()
|