/linux-6.1.9/drivers/soc/qcom/ |
D | qmi_interface.c | 17 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 …]
|
D | pdr_interface.c | 72 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()
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | qmi.c | 26 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 …]
|
D | Makefile | 39 ath10k_snoc-y += qmi.o \
|
D | snoc.h | 80 struct ath10k_qmi *qmi; member
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | qmi.c | 1719 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1737 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1760 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send() 1765 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send() 1794 struct qmi_handle *handle = &ab->qmi.handle; in ath11k_qmi_fw_ind_register_send() 1838 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_fw_ind_register_send() 1890 ab->qmi.target_mem_delayed) { in ath11k_qmi_respond_fw_mem_request() 1893 ab->qmi.mem_seg_count); in ath11k_qmi_respond_fw_mem_request() 1897 req->mem_seg_len = ab->qmi.mem_seg_count; in ath11k_qmi_respond_fw_mem_request() 1900 req->mem_seg[i].addr = ab->qmi.target_mem[i].paddr; in ath11k_qmi_respond_fw_mem_request() [all …]
|
D | core.c | 767 if (ab->qmi.target.bdf_ext[0] != '\0') in ath11k_core_check_cc_code_bdfext() 815 strlen(smbios->bdf_ext), sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext() 825 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic), in ath11k_core_check_cc_code_bdfext() 826 sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext() 835 ATH11K_SMBIOS_BDF_EXT_TYPE, ab->qmi.target.bdf_ext); in ath11k_core_check_cc_code_bdfext() 840 ab->qmi.target.bdf_ext[0] = '\0'; in ath11k_core_check_smbios() 843 if (ab->qmi.target.bdf_ext[0] == '\0') in ath11k_core_check_smbios() 851 size_t max_len = sizeof(ab->qmi.target.bdf_ext); in ath11k_core_check_dt() 864 if (strscpy(ab->qmi.target.bdf_ext, variant, max_len) < 0) in ath11k_core_check_dt() 878 if (with_variant && ab->qmi.target.bdf_ext[0] != '\0') in __ath11k_core_create_board_name() [all …]
|
D | Makefile | 11 qmi.o \
|
D | ahb.c | 411 if (ath11k_cold_boot_cal == 0 || ab->qmi.cal_done || in ath11k_ahb_fwreset_from_cold_boot() 417 timeout = wait_event_timeout(ab->qmi.cold_boot_waitq, in ath11k_ahb_fwreset_from_cold_boot() 418 (ab->qmi.cal_done == 1), in ath11k_ahb_fwreset_from_cold_boot() 435 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_ahb_init_qmi_ce_config() 441 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_ahb_init_qmi_ce_config() 1227 cancel_work_sync(&ab->qmi.event_work); in ath11k_ahb_remove_prepare()
|
D | pci.c | 372 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_pci_init_qmi_ce_config() 379 ab->qmi.service_ins_id = ab->hw_params.qmi_service_ins_id; in ath11k_pci_init_qmi_ce_config()
|
D | core.h | 834 struct ath11k_qmi qmi; member
|
/linux-6.1.9/include/linux/soc/qcom/ |
D | qmi.h | 147 int (*new_server)(struct qmi_handle *qmi, struct qmi_service *svc); 148 void (*del_server)(struct qmi_handle *qmi, struct qmi_service *svc); 149 void (*net_reset)(struct qmi_handle *qmi); 150 void (*msg_handler)(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, 152 void (*bye)(struct qmi_handle *qmi, unsigned int node); 153 void (*del_client)(struct qmi_handle *qmi, 168 struct qmi_handle *qmi; member 195 void (*fn)(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, 240 int qmi_add_lookup(struct qmi_handle *qmi, unsigned int service, 242 int qmi_add_server(struct qmi_handle *qmi, unsigned int service, [all …]
|
/linux-6.1.9/drivers/net/ipa/ |
D | ipa_qmi.c | 86 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() 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() 195 ret = qmi_send_response(qmi, sq, txn, IPA_QMI_INDICATION_REGISTER, in ipa_server_indication_register() [all …]
|
D | ipa.h | 129 struct ipa_qmi qmi; member
|
/linux-6.1.9/drivers/slimbus/ |
D | qcom-ngd-ctrl.c | 123 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 …]
|
/linux-6.1.9/samples/qmi/ |
D | qmi_sample_client.c | 304 struct qmi_handle *qmi = file->private_data; in ping_write() local 311 ret = qmi_txn_init(qmi, &txn, NULL, NULL); in ping_write() 315 ret = qmi_send_request(qmi, NULL, &txn, in ping_write() 336 static void ping_pong_cb(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, in ping_pong_cb() argument 372 struct qmi_handle *qmi = file->private_data; in data_write() local 394 ret = qmi_txn_init(qmi, &txn, test_data_resp_msg_v01_ei, resp); in data_write() 398 ret = qmi_send_request(qmi, NULL, &txn, in data_write() 444 struct qmi_handle qmi; member 464 ret = qmi_handle_init(&sample->qmi, TEST_DATA_REQ_MAX_MSG_LEN_V01, in qmi_sample_probe() 471 ret = kernel_connect(sample->qmi.sock, (struct sockaddr *)sq, in qmi_sample_probe() [all …]
|
/linux-6.1.9/drivers/remoteproc/ |
D | qcom_sysmon.c | 50 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 …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-net-qmi | 1 What: /sys/class/net/<iface>/qmi/raw_ip 25 What: /sys/class/net/<iface>/qmi/add_mux 42 What: /sys/class/net/<iface>/qmi/del_mux 62 What: /sys/class/net/<iface>/qmi/pass_through
|
/linux-6.1.9/samples/ |
D | Makefile | 18 obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
|
D | Kconfig | 107 tristate "Build qmi client sample -- loadable modules only"
|
/linux-6.1.9/ |
D | MAINTAINERS | 21345 F: Documentation/ABI/testing/sysfs-class-net-qmi
|