/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_usb.c | 544 if (ep->xfer_len == 0) in USB_EPStartXfer() 559 …USBx_INEP(ep->num)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (((ep->xfer_len + ep->maxpacket -1)/ ep… in USB_EPStartXfer() 560 USBx_INEP(ep->num)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len); in USB_EPStartXfer() 571 if (ep->xfer_len > 0) in USB_EPStartXfer() 594 USB_WritePacket(USBx, ep->xfer_buff, ep->num, ep->xfer_len, dma); in USB_EPStartXfer() 606 if (ep->xfer_len == 0) in USB_EPStartXfer() 613 pktcnt = (ep->xfer_len + ep->maxpacket -1)/ ep->maxpacket; in USB_EPStartXfer() 655 if (ep->xfer_len == 0) in USB_EP0StartXfer() 671 if(ep->xfer_len > ep->maxpacket) in USB_EP0StartXfer() 673 ep->xfer_len = ep->maxpacket; in USB_EP0StartXfer() [all …]
|
D | stm32l4xx_hal_pcd.c | 192 hpcd->IN_ep[index].xfer_len = 0; in HAL_PCD_Init() 204 hpcd->OUT_ep[index].xfer_len = 0; in HAL_PCD_Init() 396 if (!epnum && !hpcd->OUT_ep[epnum].xfer_len) in HAL_PCD_IRQHandler() 421 if (!epnum && !hpcd->OUT_ep[epnum].xfer_len) in HAL_PCD_IRQHandler() 485 if((epnum == 0) && (hpcd->IN_ep[epnum].xfer_len == 0)) in HAL_PCD_IRQHandler() 1185 ep->xfer_len = len; in HAL_PCD_EP_Receive() 1228 ep->xfer_len = len; in HAL_PCD_EP_Transmit() 1408 len = ep->xfer_len - ep->xfer_count; in PCD_WriteEmptyTxFifo() 1419 ep->xfer_count < ep->xfer_len && in PCD_WriteEmptyTxFifo() 1420 ep->xfer_len != 0) in PCD_WriteEmptyTxFifo() [all …]
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_usb.c | 544 if (ep->xfer_len == 0) in USB_EPStartXfer() 559 …USBx_INEP(ep->num)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (((ep->xfer_len + ep->maxpacket -1)/ ep… in USB_EPStartXfer() 560 USBx_INEP(ep->num)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len); in USB_EPStartXfer() 571 if (ep->xfer_len > 0) in USB_EPStartXfer() 594 USB_WritePacket(USBx, ep->xfer_buff, ep->num, ep->xfer_len, dma); in USB_EPStartXfer() 606 if (ep->xfer_len == 0) in USB_EPStartXfer() 613 pktcnt = (ep->xfer_len + ep->maxpacket -1)/ ep->maxpacket; in USB_EPStartXfer() 655 if (ep->xfer_len == 0) in USB_EP0StartXfer() 671 if(ep->xfer_len > ep->maxpacket) in USB_EP0StartXfer() 673 ep->xfer_len = ep->maxpacket; in USB_EP0StartXfer() [all …]
|
D | stm32l4xx_hal_pcd.c | 192 hpcd->IN_ep[index].xfer_len = 0; in HAL_PCD_Init() 204 hpcd->OUT_ep[index].xfer_len = 0; in HAL_PCD_Init() 396 if (!epnum && !hpcd->OUT_ep[epnum].xfer_len) in HAL_PCD_IRQHandler() 421 if (!epnum && !hpcd->OUT_ep[epnum].xfer_len) in HAL_PCD_IRQHandler() 485 if((epnum == 0) && (hpcd->IN_ep[epnum].xfer_len == 0)) in HAL_PCD_IRQHandler() 1185 ep->xfer_len = len; in HAL_PCD_EP_Receive() 1228 ep->xfer_len = len; in HAL_PCD_EP_Transmit() 1408 len = ep->xfer_len - ep->xfer_count; in PCD_WriteEmptyTxFifo() 1419 ep->xfer_count < ep->xfer_len && in PCD_WriteEmptyTxFifo() 1420 ep->xfer_len != 0) in PCD_WriteEmptyTxFifo() [all …]
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_cmds_extra.h | 133 void * resp, int xfer_len, int * offsetp, bool noisy, 145 void * resp, int xfer_len, int * offsetp, bool noisy, 307 unsigned int lba, void * data_out, int xfer_len, 319 uint64_t llba, void * data_out, int xfer_len,
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_extra.c | 1199 void * resp, int xfer_len, int * offsetp, bool noisy, in sg_ll_read_long10() argument 1216 sg_put_unaligned_be16((uint16_t)xfer_len, readLong_cdb + 7); in sg_ll_read_long10() 1228 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, xfer_len); in sg_ll_read_long10() 1230 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, xfer_len, sense_b, in sg_ll_read_long10() 1291 void * resp, int xfer_len, int * offsetp, bool noisy, in sg_ll_read_long16() argument 1309 sg_put_unaligned_be16((uint16_t)xfer_len, readLong_cdb + 12); in sg_ll_read_long16() 1321 set_scsi_pt_data_in(ptvp, (unsigned char *)resp, xfer_len); in sg_ll_read_long16() 1323 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, xfer_len, sense_b, in sg_ll_read_long16() 1384 unsigned int lba, void * data_out, int xfer_len, in sg_ll_write_long10() argument 1403 sg_put_unaligned_be16((uint16_t)xfer_len, writeLong_cdb + 7); in sg_ll_write_long10() [all …]
|
D | sg_cmds_basic2.c | 676 int k, n, res, offset, calc_len, xfer_len; in sg_get_mode_page_controls() local 743 xfer_len = calc_len - offset; in sg_get_mode_page_controls() 744 if (xfer_len > mx_mpage_len) in sg_get_mode_page_controls() 745 xfer_len = mx_mpage_len; in sg_get_mode_page_controls() 777 if (xfer_len > 0) in sg_get_mode_page_controls() 778 memcpy(pcontrol_arr[k], buff + offset, xfer_len); in sg_get_mode_page_controls()
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_usb.h | 174 …uint32_t xfer_len; /*!< Current transfer length … member 212 …uint32_t xfer_len; /*!< Current transfer length. … member 300 …uint32_t xfer_len; /*!< Current transfer length … member
|
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_usb.h | 174 …uint32_t xfer_len; /*!< Current transfer length … member 212 …uint32_t xfer_len; /*!< Current transfer length. … member 300 …uint32_t xfer_len; /*!< Current transfer length … member
|