Searched refs:le16toh (Results 1 – 7 of 7) sorted by relevance
12 #ifndef le16toh14 # define le16toh(x) (x) macro16 # define le16toh(x) __bswap_16 (x) macro25 return val ? (long long) le16toh(*val) : 0; in process___le16_to_cpup()
19 #ifndef le16toh20 #define le16toh(x) (x) macro43 #ifndef le16toh44 #define le16toh(x) __bswap_16(x) macro
309 idVendor = le16toh(d_desc->idVendor); in list_gadget_devices()311 idProduct = le16toh(d_desc->idProduct); in list_gadget_devices()317 le16toh(idVendor), in list_gadget_devices()318 le16toh(idProduct)); in list_gadget_devices()
341 if (!(le16toh(desc->flags) & VRING_DESC_F_NEXT)) in next_desc()343 next = le16toh(desc->next); in next_desc()526 while (avail_idx == le16toh(READ_ONCE(vr->vr.avail->idx))) { in spin_for_descriptors()530 le16toh(vr->vr.avail->idx), vr->info->avail_idx); in spin_for_descriptors()668 le16toh(rx_vr.vr.avail->idx)) { in virtio_net()867 le16toh(rx_vr.vr.avail->idx)) { in virtio_console()1098 if (!(le16toh(desc->flags) & VRING_DESC_F_NEXT)) { in header_error_check()1103 if (le16toh(desc->flags) & VRING_DESC_F_WRITE) { in header_error_check()1227 le16toh(vring.vr.avail->idx)) { in virtio_block()1232 desc_idx = le16toh( in virtio_block()
37 ((dev)->attr = le16toh((descr)->attr)) \
98 input = le16toh(input); in print2byte()
64 #define le16_to_cpu(x) le16toh(x)