Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 8 of 8) sorted by relevance

/bsp/hpmicro/libraries/hpm_sdk/components/usb/device/
A Dhpm_usb_device.c17 static void usb_qtd_init(dcd_qtd_t *p_qtd, void *data_ptr, uint16_t total_bytes) in usb_qtd_init() argument
23 p_qtd->total_bytes = p_qtd->expected_bytes = total_bytes; in usb_qtd_init()
221 …vice_edpt_xfer(usb_device_handle_t *handle, uint8_t ep_addr, uint8_t *buffer, uint32_t total_bytes) in usb_device_edpt_xfer() argument
242 qtd_num = (total_bytes + 0x3fff) / 0x4000; in usb_device_edpt_xfer()
256 if (total_bytes > 0x4000) { in usb_device_edpt_xfer()
258 total_bytes -= 0x4000; in usb_device_edpt_xfer()
260 xfer_len = total_bytes; in usb_device_edpt_xfer()
261 total_bytes = 0; in usb_device_edpt_xfer()
265 if (total_bytes == 0) { in usb_device_edpt_xfer()
276 } while (total_bytes > 0); in usb_device_edpt_xfer()
A Dhpm_usb_device.h43 volatile uint32_t total_bytes : 15; member
135 …ice_edpt_xfer(usb_device_handle_t *handle, uint8_t ep_addr, uint8_t *buffer, uint32_t total_bytes);
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_jpeg_drv.c145 uint32_t total_bytes; in jpeg_start_encode() local
159 total_bytes = macro_block_count * macro_block_bytes; in jpeg_start_encode()
168 ptr->INDMA_CTRL0 = JPEG_INDMA_CTRL0_TTLEN_SET(total_bytes) in jpeg_start_encode()
170 ptr->INDMA_CTRL1 = JPEG_INDMA_CTRL1_ROWLEN_SET(total_bytes >> 16); in jpeg_start_encode()
182 ptr->OUTDMA_CTRL0 = JPEG_OUTDMA_CTRL0_TTLEN_SET(total_bytes); in jpeg_start_encode()
183 ptr->OUTDMA_CTRL1 = JPEG_OUTDMA_CTRL1_ROWLEN_SET(total_bytes >> 16); in jpeg_start_encode()
242 uint32_t total_bytes; in jpeg_start_decode() local
256 total_bytes = macro_block_count * macro_block_bytes; in jpeg_start_decode()
277 ptr->OUTDMA_CTRL0 = JPEG_OUTDMA_CTRL0_TTLEN_SET(total_bytes) in jpeg_start_decode()
279 ptr->OUTDMA_CTRL1 = JPEG_OUTDMA_CTRL1_ROWLEN_SET(total_bytes >> 16); in jpeg_start_decode()
/bsp/hpmicro/libraries/hpm_sdk/components/usb/host/
A Dhpm_usb_host.c248 static void usb_host_qtd_init(hcd_qtd_t *p_qtd, void *buffer, uint16_t total_bytes) in usb_host_qtd_init() argument
258 p_qtd->total_bytes = total_bytes; in usb_host_qtd_init()
259 p_qtd->expected_bytes = total_bytes; in usb_host_qtd_init()
544 …b_host_handle_t *handle, uint8_t dev_addr, uint8_t ep_addr, uint8_t buffer[], uint16_t total_bytes) in usb_host_pipe_queue_xfer() argument
554 usb_host_qtd_init(p_qtd, buffer, total_bytes); in usb_host_pipe_queue_xfer()
563 …*handle, uint8_t dev_addr, uint8_t ep_addr, uint8_t buffer[], uint16_t total_bytes, bool int_on_co… in usb_host_pipe_xfer() argument
567 if (usb_host_pipe_queue_xfer(handle, dev_addr, ep_addr, buffer, total_bytes) == false) { in usb_host_pipe_xfer()
A Dhpm_usb_host.h130 volatile uint32_t total_bytes : 15 ; /* Transfer bytes, decreased during transaction */ member
284 …_host_handle_t *handle, uint8_t dev_addr, uint8_t ep_addr, uint8_t buffer[], uint16_t total_bytes);
285 …*handle, uint8_t dev_addr, uint8_t ep_addr, uint8_t buffer[], uint16_t total_bytes, bool int_on_co…
/bsp/phytium/libraries/drivers/
A Ddrv_i2s.c166 …t phytium_i2s_device *i2s_dev, u32 work_mode, const void *src, fsize_t total_bytes, fsize_t per_bu… in FI2sDdmaDeviceRX() argument
169 fsize_t bdl_num = total_bytes / per_buff_len; in FI2sDdmaDeviceRX()
171 rt_hw_cpu_dcache_clean((uintptr)src, total_bytes); in FI2sDdmaDeviceRX()
210 i2s_dev->rx_config.trans_len = total_bytes; in FI2sDdmaDeviceRX()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/
A Dblkpart.h52 uint64_t total_bytes; member
/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dhal_spinor.c196 norblk.total_bytes = nor->total_size; in nor_blkpart_init()

Completed in 20 milliseconds