Searched refs:cpu_to_le16 (Results 1 – 13 of 13) 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 | 254 return (fc & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0; in ieee80211_has_tods() 263 return (fc & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0; in ieee80211_has_fromds() 272 __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); in ieee80211_has_a4() 282 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0; in ieee80211_has_morefrags() 291 return (fc & cpu_to_le16(IEEE80211_FCTL_RETRY)) != 0; in ieee80211_has_retry() 300 return (fc & cpu_to_le16(IEEE80211_FCTL_PM)) != 0; in ieee80211_has_pm() 309 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREDATA)) != 0; in ieee80211_has_moredata() 318 return (fc & cpu_to_le16(IEEE80211_FCTL_PROTECTED)) != 0; in ieee80211_has_protected() 327 return (fc & cpu_to_le16(IEEE80211_FCTL_ORDER)) != 0; in ieee80211_has_order() 336 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 | nilfs2_fs.h | 345 return cpu_to_le16(NILFS_MAX_REC_LEN); in nilfs_rec_len_to_disk() 349 return cpu_to_le16(len); in nilfs_rec_len_to_disk()
|
/include/linux/uwb/ |
D | spec.h | 349 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_type() 356 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_stream_index() 364 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_reason_code() 371 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_status() 378 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_owner() 385 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_tiebreaker() 392 ie->drp_control = cpu_to_le16(drp_control); in uwb_ie_drp_set_unsafe() 419 ie->relinquish_req_control = cpu_to_le16(ctrl); in uwb_ie_relinquish_req_set_reason_code()
|
/include/uapi/linux/ |
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)
|
/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 | 161 return cpu_to_le16(~((1 << (16 - n)) - 1)); in dnet_make_mask() 162 return cpu_to_le16(0); in dnet_make_mask()
|
D | ieee802154_netdev.h | 191 a->pan_id = cpu_to_le16(sa->pan_id); in ieee802154_addr_from_sa() 195 a->short_addr = cpu_to_le16(sa->short_addr); in ieee802154_addr_from_sa()
|
/include/linux/ceph/ |
D | pagelist.h | 60 __le16 ev = cpu_to_le16(v); in ceph_pagelist_encode_16()
|
/include/linux/i2c/ |
D | twl.h | 199 val = cpu_to_le16(val); in twl_i2c_write_u16()
|