Home
last modified time | relevance | path

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

12

/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/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.h62 EXPORT_FUNC(dummy, void, spi_xfer, void)
66 EXPORT_FUNC(spi_xfer, int, spi_xfer, struct spi_slave *,
Dspi.h248 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
330 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()
Dds1306.c434 spi_xfer (slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in rtc_write()
/external/u-boot/board/work-microwave/work_92105/
Dwork_92105_display.c96 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_write()
119 spi_xfer(slave, 16, dout, dout, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
127 spi_xfer(slave, 16, din, din, SPI_XFER_BEGIN | SPI_XFER_END); in max6957aax_read()
/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/drivers/spi/
Dspi-mem-nodm.c54 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op()
60 ret = spi_xfer(slave, op->data.nbytes * 8, tx_buf, in spi_mem_exec_op()
Dspi-uclass.c119 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
135 ret = spi_xfer(slave, n_opcode * 8, opcode, NULL, flags); in spi_write_then_read()
140 ret = spi_xfer(slave, n_buf * 8, txbuf, rxbuf, SPI_XFER_END); in spi_write_then_read()
Dsoft_spi_legacy.c101 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
Dlpc32xx_ssp.c109 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
Dspi-mem.c371 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op()
377 ret = spi_xfer(slave, op->data.nbytes * 8, tx_buf, in spi_mem_exec_op()
Dsh_spi.c202 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout, in spi_xfer() function
Dsh_qspi.c288 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
Dkirkwood_spi.c199 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
Datmel_spi.c132 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() function
/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/cmd/
Dspi.c63 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