Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 5 of 5) sorted by relevance

/components/vbus/
A Dvbus.c30 #ifndef ARRAY_SIZE
31 #define ARRAY_SIZE(ar) (sizeof(ar)/sizeof(ar[0])) macro
664 for (i = 0; i < ARRAY_SIZE(_sess); i++) in _sess_find()
687 if (i == ARRAY_SIZE(_sess)) in _chn0_actor()
734 if (i == ARRAY_SIZE(_sess)) in _chn0_actor()
774 if (i == ARRAY_SIZE(_sess)) in _chn0_actor()
869 if (i == ARRAY_SIZE(_sess)) in _chn0_actor()
903 for (i = 0; i < ARRAY_SIZE(_sess); i++) in rt_vbus_request_chn()
908 if (i == ARRAY_SIZE(_sess)) in rt_vbus_request_chn()
1149 for (i = 0; i < ARRAY_SIZE(_sess); i++) in rt_vbus_init()
[all …]
A Dvbus_chnx.c244 #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) macro
255 i < ARRAY_SIZE(_devx) && p->req.name; in rt_vbus_chnx_init()
/components/drivers/usb/cherryusb/platform/uf2/
A Dbootuf2.c129 for (int i = 0; i < ARRAY_SIZE(files); i++) { in fcalculate_cluster()
145 for (uint32_t i = 0; i < ARRAY_SIZE(files); i++) { in ffind_by_cluster()
289 uint16_t cluster_unused = files[ARRAY_SIZE(files) - 1].ClusterEnd + 1; in boot2uf2_read_sector()
311 for (uint32_t i = 0; i < ARRAY_SIZE(files); i++) { in boot2uf2_read_sector()
344 (remain_entries > 0) && (idx < ARRAY_SIZE(files)); in boot2uf2_read_sector()
A Dbootuf2.h21 #ifndef ARRAY_SIZE
22 #define ARRAY_SIZE(array) \ macro
/components/drivers/usb/cherryusb/common/
A Dusb_util.h149 #ifndef ARRAY_SIZE
150 #define ARRAY_SIZE(array) \ macro

Completed in 23 milliseconds