Home
last modified time | relevance | path

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

123

/openbmc/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.c198 if (flags & SPI_XFER_BEGIN) { in cadence_spi_xfer()
204 if (flags == (SPI_XFER_BEGIN | SPI_XFER_END)) { in cadence_spi_xfer()
229 } else if (dout && !(flags & SPI_XFER_BEGIN)) { in cadence_spi_xfer()
H A Dmxs_spi.c130 if (flags & SPI_XFER_BEGIN) in mxs_spi_xfer_pio()
211 if (flags & SPI_XFER_BEGIN) in mxs_spi_xfer_dma()
H A Dcf_spi.c120 if ((flags & SPI_XFER_BEGIN) == SPI_XFER_BEGIN) in cfspi_xfer()
H A Dsoft_spi_legacy.c119 if (flags & SPI_XFER_BEGIN) in spi_xfer()
H A Dmpc8xxx_spi.c86 if (flags & SPI_XFER_BEGIN) in spi_xfer()
H A Dspi-mem-nodm.c49 flag = SPI_XFER_BEGIN; in spi_mem_exec_op()
H A Dfsl_espi.c260 case SPI_XFER_BEGIN: in spi_xfer()
282 case SPI_XFER_BEGIN | SPI_XFER_END: in spi_xfer()
H A Datcspi200_spi.c206 case SPI_XFER_BEGIN: in __atcspi200_spi_xfer()
221 case SPI_XFER_BEGIN | SPI_XFER_END: in __atcspi200_spi_xfer()
H A Datmel_spi.c169 if (flags & SPI_XFER_BEGIN) { in spi_xfer()
353 if (flags & SPI_XFER_BEGIN) { in atmel_spi_xfer()
H A Dich.c380 unsigned type = flags & (SPI_XFER_BEGIN | SPI_XFER_END); in ich_spi_xfer()
395 if (type & SPI_XFER_BEGIN) in ich_spi_xfer()
399 if (dout && type == SPI_XFER_BEGIN) { in ich_spi_xfer()
/openbmc/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()
/openbmc/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()
/openbmc/u-boot/include/
H A Dspi.h113 #define SPI_XFER_BEGIN BIT(0) /* Assert CS before transfer */ macro
115 #define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END)
310 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
/openbmc/u-boot/board/zipitz2/
H A 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()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_spi.c35 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
139 SPI_XFER_BEGIN | SPI_XFER_END); in cros_ec_spi_command()
/openbmc/u-boot/drivers/power/
H A Dpower_fsl.c46 p->hw.spi.flags = SPI_XFER_BEGIN | SPI_XFER_END; in pmic_init()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf.c17 unsigned long flags = SPI_XFER_BEGIN; in spi_flash_read_write()
/openbmc/u-boot/drivers/video/
H A Dld9040.c81 spi_xfer(NULL, 9, &data_out, &data_in, SPI_XFER_BEGIN); in ld9040_spi_write()
H A Dlg4573.c15 unsigned long flags = SPI_XFER_BEGIN; in lb043wv_spi_write_u16()
/openbmc/u-boot/drivers/fpga/
H A Dstratixv.c31 SPI_XFER_BEGIN | SPI_XFER_END); in program_write()
/openbmc/u-boot/cmd/
H A Dspi.c64 SPI_XFER_BEGIN | SPI_XFER_END); in do_spi_xfer()
/openbmc/u-boot/examples/standalone/
H A Datmel_df_pow2.c20 return spi_xfer(slave, 8 * len, buf, buf, SPI_XFER_BEGIN | SPI_XFER_END); in flash_cmd()
/openbmc/u-boot/test/dm/
H A Dspi.c109 SPI_XFER_BEGIN | SPI_XFER_END)); in dm_test_spi_xfer()
/openbmc/u-boot/drivers/gpio/
H A D74x164_gpio.c55 SPI_XFER_BEGIN | SPI_XFER_END); in gen_74x164_write_conf()

123