Home
last modified time | relevance | path

Searched refs:SPI_XFER_BEGIN (Results 1 – 25 of 65) sorted by relevance

123

/OK3568_Linux_fs/u-boot/drivers/net/
H A Denc28j60.c73 SPI_XFER_BEGIN | SPI_XFER_END); in enc_bset()
83 SPI_XFER_BEGIN | SPI_XFER_END); in enc_bclr()
161 SPI_XFER_BEGIN | SPI_XFER_END); in enc_r8()
179 SPI_XFER_BEGIN | SPI_XFER_END); in enc_r16()
183 SPI_XFER_BEGIN | SPI_XFER_END); in enc_r16()
199 SPI_XFER_BEGIN | SPI_XFER_END); in enc_w8()
214 SPI_XFER_BEGIN | SPI_XFER_END); in enc_w16()
218 SPI_XFER_BEGIN | SPI_XFER_END); in enc_w16()
235 SPI_XFER_BEGIN | SPI_XFER_END); in enc_w8_retry()
255 spi_xfer(enc->slave, 8, dout, NULL, SPI_XFER_BEGIN); in enc_rbuf()
[all …]
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dbcmstb_spi.c298 if (flags & ~(SPI_XFER_BEGIN | SPI_XFER_END)) { in bcmstb_spi_xfer()
303 if (flags & SPI_XFER_BEGIN) { in bcmstb_spi_xfer()
326 if (!(flags & (SPI_XFER_BEGIN | SPI_XFER_END))) { in bcmstb_spi_xfer()
337 SPI_XFER_BEGIN); in bcmstb_spi_xfer()
368 (flags & (SPI_XFER_BEGIN | in bcmstb_spi_xfer()
369 SPI_XFER_END)) == SPI_XFER_BEGIN); in bcmstb_spi_xfer()
372 (flags & (SPI_XFER_BEGIN | SPI_XFER_END)) == SPI_XFER_BEGIN) in bcmstb_spi_xfer()
H A Dcadence_qspi.c199 if (flags & SPI_XFER_BEGIN) { in cadence_spi_xfer()
205 if (flags == (SPI_XFER_BEGIN | SPI_XFER_END)) { in cadence_spi_xfer()
230 } else if (dout && !(flags & SPI_XFER_BEGIN)) { in cadence_spi_xfer()
H A Dcf_spi.c121 if ((flags & SPI_XFER_BEGIN) == SPI_XFER_BEGIN) in cfspi_xfer()
H A Dmxs_spi.c135 if (flags & SPI_XFER_BEGIN) in mxs_spi_xfer_pio()
216 if (flags & SPI_XFER_BEGIN) in mxs_spi_xfer_dma()
H A Dich.c381 unsigned type = flags & (SPI_XFER_BEGIN | SPI_XFER_END); in ich_spi_xfer()
396 if (type & SPI_XFER_BEGIN) in ich_spi_xfer()
400 if (dout && type == SPI_XFER_BEGIN) { in ich_spi_xfer()
H A Datmel_spi.c177 if (flags & SPI_XFER_BEGIN) { in spi_xfer()
361 if (flags & SPI_XFER_BEGIN) { in atmel_spi_xfer()
H A Dfsl_espi.c266 case SPI_XFER_BEGIN: in spi_xfer()
288 case SPI_XFER_BEGIN | SPI_XFER_END: in spi_xfer()
H A Datcspi200_spi.c207 case SPI_XFER_BEGIN: in __atcspi200_spi_xfer()
222 case SPI_XFER_BEGIN | SPI_XFER_END: in __atcspi200_spi_xfer()
/OK3568_Linux_fs/u-boot/board/renesas/ulcb/
H A Dcpld.c72 spi_xfer(NULL, 8, &addr, NULL, SPI_XFER_BEGIN | SPI_XFER_END); in cpld_read()
76 spi_xfer(NULL, 32, NULL, &data, SPI_XFER_BEGIN | SPI_XFER_END); in cpld_read()
85 spi_xfer(NULL, 32, &data, NULL, SPI_XFER_BEGIN | SPI_XFER_END); in cpld_write()
87 spi_xfer(NULL, 8, NULL, &addr, SPI_XFER_BEGIN | SPI_XFER_END); in cpld_write()
/OK3568_Linux_fs/u-boot/drivers/rtc/
H A 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()
/OK3568_Linux_fs/u-boot/board/work-microwave/work_92105/
H A 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()
/OK3568_Linux_fs/u-boot/include/
H A Dspi.h125 #define SPI_XFER_BEGIN BIT(0) /* Assert CS before transfer */ macro
127 #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END)
350 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
/OK3568_Linux_fs/u-boot/board/zipitz2/
H A Dzipitz2.c207 spi_xfer(NULL, 24, reg, dummy, SPI_XFER_BEGIN | SPI_XFER_END); in lcd_start()
212 spi_xfer(NULL, 24, data, dummy, SPI_XFER_BEGIN | SPI_XFER_END); in lcd_start()
/OK3568_Linux_fs/u-boot/examples/standalone/
H A Drkspi.h118 #define SPI_XFER_BEGIN BIT(0) /* Assert CS before transfer */ macro
120 #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END)
H A DREADME_rkspi.md102 #define SPI_XFER_BEGIN BIT(0) /* Assert CS before transfer */
104 #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END)
H A Drkspi.c247 if (flags & SPI_XFER_BEGIN) in rockchip_spi_xfer()
294 unsigned long flags = SPI_XFER_BEGIN; in rockchip_spi_write_then_read()
/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dcros_ec_spi.c38 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
142 SPI_XFER_BEGIN | SPI_XFER_END); in cros_ec_spi_command()
/OK3568_Linux_fs/u-boot/drivers/video/
H A Ds6e63d6.c30 err = spi_xfer(data->slave, 8, &buf8, &buf_in, SPI_XFER_BEGIN); in send_word()
H A Dld9040.c82 spi_xfer(NULL, 9, &data_out, &data_in, SPI_XFER_BEGIN); in ld9040_spi_write()
H A Dlg4573.c16 unsigned long flags = SPI_XFER_BEGIN; in lb043wv_spi_write_u16()
/OK3568_Linux_fs/u-boot/drivers/power/
H A Dpower_fsl.c47 p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; in pmic_init()
/OK3568_Linux_fs/u-boot/drivers/mtd/spi/
H A Dsf.c18 unsigned long flags = SPI_XFER_BEGIN; in spi_flash_read_write()
/OK3568_Linux_fs/u-boot/drivers/fpga/
H A Dstratixv.c32 SPI_XFER_BEGIN | SPI_XFER_END); in program_write()
/OK3568_Linux_fs/u-boot/cmd/
H A Dspi.c72 SPI_XFER_BEGIN | SPI_XFER_END); in do_spi_xfer()

123