Lines Matching defs:buf
474 rate = (((uint8_t *)req->buf)[0] | (((uint8_t *)req->buf)[1] << 8) |
475 (((uint8_t *)req->buf)[2] << 16));
586 uint8_t *buf = (uint8_t *)req->buf;
595 buf[0] = (uint8_t)g_uac_rate;
596 buf[1] = (uint8_t)(g_uac_rate >> 8);
597 buf[2] = (uint8_t)(g_uac_rate >> 16);
694 uac->inputreq.buf = NULL;
853 void uac_mkdevdesc(uint8_t *buf)
855 errno_t ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, &g_fuac_device_desc, sizeof(g_fuac_device_desc));
863 int16_t uac_mkcfgdesc(uint8_t *buf, struct usbdev_devinfo_s *devinfo)
878 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, des, total_len);
891 int uac_mkstrdesc(uint8_t id, uint8_t *buf)
902 ret = memcpy_s(buf, USB_COMP_EP0_BUFSIZ, str, str[0]);