Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Dhw.c350 __cpu_to_le32(3),
355 __cpu_to_le32(2),
360 __cpu_to_le32(3),
365 __cpu_to_le32(2),
370 __cpu_to_le32(3),
375 __cpu_to_le32(2),
380 __cpu_to_le32(3),
385 __cpu_to_le32(2),
390 __cpu_to_le32(3),
395 __cpu_to_le32(2),
[all …]
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dhw.c1724 __cpu_to_le32(3),
1729 __cpu_to_le32(2),
1734 __cpu_to_le32(3),
1739 __cpu_to_le32(2),
1744 __cpu_to_le32(3),
1749 __cpu_to_le32(2),
1754 __cpu_to_le32(3),
1759 __cpu_to_le32(2),
1764 __cpu_to_le32(3),
1769 __cpu_to_le32(2),
[all …]
/linux-6.15/drivers/net/wireless/ath/ath10k/
H A Dsnoc.c368 __cpu_to_le32(3),
373 __cpu_to_le32(2),
378 __cpu_to_le32(3),
383 __cpu_to_le32(2),
388 __cpu_to_le32(3),
393 __cpu_to_le32(2),
398 __cpu_to_le32(3),
403 __cpu_to_le32(2),
408 __cpu_to_le32(3),
413 __cpu_to_le32(2),
[all …]
H A Dwmi-tlv.c1729 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1750 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume()
1774 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1944 cfg->vow_config = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_init()
2016 cmd->num_probes = __cpu_to_le32(3); in ath10k_wmi_tlv_op_gen_start_scan()
2220 cmd->flags = __cpu_to_le32(flags); in ath10k_wmi_tlv_op_gen_vdev_start()
3180 cmd->type = __cpu_to_le32(type); in ath10k_wmi_tlv_op_gen_force_fw_hang()
3221 cmd->value = __cpu_to_le32(value); in ath10k_wmi_tlv_op_gen_dbglog_cfg()
3502 cmd->state = __cpu_to_le32(state); in ath10k_wmi_tlv_op_gen_update_fw_tdls_state()
3644 cmd->vdev_id = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_set_quiet_mode()
[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()
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()
284 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory()
322 cmd.execute.addr = __cpu_to_le32(address); in ath10k_bmi_execute()
323 cmd.execute.param = __cpu_to_le32(param); in ath10k_bmi_execute()
371 cmd->lz_data.len = __cpu_to_le32(txlen); in ath10k_bmi_lz_data_large()
412 cmd.lz_data.len = __cpu_to_le32(txlen); in ath10k_bmi_lz_data()
[all …]
H A Dpci.c343 __cpu_to_le32(3),
348 __cpu_to_le32(2),
353 __cpu_to_le32(3),
358 __cpu_to_le32(2),
363 __cpu_to_le32(3),
368 __cpu_to_le32(2),
373 __cpu_to_le32(3),
378 __cpu_to_le32(2),
383 __cpu_to_le32(3),
388 __cpu_to_le32(2),
[all …]
H A Dwmi.c1721 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
1761 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel()
7511 cmd->input = __cpu_to_le32(input); in ath10k_wmi_op_gen_gpio_config()
7532 cmd->set = __cpu_to_le32(set); in ath10k_wmi_op_gen_gpio_output()
7712 cmd->info0 = __cpu_to_le32(info0); in ath10k_wmi_peer_assoc_fill_10_2()
7864 cmd->type = __cpu_to_le32(type); in ath10k_wmi_10_2_op_gen_pdev_bss_chan_info()
7970 cmd->type = __cpu_to_le32(type); in ath10k_wmi_op_gen_force_fw_hang()
8152 cmd->tid = __cpu_to_le32(tid); in ath10k_wmi_op_gen_addba_send()
8178 cmd->tid = __cpu_to_le32(tid); in ath10k_wmi_op_gen_addba_set_resp()
8204 cmd->tid = __cpu_to_le32(tid); in ath10k_wmi_op_gen_delba_send()
[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.c867 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_32()
1238 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
1239 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
1240 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
1460 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1469 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_32()
1542 __cpu_to_le32(HTT_INVALID_PEERID); in ath10k_htt_tx_32()
1665 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_64()
1675 __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx_64()
1729 __cpu_to_le32(HTT_MSDU_CHECKSUM_ENABLE_64); in ath10k_htt_tx_64()
[all …]
/linux-6.15/drivers/net/ethernet/marvell/prestera/
H A Dprestera_hw.c822 cmd->type = __cpu_to_le32(type); in __prestera_cmd_ret()
1027 .port = __cpu_to_le32(port->id), in prestera_hw_port_info_get()
1205 .mode = __cpu_to_le32(mode), in prestera_hw_port_phy_mode_set()
1225 .mtu = __cpu_to_le32(mtu), in prestera_hw_port_mtu_set()
1402 req->prio = __cpu_to_le32(prio); in prestera_hw_vtcam_rule_add()
1420 .id = __cpu_to_le32(rule_id) in prestera_hw_vtcam_rule_del()
2067 .grp_id = __cpu_to_le32(grp_id), in prestera_hw_lpm_add()
2312 .block_id = __cpu_to_le32(idx), in prestera_hw_counters_get()
2346 .client = __cpu_to_le32(client) in prestera_hw_counter_block_get()
2407 .id = __cpu_to_le32(policer_id) in prestera_hw_policer_release()
[all …]
/linux-6.15/include/uapi/linux/
H A Dnilfs2_ondisk.h537 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) | \
543 cp->cp_flags = __cpu_to_le32(__le32_to_cpu(cp->cp_flags) & \
599 su->su_flags = __cpu_to_le32(__le32_to_cpu(su->su_flags) | \
606 __cpu_to_le32(__le32_to_cpu(su->su_flags) & \
624 su->su_nblocks = __cpu_to_le32(0); in NILFS_SEGMENT_USAGE_FNS()
625 su->su_flags = __cpu_to_le32(0); in NILFS_SEGMENT_USAGE_FNS()
/linux-6.15/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 …]
/linux-6.15/drivers/bluetooth/
H A Dbtnxpuart.c756 nxp_cmd5.header = __cpu_to_le32(5); in nxp_fw_change_baudrate()
767 uart_config.clkdiv.value = __cpu_to_le32(0x00c00000); in nxp_fw_change_baudrate()
769 uart_config.uartdiv.value = __cpu_to_le32(1); in nxp_fw_change_baudrate()
770 uart_config.mcr.address = __cpu_to_le32(uartmcraddr); in nxp_fw_change_baudrate()
771 uart_config.mcr.value = __cpu_to_le32(MCR); in nxp_fw_change_baudrate()
773 uart_config.re_init.value = __cpu_to_le32(INIT); in nxp_fw_change_baudrate()
775 uart_config.icr.value = __cpu_to_le32(ICR); in nxp_fw_change_baudrate()
777 uart_config.fcr.value = __cpu_to_le32(FCR); in nxp_fw_change_baudrate()
798 nxp_cmd7.header = __cpu_to_le32(7); in nxp_fw_change_timeout()
799 nxp_cmd7.arg = __cpu_to_le32(0x70); in nxp_fw_change_timeout()
[all …]
/linux-6.15/drivers/crypto/
H A Dhifn_795x.c870 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
873 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
1196 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc()
1226 dma->srcr[idx].p = __cpu_to_le32(addr); in hifn_setup_src_desc()
1231 dma->srcr[idx].l = __cpu_to_le32(HIFN_D_VALID | in hifn_setup_src_desc()
1284 dma->dstr[idx].p = __cpu_to_le32(addr); in hifn_setup_dst_desc()
1289 dma->dstr[idx].l = __cpu_to_le32(HIFN_D_VALID | in hifn_setup_dst_desc()
1707 if (dma->resr[i].l & __cpu_to_le32(HIFN_D_VALID)) in hifn_clear_rings()
1725 if (dma->srcr[i].l & __cpu_to_le32(HIFN_D_VALID)) in hifn_clear_rings()
1735 if (dma->cmdr[i].l & __cpu_to_le32(HIFN_D_VALID)) in hifn_clear_rings()
[all …]
/linux-6.15/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);\
/linux-6.15/drivers/usb/serial/
H A Dgarmin_gps.c422 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
423 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
424 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()
809 pkt[0] = __cpu_to_le32(GARMIN_LAYERID_PRIVATE); in priv_status_resp()
810 pkt[1] = __cpu_to_le32(PRIV_PKTID_INFO_RESP); in priv_status_resp()
811 pkt[2] = __cpu_to_le32(12); in priv_status_resp()
812 pkt[3] = __cpu_to_le32(VERSION_MAJOR << 16 | VERSION_MINOR); in priv_status_resp()
813 pkt[4] = __cpu_to_le32(garmin_data_p->mode); in priv_status_resp()
814 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
/linux-6.15/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)
/linux-6.15/drivers/md/dm-vdo/
H A Dencodings.h744 .major_version = __cpu_to_le32(version.major_version), in vdo_pack_version_number()
745 .minor_version = __cpu_to_le32(version.minor_version), in vdo_pack_version_number()
773 .id = __cpu_to_le32(header->id), in vdo_pack_header()
845 .pbn_low_word = __cpu_to_le32(pbn & UINT_MAX), in vdo_pack_block_map_entry()
912 .pbn_low_word = __cpu_to_le32(entry->slot.pbn & UINT_MAX), in vdo_pack_recovery_journal_entry()
/linux-6.15/arch/microblaze/include/asm/
H A Dio.h48 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/include/linux/byteorder/
H A Dgeneric.h88 #define cpu_to_le32 __cpu_to_le32
/linux-6.15/drivers/net/usb/
H A Dr8153_ecm.c62 tmp = __cpu_to_le32(data); in pla_write_word()

123