Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 25 of 26) sorted by relevance

12

/u-boot/lib/
A Dasn1_decoder.c74 if (datalen == dp) in asn1_find_indefinite_length()
117 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length()
125 if (len > datalen - dp) in asn1_find_indefinite_length()
177 size_t datalen) in asn1_ber_decoder() argument
204 if (datalen > 65535) in asn1_ber_decoder()
305 datalen = dp + len; in asn1_ber_decoder()
404 len = datalen; in asn1_ber_decoder()
407 tdp, dp, len, datalen); in asn1_ber_decoder()
408 if (datalen == 0) { in asn1_ber_decoder()
410 datalen = len; in asn1_ber_decoder()
[all …]
/u-boot/common/
A Dbedbug.c153 ctx.datalen = 10; in disppc()
188 sprintf (&ctx.data[ctx.datalen], in disppc()
193 ctx.datalen += 18; in disppc()
196 ctx.datalen += 3; in disppc()
203 ctx.datalen += 24; in disppc()
212 ctx.datalen += 8; in disppc()
260 ctx->datalen++; in print_operands()
321 ctx->datalen += 3; in print_operands()
683 ctx->datalen += 8; in handle_bc()
689 ctx->datalen += 8; in handle_bc()
[all …]
A Dusb_storage.c633 if (srb->datalen) { in usb_stor_CB_comdat()
635 srb->datalen); in usb_stor_CB_comdat()
737 if (srb->datalen == 0) in usb_stor_BBB_transport()
800 if (pipe == 0 && srb->datalen != 0 && srb->datalen - data_actlen != 0) in usb_stor_BBB_transport()
883 psrb->datalen = 18; in usb_stor_CB_transport()
985 srb->datalen = 36; in usb_inquiry()
1009 srb->datalen = 18; in usb_request_sense()
1028 srb->datalen = 0; in usb_test_unit_ready()
1060 srb->datalen = 8; in usb_read_capacity()
1197 buf_addr += srb->datalen; in usb_stor_read()
[all …]
/u-boot/include/crypto/
A Dpkcs7.h23 size_t datalen);
51 const void *data, size_t datalen);
A Dx509_parser.h51 extern struct x509_certificate *x509_cert_parse(const void *data, size_t datalen);
/u-boot/drivers/scsi/
A Dscsi.c96 if (pccb->datalen > 255) in scsi_setup_inquiry()
99 pccb->cmd[4] = (unsigned char)pccb->datalen; in scsi_setup_inquiry()
181 pccb->datalen = block_dev->blksz * blocks; in scsi_read()
194 pccb->datalen = block_dev->blksz * blks; in scsi_read()
208 buf_addr += pccb->datalen; in scsi_read()
253 pccb->datalen = block_dev->blksz * blks; in scsi_write()
266 buf_addr += pccb->datalen; in scsi_write()
368 pccb->datalen = 8; in scsi_read_capacity()
393 pccb->datalen = 16; in scsi_read_capacity()
496 pccb->datalen = 512; in scsi_detect_dev()
[all …]
/u-boot/include/linux/
A Dasn1_decoder.h18 size_t datalen);
/u-boot/drivers/usb/gadget/
A Df_sdp.c380 int datalen = req->actual - 1; in sdp_rx_data_complete() local
392 if (sdp->dnl_bytes_remaining < datalen) { in sdp_rx_data_complete()
400 sdp->dnl_bytes_remaining -= datalen; in sdp_rx_data_complete()
404 memcpy(sdp_ptr(sdp->dnl_address), req->buf + 1, datalen); in sdp_rx_data_complete()
405 sdp->dnl_address += datalen; in sdp_rx_data_complete()
780 int datalen; in sdp_handle_in_ep() local
807 datalen = sdp_func->dnl_bytes_remaining; in sdp_handle_in_ep()
809 if (datalen > 64) in sdp_handle_in_ep()
810 datalen = 64; in sdp_handle_in_ep()
815 sdp_func->dnl_bytes_remaining -= datalen; in sdp_handle_in_ep()
[all …]
/u-boot/doc/
A DREADME.asn130 const unsigned char *data, size_t datalen);
35 @datalen: size of data
/u-boot/include/linux/mtd/
A Dnand.h99 unsigned int datalen; member
625 iter->req.datalen = min_t(unsigned int, in nanddev_io_iter_init()
645 iter->dataleft -= iter->req.datalen; in nanddev_io_iter_next_page()
646 iter->req.databuf.in += iter->req.datalen; in nanddev_io_iter_next_page()
651 iter->req.datalen = min_t(unsigned int, nand->memorg.pagesize, in nanddev_io_iter_next_page()
A Drawnand.h1287 int nand_check_erased_ecc_chunk(void *data, int datalen,
/u-boot/drivers/mtd/nand/spi/
A Dcore.c255 if (req->datalen) { in spinand_read_from_cache_op()
256 adjreq.datalen = nanddev_page_size(nand); in spinand_read_from_cache_op()
260 nbytes = adjreq.datalen; in spinand_read_from_cache_op()
298 if (req->datalen) in spinand_read_from_cache_op()
300 req->datalen); in spinand_read_from_cache_op()
332 if (req->datalen) { in spinand_write_to_cache_op()
334 req->datalen); in spinand_write_to_cache_op()
336 adjreq.datalen = nanddev_page_size(nand); in spinand_write_to_cache_op()
338 nbytes = adjreq.datalen; in spinand_write_to_cache_op()
604 ops->retlen += iter.req.datalen; in spinand_mtd_read()
[all …]
/u-boot/test/dm/
A Dacpi_dp.c335 const int datalen = i ? 1 : 2; in dm_test_acpi_dp_child() local
341 ut_asserteq(0x27 + len + datalen, acpi_test_get_length(pptr + 6)); in dm_test_acpi_dp_child()
356 ut_asserteq(0xb + len + datalen, acpi_test_get_length(pptr + 1)); in dm_test_acpi_dp_child()
363 ut_asserteq(6 + len + datalen, acpi_test_get_length(pptr + 1)); in dm_test_acpi_dp_child()
377 pptr += 1 + datalen; in dm_test_acpi_dp_child()
/u-boot/include/
A Dscsi.h23 unsigned long datalen; /* Total data length */ member
/u-boot/arch/arm/include/asm/arch-tegra/
A Dbpmp_abi.h535 uint32_t datalen; member
546 uint32_t datalen; member
/u-boot/net/
A Dnfs.c178 static void rpc_req(int rpc_prog, int rpc_proc, uint32_t *data, int datalen) in rpc_req() argument
206 if (datalen) in rpc_req()
207 memcpy(p, data, datalen * sizeof(uint32_t)); in rpc_req()
209 pktlen = (char *)p + datalen * sizeof(uint32_t) - (char *)&rpc_pkt; in rpc_req()
/u-boot/include/bedbug/
A Dppc.h339 int datalen; member
/u-boot/tools/
A Dsunxi-spl-image-builder.c82 int page, uint8_t *data, int datalen) in scramble() argument
107 for (i = 0; i < datalen; i++) { in scramble()
/u-boot/drivers/ufs/
A Dufs.c1402 ucd_req_ptr->sc.exp_data_transfer_len = cpu_to_be32(pccb->datalen); in ufshcd_prepare_utp_scsi_cmd_upiu()
1423 ulong datalen = pccb->datalen; in prepare_prdt_table() local
1428 if (!datalen) { in prepare_prdt_table()
1433 table_length = DIV_ROUND_UP(pccb->datalen, MAX_PRDT_ENTRY); in prepare_prdt_table()
1440 datalen -= MAX_PRDT_ENTRY; in prepare_prdt_table()
1443 prepare_prdt_desc(&prd_table[table_length - i - 1], buf, datalen - 1); in prepare_prdt_table()
/u-boot/lib/crypto/
A Dpkcs7_verify.c662 const void *data, size_t datalen) in pkcs7_supply_detached_data() argument
669 pkcs7->data_len = datalen; in pkcs7_supply_detached_data()
A Dpkcs7_parser.c127 struct pkcs7_message *pkcs7_parse_message(const void *data, size_t datalen) in pkcs7_parse_message() argument
152 ret = asn1_ber_decoder(&pkcs7_decoder, ctx, data, datalen); in pkcs7_parse_message()
A Dx509_public_key.c207 cert = x509_cert_parse(prep->data, prep->datalen); in x509_key_preparse()
A Dx509_cert_parser.c74 struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) in x509_cert_parse() argument
99 ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen); in x509_cert_parse()
A Dasymmetric_type.c395 if (prep->datalen == 0) in asymmetric_key_preparse()
/u-boot/drivers/ata/
A Dahci.c710 memset(pccb->pdata, 0, pccb->datalen); in ata_scsiop_inquiry()
714 if (pccb->datalen <= 35) in ata_scsiop_inquiry()
766 u32 user_buffer_size = pccb->datalen; in ata_scsiop_read_write()

Completed in 47 milliseconds

12