Lines Matching defs:queue_pair
478 struct queue_pair {
514 struct queue_pair qp[XMM_QP_COUNT];
567 struct queue_pair *qp;
584 static void xmm7360_os_handle_tty_idata(struct queue_pair *, const u8 *, size_t);
819 static struct queue_pair * xmm7360_init_qp(struct xmm_dev *xmm, int num, u8 depth, u16 page_size)
821 struct queue_pair *qp = &xmm->qp[num];
834 static void xmm7360_qp_arm(struct xmm_dev *xmm, struct queue_pair *qp)
841 static int xmm7360_qp_start(struct queue_pair *qp)
864 static void xmm7360_qp_resume(struct queue_pair *qp)
874 static int xmm7360_qp_stop(struct queue_pair *qp)
900 static void xmm7360_qp_suspend(struct queue_pair *qp)
908 static int xmm7360_qp_can_write(struct queue_pair *qp)
914 static ssize_t xmm7360_qp_write(struct queue_pair *qp, const char *buf, size_t size)
929 static ssize_t xmm7360_qp_write_user(struct queue_pair *qp, const char __user *buf, size_t size)
944 static int xmm7360_qp_has_data(struct queue_pair *qp)
952 static ssize_t xmm7360_qp_read_user(struct queue_pair *qp, char __user *buf, size_t size)
981 static void xmm7360_tty_poll_qp(struct queue_pair *qp)
999 static void xmm7360_os_handle_tty_idata(struct queue_pair *qp, const u8 *data, size_t nread)
1007 struct queue_pair *qp = container_of(inode->i_cdev, struct queue_pair, cdev);
1014 struct queue_pair *qp = file->private_data;
1020 struct queue_pair *qp = file->private_data;
1033 struct queue_pair *qp = file->private_data;
1046 struct queue_pair *qp = file->private_data;
1065 struct queue_pair *qp = file->private_data;
1312 struct queue_pair *qp;
1555 struct queue_pair *qp;
1614 memset(&xmm->qp[i], 0, sizeof(struct queue_pair));
1641 struct queue_pair *qp = tty->driver_data;
1647 struct queue_pair *qp = tty->driver_data;
1655 struct queue_pair *qp = tty->driver_data;
1665 struct queue_pair *qp = tty->driver_data;
1674 struct queue_pair *qp;
1682 qp = container_of(tty->port, struct queue_pair, port);
1690 struct queue_pair *qp = tty->driver_data;
1696 struct queue_pair *qp = tport->tty->driver_data;
1717 struct queue_pair *qp = xmm7360_init_qp(xmm, num, 8, 4096);
1738 struct queue_pair *qp = xmm7360_init_qp(xmm, num, 16, TD_MAX_PAGE_SIZE);
2069 wwanc_io_wakeup(struct queue_pair *qp, int flag)
2086 struct queue_pair *qp;
2295 struct queue_pair *qp;
2315 struct queue_pair *qp;
2427 static void xmm7360_os_handle_tty_idata(struct queue_pair *qp, const u8 *data, size_t nread)
2506 struct queue_pair *qp = &sc->sc_xmm.qp[func];
2559 struct queue_pair *qp = &sc->sc_xmm.qp[func];
2675 struct queue_pair *qp = &sc->sc_xmm.qp[func];
2713 struct queue_pair *qp = &sc->sc_xmm.qp[func];
2754 struct queue_pair *qp = (struct queue_pair *)kn->kn_hook;
2768 struct queue_pair *qp = (struct queue_pair *)kn->kn_hook;
2785 struct queue_pair *qp = (struct queue_pair *)kn->kn_hook;
2799 struct queue_pair *qp = (struct queue_pair *)kn->kn_hook;
2830 struct queue_pair *qp = &sc->sc_xmm.qp[func];