Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A Dspi-mem-nodm.c15 u8 *op_buf; in spi_mem_exec_op() local
29 op_buf = calloc(1, op_len); in spi_mem_exec_op()
35 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op()
39 op_buf[pos + i] = op->addr.val >> in spi_mem_exec_op()
46 memset(op_buf + pos, 0xff, op->dummy.nbytes); in spi_mem_exec_op()
54 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op()
69 debug("%02x ", op_buf[i]); in spi_mem_exec_op()
77 free(op_buf); in spi_mem_exec_op()
H A Dspi-mem.c204 u8 *op_buf; in spi_mem_exec_op() local
341 op_buf = calloc(1, op_len); in spi_mem_exec_op()
343 op_buf[pos++] = op->cmd.opcode; in spi_mem_exec_op()
347 op_buf[pos + i] = op->addr.val >> in spi_mem_exec_op()
354 memset(op_buf + pos, 0xff, op->dummy.nbytes); in spi_mem_exec_op()
362 ret = spi_xfer(slave, op_len * 8, op_buf, NULL, flag); in spi_mem_exec_op()
377 debug("%02x ", op_buf[i]); in spi_mem_exec_op()
385 free(op_buf); in spi_mem_exec_op()
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dopenpromio.h57 char __user *op_buf; /* Pointer to buffer. */ member
/openbmc/linux/drivers/sbus/char/
H A Dopenprom.c409 copy_to_user(op.op_buf, pval, len)) in opiocget()
457 copy_to_user(op.op_buf, prop->value, len)) in opiocnextprop()
481 tmp = copyin_string(op.op_buf, op.op_buflen); in opiocset()