Searched refs:DESC_READ_LEN (Results 1 – 2 of 2) sorted by relevance
/drivers/peripheral/usb/ddk/host/src/ |
D | liteos_adapter.c | 25 #define DESC_READ_LEN 256 macro 281 allocLen += DESC_READ_LEN; in OsReadDescriptors() 293 ret = memset_s(ptr, DESC_READ_LEN, 0, DESC_READ_LEN); in OsReadDescriptors() 300 if (count > DESC_READ_LEN) { in OsReadDescriptors() 304 ret = memcpy_s(ptr, DESC_READ_LEN, osDev->adapterDevice->cdesc, count); in OsReadDescriptors()
|
D | linux_adapter.c | 28 #define DESC_READ_LEN 256 macro 219 allocLen += DESC_READ_LEN; in OsReadDescriptors() 226 if (memset_s(ptr, DESC_READ_LEN, 0, DESC_READ_LEN) != EOK) { in OsReadDescriptors() 231 int32_t len = read(fd, ptr, DESC_READ_LEN); in OsReadDescriptors()
|