/freebsd-src/sys/contrib/dev/athk/ath10k/ |
H A D | qmi.c | 31 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 D | snoc.h | 13 #include "qmi.h" 80 struct ath10k_qmi *qmi; member
|
H A D | qmi.h | 8 #include <linux/soc/qcom/qmi.h> 98 spinlock_t event_lock; /* spinlock for qmi event list */
|
H A D | Makefile | 40 ath10k_snoc-y += qmi.o \
|
/freebsd-src/sys/contrib/dev/athk/ath11k/ |
H A D | qmi.c | 19 #include "qmi.h" 1733 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() 1834 /* WCN6750 doesn't request for DDR memory via QMI, 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() [all …]
|
H A D | core.c | 896 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() 1009 /* strlen(',variant=') + strlen(ab->qmi.target.bdf_ext) */ in __ath11k_core_create_board_name() [all …]
|
H A D | ce.h | 68 * Passed from Host to Target through QMI message and must be in 79 * Passed from Host to Target through QMI message during startup (one per CE).
|
H A D | Makefile | 11 qmi.o \
|
H A D | pci.c | 24 #include "qmi.h" 405 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() 1019 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot skipping pci suspend as qmi is not initialised\n"); in ath11k_pci_pm_suspend() 1036 ath11k_dbg(ab, ATH11K_DBG_BOOT, "boot skipping pci resume as qmi is not initialised\n"); in ath11k_pci_pm_resume()
|
H A D | qmi.h | 15 #include <linux/soc/qcom/qmi.h> 138 spinlock_t event_lock; /* spinlock for qmi event list */
|
H A D | debug.h | 48 return "qmi"; in ath11k_dbg_str()
|
H A D | ahb.c | 17 #include "qmi.h" 424 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()
|
/freebsd-src/sys/contrib/dev/athk/ath12k/ |
H A D | qmi.c | 15 #include "qmi.h" 1940 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() 2097 ath12k_dbg(ab, ATH12K_DBG_QMI, "qmi delays mem_request %d\n", in ath12k_qmi_respond_fw_mem_request() 2098 ab->qmi.mem_seg_count); in ath12k_qmi_respond_fw_mem_request() [all …]
|
H A D | core.c | 100 /* strlen(',variant=') + strlen(ab->qmi.target.bdf_ext) */ in ath12k_core_create_board_name() 103 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() 108 "bus=%s,qmi-chip-id=%d,qmi-board-id=%d%s", 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() 413 ath12k_err(ab, "failed to initialize qmi :%d\n", ret); in ath12k_core_soc_create() 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 D | ce.h | 56 * Passed from Host to Target through QMI message and must be in 66 * Passed from Host to Target through QMI message during startup (one per CE).
|
H A D | Makefile | 11 qmi.o \
|
H A D | qmi.h | 11 #include <linux/soc/qcom/qmi.h> 137 spinlock_t event_lock; /* spinlock for qmi event list */
|
H A D | core.h | 17 #include "qmi.h" 682 struct ath12k_qmi qmi; member
|
/freebsd-src/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman.h | 400 E_FMAN_EX_QMI_SINGLE_ECC, /**< Single ECC on QMI. */ 401 E_FMAN_EX_QMI_DOUBLE_ECC, /**< Double bit ECC occurred on QMI */ 412 E_FMAN_COUNTERS_ENQ_TOTAL_FRAME = 0, /**< QMI tot enQ frames counter */ 413 E_FMAN_COUNTERS_DEQ_TOTAL_FRAME, /**< QMI tot deQ frames counter */ 414 E_FMAN_COUNTERS_DEQ_0, /**< QMI 0 frames from QMan counter */ 415 E_FMAN_COUNTERS_DEQ_1, /**< QMI 1 frames from QMan counter */ 416 E_FMAN_COUNTERS_DEQ_2, /**< QMI 2 frames from QMan counter */ 417 E_FMAN_COUNTERS_DEQ_3, /**< QMI 3 frames from QMan counter */ 418 E_FMAN_COUNTERS_DEQ_FROM_DEFAULT, /**< QMI deQ from dflt queue cntr */ 419 E_FMAN_COUNTERS_DEQ_FROM_CONTEXT, /**< QMI deQ from FQ context cntr */ [all …]
|
H A D | fsl_fman_port.h | 120 /** @Description QMI defines */ 305 /** @Description QMI port register map */ 338 /* QMI dequeue from the SP channel - types */ 348 /* QMI dequeue prefetch modes */ 392 /* QMI parameters */ 533 /* QMI counters */
|
/freebsd-src/sys/modules/ath12k/ |
H A D | Makefile | 10 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|
/freebsd-src/sys/modules/ath11k/ |
H A D | Makefile | 11 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
|
/freebsd-src/sys/compat/linuxkpi/common/include/linux/ |
H A D | socket.h | 40 /* kern_connectat()? It is used for sockaddr_qrtr by ath1xk/qmi. */ in kernel_connect()
|
/freebsd-src/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_ext.h | 64 HW modules: FPM, DMA, common QMI and common BMI initializations and 301 e_FM_EX_QMI_SINGLE_ECC, /**< Single ECC on QMI. */ 302 e_FM_EX_QMI_DOUBLE_ECC, /**< Double bit ECC occurred on QMI */ 670 … queued in the QMI enqueue dispatch queue*/ 672 … queued in the QMI dequeue dispatch queue*/ 1067 in the QMI in the internal driver data base from its default 1297 e_FM_COUNTERS_ENQ_TOTAL_FRAME = 0, /**< QMI total enqueued frames counter */ 1298 e_FM_COUNTERS_DEQ_TOTAL_FRAME, /**< QMI total dequeued frames counter */ 1299 e_FM_COUNTERS_DEQ_0, /**< QMI 0 frames from QMan counter */ 1300 e_FM_COUNTERS_DEQ_1, /**< QMI 1 frames from QMan counter */ [all …]
|
/freebsd-src/sys/compat/linuxkpi/common/include/linux/soc/qcom/ |
H A D | qmi.h | 31 /* QMI (Qualcomm MSM Interface) */
|