Lines Matching refs:qmi
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()
509 qmi_handle_release(&sample->qmi); in qmi_sample_probe()
522 qmi_handle_release(&sample->qmi); in qmi_sample_remove()
535 static int qmi_sample_new_server(struct qmi_handle *qmi, in qmi_sample_new_server() argument
564 static void qmi_sample_del_server(struct qmi_handle *qmi, in qmi_sample_del_server() argument