Home
last modified time | relevance | path

Searched refs:data_bytes (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dcadence_qspi.c194 size_t data_bytes; in cadence_spi_xfer() local
206 data_bytes = 0; in cadence_spi_xfer()
208 data_bytes = bitlen / 8; in cadence_spi_xfer()
210 debug("%s: len=%zu [bytes]\n", __func__, data_bytes); in cadence_spi_xfer()
222 if (din && data_bytes) { in cadence_spi_xfer()
241 data_bytes, din); in cadence_spi_xfer()
247 data_bytes, dout); in cadence_spi_xfer()
254 (plat, data_bytes, din); in cadence_spi_xfer()
262 (plat, data_bytes, dout); in cadence_spi_xfer()
H A Dbcm63xx_spi.c199 size_t data_bytes = bitlen / 8; in bcm63xx_spi_xfer() local
217 if (data_bytes > regs[SPI_RX_SIZE]) { in bcm63xx_spi_xfer()
225 if (priv->tx_bytes + data_bytes > regs[SPI_TX_SIZE]) { in bcm63xx_spi_xfer()
232 dout, data_bytes); in bcm63xx_spi_xfer()
233 priv->tx_bytes += data_bytes; in bcm63xx_spi_xfer()
251 val = data_bytes; in bcm63xx_spi_xfer()
257 val = data_bytes; in bcm63xx_spi_xfer()
296 data_bytes); in bcm63xx_spi_xfer()
H A Dbcm63xx_hsspi.c218 size_t data_bytes = bitlen / 8; in bcm63xx_hsspi_xfer() local
253 while (data_bytes > 0) { in bcm63xx_hsspi_xfer()
254 size_t curr_step = min(step_size, data_bytes); in bcm63xx_hsspi_xfer()
292 data_bytes -= curr_step; in bcm63xx_hsspi_xfer()
H A Daspeed_spi.c1164 size_t data_bytes; in aspeed_spi_xfer() local
1180 data_bytes = 0; in aspeed_spi_xfer()
1182 data_bytes = bitlen / 8; in aspeed_spi_xfer()
1186 din ? "read" : "write", priv->cmd_len, data_bytes); in aspeed_spi_xfer()
1194 if (din && data_bytes) { in aspeed_spi_xfer()
1198 din, data_bytes); in aspeed_spi_xfer()
1202 cmd_buf, data_bytes, in aspeed_spi_xfer()
1210 cmd_buf, data_bytes, in aspeed_spi_xfer()
1216 cmd_buf, data_bytes, in aspeed_spi_xfer()
1223 dout, data_bytes); in aspeed_spi_xfer()
[all …]
H A Dich.c216 static void spi_setup_type(struct spi_trans *trans, int data_bytes) in spi_setup_type() argument
222 if (trans->bytesout + data_bytes > 4) in spi_setup_type()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_checkptrw.c261 u8 *data_bytes = (u8 *) data; in yaffs2_checkpt_wr() local
270 dev->checkpt_buffer[dev->checkpt_byte_offs] = *data_bytes; in yaffs2_checkpt_wr()
271 dev->checkpt_sum += *data_bytes; in yaffs2_checkpt_wr()
272 dev->checkpt_xor ^= *data_bytes; in yaffs2_checkpt_wr()
276 data_bytes++; in yaffs2_checkpt_wr()
294 u8 *data_bytes = (u8 *) data; in yaffs2_checkpt_rd() local
346 *data_bytes = dev->checkpt_buffer[dev->checkpt_byte_offs]; in yaffs2_checkpt_rd()
347 dev->checkpt_sum += *data_bytes; in yaffs2_checkpt_rd()
348 dev->checkpt_xor ^= *data_bytes; in yaffs2_checkpt_rd()
351 data_bytes++; in yaffs2_checkpt_rd()
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/
H A Dcrypto.h47 extern int rsa_alg(u8 *data, int data_bytes, u8 *m, int m_bits, u8 *e, int e_bits, u8 *dst, void *c…
/openbmc/qemu/block/
H A Dqcow2-cluster.c894 unsigned data_bytes = end->offset - (start->offset + start->nb_bytes); in perform_cow() local
901 assert(start->nb_bytes + end->nb_bytes <= UINT_MAX - data_bytes); in perform_cow()
911 merge_reads = start->nb_bytes && end->nb_bytes && data_bytes <= 16384; in perform_cow()
913 buffer_size = start->nb_bytes + data_bytes + end->nb_bytes; in perform_cow()
937 data_bytes) in perform_cow()
988 qemu_iovec_concat(&qiov, m->data_qiov, m->data_qiov_offset, data_bytes); in perform_cow()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dvmt.c45 __ATTR(data_bytes, S_IRUGO, vol_attribute_show, NULL);
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0004-FF-A-v15-arm_ffa-introduce-Arm-FF-A-support.patch999 + u64 data_bytes;
1003 + data_bytes = count * sizeof(struct ffa_partition_desc);
1007 + if (data_bytes > buf_bytes) {
1010 + data_bytes,
1016 + uc_priv->partitions.descs = devm_kmalloc(dev, data_bytes, __GFP_ZERO);