Home
last modified time | relevance | path

Searched refs:op_buf (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/spi/
A Dspi-mem-nodm.c17 u8 *op_buf; in spi_mem_exec_op() local
31 op_buf = calloc(1, op_len); in spi_mem_exec_op()
37 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op()
41 op_buf[pos + i] = op->addr.val >> in spi_mem_exec_op()
48 memset(op_buf + pos, 0xff, op->dummy.nbytes); in spi_mem_exec_op()
56 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op()
71 debug("%02x ", op_buf[i]); in spi_mem_exec_op()
79 free(op_buf); in spi_mem_exec_op()
A Dspi-mem.c364 u8 op_buf[op_len]; in spi_mem_exec_op() local
366 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op()
370 op_buf[pos + i] = op->addr.val >> in spi_mem_exec_op()
377 memset(op_buf + pos, 0xff, op->dummy.nbytes); in spi_mem_exec_op()
385 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op()
400 debug("%02x ", op_buf[i]); in spi_mem_exec_op()
A Dspi-sifive.c297 u8 op_buf[op_len]; in sifive_spi_exec_op() local
303 op_buf[pos + i] = op->addr.val >> in sifive_spi_exec_op()
310 memset(op_buf + pos, 0xff, op->dummy.nbytes); in sifive_spi_exec_op()
318 ret = sifive_spi_xfer(dev, op_len * 8, op_buf, NULL, flags); in sifive_spi_exec_op()
A Ddesignware_spi.c576 u8 op_buf[op_len]; in dw_spi_exec_op() local
596 op_buf[pos++] = op->cmd.opcode; in dw_spi_exec_op()
599 op_buf[pos + i] = op->addr.val >> in dw_spi_exec_op()
605 memset(op_buf + pos, 0xff, op->dummy.nbytes); in dw_spi_exec_op()
609 priv->tx = &op_buf; in dw_spi_exec_op()

Completed in 10 milliseconds