Home
last modified time | relevance | path

Searched refs:spi_xfer (Results 1 – 25 of 43) sorted by relevance

12

/external/u-boot/drivers/mmc/
Dmmc_spi.c66 spi_xfer(spi, sizeof(cmdo) * 8, cmdo, NULL, 0); in mmc_spi_sendcmd()
68 spi_xfer(spi, 1 * 8, NULL, &r1, 0); in mmc_spi_sendcmd()
86 spi_xfer(spi, 1 * 8, NULL, &r1, 0); in mmc_spi_readdata()
92 spi_xfer(spi, bsize * 8, NULL, buf, 0); in mmc_spi_readdata()
93 spi_xfer(spi, 2 * 8, NULL, &crc, 0); in mmc_spi_readdata()
126 spi_xfer(spi, 2 * 8, tok, NULL, 0); in mmc_spi_writedata()
127 spi_xfer(spi, bsize * 8, buf, NULL, 0); in mmc_spi_writedata()
128 spi_xfer(spi, 2 * 8, &crc, NULL, 0); in mmc_spi_writedata()
130 spi_xfer(spi, 1 * 8, NULL, &r1, 0); in mmc_spi_writedata()
137 spi_xfer(spi, 1 * 8, NULL, &r1, 0); in mmc_spi_writedata()
[all …]
/external/u-boot/drivers/misc/
Dcros_ec_spi.c35 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
40 rv = spi_xfer(slave, 8, NULL, &byte, 0); in cros_ec_spi_packet()
51 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0); in cros_ec_spi_packet()
53 spi_xfer(slave, 0, NULL, NULL, SPI_XFER_END); in cros_ec_spi_packet()
138 rv = spi_xfer(slave, max(len, in_bytes) * 8, out, p, in cros_ec_spi_command()
/external/u-boot/drivers/spi/
Dmpc8xx_spi.c50 ssize_t spi_xfer(size_t);
239 spi_xfer(1); in spi_write()
243 spi_xfer(alen + len); in spi_write()
248 spi_xfer(2); in spi_write()
275 spi_xfer(alen + len + 1); in spi_read()
284 ssize_t spi_xfer(size_t count) in spi_xfer() function
Dlpc32xx_ssp.c118 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
Dmpc8xxx_spi.c74 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() function
Dsoft_spi_legacy.c108 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
Dsh_spi.c206 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() function
Dsh_qspi.c201 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() function
/external/u-boot/drivers/video/
Dscf0403_lcd.c162 error = spi_xfer(spi, 9, &cmd, NULL, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
171 error = spi_xfer(spi, 9, NULL, &dummy_buf, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
180 error = spi_xfer(spi, 8, NULL, &ids_buf, SPI_XFER_ONCE); in scf0403_spi_read_rddid()
199 error = spi_xfer(spi, 9, &command, NULL, SPI_XFER_ONCE); in scf0403_spi_transfer()
205 error = spi_xfer(spi, 9, &msg, NULL, SPI_XFER_ONCE); in scf0403_spi_transfer()
Dld9040.c81 spi_xfer(NULL, 9, &data_out, &data_in, SPI_XFER_BEGIN); in ld9040_spi_write()
Dlg4573.c21 ret = spi_xfer(spi, 16, &buf16, NULL, flags); in lb043wv_spi_write_u16()
/external/u-boot/include/
D_exports.h65 EXPORT_FUNC(dummy, void, spi_xfer, void)
69 EXPORT_FUNC(spi_xfer, int, spi_xfer, struct spi_slave *,
Dspi.h253 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
315 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
/external/u-boot/drivers/rtc/
Dm41t94.c63 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()
/external/u-boot/board/work-microwave/work_92105/
Dwork_92105_display.c95 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_write()
118 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
126 spi_xfer(slave, 16, din, din, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
/external/u-boot/drivers/mtd/spi/
Dsf.c23 ret = spi_xfer(spi, cmd_len * 8, cmd, NULL, flags); in spi_flash_read_write()
28 ret = spi_xfer(spi, data_len * 8, data_out, data_in, in spi_flash_read_write()
/external/u-boot/drivers/power/
Dpower_spi.c42 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()
/external/u-boot/board/zipitz2/
Dzipitz2.c206 spi_xfer(NULL, 24, reg, dummy, SPI_XFER_BEGIN | SPI_XFER_END); in lcd_start()
211 spi_xfer(NULL, 24, data, dummy, SPI_XFER_BEGIN | SPI_XFER_END); in lcd_start()
/external/u-boot/drivers/tpm/
Dtpm2_tis_spi.c100 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()
Dtpm_tis_st33zp24_spi.c140 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_write()
185 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_read8_reg()
/external/u-boot/drivers/fpga/
Dstratixv.c30 ret = spi_xfer(slave, rbf_size * 8, rbf_data, (void *)rbf_data, in program_write()
/external/u-boot/board/CZ.NIC/turris_mox/
Dturris_mox.c77 ret = spi_xfer(slave, 80, dout, din, SPI_XFER_ONCE); in last_stage_init()
/external/u-boot/cmd/
Dspi.c70 ret = spi_xfer(slave, bitlen, dout, din, in do_spi_xfer()
/external/u-boot/examples/standalone/
Datmel_df_pow2.c20 return spi_xfer(slave, 8 * len, buf, buf, SPI_XFER_BEGIN | SPI_XFER_END); in flash_cmd()
/external/u-boot/test/dm/
Dspi.c108 ut_assertok(spi_xfer(slave, 40, dout, din, in dm_test_spi_xfer()

12