Home
last modified time | relevance | path

Searched refs:tr (Results 1 – 5 of 5) sorted by relevance

/bsp/allwinner/libraries/drivers/
A Ddrv_spi.c116 hal_spi_master_transfer_t tr; in hw_spi_xfer() local
125 tr.rx_buf = message->recv_buf; in hw_spi_xfer()
126 tr.rx_len = message->recv_buf == RT_NULL ? 0 : message->length; in hw_spi_xfer()
127 tr.tx_buf = message->send_buf; in hw_spi_xfer()
128 tr.tx_len = message->send_buf == RT_NULL ? 0 : message->length; in hw_spi_xfer()
129 tr.dummy_byte = 0; in hw_spi_xfer()
130 tr.tx_single_len = message->send_buf == RT_NULL ? 0 : message->length; in hw_spi_xfer()
131 tr.rx_nbits = SPI_NBITS_SINGLE; in hw_spi_xfer()
132 tr.tx_nbits = SPI_NBITS_SINGLE; in hw_spi_xfer()
148 ret = hal_spi_xfer(spi_dev->port, &tr); in hw_spi_xfer()
/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dcore.c123 hal_spi_master_transfer_t tr; in nor_transfer() local
127 tr.tx_buf = tbuf; in nor_transfer()
128 tr.tx_len = tlen; in nor_transfer()
129 tr.rx_buf = rbuf; in nor_transfer()
130 tr.rx_len = rlen; in nor_transfer()
131 tr.tx_single_len = single_len; in nor_transfer()
132 tr.dummy_byte = 0; in nor_transfer()
134 tr.rx_nbits = tr.tx_nbits = SPI_NBITS_SINGLE; in nor_transfer()
139 tr.dummy_byte = 1; in nor_transfer()
146 tr.dummy_byte = 1; in nor_transfer()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/spi/
A Dhal_spi.c1897 tr.tx_buf = buf; in hal_spi_write()
1898 tr.tx_len = size; in hal_spi_write()
1899 tr.rx_buf = NULL; in hal_spi_write()
1900 tr.rx_len = 0; in hal_spi_write()
1901 tr.dummy_byte = 0; in hal_spi_write()
1902 tr.tx_single_len = size; in hal_spi_write()
1916 tr.rx_buf = buf; in hal_spi_read()
1917 tr.rx_len = size; in hal_spi_read()
1918 tr.tx_buf = NULL; in hal_spi_read()
1919 tr.tx_len = 0; in hal_spi_read()
[all …]
/bsp/maxim/libraries/MAX32660PeriphDriver/CMSIS/Device/Maxim/MAX32660/Source/GCC/
A Dgcc.mk184 CFLAGS+=-DTARGET=$(shell echo $(TARGET) | tr -d '[:alpha:]')
185 CXXFLAGS+=-DTARGET=$(shell echo $(TARGET) | tr -d '[:alpha:]')
/bsp/allwinner/libraries/sunxi-hal/hal/test/ce/
A Dtest_ce.h1484 STR=`echo $HASH | tr 'a-z' 'A-Z'`

Completed in 28 milliseconds