Home
last modified time | relevance | path

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

/drivers/soc/qcom/
Dqmi_interface.c17 static struct socket *qmi_sock_create(struct qmi_handle *qmi,
31 static void qmi_recv_new_server(struct qmi_handle *qmi, in qmi_recv_new_server() argument
35 struct qmi_ops *ops = &qmi->ops; in qmi_recv_new_server()
56 ret = ops->new_server(qmi, svc); in qmi_recv_new_server()
60 list_add(&svc->list_node, &qmi->lookup_results); in qmi_recv_new_server()
72 static void qmi_recv_del_server(struct qmi_handle *qmi, in qmi_recv_del_server() argument
75 struct qmi_ops *ops = &qmi->ops; in qmi_recv_del_server()
79 list_for_each_entry_safe(svc, tmp, &qmi->lookup_results, list_node) { in qmi_recv_del_server()
86 ops->del_server(qmi, svc); in qmi_recv_del_server()
102 static void qmi_recv_bye(struct qmi_handle *qmi, in qmi_recv_bye() argument
[all …]
Dpdr_interface.c72 static int pdr_locator_new_server(struct qmi_handle *qmi, in pdr_locator_new_server() argument
75 struct pdr_handle *pdr = container_of(qmi, struct pdr_handle, in pdr_locator_new_server()
99 static void pdr_locator_del_server(struct qmi_handle *qmi, in pdr_locator_del_server() argument
102 struct pdr_handle *pdr = container_of(qmi, struct pdr_handle, in pdr_locator_del_server()
196 static int pdr_notifier_new_server(struct qmi_handle *qmi, in pdr_notifier_new_server() argument
199 struct pdr_handle *pdr = container_of(qmi, struct pdr_handle, in pdr_notifier_new_server()
220 static void pdr_notifier_del_server(struct qmi_handle *qmi, in pdr_notifier_del_server() argument
223 struct pdr_handle *pdr = container_of(qmi, struct pdr_handle, in pdr_notifier_del_server()
299 static void pdr_indication_cb(struct qmi_handle *qmi, in pdr_indication_cb() argument
303 struct pdr_handle *pdr = container_of(qmi, struct pdr_handle, in pdr_indication_cb()
/drivers/net/wireless/ath/ath10k/
Dqmi.c26 static int ath10k_qmi_map_msa_permission(struct ath10k_qmi *qmi, in ath10k_qmi_map_msa_permission() argument
30 struct ath10k *ar = qmi->ar; in ath10k_qmi_map_msa_permission()
58 static int ath10k_qmi_unmap_msa_permission(struct ath10k_qmi *qmi, in ath10k_qmi_unmap_msa_permission() argument
62 struct ath10k *ar = qmi->ar; in ath10k_qmi_unmap_msa_permission()
82 static int ath10k_qmi_setup_msa_permissions(struct ath10k_qmi *qmi) in ath10k_qmi_setup_msa_permissions() argument
87 if (qmi->msa_fixed_perm) in ath10k_qmi_setup_msa_permissions()
90 for (i = 0; i < qmi->nr_mem_region; i++) { in ath10k_qmi_setup_msa_permissions()
91 ret = ath10k_qmi_map_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
100 ath10k_qmi_unmap_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
104 static void ath10k_qmi_remove_msa_permission(struct ath10k_qmi *qmi) in ath10k_qmi_remove_msa_permission() argument
[all …]
DMakefile39 ath10k_snoc-y += qmi.o \
Dsnoc.h80 struct ath10k_qmi *qmi; member
/drivers/net/wireless/ath/ath11k/
Dqmi.c1525 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send()
1543 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send()
1561 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send()
1566 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send()
1594 struct qmi_handle *handle = &ab->qmi.handle; in ath11k_qmi_fw_ind_register_send()
1631 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_fw_ind_register_send()
1680 if (!ab->bus_params.fixed_mem_region && ab->qmi.target_mem_delayed) { in ath11k_qmi_respond_fw_mem_request()
1683 ab->qmi.mem_seg_count); in ath11k_qmi_respond_fw_mem_request()
1687 req->mem_seg_len = ab->qmi.mem_seg_count; in ath11k_qmi_respond_fw_mem_request()
1690 req->mem_seg[i].addr = ab->qmi.target_mem[i].paddr; in ath11k_qmi_respond_fw_mem_request()
[all …]
Dcore.c324 size_t max_len = sizeof(ab->qmi.target.bdf_ext); in ath11k_core_check_dt()
337 if (strscpy(ab->qmi.target.bdf_ext, variant, max_len) < 0) in ath11k_core_check_dt()
351 if (ab->qmi.target.bdf_ext[0] != '\0') in ath11k_core_create_board_name()
353 ab->qmi.target.bdf_ext); in ath11k_core_create_board_name()
363 ab->qmi.target.chip_id, in ath11k_core_create_board_name()
364 ab->qmi.target.board_id, in ath11k_core_create_board_name()
371 ab->qmi.target.chip_id, in ath11k_core_create_board_name()
372 ab->qmi.target.board_id, variant); in ath11k_core_create_board_name()
1161 init_waitqueue_head(&ab->qmi.cold_boot_waitq); in ath11k_core_alloc()
Dahb.c353 if (ath11k_cold_boot_cal == 0 || ab->qmi.cal_done || in ath11k_ahb_fwreset_from_cold_boot()
358 timeout = wait_event_timeout(ab->qmi.cold_boot_waitq, in ath11k_ahb_fwreset_from_cold_boot()
359 (ab->qmi.cal_done == 1), in ath11k_ahb_fwreset_from_cold_boot()
376 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_ahb_init_qmi_ce_config()
382 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_ahb_init_qmi_ce_config()
DMakefile11 qmi.o \
Dce.c898 ath11k_ce_get_shadow_config(ab, &ab->qmi.ce_cfg.shadow_reg_v2, in ath11k_ce_init_pipes()
899 &ab->qmi.ce_cfg.shadow_reg_v2_len); in ath11k_ce_init_pipes()
Dpci.c842 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_pci_init_qmi_ce_config()
849 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_pci_init_qmi_ce_config()
Dcore.h669 struct ath11k_qmi qmi; member
/drivers/net/ipa/
Dipa_qmi.c86 struct ipa *ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_server_init_complete()
87 struct qmi_handle *qmi = &ipa_qmi->server_handle; in ipa_server_init_complete() local
95 ret = qmi_send_indication(qmi, sq, IPA_QMI_INIT_COMPLETE, in ipa_server_init_complete()
128 struct ipa *ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_qmi_ready()
148 ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_qmi_ready()
155 static void ipa_server_bye(struct qmi_handle *qmi, unsigned int node) in ipa_server_bye() argument
159 ipa_qmi = container_of(qmi, struct ipa_qmi, server_handle); in ipa_server_bye()
179 static void ipa_server_indication_register(struct qmi_handle *qmi, in ipa_server_indication_register() argument
189 ipa_qmi = container_of(qmi, struct ipa_qmi, server_handle); in ipa_server_indication_register()
190 ipa = container_of(ipa_qmi, struct ipa, qmi); in ipa_server_indication_register()
[all …]
Dipa.h125 struct ipa_qmi qmi; member
/drivers/slimbus/
Dqcom-ngd-ctrl.c123 struct qmi_handle qmi; member
152 struct qcom_slim_ngd_qmi qmi; member
355 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_select_inst_req()
362 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_select_inst_req()
408 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_power_request()
411 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_power_request()
467 (struct sockaddr *)&ctrl->qmi.svc_info, in qcom_slim_qmi_init()
468 sizeof(ctrl->qmi.svc_info), 0); in qcom_slim_qmi_init()
484 ctrl->qmi.handle = handle; in qcom_slim_qmi_init()
495 ctrl->qmi.handle = NULL; in qcom_slim_qmi_init()
[all …]
/drivers/remoteproc/
Dqcom_sysmon.c50 struct qmi_handle qmi; member
290 static void sysmon_ind_cb(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, in sysmon_ind_cb() argument
293 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in sysmon_ind_cb()
340 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_shutdown_resp_ei, &resp); in ssctl_request_shutdown()
346 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown()
384 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_subsys_event_resp_ei, &resp); in ssctl_send_event()
397 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event()
422 static int ssctl_new_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_new_server() argument
424 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in ssctl_new_server()
459 static void ssctl_del_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_del_server() argument
[all …]