Searched refs:qh (Results 1 - 20 of 20) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/host/
H A Duhci-q.c251 struct uhci_qh *qh; local
253 qh = dma_pool_alloc(uhci->qh_pool, GFP_ATOMIC, &dma_handle);
254 if (!qh)
257 memset(qh, 0, sizeof(*qh));
258 qh->dma_handle = dma_handle;
260 qh->element = UHCI_PTR_TERM;
261 qh->link = UHCI_PTR_TERM;
263 INIT_LIST_HEAD(&qh->queue);
264 INIT_LIST_HEAD(&qh
295 uhci_free_qh(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
299 dev_warn(uhci_dev(uhci), "qh %p list not empty!\\n", qh); local
319 uhci_cleanup_queue(struct uhci_hcd *uhci, struct uhci_qh *qh, struct urb *urb) argument
377 uhci_fixup_toggles(struct uhci_qh *qh, int skip_first) argument
428 link_iso(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
439 link_interrupt(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
455 link_async(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
484 uhci_activate_qh(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
525 unlink_interrupt(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
537 unlink_async(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
555 uhci_unlink_qh(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
590 uhci_make_qh_idle(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
627 uhci_check_bandwidth(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
663 uhci_reserve_bandwidth(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
696 uhci_release_bandwidth(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
796 uhci_submit_control(struct uhci_hcd *uhci, struct urb *urb, struct uhci_qh *qh) argument
927 uhci_submit_common(struct uhci_hcd *uhci, struct urb *urb, struct uhci_qh *qh) argument
1043 uhci_submit_bulk(struct uhci_hcd *uhci, struct urb *urb, struct uhci_qh *qh) argument
1060 uhci_submit_interrupt(struct uhci_hcd *uhci, struct urb *urb, struct uhci_qh *qh) argument
1104 uhci_fixup_short_transfer(struct uhci_hcd *uhci, struct uhci_qh *qh, struct urb_priv *urbp) argument
1154 struct uhci_qh *qh = urbp->qh; local
1231 uhci_submit_isochronous(struct uhci_hcd *uhci, struct urb *urb, struct uhci_qh *qh) argument
1339 struct uhci_qh *qh = urbp->qh; local
1385 struct uhci_qh *qh; local
1456 struct uhci_qh *qh; local
1536 uhci_scan_qh(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
1636 uhci_advance_check(struct uhci_hcd *uhci, struct uhci_qh *qh) argument
1710 struct uhci_qh *qh; local
[all...]
H A Dehci-mem.c68 struct ehci_qh *qh = container_of(kref, struct ehci_qh, kref); local
69 struct ehci_hcd *ehci = qh->ehci;
72 if (!list_empty (&qh->qtd_list) || qh->qh_next.ptr) {
73 ehci_dbg (ehci, "unused qh not empty!\n");
76 if (qh->dummy)
77 ehci_qtd_free (ehci, qh->dummy);
78 dma_pool_free (ehci->qh_pool, qh, qh->qh_dma);
83 struct ehci_qh *qh; local
109 qh_get(struct ehci_qh *qh) argument
115 qh_put(struct ehci_qh *qh) argument
[all...]
H A Dehci-q.c26 * Control, bulk, and interrupt traffic all use "qh" lists. They list "qtd"
37 * (b) special fields in qh entries or (c) split iso entries. TTs will
87 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) argument
90 BUG_ON(qh->qh_state != QH_STATE_IDLE);
92 qh->hw_qtd_next = QTD_NEXT (qtd->qtd_dma);
93 qh->hw_alt_next = EHCI_LIST_END;
100 if (!(qh->hw_info1 & cpu_to_le32(1 << 14))) {
104 epnum = (le32_to_cpup(&qh->hw_info1) >> 8) & 0x0f;
105 if (unlikely (!usb_gettoggle (qh->dev, epnum, is_out))) {
106 qh
121 qh_refresh(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
221 struct ehci_qh *qh = (struct ehci_qh *) urb->hcpriv; variable in typeref:struct:ehci_qh
229 qh_put (qh); variable
333 qh_completions(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
685 struct ehci_qh *qh = ehci_qh_alloc (ehci, flags); local
833 qh_link_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
889 struct ehci_qh *qh = NULL; local
992 struct ehci_qh *qh = NULL; local
1111 struct ehci_qh *qh = ehci->reclaim; local
1152 start_unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1216 struct ehci_qh *qh; local
[all...]
H A Dehci-sched.c43 * @periodic: host pointer to qh/itd/sitd
51 return &periodic->qh->qh_next;
98 if (q->qh->hw_info2 & cpu_to_le32 (1 << uframe))
99 usecs += q->qh->usecs;
101 if (q->qh->hw_info2 & cpu_to_le32 (1 << (8 + uframe)))
102 usecs += q->qh->c_usecs;
103 hw_p = &q->qh->hw_next;
104 q = &q->qh->qh_next;
233 if (same_tt(dev, q->qh->dev)) {
234 uf = tt_start_uframe(ehci, q->qh
482 qh_link_periodic(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
547 qh_unlink_periodic(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
587 intr_deschedule(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
659 check_intr_schedule( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, const struct ehci_qh *qh, __le32 *c_maskp ) argument
727 qh_schedule(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
799 struct ehci_qh *qh; local
[all...]
H A Duhci-debug.c107 out += sprintf(out, "qh [%p] ", urbp->qh);
129 if (urbp->qh->type != USB_ENDPOINT_XFER_ISOC &&
149 struct uhci_qh *qh, char *buf, int len, int space)
153 __le32 element = qh_element(qh);
160 switch (qh->type) {
169 space, "", qh, qtype,
170 le32_to_cpu(qh->link), le32_to_cpu(element));
171 if (qh->type == USB_ENDPOINT_XFER_ISOC)
174 space, "", qh
148 uhci_show_qh(struct uhci_hcd *uhci, struct uhci_qh *qh, char *buf, int len, int space) argument
345 struct uhci_qh *qh; local
580 uhci_show_qh(struct uhci_hcd *uhci, struct uhci_qh *qh, char *buf, int len, int space) argument
[all...]
H A Dehci-dbg.c134 dbg_qh (const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) argument
136 ehci_dbg (ehci, "%s qh %p n%08x info %x %x qtd %x\n", label,
137 qh, qh->hw_next, qh->hw_info1, qh->hw_info2,
138 qh->hw_current);
139 dbg_qtd ("overlay", ehci, (struct ehci_qtd *) &qh->hw_qtd_next);
275 dbg_qh (char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) argument
349 struct ehci_qh *qh,
347 qh_lines( struct ehci_hcd *ehci, struct ehci_qh *qh, char **nextp, unsigned *sizep ) argument
448 struct ehci_qh *qh; local
[all...]
H A Dehci-hcd.c119 #define EHCI_SHRINK_JIFFIES (HZ/200) /* async qh unlink delay */
233 static int ehci_optimized(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
237 if (ehci->ehci_pipes[p] == qh)
337 struct ehci_qh *qh = 0; local
385 qh = qh_append_tds (ehci, urb, &qtdc->cache, epnum, &ep->hcpriv);
389 if (likely (qh != 0)) {
390 if (likely (qh->qh_state == QH_STATE_IDLE))
391 qh_link_async (ehci, qh_get (qh));
672 * dedicate a qh for the async ring head, since we couldn't unlink
673 * a 'real' qh withou
954 unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
985 struct ehci_qh *qh; local
1062 struct ehci_qh *qh, *tmp; local
[all...]
H A Dehci-hub.c20 static void qh_link_async (struct ehci_hcd *ehci, struct ehci_qh *qh);
175 if (ehci->async->qh_next.qh)
476 static void ehci_optimized_unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
485 while (prev->qh_next.qh != qh)
486 prev = prev->qh_next.qh;
488 prev->hw_next = qh->hw_next;
489 prev->qh_next = qh->qh_next;
850 struct ehci_qh *qh; local
864 qh
[all...]
H A Duhci-hcd.h102 * with each endpoint, and qh->element (updated by the HC) is either:
108 * place. Then qh->element is UHCI_PTR_TERM.
110 * In the schedule, qh->link maintains a list of QHs seen by the HC:
111 * skel1 --> ep1-qh --> ep2-qh --> ... --> skel2 --> ...
113 * qh->node is the software equivalent of qh->link. The differences
167 static inline __le32 qh_element(struct uhci_qh *qh) { argument
168 __le32 element = qh->element;
174 #define LINK_TO_QH(qh) (UHCI_PTR_Q
413 struct uhci_qh *qh; /* QH for this URB */ member in struct:urb_priv
[all...]
H A Duhci-hcd.c612 dev_err(uhci_dev(uhci), "unable to create qh dma_pool\n");
824 struct uhci_qh *qh; local
827 qh = (struct uhci_qh *) hep->hcpriv;
828 if (qh == NULL)
831 while (qh->state != QH_STATE_IDLE) {
835 qh->state == QH_STATE_IDLE);
840 uhci_free_qh(uhci, qh);
H A Dehci.h99 * when updating hw_* fields in shared qh/qtd/... structures.
139 struct dma_pool *qh_pool; /* qh per active urb */
140 struct dma_pool *qtd_pool; /* one or more per qh */
175 struct ehci_qh *ehci_pipes[3]; /* pointer to ep location with qh address */
263 #define HCC_CANPARK(p) ((p)&(1 << 2)) /* true: can park on async qh */
276 #define CMD_PARK (1<<11) /* enable "park" on async qh */
413 /* mask NakCnt+T in qh->hw_alt_next */
420 /* type tag from {qh,itd,sitd,fstn}->hw_next */
441 * For entries in the async schedule, the type tag always says "qh".
444 struct ehci_qh *qh; /* Q_TYPE_Q member in union:ehci_shadow
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dnf_queue.c24 int nf_register_queue_handler(int pf, struct nf_queue_handler *qh) argument
32 if (queue_handler[pf] == qh)
37 queue_handler[pf] = qh;
60 void nf_unregister_queue_handlers(struct nf_queue_handler *qh) argument
66 if (queue_handler[pf] == qh)
309 struct nf_queue_handler *qh; local
312 qh = queue_handler[*pos];
313 if (!qh)
316 ret = seq_printf(s, "%2lld %s\n", *pos, qh->name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/
H A Dqeth_eddp.h56 struct qeth_hdr qh; member in struct:qeth_eddp_data
H A Dqeth_eddp.c214 if (eddp->qh.hdr.l2.id == QETH_HEADER_TYPE_LAYER2)
226 memcpy(page + page_offset, &eddp->qh, sizeof(struct qeth_hdr));
232 if (eddp->qh.hdr.l2.id == QETH_HEADER_TYPE_LAYER2){
385 qeth_eddp_create_eddp_data(struct qeth_hdr *qh, u8 *nh, u8 nhl, u8 *th, u8 thl) argument
394 memcpy(&eddp->qh, qh, sizeof(struct qeth_hdr));
412 if (eddp->qh.hdr.l2.id == QETH_HEADER_TYPE_LAYER2) {
424 if (eddp->qh.hdr.l2.id == QETH_HEADER_TYPE_LAYER2){
425 eddp->qh.hdr.l2.pkt_length = data_len + ETH_HLEN +
429 eddp->qh
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/quota/
H A Dxfs_dquot.c784 xfs_dqhash_t *qh,
791 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh));
798 for (dqp = qh->qh_next; dqp != NULL; dqp = dqp->HL_NEXT) {
864 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh));
865 if (dqp->HL_PREVP != &qh->qh_next) {
871 d = qh->qh_next;
874 dqp->HL_PREVP = &qh->qh_next;
875 qh->qh_next = dqp;
879 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh));
885 ASSERT(XFS_DQ_IS_HASH_LOCKED(qh));
781 xfs_qm_dqlookup( xfs_mount_t *mp, xfs_dqid_t id, xfs_dqhash_t *qh, xfs_dquot_t **O_dqpp) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/bn/
H A Dbn_div.c311 BN_ULONG t2l,t2h,ql,qh;
330 ql =LBITS(q); qh =HBITS(q);
331 mul64(t2l,t2h,ql,qh); /* t2=(BN_ULLONG)d1*q; */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/bn/
H A Dbn_div.c321 BN_ULONG t2l,t2h,ql,qh;
340 ql =LBITS(q); qh =HBITS(q);
341 mul64(t2l,t2h,ql,qh); /* t2=(BN_ULLONG)d1*q; */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnetfilter.h277 struct nf_queue_handler *qh);
279 extern void nf_unregister_queue_handlers(struct nf_queue_handler *qh);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/gadget/
H A Dfsl_usb2_udc.c422 /* Setup qh structure and ep register for ep0. */
913 struct ep_queue_head *qh; local
916 qh = ep->qh;
921 fsl_writel((u32) next_req->head, &qh->curr_dtd_ptr);
1445 struct ep_queue_head *qh; local
1447 qh = &udc->ep_qh[ep_num * 2 + EP_DIR_OUT];
1460 memcpy(buffer_ptr, (u8 *) qh->setup_buffer, 8);
2282 ep->qh = &udc->ep_qh[index];
H A Dfsl_usb2_udc.h347 * Rem: all the variables of qh are LittleEndian Mode
456 struct ep_queue_head *qh; member in struct:fsl_ep

Completed in 111 milliseconds