Home
last modified time | relevance | path

Searched full:qmi (Results 1 – 25 of 53) sorted by relevance

123

/src/sys/contrib/dev/athk/ath10k/
H A Dqmi.c32 static int ath10k_qmi_map_msa_permission(struct ath10k_qmi *qmi, in ath10k_qmi_map_msa_permission() argument
36 struct ath10k *ar = qmi->ar; in ath10k_qmi_map_msa_permission()
64 static int ath10k_qmi_unmap_msa_permission(struct ath10k_qmi *qmi, in ath10k_qmi_unmap_msa_permission() argument
68 struct ath10k *ar = qmi->ar; in ath10k_qmi_unmap_msa_permission()
88 static int ath10k_qmi_setup_msa_permissions(struct ath10k_qmi *qmi) in ath10k_qmi_setup_msa_permissions() argument
93 if (qmi->msa_fixed_perm) in ath10k_qmi_setup_msa_permissions()
96 for (i = 0; i < qmi->nr_mem_region; i++) { in ath10k_qmi_setup_msa_permissions()
97 ret = ath10k_qmi_map_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
106 ath10k_qmi_unmap_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
110 static void ath10k_qmi_remove_msa_permission(struct ath10k_qmi *qmi) in ath10k_qmi_remove_msa_permission() argument
[all …]
H A Dsnoc.h13 #include "qmi.h"
80 struct ath10k_qmi *qmi; member
H A Dqmi.h8 #include <linux/soc/qcom/qmi.h>
98 spinlock_t event_lock; /* spinlock for qmi event list */
H A DMakefile41 ath10k_snoc-y += qmi.o \
/src/sys/contrib/dev/athk/ath11k/
H A Dqmi.c21 #include "qmi.h"
1738 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send()
1756 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send()
1779 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send()
1784 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send()
1813 struct qmi_handle *handle = &ab->qmi.handle; in ath11k_qmi_fw_ind_register_send()
1839 /* WCN6750 doesn't request for DDR memory via QMI, in ath11k_qmi_fw_ind_register_send()
1857 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_fw_ind_register_send()
1909 ab->qmi.target_mem_delayed) { in ath11k_qmi_respond_fw_mem_request()
1912 ab->qmi.mem_seg_count); in ath11k_qmi_respond_fw_mem_request()
[all …]
H A Dpci.c26 #include "qmi.h"
428 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_pci_init_qmi_ce_config()
435 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_pci_init_qmi_ce_config()
701 for (i = 0; i < ab->qmi.mem_seg_count; i++) { in ath11k_pci_coredump_calculate_size()
702 mem_type = ath11k_coredump_get_dump_type(ab->qmi.target_mem[i].type); in ath11k_pci_coredump_calculate_size()
710 ab->qmi.target_mem[i].type); in ath11k_pci_coredump_calculate_size()
714 if (!ab->qmi.target_mem[i].anyaddr) in ath11k_pci_coredump_calculate_size()
717 dump_seg_sz[mem_type] += ab->qmi.target_mem[i].size; in ath11k_pci_coredump_calculate_size()
770 file_data->qrtr_id = cpu_to_le32(ab_pci->ab->qmi.service_ins_id); in ath11k_pci_coredump_download()
816 for (i = 0; i < ab->qmi.mem_seg_count; i++) { in ath11k_pci_coredump_download()
[all …]
H A Dcore.c1332 if (ab->qmi.target.bdf_ext[0] != '\0') in ath11k_core_check_cc_code_bdfext()
1380 strlen(smbios->bdf_ext), sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext()
1390 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic), in ath11k_core_check_cc_code_bdfext()
1391 sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext()
1400 ATH11K_SMBIOS_BDF_EXT_TYPE, ab->qmi.target.bdf_ext); in ath11k_core_check_cc_code_bdfext()
1405 ab->qmi.target.bdf_ext[0] = '\0'; in ath11k_core_check_smbios()
1408 if (ab->qmi.target.bdf_ext[0] == '\0') in ath11k_core_check_smbios()
1417 size_t max_len = sizeof(ab->qmi.target.bdf_ext); in ath11k_core_check_dt()
1433 if (strscpy(ab->qmi.target.bdf_ext, variant, max_len) < 0) in ath11k_core_check_dt()
1454 /* strlen(',variant=') + strlen(ab->qmi.target.bdf_ext) */ in __ath11k_core_create_board_name()
[all …]
H A Dce.h69 * Passed from Host to Target through QMI message and must be in
80 * Passed from Host to Target through QMI message during startup (one per CE).
H A DMakefile11 qmi.o \
H A Dqmi.h15 #include <linux/soc/qcom/qmi.h>
141 spinlock_t event_lock; /* spinlock for qmi event list */
H A Ddebug.h48 return "qmi"; in ath11k_dbg_str()
/src/sys/contrib/dev/athk/ath12k/
H A Dqmi.c13 #include "qmi.h"
2040 hw_id_base += partner_ab->qmi.num_radios; in ath12k_host_cap_hw_link_id_init()
2060 "MLO is disabled hence skip QMI MLO cap"); in ath12k_host_cap_parse_mlo()
2064 if (!ab->qmi.num_radios || ab->qmi.num_radios == U8_MAX) { in ath12k_host_cap_parse_mlo()
2067 "skip QMI MLO cap due to invalid num_radio %d\n", in ath12k_host_cap_parse_mlo()
2068 ab->qmi.num_radios); in ath12k_host_cap_parse_mlo()
2110 info->num_local_links = partner_ab->qmi.num_radios; in ath12k_host_cap_parse_mlo()
2172 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath12k_qmi_host_cap_send()
2185 req.cal_done = ab->qmi.cal_done; in ath12k_qmi_host_cap_send()
2214 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath12k_qmi_host_cap_send()
[all …]
H A Dqmi.h11 #include <linux/soc/qcom/qmi.h>
143 spinlock_t event_lock; /* spinlock for qmi event list */
612 static inline void ath12k_qmi_set_event_block(struct ath12k_qmi *qmi, bool block) in ath12k_qmi_set_event_block() argument
614 lockdep_assert_held(&qmi->event_lock); in ath12k_qmi_set_event_block()
616 qmi->block_event = block; in ath12k_qmi_set_event_block()
619 static inline bool ath12k_qmi_get_event_block(struct ath12k_qmi *qmi) in ath12k_qmi_get_event_block() argument
621 lockdep_assert_held(&qmi->event_lock); in ath12k_qmi_get_event_block()
623 return qmi->block_event; in ath12k_qmi_get_event_block()
H A Dcore.c226 /* strlen(',variant=') + strlen(ab->qmi.target.bdf_ext) */ in __ath12k_core_create_board_name()
229 if (with_variant && ab->qmi.target.bdf_ext[0] != '\0') in __ath12k_core_create_board_name()
231 ab->qmi.target.bdf_ext); in __ath12k_core_create_board_name()
241 …endor=%04x,device=%04x,subsystem-vendor=%04x,subsystem-device=%04x,qmi-chip-id=%d,qmi-board-id=%d%… in __ath12k_core_create_board_name()
246 ab->qmi.target.chip_id, in __ath12k_core_create_board_name()
247 ab->qmi.target.board_id, in __ath12k_core_create_board_name()
252 "bus=%s,qmi-chip-id=%d,qmi-board-id=%d%s", in __ath12k_core_create_board_name()
254 ab->qmi.target.chip_id, in __ath12k_core_create_board_name()
256 ATH12K_BOARD_ID_DEFAULT : ab->qmi.target.board_id, in __ath12k_core_create_board_name()
750 if (ab->qmi.target.bdf_ext[0] != '\0') in ath12k_core_check_cc_code_bdfext()
[all …]
H A Dpci.c740 struct ath12k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath12k_pci_init_qmi_ce_config()
750 ab->qmi.service_ins_id = ab->hw_params->qmi_service_ins_id; in ath12k_pci_init_qmi_ce_config()
756 ab->qmi.service_ins_id += ab_pci->qmi_instance; in ath12k_pci_init_qmi_ce_config()
972 /* On platforms with two or more identical mhi devices, qmi service run in ath12k_pci_update_qrtr_node_id()
974 * cannot register more than one qmi service with identical node ID. in ath12k_pci_update_qrtr_node_id()
977 * writes to the given register, it is available for firmware when the QMI service in ath12k_pci_update_qrtr_node_id()
1374 for (i = 0; i < ab->qmi.mem_seg_count; i++) { in ath12k_pci_coredump_calculate_size()
1375 mem_type = ath12k_coredump_get_dump_type(ab->qmi.target_mem[i].type); in ath12k_pci_coredump_calculate_size()
1383 ab->qmi.target_mem[i].type); in ath12k_pci_coredump_calculate_size()
1387 if (!ab->qmi.target_mem[i].paddr) in ath12k_pci_coredump_calculate_size()
[all …]
H A Dce.h56 * 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 DMakefile11 qmi.o \
/src/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman.h400 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 Dfsl_fman_port.h120 /** @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 */
/src/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,q6usb.yaml17 passed along during the QMI stream enable request and configuration of
/src/sys/modules/ath12k/
H A DMakefile17 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
/src/sys/modules/ath11k/
H A DMakefile18 SRCS+= wmi.c mac.c reg.c htc.c qmi.c
/src/sys/compat/linuxkpi/common/include/linux/
H A Dsocket.h40 /* kern_connectat()? It is used for sockaddr_qrtr by ath1xk/qmi. */ in kernel_connect()
/src/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_ext.h64 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 …]
/src/sys/compat/linuxkpi/common/include/linux/soc/qcom/
H A Dqmi.h31 /* QMI (Qualcomm MSM Interface) */

123