Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/ath/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 …]
/openbmc/linux/drivers/net/wireless/ath/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 …]
/openbmc/linux/drivers/net/wireless/ath/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.c1728 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1749 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume()
1773 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1774 cmd->regd_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1775 cmd->regd_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1776 cmd->conform_limit_2ghz = __cpu_to_le32(ctl2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1777 cmd->conform_limit_5ghz = __cpu_to_le32(ctl5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1804 cmd->param_id = __cpu_to_le32(param_id); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1805 cmd->param_value = __cpu_to_le32(param_value); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1829 chunk->ptr = __cpu_to_le32(ar->wmi.mem_chunks[i].paddr); in ath10k_wmi_tlv_put_host_mem_chunks()
[all …]
H A Dbmi.c36 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done()
63 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info()
102 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info_sdio()
174 cmd.id = __cpu_to_le32(BMI_READ_MEMORY); in ath10k_bmi_read_memory()
175 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory()
176 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
211 cmd.id = __cpu_to_le32(BMI_WRITE_SOC_REGISTER); in ath10k_bmi_write_soc_reg()
212 cmd.write_soc_reg.addr = __cpu_to_le32(address); in ath10k_bmi_write_soc_reg()
213 cmd.write_soc_reg.value = __cpu_to_le32(reg_val); in ath10k_bmi_write_soc_reg()
241 cmd.id = __cpu_to_le32(BMI_READ_SOC_REGISTER); in ath10k_bmi_read_soc_reg()
[all …]
H A Dwmi.c1721 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
1722 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1724 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq2); in ath10k_wmi_put_wmi_channel()
1742 __cpu_to_le32(band_center_freq1); in ath10k_wmi_put_wmi_channel()
1747 ch->band_center_freq2 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
1761 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel()
1844 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait()
2024 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
2027 cmd->hdr.buf_len = __cpu_to_le32(buf_len); in ath10k_wmi_op_gen_mgmt_tx()
3807 arg->tim_info[i].tim_len = __cpu_to_le32(tim_len); in ath10k_wmi_10_4_op_pull_swba_ev()
[all …]
H A Dpci.c229 .pipenum = __cpu_to_le32(0),
230 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
231 .nentries = __cpu_to_le32(32),
232 .nbytes_max = __cpu_to_le32(256),
233 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
234 .reserved = __cpu_to_le32(0),
239 .pipenum = __cpu_to_le32(1),
240 .pipedir = __cpu_to_le32(PIPEDIR_IN),
241 .nentries = __cpu_to_le32(32),
242 .nbytes_max = __cpu_to_le32(2048),
[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.c714 cfg->bank_base_addrs[0] = __cpu_to_le32(htt->frag_desc.paddr); in ath10k_htt_send_frag_desc_bank_cfg_32()
872 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32()
873 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_32()
1242 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
1243 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
1244 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
1245 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
1380 tx_desc->peerid = __cpu_to_le32(HTT_INVALID_PEERID); in ath10k_htt_tx_hl()
1465 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1474 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c820 cmd->type = __cpu_to_le32(type); in __prestera_cmd_ret()
826 if (ret->cmd.type != __cpu_to_le32(PRESTERA_CMD_TYPE_ACK)) in __prestera_cmd_ret()
828 if (ret->status != __cpu_to_le32(PRESTERA_CMD_ACK_OK)) in __prestera_cmd_ret()
1025 .port = __cpu_to_le32(port->id), in prestera_hw_port_info_get()
1045 .attr = __cpu_to_le32(PRESTERA_CMD_SWITCH_ATTR_MAC), in prestera_hw_switch_mac_set()
1093 .attr = __cpu_to_le32(PRESTERA_CMD_SWITCH_ATTR_AGEING), in prestera_hw_switch_ageing_set()
1095 .ageing_timeout_ms = __cpu_to_le32(ageing_ms), in prestera_hw_switch_ageing_set()
1108 .attr = __cpu_to_le32(PRESTERA_CMD_PORT_ATTR_MAC_MODE), in prestera_hw_port_mac_mode_get()
1109 .port = __cpu_to_le32(port->hw_id), in prestera_hw_port_mac_mode_get()
1110 .dev = __cpu_to_le32(port->dev_id) in prestera_hw_port_mac_mode_get()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dnilfs2_ondisk.h536 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) | \
542 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) & \
598 su->su_flags = __cpu_to_le32(__le32_to_cpu(su->su_flags) | \
605 __cpu_to_le32(__le32_to_cpu(su->su_flags) & \
623 su->su_nblocks = __cpu_to_le32(0); in NILFS_SEGMENT_USAGE_FNS()
624 su->su_flags = __cpu_to_le32(0); in NILFS_SEGMENT_USAGE_FNS()
/openbmc/linux/drivers/bluetooth/
H A Dbtnxpuart.c654 nxp_cmd5.header = __cpu_to_le32(5); in nxp_fw_change_baudrate()
656 nxp_cmd5.payload_len = __cpu_to_le32(sizeof(uart_config)); in nxp_fw_change_baudrate()
664 uart_config.clkdiv.address = __cpu_to_le32(clkdivaddr); in nxp_fw_change_baudrate()
665 uart_config.clkdiv.value = __cpu_to_le32(0x00c00000); in nxp_fw_change_baudrate()
666 uart_config.uartdiv.address = __cpu_to_le32(uartdivaddr); in nxp_fw_change_baudrate()
667 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()
668 uart_config.mcr.address = __cpu_to_le32(uartmcraddr); in nxp_fw_change_baudrate()
669 uart_config.mcr.value = __cpu_to_le32(MCR); in nxp_fw_change_baudrate()
670 uart_config.re_init.address = __cpu_to_le32(uartreinitaddr); in nxp_fw_change_baudrate()
671 uart_config.re_init.value = __cpu_to_le32(INIT); in nxp_fw_change_baudrate()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.h1277 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power()
1364 val |= __cpu_to_le32(BIT(0)); in wsm_set_rx_filter()
1366 val |= __cpu_to_le32(BIT(1)); in wsm_set_rx_filter()
1368 val |= __cpu_to_le32(BIT(2)); in wsm_set_rx_filter()
1370 val |= __cpu_to_le32(BIT(3)); in wsm_set_rx_filter()
1417 val.enabled = __cpu_to_le32(arg->enabled); in wsm_beacon_filter_control()
1418 val.bcn_count = __cpu_to_le32(arg->bcn_count); in wsm_beacon_filter_control()
1479 val |= __cpu_to_le32(BIT(0)); in wsm_set_protected_mgmt_policy()
1481 val |= __cpu_to_le32(BIT(1)); in wsm_set_protected_mgmt_policy()
1483 val |= __cpu_to_le32(BIT(2)); in wsm_set_protected_mgmt_policy()
[all …]
H A Dsta.c473 bf_tbl.num = __cpu_to_le32(0); in cw1200_update_filtering()
478 bf_tbl.num = __cpu_to_le32(2); in cw1200_update_filtering()
482 bf_tbl.num = __cpu_to_le32(3); in cw1200_update_filtering()
564 priv->multicast_filter.enable = __cpu_to_le32(1); in cw1200_prepare_multicast()
565 priv->multicast_filter.num_addrs = __cpu_to_le32(count); in cw1200_prepare_multicast()
848 __le32 wep_default_key_id = __cpu_to_le32( in cw1200_wep_key_work()
870 val32 = __cpu_to_le32(value); in cw1200_set_rts_threshold()
1738 __cpu_to_le32(1) : 0; in cw1200_set_cts_work()
1829 filter.enable = __cpu_to_le32(1); in cw1200_bss_info_changed()
1952 priv->association_mode.basic_rate_set = __cpu_to_le32( in cw1200_bss_info_changed()
[all …]
/openbmc/linux/drivers/crypto/
H A Dhifn_795x.c887 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
890 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
894 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
896 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
898 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
900 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
1209 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
1213 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc()
1218 dma->cmdr[dma->cmdi - 1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc()
1243 dma->srcr[idx].p = __cpu_to_le32(addr); in hifn_setup_src_desc()
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_types.h147 (dasdp)->limit_lo = __cpu_to_le32(limit);\
154 (dasdp)->used_lo = __cpu_to_le32(used);\
H A Djfs_xtree.h35 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\
/openbmc/linux/drivers/usb/serial/
H A Dgarmin_gps.c423 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
424 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
425 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()
810 pkt[0] = __cpu_to_le32(GARMIN_LAYERID_PRIVATE); in priv_status_resp()
811 pkt[1] = __cpu_to_le32(PRIV_PKTID_INFO_RESP); in priv_status_resp()
812 pkt[2] = __cpu_to_le32(12); in priv_status_resp()
813 pkt[3] = __cpu_to_le32(VERSION_MAJOR << 16 | VERSION_MINOR); in priv_status_resp()
814 pkt[4] = __cpu_to_le32(garmin_data_p->mode); in priv_status_resp()
815 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
/openbmc/linux/include/linux/ceph/
H A Ddecode.h222 #define CEPH_ENTITY_ADDR_TYPE_LEGACY __cpu_to_le32(1)
223 #define CEPH_ENTITY_ADDR_TYPE_MSGR2 __cpu_to_le32(2)
224 #define CEPH_ENTITY_ADDR_TYPE_ANY __cpu_to_le32(3)
/openbmc/linux/arch/microblaze/include/asm/
H A Dio.h48 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
/openbmc/linux/drivers/nvdimm/
H A Dnd.h77 nd_label->cxl.slot = __cpu_to_le32(slot); in nsl_set_slot()
79 nd_label->efi.slot = __cpu_to_le32(slot); in nsl_set_slot()
112 nd_label->cxl.flags = __cpu_to_le32(flags); in nsl_set_flags()
114 nd_label->efi.flags = __cpu_to_le32(flags); in nsl_set_flags()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/
H A Dmusl.patch23 #include <asm/byteorder.h> /* __cpu_to_le32 and co. */
/openbmc/linux/drivers/input/serio/
H A Dhyperv-keyboard.c266 request->header.type = __cpu_to_le32(SYNTH_KBD_PROTOCOL_REQUEST); in hv_kbd_connect_to_vsp()
267 request->version_requested.version = __cpu_to_le32(SYNTH_KBD_VERSION); in hv_kbd_connect_to_vsp()
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_mux.c372 mux_header->start_flag = __cpu_to_le32(START_FLAG); in gdm_mux_send()
373 mux_header->seq_num = __cpu_to_le32(seq_num++); in gdm_mux_send()
374 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
/openbmc/u-boot/include/linux/byteorder/
H A Dgeneric.h88 #define cpu_to_le32 __cpu_to_le32

123