Lines Matching refs:__le32_to_cpu
190 tx_status = __le32_to_cpu(ev->tx_status); in ath10k_wmi_tlv_event_bcn_tx_status()
191 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_bcn_tx_status()
235 __le32_to_cpu(stat->last_rx_rate_code), in ath10k_wmi_tlv_parse_peer_stats_info()
236 __le32_to_cpu(stat->last_rx_bitrate_kbps)); in ath10k_wmi_tlv_parse_peer_stats_info()
240 __le32_to_cpu(stat->last_tx_rate_code), in ath10k_wmi_tlv_parse_peer_stats_info()
241 __le32_to_cpu(stat->last_tx_bitrate_kbps)); in ath10k_wmi_tlv_parse_peer_stats_info()
252 arsta->rx_rate_code = __le32_to_cpu(stat->last_rx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
253 arsta->rx_bitrate_kbps = __le32_to_cpu(stat->last_rx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
254 arsta->tx_rate_code = __le32_to_cpu(stat->last_tx_rate_code); in ath10k_wmi_tlv_parse_peer_stats_info()
255 arsta->tx_bitrate_kbps = __le32_to_cpu(stat->last_tx_bitrate_kbps); in ath10k_wmi_tlv_parse_peer_stats_info()
285 num_peer_stats = __le32_to_cpu(ev->num_peers); in ath10k_wmi_tlv_op_pull_peer_stats_info()
289 __le32_to_cpu(ev->vdev_id), in ath10k_wmi_tlv_op_pull_peer_stats_info()
291 __le32_to_cpu(ev->more_data)); in ath10k_wmi_tlv_op_pull_peer_stats_info()
333 num_items = __le32_to_cpu(ev->num_items); in ath10k_wmi_tlv_event_diag_data()
353 __le32_to_cpu(item->timestamp), in ath10k_wmi_tlv_event_diag_data()
354 __le32_to_cpu(item->code), in ath10k_wmi_tlv_event_diag_data()
424 vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_event_p2p_noa()
456 pause_id = __le32_to_cpu(ev->pause_id); in ath10k_wmi_tlv_event_tx_pause()
457 action = __le32_to_cpu(ev->action); in ath10k_wmi_tlv_event_tx_pause()
458 vdev_map = __le32_to_cpu(ev->vdev_map); in ath10k_wmi_tlv_event_tx_pause()
459 peer_id = __le32_to_cpu(ev->peer_id); in ath10k_wmi_tlv_event_tx_pause()
460 tid_map = __le32_to_cpu(ev->tid_map); in ath10k_wmi_tlv_event_tx_pause()
525 __le32_to_cpu(ev->gpio_pin_num), in ath10k_wmi_tlv_event_rfkill_state_change()
526 __le32_to_cpu(ev->int_type), in ath10k_wmi_tlv_event_rfkill_state_change()
527 __le32_to_cpu(ev->radio_state)); in ath10k_wmi_tlv_event_rfkill_state_change()
529 radio = (__le32_to_cpu(ev->radio_state) == WMI_TLV_RFKILL_RADIO_STATE_ON); in ath10k_wmi_tlv_event_rfkill_state_change()
552 ath10k_thermal_event_temperature(ar, __le32_to_cpu(ev->temperature)); in ath10k_wmi_tlv_event_temperature()
575 switch (__le32_to_cpu(ev->peer_reason)) { in ath10k_wmi_event_tdls_peer()
587 arvif = ath10k_get_arvif(ar, __le32_to_cpu(ev->vdev_id)); in ath10k_wmi_event_tdls_peer()
634 id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID); in ath10k_wmi_tlv_op_rx()
968 msdu_len = __le32_to_cpu(arg->buf_len); in ath10k_wmi_tlv_op_pull_mgmt_rx_ev()
1100 if (__le32_to_cpu(tim_info_ev->tim_len) > in ath10k_wmi_tlv_swba_tim_parse()
1187 for (map = __le32_to_cpu(arg->vdev_map), n_vdevs = 0; map; map >>= 1) in ath10k_wmi_tlv_op_pull_swba_ev()
1222 arg->num_phyerrs = __le32_to_cpu(ev->num_phyerrs); in ath10k_wmi_tlv_op_pull_phyerr_ev_hdr()
1223 arg->tsf_l32 = __le32_to_cpu(ev->tsf_l32); in ath10k_wmi_tlv_op_pull_phyerr_ev_hdr()
1224 arg->tsf_u32 = __le32_to_cpu(ev->tsf_u32); in ath10k_wmi_tlv_op_pull_phyerr_ev_hdr()
1225 arg->buf_len = __le32_to_cpu(ev->buf_len); in ath10k_wmi_tlv_op_pull_phyerr_ev_hdr()
1332 __le32_to_cpu(ev->abi.abi_ver0), WMI_TLV_ABI_VER0, in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1333 __le32_to_cpu(ev->abi.abi_ver_ns0), WMI_TLV_ABI_VER_NS0, in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1334 __le32_to_cpu(ev->abi.abi_ver_ns1), WMI_TLV_ABI_VER_NS1, in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1335 __le32_to_cpu(ev->abi.abi_ver_ns2), WMI_TLV_ABI_VER_NS2, in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1336 __le32_to_cpu(ev->abi.abi_ver_ns3), WMI_TLV_ABI_VER_NS3); in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1338 if (__le32_to_cpu(ev->abi.abi_ver0) != WMI_TLV_ABI_VER0 || in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1339 __le32_to_cpu(ev->abi.abi_ver_ns0) != WMI_TLV_ABI_VER_NS0 || in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1340 __le32_to_cpu(ev->abi.abi_ver_ns1) != WMI_TLV_ABI_VER_NS1 || in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1341 __le32_to_cpu(ev->abi.abi_ver_ns2) != WMI_TLV_ABI_VER_NS2 || in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1342 __le32_to_cpu(ev->abi.abi_ver_ns3) != WMI_TLV_ABI_VER_NS3) { in ath10k_wmi_tlv_op_pull_svc_rdy_ev()
1446 dst->vdev_id = __le32_to_cpu(src->vdev_id); in ath10k_wmi_tlv_pull_vdev_stats()
1447 dst->beacon_snr = __le32_to_cpu(src->beacon_snr); in ath10k_wmi_tlv_pull_vdev_stats()
1448 dst->data_snr = __le32_to_cpu(src->data_snr); in ath10k_wmi_tlv_pull_vdev_stats()
1449 dst->num_rx_frames = __le32_to_cpu(src->num_rx_frames); in ath10k_wmi_tlv_pull_vdev_stats()
1450 dst->num_rts_fail = __le32_to_cpu(src->num_rts_fail); in ath10k_wmi_tlv_pull_vdev_stats()
1451 dst->num_rts_success = __le32_to_cpu(src->num_rts_success); in ath10k_wmi_tlv_pull_vdev_stats()
1452 dst->num_rx_err = __le32_to_cpu(src->num_rx_err); in ath10k_wmi_tlv_pull_vdev_stats()
1453 dst->num_rx_discard = __le32_to_cpu(src->num_rx_discard); in ath10k_wmi_tlv_pull_vdev_stats()
1454 dst->num_tx_not_acked = __le32_to_cpu(src->num_tx_not_acked); in ath10k_wmi_tlv_pull_vdev_stats()
1458 __le32_to_cpu(src->num_tx_frames[i]); in ath10k_wmi_tlv_pull_vdev_stats()
1462 __le32_to_cpu(src->num_tx_frames_retries[i]); in ath10k_wmi_tlv_pull_vdev_stats()
1466 __le32_to_cpu(src->num_tx_frames_failures[i]); in ath10k_wmi_tlv_pull_vdev_stats()
1470 __le32_to_cpu(src->tx_rate_history[i]); in ath10k_wmi_tlv_pull_vdev_stats()
1474 __le32_to_cpu(src->beacon_rssi_history[i]); in ath10k_wmi_tlv_pull_vdev_stats()
1511 num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); in ath10k_wmi_tlv_op_pull_fw_stats()
1512 num_vdev_stats = __le32_to_cpu(ev->num_vdev_stats); in ath10k_wmi_tlv_op_pull_fw_stats()
1513 num_peer_stats = __le32_to_cpu(ev->num_peer_stats); in ath10k_wmi_tlv_op_pull_fw_stats()
1514 num_bcnflt_stats = __le32_to_cpu(ev->num_bcnflt_stats); in ath10k_wmi_tlv_op_pull_fw_stats()
1515 num_chan_stats = __le32_to_cpu(ev->num_chan_stats); in ath10k_wmi_tlv_op_pull_fw_stats()
1516 stats_id = __le32_to_cpu(ev->stats_id); in ath10k_wmi_tlv_op_pull_fw_stats()
1517 num_peer_stats_extd = __le32_to_cpu(ev->num_peer_stats_extd); in ath10k_wmi_tlv_op_pull_fw_stats()
1586 dst->peer_rx_rate = __le32_to_cpu(src->peer_rx_rate); in ath10k_wmi_tlv_op_pull_fw_stats()
1595 dst->rx_duration = __le32_to_cpu(extd->rx_duration); in ath10k_wmi_tlv_op_pull_fw_stats()
1596 rx_duration_high = __le32_to_cpu in ath10k_wmi_tlv_op_pull_fw_stats()
1666 arg->vdev_id = __le32_to_cpu(ev->vdev_id); in ath10k_wmi_tlv_op_pull_wow_ev()
1667 arg->flag = __le32_to_cpu(ev->flag); in ath10k_wmi_tlv_op_pull_wow_ev()
1668 arg->wake_reason = __le32_to_cpu(ev->wake_reason); in ath10k_wmi_tlv_op_pull_wow_ev()
1669 arg->data_len = __le32_to_cpu(ev->data_len); in ath10k_wmi_tlv_op_pull_wow_ev()
3914 tlv_len = __le32_to_cpu(cmd->no_of_ssids) * in ath10k_wmi_tlv_op_gen_config_pno_start()
3923 for (i = 0; i < __le32_to_cpu(cmd->no_of_ssids); i++) { in ath10k_wmi_tlv_op_gen_config_pno_start()
3934 __le32_to_cpu(nlo_list[i].ssid.ssid.ssid_len)); in ath10k_wmi_tlv_op_gen_config_pno_start()
3949 ptr += __le32_to_cpu(cmd->no_of_ssids) * sizeof(struct nlo_configured_parameters); in ath10k_wmi_tlv_op_gen_config_pno_start()
3958 tlv->len = __cpu_to_le16(__le32_to_cpu(cmd->num_of_channels) * in ath10k_wmi_tlv_op_gen_config_pno_start()
3963 for (i = 0; i < __le32_to_cpu(cmd->num_of_channels); i++) in ath10k_wmi_tlv_op_gen_config_pno_start()