Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 16 of 16) sorted by relevance

/u-boot/tools/
A Dfit_image.c441 int buf_ptr; in fit_extract_data() local
475 buf_ptr = 0; in fit_extract_data()
486 memcpy(buf + buf_ptr, data, len); in fit_extract_data()
497 params->external_offset + buf_ptr); in fit_extract_data()
500 buf_ptr); in fit_extract_data()
503 buf_ptr += ALIGN(len, align_size); in fit_extract_data()
513 debug("External data size %x\n", buf_ptr); in fit_extract_data()
539 if (write(fd, buf, buf_ptr) != buf_ptr) { in fit_extract_data()
600 int buf_ptr; in fit_import_data() local
605 if (buf_ptr == -1 || len == -1) in fit_import_data()
[all …]
/u-boot/drivers/ddr/marvell/a38x/
A Dddr3_training_ip.h144 u8 ddr3_tip_get_buf_min(u8 *buf_ptr);
145 u8 ddr3_tip_get_buf_max(u8 *buf_ptr);
A Dddr3_training.c2620 u8 ddr3_tip_get_buf_min(u8 *buf_ptr) in ddr3_tip_get_buf_min() argument
2626 if (buf_ptr[cnt] < min_val) in ddr3_tip_get_buf_min()
2627 min_val = buf_ptr[cnt]; in ddr3_tip_get_buf_min()
2636 u8 ddr3_tip_get_buf_max(u8 *buf_ptr) in ddr3_tip_get_buf_max() argument
2642 if (buf_ptr[cnt] > max_val) in ddr3_tip_get_buf_max()
2643 max_val = buf_ptr[cnt]; in ddr3_tip_get_buf_max()
A Dddr3_training_ip_engine.c318 u32 *buf_ptr = NULL; in ddr3_tip_get_buf_ptr() local
320 buf_ptr = &training_res in ddr3_tip_get_buf_ptr()
324 return buf_ptr; in ddr3_tip_get_buf_ptr()
/u-boot/drivers/net/
A Darmada100_fec.h138 u8 *buf_ptr; /* pointer to buffer for this descriptor */ member
146 u8 *buf_ptr; /* Descriptor buffer pointer */ member
A Darmada100_fec.c412 p_rx_desc->buf_ptr = darmdfec->p_rxbuf + i * PKTSIZE_ALIGN; in armdfec_init_rx_desc_ring()
571 p_txdesc->buf_ptr = p; in armdfec_send()
623 (u32)p_rxdesc_curr->buf_ptr, in armdfec_recv()
652 p_rxdesc_curr->buf_ptr + RX_BUF_OFFSET, in armdfec_recv()
A Dmvgbe.h470 u8 *buf_ptr; /* Descriptor buffer pointer */ member
478 u8 *buf_ptr; /* Descriptor buffer ptr */ member
A Dmvgbe.c418 p_rx_desc->buf_ptr = dmvgbe->p_rxbuf + i * PKTSIZE_ALIGN; in mvgbe_init_rx_desc_ring()
600 p_txdesc->buf_ptr = (u8 *) p; in __mvgbe_send()
663 (u32) p_rxdesc_curr->buf_ptr, in __mvgbe_recv()
692 data = (p_rxdesc_curr->buf_ptr + RX_BUF_OFFSET); in __mvgbe_recv()
/u-boot/drivers/mtd/nand/raw/
A Docteontx_bch.h55 struct buf_ptr { struct
/u-boot/drivers/usb/eth/
A Dsmsc95xx.c740 unsigned char *buf_ptr; in smsc95xx_recv() local
762 buf_ptr = recv_buf; in smsc95xx_recv()
772 memcpy(&packet_len, buf_ptr, sizeof(packet_len)); in smsc95xx_recv()
786 net_process_received_packet(buf_ptr + sizeof(packet_len), in smsc95xx_recv()
791 buf_ptr += sizeof(packet_len) + packet_len; in smsc95xx_recv()
792 cur_buf_align = (ulong)buf_ptr - (ulong)recv_buf; in smsc95xx_recv()
798 buf_ptr += align; in smsc95xx_recv()
A Dasix.c519 unsigned char *buf_ptr; in asix_recv() local
543 buf_ptr = recv_buf; in asix_recv()
553 memcpy(&packet_len, buf_ptr, sizeof(packet_len)); in asix_recv()
568 net_process_received_packet(buf_ptr + sizeof(packet_len), in asix_recv()
575 buf_ptr += sizeof(packet_len) + packet_len; in asix_recv()
/u-boot/drivers/tee/optee/
A Doptee_msg.h118 u64 buf_ptr; member
A Dsupplicant.c53 arg->params[0].u.tmem.buf_ptr = ph_ptr; in cmd_shm_alloc()
A Dcore.c462 msg_arg->params->u.tmem.buf_ptr = ph_ptr; in optee_shm_register()
/u-boot/include/linux/soc/ti/
A Dcppi5.h31 u64 buf_ptr; /* w6/7: Buffer pointer */ member
485 desc->buf_ptr = buf; in cppi5_hdesc_attach_buf()
506 desc->buf_ptr = desc->org_buf_ptr; in cppi5_hdesc_reset_to_original()
/u-boot/drivers/usb/host/
A Dehci-hcd.c506 uint8_t *buf_ptr = buffer; in ehci_submit_async() local
520 xfr_bytes -= (unsigned long)buf_ptr & (EHCI_PAGE_SIZE - 1); in ehci_submit_async()
553 if (ehci_td_buffer(&qtd[qtd_counter], buf_ptr, in ehci_submit_async()
568 buf_ptr += xfr_bytes; in ehci_submit_async()

Completed in 34 milliseconds