Lines Matching refs:addr
311 uint32_t addr; in USBD_StandardRequest() local
325 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_StandardRequest()
326 M8(addr) = (uint8_t)g_usbd_UsbConfig; in USBD_StandardRequest()
343 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_StandardRequest()
344 M8(addr) = (uint8_t)g_usbd_UsbAltInterface; in USBD_StandardRequest()
368 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_StandardRequest()
369 M8(addr) = u8Tmp; in USBD_StandardRequest()
375 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_StandardRequest()
376 M8(addr) = (uint8_t)0ul; in USBD_StandardRequest()
382 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_StandardRequest()
383 M8(addr) = (uint8_t)(USBD_GetStall(ep) ? 1ul : 0ul); in USBD_StandardRequest()
386 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0) + 1ul; in USBD_StandardRequest()
387 M8(addr) = (uint8_t)0ul; in USBD_StandardRequest()
520 uint32_t addr; in USBD_PrepareCtrlIn() local
527 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_PrepareCtrlIn()
528 USBD_MemCopy((uint8_t *)addr, pu8Buf, g_usbd_CtrlMaxPktSize); in USBD_PrepareCtrlIn()
537 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_PrepareCtrlIn()
538 USBD_MemCopy((uint8_t *)addr, pu8Buf, u32Size); in USBD_PrepareCtrlIn()
555 uint32_t addr; in USBD_CtrlIn() local
563 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_CtrlIn()
564 USBD_MemCopy((uint8_t *)addr, (uint8_t *)g_usbd_CtrlInPointer, g_usbd_CtrlMaxPktSize); in USBD_CtrlIn()
572 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP0); in USBD_CtrlIn()
573 USBD_MemCopy((uint8_t *)addr, (uint8_t *)g_usbd_CtrlInPointer, g_usbd_CtrlInSize); in USBD_CtrlIn()
584 addr = USBD_GET_ADDR(); in USBD_CtrlIn()
585 if((addr != g_usbd_UsbAddr) && (addr == 0ul)) in USBD_CtrlIn()
632 uint32_t addr; in USBD_CtrlOut() local
640 addr = USBD_BUF_BASE + USBD_GET_EP_BUF_ADDR(EP1); in USBD_CtrlOut()
641 USBD_MemCopy((uint8_t *)g_usbd_CtrlOutPointer, (uint8_t *)addr, u32Size); in USBD_CtrlOut()