/linux-master/drivers/staging/rtl8712/ |
H A D | wifi.h | 28 *(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_TODS); \ 31 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0) 34 *(__le16 *)(pbuf) &= (~cpu_to_le16(IEEE80211_FCTL_TODS)); \ 38 *(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_FROMDS); \ 41 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0) 44 *(__le16 *)(pbuf) &= (~cpu_to_le16(IEEE80211_FCTL_FROMDS)); \ 53 *(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_MOREFRAGS); \ 56 #define GetMFrag(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0) 59 *(__le16 *)(pbuf) &= (~cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)); \ 63 *(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_RETR [all...] |
/linux-master/drivers/net/ethernet/3com/ |
H 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) 273 #define TYPHOON_RX_FILTER_MASK cpu_to_le16(0x7fff) 274 #define TYPHOON_RX_FILTERED cpu_to_le16(0x8000) 276 #define TYPHOON_RX_OUTER_AH_GOOD cpu_to_le16(0x0001) 277 #define TYPHOON_RX_OUTER_ESP_GOOD cpu_to_le16(0x0002) 278 #define TYPHOON_RX_INNER_AH_GOOD cpu_to_le16(0x0004) 279 #define TYPHOON_RX_INNER_ESP_GOOD cpu_to_le16( [all...] |
/linux-master/fs/fat/ |
H A D | fat_test.c | 36 .time = cpu_to_le16(0), 37 .date = cpu_to_le16(33), 44 .time = cpu_to_le16(49021), 45 .date = cpu_to_le16(65439), 52 .time = cpu_to_le16(0), 53 .date = cpu_to_le16(33), 60 .time = cpu_to_le16(49021), 61 .date = cpu_to_le16(65439), 68 .time = cpu_to_le16(0), 69 .date = cpu_to_le16(828 [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_cmd.c | 38 cmd->command = cpu_to_le16(HostCmd_CMD_RSSI_INFO); 39 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_rssi_info) + 41 cmd->params.rssi_info.action = cpu_to_le16(cmd_action); 42 cmd->params.rssi_info.ndata = cpu_to_le16(priv->data_avg_factor); 43 cmd->params.rssi_info.nbcn = cpu_to_le16(priv->bcn_avg_factor); 77 cmd->command = cpu_to_le16(HostCmd_CMD_MAC_CONTROL); 79 cpu_to_le16(sizeof(struct host_cmd_ds_mac_control) + S_DS_GEN); 109 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_SNMP_MIB); 110 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_snmp_mib) 113 snmp_mib->oid = cpu_to_le16((u1 [all...] |
H A D | uap_cmd.c | 164 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); 308 tlv_akmp->header.type = cpu_to_le16(TLV_TYPE_UAP_AKMP); 309 tlv_akmp->header.len = cpu_to_le16(sizeof(struct host_cmd_tlv_akmp) - 311 tlv_akmp->key_mgmt_operation = cpu_to_le16(bss_cfg->key_mgmt_operation); 312 tlv_akmp->key_mgmt = cpu_to_le16(bss_cfg->key_mgmt); 318 pwk_cipher->header.type = cpu_to_le16(TLV_TYPE_PWK_CIPHER); 320 cpu_to_le16(sizeof(struct host_cmd_tlv_pwk_cipher) - 322 pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA); 330 pwk_cipher->header.type = cpu_to_le16(TLV_TYPE_PWK_CIPHER); 332 cpu_to_le16(sizeo [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rfi.c | 16 {cpu_to_le16(160), {50, 58, 60, 62, 64, 52, 54, 56}, 21 {cpu_to_le16(176), {149, 151, 153, 157, 159, 161, 165, 163, 167, 169, 28 {cpu_to_le16(192), {79, 81, 83, 85, 87, 89, 91, 93}, 33 {cpu_to_le16(223), {114, 116, 118, 120, 122, 106, 110, 124, 126}, 38 {cpu_to_le16(240), {114, 151, 155, 157, 159, 161, 165}, 43 {cpu_to_le16(256), {79, 83, 85, 87, 89, 91, 93,}, 48 {cpu_to_le16(264), {111, 119, 123, 125, 129, 131, 133, 135, 143,}, 53 {cpu_to_le16(312), {36, 38, 40, 42, 44, 46, 50,}, 58 {cpu_to_le16(336), {106, 110, 112, 114, 116, 118, 120, 122}, 63 {cpu_to_le16(36 [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | audio_apbridgea.c | 19 req.hdr.i2s_port = cpu_to_le16(i2s_port); 37 req.hdr.i2s_port = cpu_to_le16(i2s_port); 38 req.cport = cpu_to_le16(cportid); 58 req.hdr.i2s_port = cpu_to_le16(i2s_port); 59 req.cport = cpu_to_le16(cportid); 77 req.hdr.i2s_port = cpu_to_le16(i2s_port); 78 req.size = cpu_to_le16(size); 91 req.hdr.i2s_port = cpu_to_le16(i2s_port); 104 req.hdr.i2s_port = cpu_to_le16(i2s_port); 117 req.hdr.i2s_port = cpu_to_le16(i2s_por [all...] |
/linux-master/include/soc/fsl/ |
H A D | dpaa2-fd.h | 230 fd->simple.format_offset &= cpu_to_le16(~FD_OFFSET_MASK); 231 fd->simple.format_offset |= cpu_to_le16(offset); 256 cpu_to_le16(~(FD_FORMAT_MASK << FD_FORMAT_SHIFT)); 257 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); 278 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); 279 fd->simple.bpid |= cpu_to_le16(bpid); 374 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK); 375 sg->format_offset |= cpu_to_le16(offset); 399 sg->format_offset &= cpu_to_le16(~(SG_FORMAT_MASK << SG_FORMAT_SHIFT)); 400 sg->format_offset |= cpu_to_le16(forma [all...] |
/linux-master/fs/smb/client/ |
H A D | cifs_unicode.c | 373 dest_char = cpu_to_le16(UNI_COLON); 376 dest_char = cpu_to_le16(UNI_ASTERISK); 379 dest_char = cpu_to_le16(UNI_QUESTION); 382 dest_char = cpu_to_le16(UNI_LESSTHAN); 385 dest_char = cpu_to_le16(UNI_GRTRTHAN); 388 dest_char = cpu_to_le16(UNI_PIPE); 402 dest_char = cpu_to_le16(src_char + 0xF000); 407 dest_char = cpu_to_le16(SFM_COLON); 410 dest_char = cpu_to_le16(SFM_DOUBLEQUOTE); 413 dest_char = cpu_to_le16(SFM_ASTERIS [all...] |
H A D | cifssmb.c | 443 pSMB->ByteCount = cpu_to_le16(count); 693 pSMB->MaxParameterCount = cpu_to_le16(2); 709 pRqD->type = cpu_to_le16(type); 710 pSMB->ParameterOffset = cpu_to_le16(param_offset); 711 pSMB->DataOffset = cpu_to_le16(offset); 714 pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); 717 pSMB->DataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); 718 pSMB->TotalDataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); 719 pSMB->ParameterCount = cpu_to_le16(params); 721 pSMB->InformationLevel = cpu_to_le16(SMB_POSIX_UNLIN [all...] |
/linux-master/include/net/ |
H A D | mac802154.h | 243 return cpu_to_le16(0); 260 case cpu_to_le16(IEEE802154_FCTL_ADDR_NONE): 263 case cpu_to_le16(IEEE802154_FCTL_DADDR_SHORT): 264 case cpu_to_le16(IEEE802154_FCTL_DADDR_EXTENDED): 289 case cpu_to_le16(IEEE802154_FCTL_ADDR_NONE): 292 case cpu_to_le16(IEEE802154_FCTL_SADDR_SHORT): function 293 case cpu_to_le16(IEEE802154_FCTL_SADDR_EXTENDED): 303 case cpu_to_le16(IEEE802154_FCTL_ADDR_NONE): 308 case cpu_to_le16(IEEE802154_FCTL_DADDR_SHORT): 315 case cpu_to_le16(IEEE802154_FCTL_DADDR_EXTENDE [all...] |
/linux-master/drivers/net/wireless/rsi/ |
H A D | rsi_91x_mgmt.c | 25 .magic_number = cpu_to_le16(0x5aa5), 36 .pll_reg_1 = cpu_to_le16((TA_PLL_N_VAL_20 << 8)| 38 .pll_reg_2 = cpu_to_le16(TA_PLL_P_VAL_20), 41 .pll_reg_1 = cpu_to_le16((PLL960_P_VAL_20 << 8)| 43 .pll_reg_2 = cpu_to_le16(PLL960_M_VAL_20), 47 .pll_reg = cpu_to_le16(0x9f0), 51 .switch_clk_info = cpu_to_le16(0xb), 52 .bbp_lmac_clk_reg_val = cpu_to_le16(0x111), 53 .umac_clock_reg_config = cpu_to_le16(0x48), 54 .qspi_uart_clock_reg_config = cpu_to_le16( [all...] |
/linux-master/fs/smb/server/ |
H A D | smb2misc.c | 32 /* SMB2_NEGOTIATE */ cpu_to_le16(36), 33 /* SMB2_SESSION_SETUP */ cpu_to_le16(25), 34 /* SMB2_LOGOFF */ cpu_to_le16(4), 35 /* SMB2_TREE_CONNECT */ cpu_to_le16(9), 36 /* SMB2_TREE_DISCONNECT */ 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(4 [all...] |
H A D | unicode.c | 364 dst_char = cpu_to_le16(UNI_COLON); 367 dst_char = cpu_to_le16(UNI_ASTERISK); 370 dst_char = cpu_to_le16(UNI_QUESTION); 373 dst_char = cpu_to_le16(UNI_LESSTHAN); 376 dst_char = cpu_to_le16(UNI_GRTRTHAN); 379 dst_char = cpu_to_le16(UNI_PIPE); 388 dst_char = cpu_to_le16(tmp); 413 dst_char = cpu_to_le16(*wchar_to); 424 dst_char = cpu_to_le16(*(wchar_to + 1)); 430 dst_char = cpu_to_le16(*(wchar_t [all...] |
/linux-master/drivers/vdpa/pds/ |
H A D | cmds.c | 23 .vdpa_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 45 .vdpa.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 65 .vdpa_status.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 86 .vdpa_setattr.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 109 .vdpa_setattr.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 111 .vdpa_setattr.max_vq_pairs = cpu_to_le16(max_vqp), 133 .vdpa_vq_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), 134 .vdpa_vq_init.qid = cpu_to_le16(qid), 135 .vdpa_vq_init.len = cpu_to_le16(ilog2(vq_info->q_len)), 139 .vdpa_vq_init.intr_index = cpu_to_le16(qi [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_coredump.c | 44 *seq_ptr = cpu_to_le16(seq); 51 cmn_req->req_type == cpu_to_le16(HWRM_DBG_COREDUMP_LIST)) { 80 cpu_to_le16(HWRM_DBG_COREDUMP_RETRIEVE)) 129 req->component_id = cpu_to_le16(component_id); 130 req->segment_id = cpu_to_le16(segment_id); 147 req->component_id = cpu_to_le16(component_id); 148 req->segment_id = cpu_to_le16(segment_id); 189 seg_hdr->function_id = cpu_to_le16(bp->pdev->devfn); 239 record->year = cpu_to_le16(tm.tm_year + 1900); 240 record->month = cpu_to_le16(t [all...] |
H A D | bnxt_sriov.c | 39 req->encap_async_event_target_id = cpu_to_le16(vf->fw_fid); 42 req->encap_async_event_target_id = cpu_to_le16(0xffff); 45 async_cmpl->type = cpu_to_le16(ASYNC_EVENT_CMPL_TYPE_HWRM_ASYNC_EVENT); 46 async_cmpl->event_id = cpu_to_le16(event_id); 100 req->fid = cpu_to_le16(vf->fw_fid); 123 req->fid = cpu_to_le16(BNXT_PF(bp) ? vf->fw_fid : 0xffff); 153 req->fid = cpu_to_le16(vf->fw_fid); 241 req->fid = cpu_to_le16(vf->fw_fid); 279 req->fid = cpu_to_le16(vf->fw_fid); 280 req->dflt_vlan = cpu_to_le16(vlan_ta [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | vga.h | 29 *addr = cpu_to_le16(val); 40 memset16(s, cpu_to_le16(v), n / 2);
|
/linux-master/arch/mips/include/asm/ |
H A D | vga.h | 37 *addr = cpu_to_le16(val); 47 memset16(s, cpu_to_le16(v), count / 2);
|
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | wifi.h | 93 (*(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_)) 95 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) 98 (*(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_)) 100 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) 105 (*(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_)) 107 #define GetMFrag(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_MORE_FRAG_)) != 0) 110 (*(__le16 *)(pbuf) &= (~cpu_to_le16(_MORE_FRAG_))) 112 #define GetRetry(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_RETRY_)) != 0) 115 (*(__le16 *)(pbuf) &= (~cpu_to_le16(_RETRY_))) 118 (*(__le16 *)(pbuf) |= cpu_to_le16(_PWRMGT [all...] |
/linux-master/include/linux/ |
H A D | ext2_fs.h | 37 if (*(__le16 *)(p + EXT2_SB_MAGIC_OFFSET) != cpu_to_le16(EXT2_SUPER_MAGIC))
|
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | cmd.c | 96 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 193 cmd_config.hdr.size = cpu_to_le16(sizeof(cmd_config)); 236 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 237 cmd.action = cpu_to_le16(cmd_action); 241 cmd.multipledtim = cpu_to_le16(1); /* Default DTIM multiple */ 271 cmd.error = cpu_to_le16(sp->sp_error); 272 cmd.offset = cpu_to_le16(sp->sp_offset); 273 cmd.stabletime = cpu_to_le16(sp->sp_stabletime); 276 cmd.reserved = cpu_to_le16(sp->sp_reserved); 278 cmd.hdr.size = cpu_to_le16(sizeo [all...] |
/linux-master/drivers/net/wireless/marvell/libertas_tf/ |
H A D | cmd.c | 88 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 156 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 157 cmd.action = cpu_to_le16(CMD_OPT_802_11_RF_CHANNEL_SET); 158 cmd.channel = cpu_to_le16(channel); 177 cmd.hdr.size = cpu_to_le16(size); 178 cmd.len = cpu_to_le16(beacon->len); 193 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 194 cmd.action = cpu_to_le16(CMD_ACT_SET); 195 cmd.beacon_enable = cpu_to_le16(beacon_enable); 196 cmd.beacon_period = cpu_to_le16(beacon_in [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpsw.c | 354 cmd_params->if_id = cpu_to_le16(if_id); 385 cmd_params->if_id = cpu_to_le16(if_id); 423 cmd_params->if_id = cpu_to_le16(if_id); 427 cmd_params->conf = cpu_to_le16(tmp_conf); 456 cmd_params->if_id = cpu_to_le16(if_id); 496 cmd_params->if_id = cpu_to_le16(if_id); 497 cmd_params->vlan_id = cpu_to_le16(cfg->vlan_id); 528 cmd_params->if_id = cpu_to_le16(if_id); 562 cmd_params->if_id = cpu_to_le16(if_id); 587 cmd_params->if_id = cpu_to_le16(if_i [all...] |
/linux-master/fs/udf/ |
H A D | misc.c | 58 cpu_to_le16(TAG_IDENT_EAHD) || 68 eahd->descTag.tagIdent = cpu_to_le16(TAG_IDENT_EAHD); 70 eahd->descTag.descVersion = cpu_to_le16(3); 72 eahd->descTag.descVersion = cpu_to_le16(2); 74 cpu_to_le16(sbi->s_serial_number); 117 eahd->descTag.descCRCLength = cpu_to_le16(crclen); 118 eahd->descTag.descCRC = cpu_to_le16(crc_itu_t(0, (char *)eahd + 144 cpu_to_le16(TAG_IDENT_EAHD) || 225 if (tag_p->descVersion != cpu_to_le16(0x0002U) && 226 tag_p->descVersion != cpu_to_le16( [all...] |