Lines Matching refs:bank
296 UsbDeviceDescBank *bank; in usb_dc_release_buffers() local
302 bank = &data->descriptors[i].DeviceDescBank[j]; in usb_dc_release_buffers()
303 buf = (void *)bank->ADDR.reg; in usb_dc_release_buffers()
312 bank->ADDR.reg = (uintptr_t) NULL; in usb_dc_release_buffers()
387 UsbDeviceDescBank *bank; in usb_dc_ep_configure() local
424 bank = &desc->DeviceDescBank[1]; in usb_dc_ep_configure()
426 bank = &desc->DeviceDescBank[0]; in usb_dc_ep_configure()
429 buf = (void *)bank->ADDR.reg; in usb_dc_ep_configure()
431 if (bank->PCKSIZE.bit.SIZE != size || buf == NULL) { in usb_dc_ep_configure()
439 bank->PCKSIZE.bit.SIZE = size; in usb_dc_ep_configure()
440 bank->ADDR.reg = (uintptr_t)buf; in usb_dc_ep_configure()