Home
last modified time | relevance | path

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

/hal_microchip-3.7.0/mpfs/drivers/mss/mss_usb/
Dmss_usb_host_msc.c141 static void usbh_msc_construct_class_req(uint8_t* buf,
750 uint8_t* buf, in usbh_msc_construct_class_req() argument
756 buf[0] = 0x21u; /* bmRequestType */ in usbh_msc_construct_class_req()
757 buf[1] = req; /* bmRequest */ in usbh_msc_construct_class_req()
759 buf[2] = 0x00u; in usbh_msc_construct_class_req()
760 buf[3] = 0x00u; /* wValue */ in usbh_msc_construct_class_req()
762 buf[4] = bInterfaceNumber; in usbh_msc_construct_class_req()
763 buf[5] = 0x00u; /* wIndex */ in usbh_msc_construct_class_req()
767 buf[6] = 0x01u; in usbh_msc_construct_class_req()
768 buf[0] = 0xA1u; /* bmRequestType */ in usbh_msc_construct_class_req()
[all …]
Dmss_usb_host_msc.h588 uint8_t* buf,
646 uint8_t* buf,
819 msd_cbw_t* buf
860 msd_cbw_t* buf
Dmss_usb_device_msd.c94 static void usbd_msc_send_data(uint8_t* buf, uint32_t len);
95 static void usbd_msc_receive_data(uint8_t* buf, uint32_t len);
932 uint8_t* buf; in usbd_msc_bot_fsm() local
938 &buf, in usbd_msc_bot_fsm()
947 g_xfr_buf_ptr = buf; in usbd_msc_bot_fsm()
950 usbd_msc_send_data(buf, g_xfr_buf_len); in usbd_msc_bot_fsm()
1418 uint8_t* buf, in usbd_msc_send_data() argument
1424 MSS_USBD_tx_ep_write(MSC_CLASS_BULK_TX_EP, buf, len); in usbd_msc_send_data()
1455 uint8_t* buf, in usbd_msc_receive_data() argument
1493 uint8_t* buf = 0; in usbd_msc_process_read_10() local
[all …]
Dmss_usb_host.c452 uint8_t* buf, in MSS_USBH_write_out_pipe() argument
465 ASSERT(buf); in MSS_USBH_write_out_pipe()
468 (maxpktsz != 0u) && (buf != 0u) ) in MSS_USBH_write_out_pipe()
487 txep_ptr->buf_addr = buf; in MSS_USBH_write_out_pipe()
515 uint8_t* buf, in MSS_USBH_read_in_pipe() argument
528 ASSERT(buf); in MSS_USBH_read_in_pipe()
531 (tdev_ep_maxpktsz != 0u) && (buf != 0u)) in MSS_USBH_read_in_pipe()
549 rxep_ptr->buf_addr = buf; in MSS_USBH_read_in_pipe()
673 uint8_t* buf, in MSS_USBH_construct_get_descr_command() argument
684 buf[0] = (xfr_dir| req_type| recip_type); in MSS_USBH_construct_get_descr_command()
[all …]
Dmss_usb_host.h1319 uint8_t* buf,
1384 uint8_t* buf,
1592 uint8_t* buf,
Dmss_usb_device.c110 static uint8_t mss_usbd_std_requests(uint8_t** buf,uint32_t* length);
892 uint8_t* buf = 0; in mss_usbd_cep_setup_cb() local
920 result = mss_usbd_std_requests(&buf, &length); in mss_usbd_cep_setup_cb()
925 result = mss_usbd_class_requests(&buf, &length); in mss_usbd_cep_setup_cb()
930 result = mss_usbd_vendor_requests(&buf, &length); in mss_usbd_cep_setup_cb()
995 if((uint8_t*)0 == buf) in mss_usbd_cep_setup_cb()
1005 MSS_USBD_cep_write(buf,length); in mss_usbd_cep_setup_cb()
1010 MSS_USBD_cep_read_prepare(buf,length); in mss_usbd_cep_setup_cb()
1608 uint8_t** buf, in mss_usbd_std_requests() argument
1617 result = mss_usbd_get_descriptor(buf, length); in mss_usbd_std_requests()
[all …]
Dmss_usb_device_hid.c165 uint8_t * buf, in MSS_USBD_HID_tx_report() argument
172 MSS_USBD_tx_ep_write(HID_INTR_TX_EP, buf, length); in MSS_USBD_HID_tx_report()
Dmss_usb_device_hid.h232 uint8_t* buf,
Dmss_usb_device_msd.h259 uint8_t **buf,
/hal_microchip-3.7.0/mec5/drivers/
Dmec_espi_oob.c160 struct mec_espi_oob_buf * buf) in mec_hal_espi_oob_buffer_set() argument
164 if (!iobase || !buf) { in mec_hal_espi_oob_buffer_set()
168 if (buf->maddr & 0x03u) { in mec_hal_espi_oob_buffer_set()
172 if (!buf->len) { in mec_hal_espi_oob_buffer_set()
177 lenb = buf->len; in mec_hal_espi_oob_buffer_set()
183 iobase->OOBRXA = buf->maddr; in mec_hal_espi_oob_buffer_set()
188 iobase->OOBTXA = buf->maddr; in mec_hal_espi_oob_buffer_set()
Dmec_qspi_api.h136 void *buf; member
229 int mec_hal_qspi_wr_tx_fifo(struct mec_qspi_regs *regs, const uint8_t *buf, uint32_t bufsz,
232 int mec_hal_qspi_rd_rx_fifo(struct mec_qspi_regs *regs, uint8_t *buf, uint32_t bufsz,
Dmec_espi_oob.h72 struct mec_espi_oob_buf * buf);
Dmec_qspi.c752 int mec_hal_qspi_wr_tx_fifo(struct mec_qspi_regs *regs, const uint8_t *buf, uint32_t bufsz, in mec_hal_qspi_wr_tx_fifo() argument
758 if (!regs || (!buf && bufsz)) { in mec_hal_qspi_wr_tx_fifo()
766 *tx_fifo = *buf++; in mec_hal_qspi_wr_tx_fifo()
782 int mec_hal_qspi_rd_rx_fifo(struct mec_qspi_regs *regs, uint8_t *buf, uint32_t bufsz, in mec_hal_qspi_rd_rx_fifo() argument
798 if (buf) { in mec_hal_qspi_rd_rx_fifo()
799 *buf++ = db; in mec_hal_qspi_rd_rx_fifo()
/hal_microchip-3.7.0/mpfs/mpfs_hal/startup_gcc/
Dnewlib_stubs.c354 int _times(struct tms *buf);
355 int _times(struct tms *buf) in _times() argument
357 (void)buf; in _times()
/hal_microchip-3.7.0/mpfs/drivers/fpga_ip/CoreSysServices_PF/
Dcore_sysservices_pf.c214 uint8_t buf[12] = {0}; in SYS_query_security() local
221 buf, in SYS_query_security()
228 *(p_security_locks+idx) = buf[idx]; in SYS_query_security()
232 uint8_t buf[36] = {0}; in SYS_query_security() local
237 buf, in SYS_query_security()
244 *(p_security_locks+idx) = buf[idx]; in SYS_query_security()
/hal_microchip-3.7.0/mpfs/drivers/mss/mss_sys_services/
Dmss_sys_services.c344 uint8_t buf[36] = {0}; in MSS_SYS_query_security() local
360 buf, in MSS_SYS_query_security()
371 buf, in MSS_SYS_query_security()
379 *(p_security_locks + idx) = buf[idx]; in MSS_SYS_query_security()