/Linux-v5.4/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 …]
|
/Linux-v5.4/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 for (i = 0; i < qmi->nr_mem_region; i++) { in ath10k_qmi_setup_msa_permissions() 88 ret = ath10k_qmi_map_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions() 97 ath10k_qmi_unmap_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions() 101 static void ath10k_qmi_remove_msa_permission(struct ath10k_qmi *qmi) in ath10k_qmi_remove_msa_permission() argument 105 for (i = 0; i < qmi->nr_mem_region; i++) in ath10k_qmi_remove_msa_permission() [all …]
|
D | snoc.h | 81 struct ath10k_qmi *qmi; member
|
D | Makefile | 39 ath10k_snoc-y += qmi.o \
|
/Linux-v5.4/include/linux/soc/qcom/ |
D | qmi.h | 146 int (*new_server)(struct qmi_handle *qmi, struct qmi_service *svc); 147 void (*del_server)(struct qmi_handle *qmi, struct qmi_service *svc); 148 void (*net_reset)(struct qmi_handle *qmi); 149 void (*msg_handler)(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, 151 void (*bye)(struct qmi_handle *qmi, unsigned int node); 152 void (*del_client)(struct qmi_handle *qmi, 167 struct qmi_handle *qmi; member 194 void (*fn)(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, 239 int qmi_add_lookup(struct qmi_handle *qmi, unsigned int service, 241 int qmi_add_server(struct qmi_handle *qmi, unsigned int service, [all …]
|
/Linux-v5.4/drivers/remoteproc/ |
D | qcom_sysmon.c | 45 struct qmi_handle qmi; member 264 static void sysmon_ind_cb(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, in sysmon_ind_cb() argument 267 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in sysmon_ind_cb() 295 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_shutdown_resp_ei, &resp); in ssctl_request_shutdown() 301 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown() 342 ret = qmi_txn_init(&sysmon->qmi, &txn, ssctl_subsys_event_resp_ei, &resp); in ssctl_send_event() 355 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event() 380 static int ssctl_new_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_new_server() argument 382 struct qcom_sysmon *sysmon = container_of(qmi, struct qcom_sysmon, qmi); in ssctl_new_server() 415 static void ssctl_del_server(struct qmi_handle *qmi, struct qmi_service *svc) in ssctl_del_server() argument [all …]
|
/Linux-v5.4/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-v5.4/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 …]
|
/Linux-v5.4/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
|
/Linux-v5.4/samples/ |
D | Makefile | 15 obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
|
D | Kconfig | 66 tristate "Build qmi client sample -- loadable modules only"
|
/Linux-v5.4/ |
D | MAINTAINERS | 16901 F: Documentation/ABI/testing/sysfs-class-net-qmi
|