Searched refs:cpu_to_le16 (Results 1 – 11 of 11) sorted by relevance
/include/linux/usb/ |
D | association.h | 31 #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/ |
D | ieee80211.h | 193 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 …]
|
D | ext2_fs.h | 36 if (*(__le16 *)(p + EXT2_SB_MAGIC_OFFSET) != cpu_to_le16(EXT2_SUPER_MAGIC)) in ext2_image_size()
|
D | ncp.h | 60 #define AR_READ (cpu_to_le16(1)) 61 #define AR_WRITE (cpu_to_le16(2)) 62 #define AR_EXCLUSIVE (cpu_to_le16(0x20))
|
D | msdos_fs.h | 21 #define CT_LE_W(v) cpu_to_le16(v)
|
D | nilfs2_fs.h | 343 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/ |
D | spec.h | 348 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/ |
D | generic.h | 89 #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/ |
D | access_ok.h | 39 *((__le16 *)p) = cpu_to_le16(val); in put_unaligned_le16()
|
/include/net/ |
D | dn_fib.h | 180 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/ |
D | pagelist.h | 57 __le16 ev = cpu_to_le16(v); in ceph_pagelist_encode_16()
|