Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/boards/mec15xxevb_assy6853/qspi/src/
Dmain.c47 struct spi_buf txb[MAX_TX_BUF], rxb; variable
75 txb[0].buf = &safbuf; in test_spi_device()
76 txb[0].len = 1U; in test_spi_device()
78 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in test_spi_device()
111 txb[0].buf = &safbuf; in test_spi_sector_erase()
112 txb[0].len = 1U; in test_spi_sector_erase()
114 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in test_spi_sector_erase()
131 txb[0].buf = &safbuf; in test_spi_sector_erase()
132 txb[0].len = 4; in test_spi_sector_erase()
134 tx_bufs.buffers = (const struct spi_buf *)&txb[0]; in test_spi_sector_erase()
[all …]
/Zephyr-Core-2.7.6/samples/drivers/espi/src/
Dmain.c210 struct spi_buf txb; in spi_saf_init() local
232 txb.buf = &safbuf; in spi_saf_init()
233 txb.len = 1U; in spi_saf_init()
235 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
261 txb.buf = &safbuf; in spi_saf_init()
262 txb.len = 1U; in spi_saf_init()
264 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
292 txb.buf = &safbuf; in spi_saf_init()
293 txb.len = 1U; in spi_saf_init()
295 tx_bufs.buffers = (const struct spi_buf *)&txb; in spi_saf_init()
[all …]
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_xec_qmspi.c318 static int qmspi_descr_alloc(QMSPI_Type *regs, const struct spi_buf *txb, in qmspi_descr_alloc() argument
328 if (txb->len == 0) { in qmspi_descr_alloc()
341 qshift = qlen_shift(txb->len); in qmspi_descr_alloc()
342 nu = txb->len >> qshift; in qmspi_descr_alloc()
/Zephyr-Core-2.7.6/drivers/ethernet/
Deth_e1000_priv.h87 uint8_t txb[NET_ETH_MTU]; member
Deth_e1000.c138 if (net_pkt_read(pkt, dev->txb, len)) { in e1000_send()
142 return e1000_tx(dev, dev->txb, len); in e1000_send()