Lines Matching full:qmi
3 * Sample in-kernel QMI client driver
19 #include <linux/soc/qcom/qmi.h>
294 * This function allows user space to send out a ping_pong QMI encoded message
304 struct qmi_handle *qmi = file->private_data;
311 ret = qmi_txn_init(qmi, &txn, NULL, NULL);
315 ret = qmi_send_request(qmi, NULL, &txn,
336 static void ping_pong_cb(struct qmi_handle *qmi, struct sockaddr_qrtr *sq,
361 * This function allows user space to send out a data QMI encoded message to
363 * transaction. It serves as an example of how to have the QMI helpers decode a
372 struct qmi_handle *qmi = file->private_data;
394 ret = qmi_txn_init(qmi, &txn, test_data_resp_msg_v01_ei, resp);
398 ret = qmi_send_request(qmi, NULL, &txn,
444 struct qmi_handle qmi;
464 ret = qmi_handle_init(&sample->qmi, TEST_DATA_REQ_MAX_MSG_LEN_V01,
471 ret = kernel_connect(sample->qmi.sock, (struct sockaddr_unsized *)sq,
509 qmi_handle_release(&sample->qmi);
522 qmi_handle_release(&sample->qmi);
533 static int qmi_sample_new_server(struct qmi_handle *qmi,
562 static void qmi_sample_del_server(struct qmi_handle *qmi,
619 MODULE_DESCRIPTION("Sample QMI client driver");