/linux/drivers/net/ethernet/3com/ |
A D | typhoon.h | 206 #define TYPHOON_TSO_FIRST cpu_to_le16(0x1000) 207 #define TYPHOON_TSO_LAST cpu_to_le16(0x2000) 225 #define TYPHOON_IPSEC_GEN_IV cpu_to_le16(0x0000) 226 #define TYPHOON_IPSEC_USE_IV cpu_to_le16(0x0001) 274 #define TYPHOON_RX_FILTERED cpu_to_le16(0x8000) 342 #define TYPHOON_CMD_HALT cpu_to_le16(0x005d) 434 #define TYPHOON_XCVR_10HALF cpu_to_le16(0x0000) 435 #define TYPHOON_XCVR_10FULL cpu_to_le16(0x0001) 436 #define TYPHOON_XCVR_100HALF cpu_to_le16(0x0002) 463 #define TYPHOON_SA_MODE_AH cpu_to_le16(0x0001) [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | sta_cmd.c | 187 rate_scope->length = cpu_to_le16 in mwifiex_cmd_tx_rate_cfg() 426 cmd->size = cpu_to_le16(size); in mwifiex_cmd_802_11_hs_cfg() 640 cmd->size = cpu_to_le16(size); in mwifiex_set_aes_key_v2() 905 cpu_to_le16(KEY_ENABLED); in mwifiex_cmd_802_11_key_material_v1() 911 cpu_to_le16(KEY_IGTK); in mwifiex_cmd_802_11_key_material_v1() 918 cpu_to_le16(KEY_ENABLED); in mwifiex_cmd_802_11_key_material_v1() 926 cpu_to_le16(KEY_UNICAST); in mwifiex_cmd_802_11_key_material_v1() 929 cpu_to_le16(KEY_MCAST); in mwifiex_cmd_802_11_key_material_v1() 936 cpu_to_le16(KEY_ENABLED); in mwifiex_cmd_802_11_key_material_v1() 944 cpu_to_le16(KEY_MCAST); in mwifiex_cmd_802_11_key_material_v1() [all …]
|
A D | uap_cmd.c | 366 cpu_to_le16(TLV_TYPE_UAP_WPA_PASSPHRASE); in mwifiex_uap_bss_wpa() 435 cpu_to_le16(TLV_TYPE_UAP_WEP_KEY); in mwifiex_uap_bss_wep() 528 tlv_rates->header.len = cpu_to_le16(i); in mwifiex_uap_bss_param_prepare() 563 cpu_to_le16(TLV_TYPE_UAP_DTIM_PERIOD); in mwifiex_uap_bss_param_prepare() 597 cpu_to_le16(TLV_TYPE_UAP_RETRY_LIMIT); in mwifiex_uap_bss_param_prepare() 686 cpu_to_le16(TLV_TYPE_UAP_PS_AO_TIMER); in mwifiex_uap_bss_param_prepare() 735 sys_cfg->action = cpu_to_le16(cmd_action); in mwifiex_cmd_uap_sys_config() 743 cmd->size = cpu_to_le16(param_size); in mwifiex_cmd_uap_sys_config() 749 cmd->size = cpu_to_le16(ie_size); in mwifiex_cmd_uap_sys_config() 795 cmd->command = cpu_to_le16(cmd_no); in mwifiex_uap_prepare_cmd() [all …]
|
A D | join.c | 62 ie_header.len = cpu_to_le16(priv->gen_ie_buf_len); in mwifiex_cmd_append_generic_ie() 257 ie_header.len = cpu_to_le16(priv->wps_ie_len); in mwifiex_cmd_append_wps_ie() 303 ie_header.type = cpu_to_le16(TLV_TYPE_WAPI_IE); in mwifiex_cmd_append_wapi_ie() 304 ie_header.len = cpu_to_le16(priv->wapi_ie_len); in mwifiex_cmd_append_wapi_ie() 341 rsn_ie_tlv->header.type = cpu_to_le16( in mwifiex_append_rsn_ie_wpa_wpa2() 468 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate() 554 assoc->cap_info_bitmap = cpu_to_le16(tmp_cap); in mwifiex_cmd_802_11_associate() 672 assoc_rsp->a_id = cpu_to_le16(aid); in mwifiex_ret_802_11_associate() 945 = cpu_to_le16(priv->atim_window); in mwifiex_cmd_802_11_ad_hoc_start() 1159 = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_ad_hoc_join() [all …]
|
A D | 11n.c | 224 tx_buf->action = cpu_to_le16(action); in mwifiex_cmd_recfg_tx_buf() 229 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf() 258 amsdu_ctrl->action = cpu_to_le16(action); in mwifiex_cmd_amsdu_aggr_ctrl() 288 htcfg->action = cpu_to_le16(cmd_action); in mwifiex_cmd_11n_cfg() 357 cpu_to_le16 in mwifiex_cmd_append_11n_tlv() 360 cpu_to_le16(~IEEE80211_HT_CAP_SGI_40); in mwifiex_cmd_append_11n_tlv() 366 cpu_to_le16 in mwifiex_cmd_append_11n_tlv() 369 cpu_to_le16(~IEEE80211_HT_CAP_SGI_40); in mwifiex_cmd_append_11n_tlv() 385 cpu_to_le16(WLAN_EID_HT_OPERATION); in mwifiex_cmd_append_11n_tlv() 387 cpu_to_le16( in mwifiex_cmd_append_11n_tlv() [all …]
|
/linux/drivers/staging/rtl8712/ |
A D | wifi.h | 28 *(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_TODS); \ 73 *(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_PM); \ 77 cpu_to_le16(IEEE80211_FCTL_PM)) != 0) 88 cpu_to_le16(IEEE80211_FCTL_MOREDATA)) != 0) 99 cpu_to_le16(IEEE80211_FCTL_PROTECTED)) != 0) 102 cpu_to_le16(IEEE80211_FCTL_ORDER)) != 0) 109 *(__le16 *)(pbuf) &= cpu_to_le16(~(BIT(3) | \ 111 *(__le16 *)(pbuf) |= cpu_to_le16(type); \ 122 *(__le16 *)(pbuf) |= cpu_to_le16(type); \ 138 *(__le16 *)(pbuf) |= cpu_to_le16(tid & 0xf); \ [all …]
|
/linux/drivers/net/wireless/rsi/ |
A D | rsi_91x_mgmt.c | 25 .magic_number = cpu_to_le16(0x5aa5), 47 .pll_reg = cpu_to_le16(0x9f0), 71 .pll_reg = cpu_to_le16(0x9f0), 95 .pll_reg = cpu_to_le16(0x9f0), 141 .pll_reg = cpu_to_le16(0x9f0), 165 .pll_reg = cpu_to_le16(0x9f0), 189 .pll_reg = cpu_to_le16(0x9f0), 412 cpu_to_le16(LOWER_20_ENABLE | in rsi_load_radio_caps() 762 cpu_to_le16(UPPER_20_ENABLE); in rsi_set_vap_capabilities() 765 cpu_to_le16(LOWER_20_ENABLE); in rsi_set_vap_capabilities() [all …]
|
/linux/fs/fat/ |
A D | fat_test.c | 36 .time = cpu_to_le16(0), 37 .date = cpu_to_le16(33), 44 .time = cpu_to_le16(49021), 52 .time = cpu_to_le16(0), 53 .date = cpu_to_le16(33), 68 .time = cpu_to_le16(0), 76 .time = cpu_to_le16(0), 84 .time = cpu_to_le16(0), 100 .time = cpu_to_le16(960), 116 .time = cpu_to_le16(0), [all …]
|
/linux/fs/smbfs_common/ |
A D | smb2pdu.h | 41 #define SMB2_LOGOFF cpu_to_le16(SMB2_LOGOFF_HE) 44 #define SMB2_CREATE cpu_to_le16(SMB2_CREATE_HE) 45 #define SMB2_CLOSE cpu_to_le16(SMB2_CLOSE_HE) 46 #define SMB2_FLUSH cpu_to_le16(SMB2_FLUSH_HE) 47 #define SMB2_READ cpu_to_le16(SMB2_READ_HE) 48 #define SMB2_WRITE cpu_to_le16(SMB2_WRITE_HE) 49 #define SMB2_LOCK cpu_to_le16(SMB2_LOCK_HE) 50 #define SMB2_IOCTL cpu_to_le16(SMB2_IOCTL_HE) 52 #define SMB2_ECHO cpu_to_le16(SMB2_ECHO_HE) 59 #define SMB2_INTERNAL_CMD cpu_to_le16(0xFFFF) [all …]
|
/linux/fs/cifs/ |
A D | cifssmb.c | 519 pSMB->ByteCount = cpu_to_le16(count); in CIFSSMBNegotiate() 776 pRqD->type = cpu_to_le16(type); in CIFSPOSIXDelFile() 995 pSMB->DataCount = cpu_to_le16(count); in CIFSPOSIXCreate() 1166 pSMB->ByteCount = cpu_to_le16(count); in SMBLegacyOpen() 1290 req->ByteCount = cpu_to_le16(count); in CIFS_open() 2498 cpu_to_le16(CIFS_RDLCK)) in CIFSSMBPosixLock() 2501 cpu_to_le16(CIFS_WRLCK)) in CIFSSMBPosixLock() 3289 pSMB->ByteCount = cpu_to_le16(5); in CIFSSMB_set_compression() 3422 cifs_acl->version = cpu_to_le16(1); in ACL_to_cifs_posix() 5265 pSMB->DataCount = cpu_to_le16(12); in CIFSSMBSetFSUnixInfo() [all …]
|
A D | cifs_unicode.c | 374 dest_char = cpu_to_le16(UNI_COLON); in convert_to_sfu_char() 377 dest_char = cpu_to_le16(UNI_ASTERISK); in convert_to_sfu_char() 380 dest_char = cpu_to_le16(UNI_QUESTION); in convert_to_sfu_char() 389 dest_char = cpu_to_le16(UNI_PIPE); in convert_to_sfu_char() 408 dest_char = cpu_to_le16(SFM_COLON); in convert_to_sfm_char() 426 dest_char = cpu_to_le16(SFM_PIPE); in convert_to_sfm_char() 430 dest_char = cpu_to_le16(SFM_PERIOD); in convert_to_sfm_char() 436 dest_char = cpu_to_le16(SFM_SPACE); in convert_to_sfm_char() 506 dst_char = cpu_to_le16(tmp); in cifsConvertToUTF16() 531 dst_char = cpu_to_le16(*wchar_to); in cifsConvertToUTF16() [all …]
|
/linux/drivers/staging/rtl8723bs/include/ |
A D | wifi.h | 93 (*(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_)) 98 (*(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_)) 105 (*(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_)) 115 (*(__le16 *)(pbuf) &= (~cpu_to_le16(_RETRY_))) 118 (*(__le16 *)(pbuf) |= cpu_to_le16(_PWRMGT_)) 123 (*(__le16 *)(pbuf) &= (~cpu_to_le16(_PWRMGT_))) 126 (*(__le16 *)(pbuf) |= cpu_to_le16(_MORE_DATA_)) 134 (*(__le16 *)(pbuf) |= cpu_to_le16(_PRIVACY_)) 158 *(__le16 *)(pbuf) |= cpu_to_le16(type); \ 175 cpu_to_le16(0x0f & (num)); \ [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | cmd.c | 237 cmd.action = cpu_to_le16(cmd_action); in lbs_set_ps_mode() 425 cmd.oid = cpu_to_le16((u16) oid); in lbs_set_snmp_mib() 472 cmd.oid = cpu_to_le16(oid); in lbs_get_snmp_mib() 543 cmd.curlevel = cpu_to_le16(dbm); in lbs_set_tx_power() 570 cmd.mode = cpu_to_le16(0x1); in lbs_set_monitor_mode() 643 cmd.channel = cpu_to_le16(channel); in lbs_set_channel() 677 cmd.n_or_snr = cpu_to_le16(8); in lbs_get_rssi() 832 cmd.offset = cpu_to_le16(offset); in lbs_get_reg() 872 cmd.offset = cpu_to_le16(offset); in lbs_set_reg() 1064 cmd.control |= cpu_to_le16(0x1); in lbs_set_radio() [all …]
|
/linux/include/soc/fsl/ |
A D | dpaa2-fd.h | 230 fd->simple.format_offset |= cpu_to_le16(offset); in dpaa2_fd_set_offset() 255 cpu_to_le16(~(FD_FORMAT_MASK << FD_FORMAT_SHIFT)); in dpaa2_fd_set_format() 277 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid() 278 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid() 373 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK); in dpaa2_sg_set_offset() 374 sg->format_offset |= cpu_to_le16(offset); in dpaa2_sg_set_offset() 420 sg->bpid &= cpu_to_le16(~(SG_BPID_MASK)); in dpaa2_sg_set_bpid() 421 sg->bpid |= cpu_to_le16(bpid); in dpaa2_sg_set_bpid() 608 fle->format_offset |= cpu_to_le16(offset); in dpaa2_fl_set_offset() 653 fle->bpid &= cpu_to_le16(~(FL_BPID_MASK)); in dpaa2_fl_set_bpid() [all …]
|
/linux/drivers/net/wireless/intersil/p54/ |
A D | fwio.c | 209 hdr->type = cpu_to_le16(type); in p54_alloc_skb() 414 head->mode = cpu_to_le16(mode); in p54_scan() 415 head->dwell = cpu_to_le16(dwell); in p54_scan() 550 led->flags = cpu_to_le16(0x0003); in p54_set_leds() 552 led->delay[0] = cpu_to_le16(1); in p54_set_leds() 553 led->delay[1] = cpu_to_le16(0); in p54_set_leds() 587 edcf->frameburst = cpu_to_le16(0); in p54_set_edcf() 615 psm->mode = cpu_to_le16(mode); in p54_set_ps() 644 xbow->magic1 = cpu_to_le16(0x1); in p54_init_xbow_synth() 645 xbow->magic2 = cpu_to_le16(0x2); in p54_init_xbow_synth() [all …]
|
/linux/drivers/staging/greybus/ |
A D | audio_apbridgea.c | 19 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_set_config() 37 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_register_cport() 38 req.cport = cpu_to_le16(cportid); in gb_audio_apbridgea_register_cport() 58 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_unregister_cport() 59 req.cport = cpu_to_le16(cportid); in gb_audio_apbridgea_unregister_cport() 77 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_set_tx_data_size() 78 req.size = cpu_to_le16(size); in gb_audio_apbridgea_set_tx_data_size() 91 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_prepare_tx() 104 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_start_tx() 117 req.hdr.i2s_port = cpu_to_le16(i2s_port); in gb_audio_apbridgea_stop_tx() [all …]
|
/linux/drivers/staging/r8188eu/include/ |
A D | wifi.h | 190 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_) 195 *(__le16 *)(pbuf) &= (~cpu_to_le16(_TO_DS_)) 198 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) 208 *(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_) 216 *(__le16 *)(pbuf) |= cpu_to_le16(_RETRY_) 221 *(__le16 *)(pbuf) &= (~cpu_to_le16(_RETRY_)) 224 *(__le16 *)(pbuf) |= cpu_to_le16(_PWRMGT_) 240 *(__le16 *)(pbuf) |= cpu_to_le16(_PRIVACY_) 267 *(__le16 *)(pbuf) |= cpu_to_le16(type); \ 284 cpu_to_le16(0x0f & (num)); \ [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_sriov.c | 100 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_spoofchk() 153 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_hwrm_set_trusted_vf() 241 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_mac() 279 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_vlan() 319 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_bw() 391 req->vf_id = cpu_to_le16(i); in bnxt_hwrm_func_vf_resource_free() 499 req->fid = cpu_to_le16(vf->fw_fid); in __bnxt_set_vf_params() 678 req->mru = cpu_to_le16(mtu); in bnxt_hwrm_func_cfg() 679 req->admin_mtu = cpu_to_le16(mtu); in bnxt_hwrm_func_cfg() 686 req->num_l2_ctxs = cpu_to_le16(4); in bnxt_hwrm_func_cfg() [all …]
|
A D | bnxt_coredump.c | 44 *seq_ptr = cpu_to_le16(seq); in bnxt_hwrm_dbg_dma_data() 80 cpu_to_le16(HWRM_DBG_COREDUMP_RETRIEVE)) in bnxt_hwrm_dbg_dma_data() 130 req->segment_id = cpu_to_le16(segment_id); in bnxt_hwrm_dbg_coredump_initiate() 148 req->segment_id = cpu_to_le16(segment_id); in bnxt_hwrm_dbg_coredump_retrieve() 241 record->day = cpu_to_le16(tm.tm_mday); in bnxt_fill_coredump_record() 242 record->hour = cpu_to_le16(tm.tm_hour); in bnxt_fill_coredump_record() 243 record->minute = cpu_to_le16(tm.tm_min); in bnxt_fill_coredump_record() 244 record->second = cpu_to_le16(tm.tm_sec); in bnxt_fill_coredump_record() 245 record->utc_bias = cpu_to_le16(start_utc); in bnxt_fill_coredump_record() 258 record->end_day = cpu_to_le16(tm.tm_mday); in bnxt_fill_coredump_record() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpsw.c | 354 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_link_cfg() 385 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_link_state() 423 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_tci() 456 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_tci() 496 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_stp() 528 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_counter() 562 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_enable() 587 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_disable() 614 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_attributes() 655 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_max_frame_length() [all …]
|
/linux/fs/ksmbd/ |
A D | smb2misc.c | 32 /* SMB2_NEGOTIATE */ cpu_to_le16(36), 34 /* SMB2_LOGOFF */ cpu_to_le16(4), 37 /* SMB2_CREATE */ cpu_to_le16(57), 38 /* SMB2_CLOSE */ cpu_to_le16(24), 39 /* SMB2_FLUSH */ cpu_to_le16(24), 40 /* SMB2_READ */ cpu_to_le16(49), 41 /* SMB2_WRITE */ cpu_to_le16(49), 42 /* SMB2_LOCK */ cpu_to_le16(48), 43 /* SMB2_IOCTL */ cpu_to_le16(57), 44 /* SMB2_CANCEL */ cpu_to_le16(4), [all …]
|
/linux/drivers/usb/gadget/legacy/ |
A D | webcam.c | 93 .bcdUVC = cpu_to_le16(0x0110), 105 .wTerminalType = cpu_to_le16(0x0201), 110 .wOcularFocalLength = cpu_to_le16(0), 187 .wWidth = cpu_to_le16(640), 188 .wHeight = cpu_to_le16(360), 205 .wWidth = cpu_to_le16(1280), 206 .wHeight = cpu_to_le16(720), 238 .wWidth = cpu_to_le16(640), 239 .wHeight = cpu_to_le16(360), 256 .wWidth = cpu_to_le16(1280), [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | commands.h | 751 #define STA_KEY_FLG_ENCRYPT_MSK cpu_to_le16(0x0007) 752 #define STA_KEY_FLG_NO_ENC cpu_to_le16(0x0000) 753 #define STA_KEY_FLG_WEP cpu_to_le16(0x0001) 754 #define STA_KEY_FLG_CCMP cpu_to_le16(0x0002) 755 #define STA_KEY_FLG_TKIP cpu_to_le16(0x0003) 758 #define STA_KEY_FLG_INVALID cpu_to_le16(0x0800) 760 #define STA_KEY_FLG_MAP_KEY_MSK cpu_to_le16(0x0008) 1847 #define IWLAGN_BT_VALID_BOOST cpu_to_le16(BIT(1)) 2084 #define IWL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3)) 2085 #define IWL_POWER_FAST_PD cpu_to_le16(BIT(4)) [all …]
|
/linux/drivers/net/wireless/marvell/libertas_tf/ |
A D | cmd.c | 88 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbtf_update_hw_spec() 156 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbtf_set_channel() 158 cmd.channel = cpu_to_le16(channel); in lbtf_set_channel() 177 cmd.hdr.size = cpu_to_le16(size); in lbtf_beacon_set() 178 cmd.len = cpu_to_le16(beacon->len); in lbtf_beacon_set() 193 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbtf_beacon_ctrl() 194 cmd.action = cpu_to_le16(CMD_ACT_SET); in lbtf_beacon_ctrl() 323 cmd.action = cpu_to_le16(CMD_ACT_SET); in lbtf_cmd_set_mac_multicast_addr() 344 cmd.mode = cpu_to_le16(mode); in lbtf_set_mode() 371 cmd.action = cpu_to_le16(CMD_ACT_SET); in lbtf_set_mac_address() [all …]
|
/linux/fs/ntfs/ |
A D | layout.h | 236 MFT_RECORD_IN_USE = cpu_to_le16(0x0001), 597 ATTR_IS_SPARSE = cpu_to_le16(0x8000), 1686 SE_DACL_PRESENT = cpu_to_le16(0x0004), 1687 SE_DACL_DEFAULTED = cpu_to_le16(0x0008), 1689 SE_SACL_PRESENT = cpu_to_le16(0x0010), 1690 SE_SACL_DEFAULTED = cpu_to_le16(0x0020), 1697 SE_DACL_PROTECTED = cpu_to_le16(0x1000), 1698 SE_SACL_PROTECTED = cpu_to_le16(0x2000), 1700 SE_SELF_RELATIVE = cpu_to_le16(0x8000) 1888 VOLUME_IS_DIRTY = cpu_to_le16(0x0001), [all …]
|