/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 | 77 struct ath10k_qmi *qmi; member
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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() 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 …]
|
D | ipa.h | 134 struct ipa_qmi qmi; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | qmi.c | 1519 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1537 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1553 ret = qmi_txn_init(&ab->qmi.handle, &txn, in ath11k_qmi_host_cap_send() 1558 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_host_cap_send() 1586 struct qmi_handle *handle = &ab->qmi.handle; in ath11k_qmi_fw_ind_register_send() 1621 ret = qmi_send_request(&ab->qmi.handle, NULL, &txn, in ath11k_qmi_fw_ind_register_send() 1670 if (!ab->bus_params.fixed_mem_region && ab->qmi.target_mem_delayed) { in ath11k_qmi_respond_fw_mem_request() 1673 ab->qmi.mem_seg_count); in ath11k_qmi_respond_fw_mem_request() 1677 req->mem_seg_len = ab->qmi.mem_seg_count; in ath11k_qmi_respond_fw_mem_request() 1680 req->mem_seg[i].addr = ab->qmi.target_mem[i].paddr; in ath11k_qmi_respond_fw_mem_request() [all …]
|
D | Makefile | 11 qmi.o \
|
D | ahb.c | 351 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_ahb_init_qmi_ce_config() 357 ab->qmi.service_ins_id = ATH11K_QMI_WLFW_SERVICE_INS_ID_V01_IPQ8074; in ath11k_ahb_init_qmi_ce_config()
|
D | core.c | 150 ab->qmi.target.chip_id, in ath11k_core_create_board_name() 151 ab->qmi.target.board_id); in ath11k_core_create_board_name()
|
D | ce.c | 844 ath11k_ce_get_shadow_config(ab, &ab->qmi.ce_cfg.shadow_reg_v2, in ath11k_ce_init_pipes() 845 &ab->qmi.ce_cfg.shadow_reg_v2_len); in ath11k_ce_init_pipes()
|
D | pci.c | 615 struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg; in ath11k_pci_init_qmi_ce_config() 622 ab->qmi.service_ins_id = ATH11K_QMI_WLFW_SERVICE_INS_ID_V01_QCA6390; in ath11k_pci_init_qmi_ce_config()
|
D | core.h | 654 struct ath11k_qmi qmi; member
|
/kernel/linux/linux-5.10/drivers/slimbus/ |
D | qcom-ngd-ctrl.c | 119 struct qmi_handle qmi; member 148 struct qcom_slim_ngd_qmi qmi; member 344 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_select_inst_req() 351 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_select_inst_req() 397 rc = qmi_txn_init(ctrl->qmi.handle, &txn, in qcom_slim_qmi_send_power_request() 400 rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn, in qcom_slim_qmi_send_power_request() 456 (struct sockaddr *)&ctrl->qmi.svc_info, in qcom_slim_qmi_init() 457 sizeof(ctrl->qmi.svc_info), 0); in qcom_slim_qmi_init() 473 ctrl->qmi.handle = handle; in qcom_slim_qmi_init() 484 ctrl->qmi.handle = NULL; in qcom_slim_qmi_init() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
D | qcom_sysmon.c | 49 struct qmi_handle qmi; member 282 static void sysmon_ind_cb(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, in sysmon_ind_cb() argument 285 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in sysmon_ind_cb() 313 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_shutdown_resp_ei, &resp); in ssctl_request_shutdown() 319 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown() 361 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_subsys_event_resp_ei, &resp); in ssctl_send_event() 374 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event() 399 static int ssctl_new_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_new_server() argument 401 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in ssctl_new_server() 436 static void ssctl_del_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_del_server() argument [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/samples/ |
D | Makefile | 16 obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
|
D | Kconfig | 85 tristate "Build qmi client sample -- loadable modules only"
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0034_linux_drivers_usb_vfio_wdt_tty_uio.patch | 6935 + //Quectel EC25&EC20's interface 4 can be used as USB network device (qmi)
|
/kernel/linux/linux-5.10/ |
D | MAINTAINERS | 18194 F: Documentation/ABI/testing/sysfs-class-net-qmi
|