Lines Matching defs:size
54 static int (*__uniphier_usb_read)(int lba, uintptr_t buf, size_t size);
65 static int uniphier_ld11_usb_read(int lba, uintptr_t buf, size_t size)
68 unsigned int size, uintptr_t buf);
74 return rom_usb_read(UNIPHIER_LD11_USB_DESC_BASE, lba, size, buf);
86 static int uniphier_ld20_usb_read(int lba, uintptr_t buf, size_t size)
89 unsigned int size, uintptr_t buf);
97 ret = rom_usb_read(UNIPHIER_LD20_USB_DESC_BASE, lba, size, buf);
113 static int uniphier_pxs3_usb_read(int lba, uintptr_t buf, size_t size)
116 unsigned int size, uintptr_t buf);
122 ret = rom_usb_read(UNIPHIER_PXS3_USB_DESC_BASE, lba, size, buf);
129 int (*read)(int lba, uintptr_t buf, size_t size);
147 static size_t uniphier_usb_read(int lba, uintptr_t buf, size_t size)
151 inv_dcache_range(buf, size);
153 ret = __uniphier_usb_read(lba, buf, size);
155 inv_dcache_range(buf, size);
157 return ret ? 0 : size;