Home
last modified time | relevance | path

Searched refs:__cpu_to_le32 (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.c1436 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1457 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume()
1481 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1482 cmd->regd_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1483 cmd->regd_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1484 cmd->conform_limit_2ghz = __cpu_to_le32(ctl2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1485 cmd->conform_limit_5ghz = __cpu_to_le32(ctl5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1512 cmd->param_id = __cpu_to_le32(param_id); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1513 cmd->param_value = __cpu_to_le32(param_value); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1562 cmd->abi.abi_ver0 = __cpu_to_le32(WMI_TLV_ABI_VER0); in ath10k_wmi_tlv_op_gen_init()
[all …]
Dsnoc.c180 __cpu_to_le32(ATH10K_HTC_SVC_ID_WMI_DATA_VO),
181 __cpu_to_le32(PIPEDIR_OUT), /* out = UL = host -> target */
182 __cpu_to_le32(3),
185 __cpu_to_le32(ATH10K_HTC_SVC_ID_WMI_DATA_VO),
186 __cpu_to_le32(PIPEDIR_IN), /* in = DL = target -> host */
187 __cpu_to_le32(2),
190 __cpu_to_le32(ATH10K_HTC_SVC_ID_WMI_DATA_BK),
191 __cpu_to_le32(PIPEDIR_OUT), /* out = UL = host -> target */
192 __cpu_to_le32(3),
195 __cpu_to_le32(ATH10K_HTC_SVC_ID_WMI_DATA_BK),
[all …]
Dbmi.c53 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done()
80 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info()
119 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info_sdio()
191 cmd.id = __cpu_to_le32(BMI_READ_MEMORY); in ath10k_bmi_read_memory()
192 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory()
193 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
227 cmd.id = __cpu_to_le32(BMI_WRITE_SOC_REGISTER); in ath10k_bmi_write_soc_reg()
228 cmd.write_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_write_soc_reg()
229 cmd.write_soc_reg.value = __cpu_to_le32(reg_val); in ath10k_bmi_write_soc_reg()
257 cmd.id = __cpu_to_le32(BMI_READ_SOC_REGISTER); in ath10k_bmi_read_soc_reg()
[all …]
Dwmi.c1681 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
1682 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1684 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq2); in ath10k_wmi_put_wmi_channel()
1695 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel()
1758 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait()
1919 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
1922 cmd->hdr.buf_len = __cpu_to_le32(buf_len); in ath10k_wmi_op_gen_mgmt_tx()
3569 arg->tim_info[i].tim_len = __cpu_to_le32(tim_len); in ath10k_wmi_10_4_op_pull_swba_ev()
6126 cmd->reg_domain = __cpu_to_le32(rd); in ath10k_wmi_op_gen_pdev_set_rd()
6127 cmd->reg_domain_2G = __cpu_to_le32(rd2g); in ath10k_wmi_op_gen_pdev_set_rd()
[all …]
Dpci.c239 .pipenum = __cpu_to_le32(0),
240 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
241 .nentries = __cpu_to_le32(32),
242 .nbytes_max = __cpu_to_le32(256),
243 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
244 .reserved = __cpu_to_le32(0),
249 .pipenum = __cpu_to_le32(1),
250 .pipedir = __cpu_to_le32(PIPEDIR_IN),
251 .nentries = __cpu_to_le32(32),
252 .nbytes_max = __cpu_to_le32(2048),
[all …]
Dswap.c78 seg_info->seg_hw_info.swap_size = __cpu_to_le32(total_payload_len); in ath10k_swap_code_seg_fill()
125 seg_info->seg_hw_info.bus_addr[0] = __cpu_to_le32(paddr); in ath10k_swap_code_seg_alloc()
126 seg_info->seg_hw_info.size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc()
127 seg_info->seg_hw_info.swap_size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc()
129 __cpu_to_le32(ATH10K_SWAP_CODE_SEG_NUM_SUPPORTED); in ath10k_swap_code_seg_alloc()
130 seg_info->seg_hw_info.size_log2 = __cpu_to_le32(ilog2(swap_bin_len)); in ath10k_swap_code_seg_alloc()
Dhtt_tx.c672 cfg->bank_base_addrs[0] = __cpu_to_le32(htt->frag_desc.paddr); in ath10k_htt_send_frag_desc_bank_cfg_32()
851 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32()
852 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_32()
1112 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
1113 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
1114 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
1115 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
1211 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1220 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1221 frags[0].dword_addr.len = __cpu_to_le32(msdu->len); in ath10k_htt_tx_32()
[all …]
Dhtt_rx.c111 htt->rx_ring.paddrs_ring_32[idx] = __cpu_to_le32(paddr); in ath10k_htt_set_paddrs_ring_32()
170 rx_desc->attention.flags = __cpu_to_le32(0); in __ath10k_htt_rx_ring_fill_n()
205 *htt->rx_ring.alloc_idx.vaddr = __cpu_to_le32(idx); in __ath10k_htt_rx_ring_fill_n()
877 __cpu_to_le32(RX_ATTENTION_FLAGS_PEER_IDX_INVALID)) in ath10k_htt_rx_h_peer_channel()
881 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU))) in ath10k_htt_rx_h_peer_channel()
1024 __cpu_to_le32(RX_ATTENTION_FLAGS_FIRST_MPDU)); in ath10k_htt_rx_h_ppdu()
1026 __cpu_to_le32(RX_ATTENTION_FLAGS_LAST_MPDU)); in ath10k_htt_rx_h_ppdu()
1164 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1166 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1314 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_find_rfc1042()
[all …]
Dbmi.h227 __le32 v = __cpu_to_le32(val); \
Dce.c491 sdesc.addr = __cpu_to_le32(buffer); in _ath10k_ce_send_nolock()
567 addr[0] = __cpu_to_le32(buffer); in _ath10k_ce_send_nolock_64()
568 addr[1] = __cpu_to_le32(flags); in _ath10k_ce_send_nolock_64()
570 addr[1] |= __cpu_to_le32(CE_WCN3990_DESC_FLAGS_GATHER); in _ath10k_ce_send_nolock_64()
572 addr[1] &= ~(__cpu_to_le32(CE_WCN3990_DESC_FLAGS_GATHER)); in _ath10k_ce_send_nolock_64()
702 desc->addr = __cpu_to_le32(paddr); in __ath10k_ce_rx_post_buf()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dwsm.h1292 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power()
1379 val |= __cpu_to_le32(BIT(0)); in wsm_set_rx_filter()
1381 val |= __cpu_to_le32(BIT(1)); in wsm_set_rx_filter()
1383 val |= __cpu_to_le32(BIT(2)); in wsm_set_rx_filter()
1385 val |= __cpu_to_le32(BIT(3)); in wsm_set_rx_filter()
1432 val.enabled = __cpu_to_le32(arg->enabled); in wsm_beacon_filter_control()
1433 val.bcn_count = __cpu_to_le32(arg->bcn_count); in wsm_beacon_filter_control()
1494 val |= __cpu_to_le32(BIT(0)); in wsm_set_protected_mgmt_policy()
1496 val |= __cpu_to_le32(BIT(1)); in wsm_set_protected_mgmt_policy()
1498 val |= __cpu_to_le32(BIT(2)); in wsm_set_protected_mgmt_policy()
[all …]
Dsta.c476 bf_tbl.num = __cpu_to_le32(0); in cw1200_update_filtering()
481 bf_tbl.num = __cpu_to_le32(2); in cw1200_update_filtering()
485 bf_tbl.num = __cpu_to_le32(3); in cw1200_update_filtering()
567 priv->multicast_filter.enable = __cpu_to_le32(1); in cw1200_prepare_multicast()
568 priv->multicast_filter.num_addrs = __cpu_to_le32(count); in cw1200_prepare_multicast()
850 __le32 wep_default_key_id = __cpu_to_le32( in cw1200_wep_key_work()
872 val32 = __cpu_to_le32(value); in cw1200_set_rts_threshold()
1740 __cpu_to_le32(1) : 0; in cw1200_set_cts_work()
1831 filter.enable = __cpu_to_le32(1); in cw1200_bss_info_changed()
1954 priv->association_mode.basic_rate_set = __cpu_to_le32( in cw1200_bss_info_changed()
[all …]
/Linux-v4.19/drivers/crypto/
Dhifn_795x.c895 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
898 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
902 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
904 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
906 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
908 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
1217 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
1221 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc()
1226 dma->cmdr[dma->cmdi - 1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc()
1250 dma->srcr[idx].p = __cpu_to_le32(addr); in hifn_setup_src_desc()
[all …]
/Linux-v4.19/fs/jfs/
Djfs_types.h160 (dasdp)->limit_lo = __cpu_to_le32(limit);\
167 (dasdp)->used_lo = __cpu_to_le32(used);\
Djfs_xtree.h48 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\
Djfs_dtree.h129 (dir_table_slot)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\
/Linux-v4.19/drivers/usb/serial/
Dgarmin_gps.c420 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
421 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
422 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()
807 pkt[0] = __cpu_to_le32(GARMIN_LAYERID_PRIVATE); in priv_status_resp()
808 pkt[1] = __cpu_to_le32(PRIV_PKTID_INFO_RESP); in priv_status_resp()
809 pkt[2] = __cpu_to_le32(12); in priv_status_resp()
810 pkt[3] = __cpu_to_le32(VERSION_MAJOR << 16 | VERSION_MINOR); in priv_status_resp()
811 pkt[4] = __cpu_to_le32(garmin_data_p->mode); in priv_status_resp()
812 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
/Linux-v4.19/arch/microblaze/include/asm/
Dio.h60 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
/Linux-v4.19/arch/m68k/include/asm/
Dio_no.h96 __raw_writel(__cpu_to_le32(value), addr); in writel()
/Linux-v4.19/drivers/input/serio/
Dhyperv-keyboard.c295 request->header.type = __cpu_to_le32(SYNTH_KBD_PROTOCOL_REQUEST); in hv_kbd_connect_to_vsp()
296 request->version_requested.version = __cpu_to_le32(SYNTH_KBD_VERSION); in hv_kbd_connect_to_vsp()
/Linux-v4.19/drivers/nvdimm/
Dlabel.c534 nsindex->seq = __cpu_to_le32(seq); in nd_label_write_index()
546 nsindex->nslot = __cpu_to_le32(nslot); in nd_label_write_index()
669 nd_label->flags = __cpu_to_le32(NSLABEL_FLAG_UPDATING); in __pmem_label_update()
676 nd_label->slot = __cpu_to_le32(slot); in __pmem_label_update()
888 nd_label->flags = __cpu_to_le32(NSLABEL_FLAG_LOCAL); in __blk_label_update()
913 nd_label->slot = __cpu_to_le32(slot); in __blk_label_update()
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_mux.c373 mux_header->start_flag = __cpu_to_le32(START_FLAG); in gdm_mux_send()
374 mux_header->seq_num = __cpu_to_le32(seq_num++); in gdm_mux_send()
375 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
/Linux-v4.19/include/linux/byteorder/
Dgeneric.h88 #define cpu_to_le32 __cpu_to_le32
/Linux-v4.19/include/uapi/linux/byteorder/
Dbig_endian.h33 #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) macro
Dlittle_endian.h33 #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) macro

12