Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/ath12k/
H A Dhw.c121 .pipenum = __cpu_to_le32(0),
122 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
123 .nentries = __cpu_to_le32(32),
124 .nbytes_max = __cpu_to_le32(2048),
125 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
126 .reserved = __cpu_to_le32(0),
131 .pipenum = __cpu_to_le32(1),
132 .pipedir = __cpu_to_le32(PIPEDIR_IN),
133 .nentries = __cpu_to_le32(32),
134 .nbytes_max = __cpu_to_le32(2048),
[all …]
H A Dhal.c421 desc->u.qcn9274.msdu_end.info10 = __cpu_to_le32(info); in ath12k_hw_qcn9274_rx_desc_set_msdu_len()
861 desc->u.wcn7850.msdu_end.info10 = __cpu_to_le32(info); in ath12k_hw_wcn7850_rx_desc_set_msdu_len()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dhw.c386 desc->u.ipq8074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_ipq8074_rx_desc_set_msdu_len()
563 desc->u.qcn9074.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_qcn9074_rx_desc_set_msdu_len()
734 desc->u.wcn6855.msdu_start.info1 = __cpu_to_le32(info); in ath11k_hw_wcn6855_rx_desc_set_msdu_len()
1293 .pipenum = __cpu_to_le32(0),
1294 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
1295 .nentries = __cpu_to_le32(32),
1296 .nbytes_max = __cpu_to_le32(2048),
1297 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
1298 .reserved = __cpu_to_le32(0),
1303 .pipenum = __cpu_to_le32(1),
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dsnoc.c245 .pipenum = __cpu_to_le32(0),
246 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
247 .nentries = __cpu_to_le32(32),
248 .nbytes_max = __cpu_to_le32(2048),
249 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
250 .reserved = __cpu_to_le32(0),
255 .pipenum = __cpu_to_le32(1),
256 .pipedir = __cpu_to_le32(PIPEDIR_IN),
257 .nentries = __cpu_to_le32(32),
258 .nbytes_max = __cpu_to_le32(2048),
[all …]
H A Dwmi-tlv.c1774 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1795 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume()
1819 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1820 cmd->regd_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1821 cmd->regd_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1822 cmd->conform_limit_2ghz = __cpu_to_le32(ctl2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1823 cmd->conform_limit_5ghz = __cpu_to_le32(ctl5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1850 cmd->param_id = __cpu_to_le32(param_id); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1851 cmd->param_value = __cpu_to_le32(param_value); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1883 chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr); in ath10k_wmi_tlv_put_host_mem_chunks()
[all …]
H A Dbmi.c35 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done()
62 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info()
101 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info_sdio()
177 cmd.id = __cpu_to_le32(BMI_READ_MEMORY); in ath10k_bmi_read_memory()
178 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory()
179 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
214 cmd.id = __cpu_to_le32(BMI_WRITE_SOC_REGISTER); in ath10k_bmi_write_soc_reg()
215 cmd.write_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_write_soc_reg()
216 cmd.write_soc_reg.value = __cpu_to_le32(reg_val); in ath10k_bmi_write_soc_reg()
244 cmd.id = __cpu_to_le32(BMI_READ_SOC_REGISTER); in ath10k_bmi_read_soc_reg()
[all …]
H A Dpci.c236 .pipenum = __cpu_to_le32(0),
237 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
238 .nentries = __cpu_to_le32(32),
239 .nbytes_max = __cpu_to_le32(256),
240 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
241 .reserved = __cpu_to_le32(0),
246 .pipenum = __cpu_to_le32(1),
247 .pipedir = __cpu_to_le32(PIPEDIR_IN),
248 .nentries = __cpu_to_le32(32),
249 .nbytes_max = __cpu_to_le32(2048),
[all …]
H A Dwmi.c1727 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
1728 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1730 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq2); in ath10k_wmi_put_wmi_channel()
1748 __cpu_to_le32(band_center_freq1); in ath10k_wmi_put_wmi_channel()
1753 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1767 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel()
1830 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait()
2010 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
2013 cmd->hdr.buf_len = __cpu_to_le32(buf_len); in ath10k_wmi_op_gen_mgmt_tx()
3814 arg->tim_info[i].tim_len = __cpu_to_le32(tim_len); in ath10k_wmi_10_4_op_pull_swba_ev()
[all …]
H A Dswap.c67 seg_info->seg_hw_info.swap_size = __cpu_to_le32(total_payload_len); in ath10k_swap_code_seg_fill()
112 seg_info->seg_hw_info.bus_addr[0] = __cpu_to_le32(paddr); in ath10k_swap_code_seg_alloc()
113 seg_info->seg_hw_info.size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc()
114 seg_info->seg_hw_info.swap_size = __cpu_to_le32(swap_bin_len); in ath10k_swap_code_seg_alloc()
116 __cpu_to_le32(ATH10K_SWAP_CODE_SEG_NUM_SUPPORTED); in ath10k_swap_code_seg_alloc()
117 seg_info->seg_hw_info.size_log2 = __cpu_to_le32(ilog2(swap_bin_len)); in ath10k_swap_code_seg_alloc()
H A Dhtt_tx.c713 cfg->bank_base_addrs[0] = __cpu_to_le32(htt->frag_desc.paddr); in ath10k_htt_send_frag_desc_bank_cfg_32()
871 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32()
872 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_32()
1241 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
1242 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
1243 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
1244 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
1379 tx_desc->peerid = __cpu_to_le32(HTT_INVALID_PEERID); in ath10k_htt_tx_hl()
1464 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1473 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
[all …]
H A Dhtt_rx.c103 htt->rx_ring.paddrs_ring_32[idx] = __cpu_to_le32(paddr); in ath10k_htt_set_paddrs_ring_32()
171 ath10k_htt_rx_desc_get_attention(hw, rx_desc)->flags = __cpu_to_le32(0); in __ath10k_htt_rx_ring_fill_n()
206 *htt->rx_ring.alloc_idx.vaddr = __cpu_to_le32(idx); in __ath10k_htt_rx_ring_fill_n()
1142 __cpu_to_le32(RX_ATTENTION_FLAGS_PEER_IDX_INVALID)) in ath10k_htt_rx_h_peer_channel()
1146 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU))) in ath10k_htt_rx_h_peer_channel()
1305 __cpu_to_le32(RX_ATTENTION_FLAGS_FIRST_MPDU)); in ath10k_htt_rx_h_ppdu()
1307 __cpu_to_le32(RX_ATTENTION_FLAGS_LAST_MPDU)); in ath10k_htt_rx_h_ppdu()
1465 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1467 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1704 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_find_rfc1042()
[all …]
H A Dce.c458 sdesc.addr = __cpu_to_le32(buffer); in _ath10k_ce_send_nolock()
528 addr[0] = __cpu_to_le32(buffer); in _ath10k_ce_send_nolock_64()
529 addr[1] = __cpu_to_le32(flags); in _ath10k_ce_send_nolock_64()
531 addr[1] |= __cpu_to_le32(CE_WCN3990_DESC_FLAGS_GATHER); in _ath10k_ce_send_nolock_64()
533 addr[1] &= ~(__cpu_to_le32(CE_WCN3990_DESC_FLAGS_GATHER)); in _ath10k_ce_send_nolock_64()
669 desc->addr = __cpu_to_le32(paddr); in __ath10k_ce_rx_post_buf()
H A Dbmi.h266 __le32 v = __cpu_to_le32(val); \
H A Dhtt.c156 __cpu_to_le32(RX_MSDU_END_INFO0_MSDU_LIMIT_ERR)); in ath10k_qca99x0_rx_desc_msdu_limit_error()
H A Dwow.c196 pno->a_networks[i].ssid.ssid_len = __cpu_to_le32(ssid_len); in ath10k_wmi_pno_check()
H A Dhtc.c1267 __cpu_to_le32(ATH10K_HTC_SETUP_COMPLETE_FLAGS_RX_BNDL_EN); in ath10k_htc_start()
H A Dsdio.c2285 crash_data->registers[i] = __cpu_to_le32(reg_dump_values[i]); in ath10k_sdio_dump_registers()
H A Ddebug.c556 cmd->vdev_id = __cpu_to_le32(0x7ffe); in ath10k_debug_fw_assert()
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Dbyteorder.h46 #define __cpu_to_le32(x) htole32(x) macro
47 #define cpu_to_le32(x) __cpu_to_le32(x)