Home
last modified time | relevance | path

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

12345678910>>...51

/linux-6.1.9/drivers/net/ethernet/3com/
Dtyphoon.h206 #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(0x0008)
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c38 cmd->command = cpu_to_le16(HostCmd_CMD_RSSI_INFO); in mwifiex_cmd_802_11_rssi_info()
39 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_rssi_info) + in mwifiex_cmd_802_11_rssi_info()
41 cmd->params.rssi_info.action = cpu_to_le16(cmd_action); in mwifiex_cmd_802_11_rssi_info()
42 cmd->params.rssi_info.ndata = cpu_to_le16(priv->data_avg_factor); in mwifiex_cmd_802_11_rssi_info()
43 cmd->params.rssi_info.nbcn = cpu_to_le16(priv->bcn_avg_factor); in mwifiex_cmd_802_11_rssi_info()
77 cmd->command = cpu_to_le16(HostCmd_CMD_MAC_CONTROL); in mwifiex_cmd_mac_control()
79 cpu_to_le16(sizeof(struct host_cmd_ds_mac_control) + S_DS_GEN); in mwifiex_cmd_mac_control()
109 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_SNMP_MIB); in mwifiex_cmd_802_11_snmp_mib()
110 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_802_11_snmp_mib) in mwifiex_cmd_802_11_snmp_mib()
113 snmp_mib->oid = cpu_to_le16((u16)cmd_oid); in mwifiex_cmd_802_11_snmp_mib()
[all …]
Duap_cmd.c164 bss_cfg->ht_cap.cap_info = cpu_to_le16(MWIFIEX_DEF_HT_CAP); in mwifiex_set_ht_params()
308 tlv_akmp->header.type = cpu_to_le16(TLV_TYPE_UAP_AKMP); in mwifiex_uap_bss_wpa()
309 tlv_akmp->header.len = cpu_to_le16(sizeof(struct host_cmd_tlv_akmp) - in mwifiex_uap_bss_wpa()
311 tlv_akmp->key_mgmt_operation = cpu_to_le16(bss_cfg->key_mgmt_operation); in mwifiex_uap_bss_wpa()
312 tlv_akmp->key_mgmt = cpu_to_le16(bss_cfg->key_mgmt); in mwifiex_uap_bss_wpa()
318 pwk_cipher->header.type = cpu_to_le16(TLV_TYPE_PWK_CIPHER); in mwifiex_uap_bss_wpa()
320 cpu_to_le16(sizeof(struct host_cmd_tlv_pwk_cipher) - in mwifiex_uap_bss_wpa()
322 pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA); in mwifiex_uap_bss_wpa()
330 pwk_cipher->header.type = cpu_to_le16(TLV_TYPE_PWK_CIPHER); in mwifiex_uap_bss_wpa()
332 cpu_to_le16(sizeof(struct host_cmd_tlv_pwk_cipher) - in mwifiex_uap_bss_wpa()
[all …]
D11n.c57 ht_cap->cap_info = cpu_to_le16(sband->ht_cap.cap); in mwifiex_fill_cap_info()
58 ht_cap->extended_ht_cap_info = cpu_to_le16(ht_ext_cap); in mwifiex_fill_cap_info()
151 add_ba_rsp->ssn = cpu_to_le16((le16_to_cpu(add_ba_rsp->ssn)) in mwifiex_ret_11n_addba_req()
209 cmd->command = cpu_to_le16(HostCmd_CMD_RECONFIGURE_TX_BUFF); in mwifiex_cmd_recfg_tx_buf()
211 cpu_to_le16(sizeof(struct host_cmd_ds_txbuf_cfg) + S_DS_GEN); in mwifiex_cmd_recfg_tx_buf()
212 tx_buf->action = cpu_to_le16(action); in mwifiex_cmd_recfg_tx_buf()
217 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf()
243 cmd->command = cpu_to_le16(HostCmd_CMD_AMSDU_AGGR_CTRL); in mwifiex_cmd_amsdu_aggr_ctrl()
244 cmd->size = cpu_to_le16(sizeof(struct host_cmd_ds_amsdu_aggr_ctrl) in mwifiex_cmd_amsdu_aggr_ctrl()
246 amsdu_ctrl->action = cpu_to_le16(action); in mwifiex_cmd_amsdu_aggr_ctrl()
[all …]
Djoin.c49 ie_header.type = cpu_to_le16(TLV_TYPE_PASSTHROUGH); in mwifiex_cmd_append_generic_ie()
50 ie_header.len = cpu_to_le16(priv->gen_ie_buf_len); in mwifiex_cmd_append_generic_ie()
103 tsf_tlv.header.type = cpu_to_le16(TLV_TYPE_TSFTIMESTAMP); in mwifiex_cmd_append_tsf_tlv()
104 tsf_tlv.header.len = cpu_to_le16(2 * sizeof(tsf_val)); in mwifiex_cmd_append_tsf_tlv()
244 ie_header.type = cpu_to_le16(TLV_TYPE_PASSTHROUGH); in mwifiex_cmd_append_wps_ie()
245 ie_header.len = cpu_to_le16(priv->wps_ie_len); in mwifiex_cmd_append_wps_ie()
291 ie_header.type = cpu_to_le16(TLV_TYPE_WAPI_IE); in mwifiex_cmd_append_wapi_ie()
292 ie_header.len = cpu_to_le16(priv->wapi_ie_len); in mwifiex_cmd_append_wapi_ie()
328 rsn_ie_tlv->header.type = cpu_to_le16((u16) priv->wpa_ie[0]); in mwifiex_append_rsn_ie_wpa_wpa2()
329 rsn_ie_tlv->header.type = cpu_to_le16( in mwifiex_append_rsn_ie_wpa_wpa2()
[all …]
/linux-6.1.9/drivers/staging/rtl8712/
Dwifi.h28 *(__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_RETRY); \
[all …]
/linux-6.1.9/fs/fat/
Dfat_test.c36 .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(8285),
[all …]
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c25 .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(0x1211)
[all …]
/linux-6.1.9/fs/cifs/
Dcifssmb.c472 pSMB->ByteCount = cpu_to_le16(count); in CIFSSMBNegotiate()
722 pSMB->MaxParameterCount = cpu_to_le16(2); in CIFSPOSIXDelFile()
738 pRqD->type = cpu_to_le16(type); in CIFSPOSIXDelFile()
739 pSMB->ParameterOffset = cpu_to_le16(param_offset); in CIFSPOSIXDelFile()
740 pSMB->DataOffset = cpu_to_le16(offset); in CIFSPOSIXDelFile()
743 pSMB->SubCommand = cpu_to_le16(TRANS2_SET_PATH_INFORMATION); in CIFSPOSIXDelFile()
746 pSMB->DataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); in CIFSPOSIXDelFile()
747 pSMB->TotalDataCount = cpu_to_le16(sizeof(struct unlink_psx_rq)); in CIFSPOSIXDelFile()
748 pSMB->ParameterCount = cpu_to_le16(params); in CIFSPOSIXDelFile()
750 pSMB->InformationLevel = cpu_to_le16(SMB_POSIX_UNLINK); in CIFSPOSIXDelFile()
[all …]
Dcifs_unicode.c374 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()
383 dest_char = cpu_to_le16(UNI_LESSTHAN); in convert_to_sfu_char()
386 dest_char = cpu_to_le16(UNI_GRTRTHAN); in convert_to_sfu_char()
389 dest_char = cpu_to_le16(UNI_PIPE); in convert_to_sfu_char()
403 dest_char = cpu_to_le16(src_char + 0xF000); in convert_to_sfm_char()
408 dest_char = cpu_to_le16(SFM_COLON); in convert_to_sfm_char()
411 dest_char = cpu_to_le16(SFM_DOUBLEQUOTE); in convert_to_sfm_char()
414 dest_char = cpu_to_le16(SFM_ASTERISK); in convert_to_sfm_char()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dwifi.h93 (*(__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-6.1.9/include/soc/fsl/
Ddpaa2-fd.h230 fd->simple.format_offset &= cpu_to_le16(~FD_OFFSET_MASK); in dpaa2_fd_set_offset()
231 fd->simple.format_offset |= cpu_to_le16(offset); in dpaa2_fd_set_offset()
256 cpu_to_le16(~(FD_FORMAT_MASK << FD_FORMAT_SHIFT)); in dpaa2_fd_set_format()
257 fd->simple.format_offset |= cpu_to_le16(format << FD_FORMAT_SHIFT); in dpaa2_fd_set_format()
278 fd->simple.bpid &= cpu_to_le16(~(FD_BPID_MASK)); in dpaa2_fd_set_bpid()
279 fd->simple.bpid |= cpu_to_le16(bpid); in dpaa2_fd_set_bpid()
374 sg->format_offset &= cpu_to_le16(~SG_OFFSET_MASK); in dpaa2_sg_set_offset()
375 sg->format_offset |= cpu_to_le16(offset); in dpaa2_sg_set_offset()
399 sg->format_offset &= cpu_to_le16(~(SG_FORMAT_MASK << SG_FORMAT_SHIFT)); in dpaa2_sg_set_format()
400 sg->format_offset |= cpu_to_le16(format << SG_FORMAT_SHIFT); in dpaa2_sg_set_format()
[all …]
/linux-6.1.9/drivers/staging/greybus/
Daudio_apbridgea.c19 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-6.1.9/drivers/net/wireless/marvell/libertas/
Dcmd.c96 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_update_hw_spec()
193 cmd_config.hdr.size = cpu_to_le16(sizeof(cmd_config)); in lbs_host_sleep_cfg()
236 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_set_ps_mode()
237 cmd.action = cpu_to_le16(cmd_action); in lbs_set_ps_mode()
241 cmd.multipledtim = cpu_to_le16(1); /* Default DTIM multiple */ in lbs_set_ps_mode()
271 cmd.error = cpu_to_le16(sp->sp_error); in lbs_cmd_802_11_sleep_params()
272 cmd.offset = cpu_to_le16(sp->sp_offset); in lbs_cmd_802_11_sleep_params()
273 cmd.stabletime = cpu_to_le16(sp->sp_stabletime); in lbs_cmd_802_11_sleep_params()
276 cmd.reserved = cpu_to_le16(sp->sp_reserved); in lbs_cmd_802_11_sleep_params()
278 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_cmd_802_11_sleep_params()
[all …]
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dfwio.c108 if (exp_if[i].if_id == cpu_to_le16(IF_ID_LMAC)) in p54_parse_firmware()
205 hdr->flags = cpu_to_le16(hdr_flags); in p54_alloc_skb()
206 hdr->len = cpu_to_le16(payload_len); in p54_alloc_skb()
207 hdr->type = cpu_to_le16(type); in p54_alloc_skb()
237 eeprom_hdr->v1.offset = cpu_to_le16(offset); in p54_download_eeprom()
238 eeprom_hdr->v1.len = cpu_to_le16(len); in p54_download_eeprom()
241 eeprom_hdr->v2.len = cpu_to_le16(len); in p54_download_eeprom()
272 tim->entry[0] = cpu_to_le16(set ? (aid | 0x8000) : aid); in p54_update_beacon_tim()
356 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac()
365 setup->v1.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c39 req->encap_async_event_target_id = cpu_to_le16(vf->fw_fid); in bnxt_hwrm_fwd_async_event_cmpl()
42 req->encap_async_event_target_id = cpu_to_le16(0xffff); in bnxt_hwrm_fwd_async_event_cmpl()
45 async_cmpl->type = cpu_to_le16(ASYNC_EVENT_CMPL_TYPE_HWRM_ASYNC_EVENT); in bnxt_hwrm_fwd_async_event_cmpl()
46 async_cmpl->event_id = cpu_to_le16(event_id); in bnxt_hwrm_fwd_async_event_cmpl()
100 req->fid = cpu_to_le16(vf->fw_fid); in bnxt_set_vf_spoofchk()
123 req->fid = cpu_to_le16(BNXT_PF(bp) ? vf->fw_fid : 0xffff); in bnxt_hwrm_func_qcfg_flags()
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()
280 req->dflt_vlan = cpu_to_le16(vlan_tag); in bnxt_set_vf_vlan()
[all …]
Dbnxt_coredump.c44 *seq_ptr = cpu_to_le16(seq); in bnxt_hwrm_dbg_dma_data()
51 cmn_req->req_type == cpu_to_le16(HWRM_DBG_COREDUMP_LIST)) { in bnxt_hwrm_dbg_dma_data()
80 cpu_to_le16(HWRM_DBG_COREDUMP_RETRIEVE)) in bnxt_hwrm_dbg_dma_data()
129 req->component_id = cpu_to_le16(component_id); in bnxt_hwrm_dbg_coredump_initiate()
130 req->segment_id = cpu_to_le16(segment_id); in bnxt_hwrm_dbg_coredump_initiate()
147 req->component_id = cpu_to_le16(component_id); in bnxt_hwrm_dbg_coredump_retrieve()
148 req->segment_id = cpu_to_le16(segment_id); in bnxt_hwrm_dbg_coredump_retrieve()
189 seg_hdr->function_id = cpu_to_le16(bp->pdev->devfn); in bnxt_fill_coredump_seg_hdr()
239 record->year = cpu_to_le16(tm.tm_year + 1900); in bnxt_fill_coredump_record()
240 record->month = cpu_to_le16(tm.tm_mon + 1); in bnxt_fill_coredump_record()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drfi.c16 {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(360), {3, 5, 7, 9, 11, 13, 15,},
[all …]
/linux-6.1.9/fs/ksmbd/
Dsmb2misc.c32 /* 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(49),
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpsw.c354 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()
427 cmd_params->conf = cpu_to_le16(tmp_conf); 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()
497 cmd_params->vlan_id = cpu_to_le16(cfg->vlan_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()
[all …]
/linux-6.1.9/fs/smbfs_common/
Dsmb2pdu.h39 #define SMB2_NEGOTIATE cpu_to_le16(SMB2_NEGOTIATE_HE)
40 #define SMB2_SESSION_SETUP cpu_to_le16(SMB2_SESSION_SETUP_HE)
41 #define SMB2_LOGOFF cpu_to_le16(SMB2_LOGOFF_HE)
42 #define SMB2_TREE_CONNECT cpu_to_le16(SMB2_TREE_CONNECT_HE)
43 #define SMB2_TREE_DISCONNECT cpu_to_le16(SMB2_TREE_DISCONNECT_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)
[all …]
/linux-6.1.9/drivers/usb/gadget/legacy/
Dwebcam.c78 .idVendor = cpu_to_le16(WEBCAM_VENDOR_ID),
79 .idProduct = cpu_to_le16(WEBCAM_PRODUCT_ID),
80 .bcdDevice = cpu_to_le16(WEBCAM_DEVICE_BCD),
93 .bcdUVC = cpu_to_le16(0x0110),
105 .wTerminalType = cpu_to_le16(0x0201),
108 .wObjectiveFocalLengthMin = cpu_to_le16(0),
109 .wObjectiveFocalLengthMax = cpu_to_le16(0),
110 .wOcularFocalLength = cpu_to_le16(0),
123 .wMaxMultiplier = cpu_to_le16(16*1024),
136 .wTerminalType = cpu_to_le16(0x0101),
[all …]
/linux-6.1.9/drivers/staging/r8188eu/include/
Dwifi.h146 *(__le16 *)(pbuf) |= cpu_to_le16(_TO_DS_)
148 #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0)
151 *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_)
153 #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0)
156 *(__le16 *)(pbuf) |= cpu_to_le16(_MORE_FRAG_)
159 *(__le16 *)(pbuf) &= (~cpu_to_le16(_MORE_FRAG_))
161 #define GetRetry(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_RETRY_)) != 0)
164 *(__le16 *)(pbuf) |= cpu_to_le16(_PWRMGT_)
166 #define GetPwrMgt(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_PWRMGT_)) != 0)
169 *(__le16 *)(pbuf) |= cpu_to_le16(_MORE_DATA_)
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c88 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()
157 cmd.action = cpu_to_le16(CMD_OPT_802_11_RF_CHANNEL_SET); 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()
195 cmd.beacon_enable = cpu_to_le16(beacon_enable); in lbtf_beacon_ctrl()
196 cmd.beacon_period = cpu_to_le16(beacon_int); in lbtf_beacon_ctrl()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dcommands.h456 #define RXON_RX_CHAIN_DRIVER_FORCE_MSK cpu_to_le16(0x1 << 0)
458 #define RXON_RX_CHAIN_VALID_MSK cpu_to_le16(0x7 << 1)
460 #define RXON_RX_CHAIN_FORCE_SEL_MSK cpu_to_le16(0x7 << 4)
462 #define RXON_RX_CHAIN_FORCE_MIMO_SEL_MSK cpu_to_le16(0x7 << 7)
464 #define RXON_RX_CHAIN_CNT_MSK cpu_to_le16(0x3 << 10)
466 #define RXON_RX_CHAIN_MIMO_CNT_MSK cpu_to_le16(0x3 << 12)
468 #define RXON_RX_CHAIN_MIMO_FORCE_MSK cpu_to_le16(0x1 << 14)
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)
[all …]

12345678910>>...51