Home
last modified time | relevance | path

Searched refs:cpu_to_le16 (Results 1 – 11 of 11) sorted by relevance

/include/linux/usb/
Dassociation.h31 #define WUSB_AR_AssociationTypeId { .id = cpu_to_le16(0x0000), .len = cpu_to_le16(2) }
32 #define WUSB_AR_AssociationSubTypeId { .id = cpu_to_le16(0x0001), .len = cpu_to_le16(2) }
33 #define WUSB_AR_Length { .id = cpu_to_le16(0x0002), .len = cpu_to_le16(4) }
34 #define WUSB_AR_AssociationStatus { .id = cpu_to_le16(0x0004), .len = cpu_to_le16(4) }
35 #define WUSB_AR_LangID { .id = cpu_to_le16(0x0008), .len = cpu_to_le16(2) }
36 #define WUSB_AR_DeviceFriendlyName { .id = cpu_to_le16(0x000b), .len = cpu_to_le16(64) } /* max */
37 #define WUSB_AR_HostFriendlyName { .id = cpu_to_le16(0x000c), .len = cpu_to_le16(64) } /* max */
38 #define WUSB_AR_CHID { .id = cpu_to_le16(0x1000), .len = cpu_to_le16(16) }
39 #define WUSB_AR_CDID { .id = cpu_to_le16(0x1001), .len = cpu_to_le16(16) }
40 #define WUSB_AR_ConnectionContext { .id = cpu_to_le16(0x1002), .len = cpu_to_le16(48) }
[all …]
/include/linux/
Dieee80211.h193 return (fc & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0; in ieee80211_has_tods()
202 return (fc & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0; in ieee80211_has_fromds()
211 __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); in ieee80211_has_a4()
221 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0; in ieee80211_has_morefrags()
230 return (fc & cpu_to_le16(IEEE80211_FCTL_RETRY)) != 0; in ieee80211_has_retry()
239 return (fc & cpu_to_le16(IEEE80211_FCTL_PM)) != 0; in ieee80211_has_pm()
248 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREDATA)) != 0; in ieee80211_has_moredata()
257 return (fc & cpu_to_le16(IEEE80211_FCTL_PROTECTED)) != 0; in ieee80211_has_protected()
266 return (fc & cpu_to_le16(IEEE80211_FCTL_ORDER)) != 0; in ieee80211_has_order()
275 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == in ieee80211_is_mgmt()
[all …]
Dext2_fs.h36 if (*(__le16 *)(p + EXT2_SB_MAGIC_OFFSET) != cpu_to_le16(EXT2_SUPER_MAGIC)) in ext2_image_size()
Dncp.h60 #define AR_READ (cpu_to_le16(1))
61 #define AR_WRITE (cpu_to_le16(2))
62 #define AR_EXCLUSIVE (cpu_to_le16(0x20))
Dmsdos_fs.h21 #define CT_LE_W(v) cpu_to_le16(v)
Dnilfs2_fs.h343 return cpu_to_le16(NILFS_MAX_REC_LEN); in nilfs_rec_len_to_disk()
347 return cpu_to_le16(len); in nilfs_rec_len_to_disk()
/include/linux/uwb/
Dspec.h348 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_type()
355 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_stream_index()
363 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_reason_code()
370 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_status()
377 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_owner()
384 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_tiebreaker()
391 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_unsafe()
418 ie->relinquish_req_control = cpu_to_le16(ctrl); in uwb_ie_relinquish_req_set_reason_code()
/include/linux/byteorder/
Dgeneric.h89 #define cpu_to_le16 __cpu_to_le16 macro
145 *var = cpu_to_le16(le16_to_cpu(*var) + val); in le16_add_cpu()
/include/linux/unaligned/
Daccess_ok.h39 *((__le16 *)p) = cpu_to_le16(val); in put_unaligned_le16()
/include/net/
Ddn_fib.h180 return cpu_to_le16(~((1 << (16 - n)) - 1)); in dnet_make_mask()
181 return cpu_to_le16(0); in dnet_make_mask()
/include/linux/ceph/
Dpagelist.h57 __le16 ev = cpu_to_le16(v); in ceph_pagelist_encode_16()