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
297 idVendor = le16toh(d_desc->idVendor); in list_gadget_devices()299 idProduct = le16toh(d_desc->idProduct); in list_gadget_devices()305 le16toh(idVendor), in list_gadget_devices()306 le16toh(idProduct)); in list_gadget_devices()
330 if (!(le16toh(desc->flags) & VRING_DESC_F_NEXT)) in next_desc()332 next = le16toh(desc->next); in next_desc()515 while (avail_idx == le16toh(READ_ONCE(vr->vr.avail->idx))) { in spin_for_descriptors()519 le16toh(vr->vr.avail->idx), vr->info->avail_idx); in spin_for_descriptors()657 le16toh(rx_vr.vr.avail->idx)) { in virtio_net()856 le16toh(rx_vr.vr.avail->idx)) { in virtio_console()1087 if (!(le16toh(desc->flags) & VRING_DESC_F_NEXT)) { in header_error_check()1092 if (le16toh(desc->flags) & VRING_DESC_F_WRITE) { in header_error_check()1216 le16toh(vring.vr.avail->idx)) { in virtio_block()1221 desc_idx = le16toh( in virtio_block()
25 ((dev)->attr = le16toh((descr)->attr)) \
94 input = le16toh(input); in print2byte()
51 #define le16_to_cpu(x) le16toh(x)