Home
last modified time | relevance | path

Searched refs:qmi (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/contrib/dev/athk/ath10k/
H A Dqmi.c31 static int ath10k_qmi_map_msa_permission(struct ath10k_qmi *qmi, in ath10k_qmi_map_msa_permission() argument
35 struct ath10k *ar = qmi->ar; in ath10k_qmi_map_msa_permission()
63 static int ath10k_qmi_unmap_msa_permission(struct ath10k_qmi *qmi, in ath10k_qmi_unmap_msa_permission() argument
67 struct ath10k *ar = qmi->ar; in ath10k_qmi_unmap_msa_permission()
87 static int ath10k_qmi_setup_msa_permissions(struct ath10k_qmi *qmi) in ath10k_qmi_setup_msa_permissions() argument
92 if (qmi->msa_fixed_perm) in ath10k_qmi_setup_msa_permissions()
95 for (i = 0; i < qmi->nr_mem_region; i++) { in ath10k_qmi_setup_msa_permissions()
96 ret = ath10k_qmi_map_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
105 ath10k_qmi_unmap_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
109 static void ath10k_qmi_remove_msa_permission(struct ath10k_qmi *qmi) in ath10k_qmi_remove_msa_permission() argument
[all …]
H A DMakefile40 ath10k_snoc-y += qmi.o \
H A Dsnoc.h80 struct ath10k_qmi *qmi; member
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dqmi.c1733 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send()
1751 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send()
1774 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send()
1779 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send()
1808 struct qmi_handle *handle = &ab->qmi.handle; in ath11k_qmi_fw_ind_register_send()
1852 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_fw_ind_register_send()
1904 ab->qmi.target_mem_delayed) { in ath11k_qmi_respond_fw_mem_request()
1907 ab->qmi.mem_seg_count); in ath11k_qmi_respond_fw_mem_request()
1911 req->mem_seg_len = ab->qmi.mem_seg_count; in ath11k_qmi_respond_fw_mem_request()
1914 req->mem_seg[i].addr = ab->qmi.target_mem[i].paddr; in ath11k_qmi_respond_fw_mem_request()
[all …]
H A Dcore.c896 if (ab->qmi.target.bdf_ext[0] != '\0') in ath11k_core_check_cc_code_bdfext()
944 strlen(smbios->bdf_ext), sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext()
954 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic), in ath11k_core_check_cc_code_bdfext()
955 sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext()
964 ATH11K_SMBIOS_BDF_EXT_TYPE, ab->qmi.target.bdf_ext); in ath11k_core_check_cc_code_bdfext()
969 ab->qmi.target.bdf_ext[0] = '\0'; in ath11k_core_check_smbios()
972 if (ab->qmi.target.bdf_ext[0] == '\0') in ath11k_core_check_smbios()
981 size_t max_len = sizeof(ab->qmi.target.bdf_ext); in ath11k_core_check_dt()
994 if (strscpy(ab->qmi.target.bdf_ext, variant, max_len) < 0) in ath11k_core_check_dt()
1012 if (with_variant && ab->qmi.target.bdf_ext[0] != '\0') in __ath11k_core_create_board_name()
[all …]
H A DMakefile11 qmi.o \
H A Dahb.c424 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_ahb_init_qmi_ce_config()
430 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_ahb_init_qmi_ce_config()
1240 cancel_work_sync(&ab->qmi.event_work); in ath11k_ahb_remove_prepare()
H A Dpci.c405 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_pci_init_qmi_ce_config()
412 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_pci_init_qmi_ce_config()
H A Dcore.h870 struct ath11k_qmi qmi; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dqmi.c1940 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath12k_qmi_host_cap_send()
1951 req.cal_done = ab->qmi.cal_done; in ath12k_qmi_host_cap_send()
1978 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath12k_qmi_host_cap_send()
1983 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath12k_qmi_host_cap_send()
2011 struct qmi_handle *handle = &ab->qmi.handle; in ath12k_qmi_fw_ind_register_send()
2046 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath12k_qmi_fw_ind_register_send()
2095 if (ab->qmi.target_mem_delayed) { in ath12k_qmi_respond_fw_mem_request()
2098 ab->qmi.mem_seg_count); in ath12k_qmi_respond_fw_mem_request()
2102 req->mem_seg_len = ab->qmi.mem_seg_count; in ath12k_qmi_respond_fw_mem_request()
2104 req->mem_seg[i].addr = ab->qmi.target_mem[i].paddr; in ath12k_qmi_respond_fw_mem_request()
[all …]
H A Dcore.c103 if (ab->qmi.target.bdf_ext[0] != '\0') in ath12k_core_create_board_name()
105 ab->qmi.target.bdf_ext); in ath12k_core_create_board_name()
110 ab->qmi.target.chip_id, in ath12k_core_create_board_name()
111 ab->qmi.target.board_id, variant); in ath12k_core_create_board_name()
586 ath12k_ce_get_shadow_config(ab, &ab->qmi.ce_cfg.shadow_reg_v3, in ath12k_core_start_firmware()
587 &ab->qmi.ce_cfg.shadow_reg_v3_len); in ath12k_core_start_firmware()
H A DMakefile11 qmi.o \
H A Dce.c831 ath12k_ce_get_shadow_config(ab, &ab->qmi.ce_cfg.shadow_reg_v3, in ath12k_ce_init_pipes()
832 &ab->qmi.ce_cfg.shadow_reg_v3_len); in ath12k_ce_init_pipes()
H A Dpci.c627 struct ath12k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath12k_pci_init_qmi_ce_config()
634 ab->qmi.service_ins_id = ab->hw_params->qmi_service_ins_id; in ath12k_pci_init_qmi_ce_config()
H A Dcore.h682 struct ath12k_qmi qmi; member
H A Ddp.c1238 u32 cmem_base = ab->qmi.dev_mem[ATH12K_QMI_DEVMEM_CMEM_INDEX].start; in ath12k_dp_cc_config()
1428 cmem_base = ab->qmi.dev_mem[ATH12K_QMI_DEVMEM_CMEM_INDEX].start; in ath12k_dp_cc_init()
/freebsd/sys/modules/ath12k/
H A DMakefile10 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
/freebsd/sys/modules/ath11k/
H A DMakefile11 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
/freebsd/sys/dts/powerpc/
H A Dp2041si.dtsi978 qmi@80400 {
979 compatible = "fsl,p2041-fman-qmi", "fsl,fman-qmi";
H A Dp3041si.dtsi980 qmi@80400 {
981 compatible = "fsl,p3041-fman-qmi", "fsl,fman-qmi";
H A Dp5020si.dtsi1025 qmi@80400 {
1026 compatible = "fsl,p5020-fman-qmi", "fsl,fman-qmi";