Home
last modified time | relevance | path

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

/u-boot/drivers/crypto/fsl/
A Dfsl_hash.c164 int caam_hash(const unsigned char *pbuf, unsigned int buf_len, in caam_hash() argument
177 if (!IS_ALIGNED((uintptr_t)pbuf, ARCH_DMA_MINALIGN) || in caam_hash()
184 flush_dcache_range((unsigned long)pbuf, (unsigned long)pbuf + size); in caam_hash()
186 inline_cnstr_jobdesc_hash(desc, pbuf, buf_len, pout, in caam_hash()
204 void hw_sha256(const unsigned char *pbuf, unsigned int buf_len, in hw_sha256() argument
207 if (caam_hash(pbuf, buf_len, pout, SHA256)) in hw_sha256()
211 void hw_sha1(const unsigned char *pbuf, unsigned int buf_len, in hw_sha1() argument
214 if (caam_hash(pbuf, buf_len, pout, SHA1)) in hw_sha1()
/u-boot/drivers/crypto/
A Dace_sha.c29 int ace_sha_hash_digest(const unsigned char *pbuf, unsigned int buf_len, in ace_sha_hash_digest() argument
73 writel((unsigned int)pbuf, &ace_sha_reg->fc_hrdmas); in ace_sha_hash_digest()
104 void hw_sha256(const unsigned char *pbuf, unsigned int buf_len, in hw_sha256() argument
107 if (ace_sha_hash_digest(pbuf, buf_len, pout, ACE_SHA_TYPE_SHA256)) in hw_sha256()
111 void hw_sha1(const unsigned char *pbuf, unsigned int buf_len, in hw_sha1() argument
114 if (ace_sha_hash_digest(pbuf, buf_len, pout, ACE_SHA_TYPE_SHA1)) in hw_sha1()
/u-boot/drivers/block/
A Dide.c139 volatile ushort *pbuf; in ide_output_data_shorts() local
149 *pbuf = *dbuf++; in ide_output_data_shorts()
156 volatile ushort *pbuf; in ide_input_data_shorts() local
166 *dbuf++ = *pbuf; in ide_input_data_shorts()
858 volatile ushort *pbuf = in ide_input_swap_data() local
882 volatile ushort *pbuf; in ide_output_data() local
888 *pbuf = *dbuf++; in ide_output_data()
890 *pbuf = *dbuf++; in ide_output_data()
908 volatile ushort *pbuf; in ide_input_data() local
917 *dbuf++ = *pbuf; in ide_input_data()
[all …]
/u-boot/drivers/mmc/
A Dtmio-common.c143 char *pbuf, uint blksz) \
145 u##__width *buf = (u##__width *)pbuf; \
168 char *pbuf, uint blocksize) in tmio_sd_pio_read_one_block() argument
186 tmio_pio_read_fifo_64(priv, pbuf, blocksize); in tmio_sd_pio_read_one_block()
188 tmio_pio_read_fifo_16(priv, pbuf, blocksize); in tmio_sd_pio_read_one_block()
190 tmio_pio_read_fifo_32(priv, pbuf, blocksize); in tmio_sd_pio_read_one_block()
197 const char *pbuf, uint blksz)\
221 const char *pbuf, uint blocksize) in tmio_sd_pio_write_one_block() argument
235 tmio_pio_write_fifo_64(priv, pbuf, blocksize); in tmio_sd_pio_write_one_block()
237 tmio_pio_write_fifo_16(priv, pbuf, blocksize); in tmio_sd_pio_write_one_block()
[all …]
/u-boot/drivers/i2c/
A Drk_i2c.c169 uchar *pbuf = buf; in rk_i2c_read() local
248 *pbuf++ = (rxdata >> (j * 8)) & 0xff; in rk_i2c_read()
268 uchar *pbuf = buf; in rk_i2c_write() local
295 if (i == 0 && j == 0 && pbuf == buf) { in rk_i2c_write()
297 } else if (i == 0 && j <= r_len && pbuf == buf) { in rk_i2c_write()
301 txdata |= (*pbuf++)<<(j * 8); in rk_i2c_write()
/u-boot/drivers/net/
A Dne2000_base.c656 static u8 *pbuf = NULL; variable
667 dp83902a_recv(&pbuf[0], len); in uboot_push_packet_len()
670 net_process_received_packet(&pbuf[0], len); in uboot_push_packet_len()
689 if (!pbuf) { in ne2k_setup_driver()
690 pbuf = malloc(2000); in ne2k_setup_driver()
691 if (!pbuf) { in ne2k_setup_driver()
A Dftmac110.h139 uint32_t pbuf; member
A Dftmac110.c444 chip->txd[i].pbuf = cpu_to_le32(virt_to_phys(va)); in ftmac110_initialize()
465 chip->rxd[i].pbuf = cpu_to_le32(virt_to_phys(va)); in ftmac110_initialize()
/u-boot/drivers/mtd/ubi/
A Dbuild.c1455 char *pbuf = &buf[0]; in ubi_mtd_param_parse() local
1486 tokens[i] = strsep(&pbuf, ","); in ubi_mtd_param_parse()
1488 if (pbuf) { in ubi_mtd_param_parse()
/u-boot/fs/ubifs/
A Drecovery.c104 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node() argument
180 *pbuf = sbuf; in get_master_node()

Completed in 22 milliseconds