Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 25 of 40) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/net/
H A Dmvneta.c584 int queue; in mvneta_port_up() local
590 for (queue = 0; queue < txq_number; queue++) { in mvneta_port_up()
591 struct mvneta_tx_queue *txq = &pp->txqs[queue]; in mvneta_port_up()
593 q_map |= (1 << queue); in mvneta_port_up()
599 for (queue = 0; queue < rxq_number; queue++) { in mvneta_port_up()
600 struct mvneta_rx_queue *rxq = &pp->rxqs[queue]; in mvneta_port_up()
602 q_map |= (1 << queue); in mvneta_port_up()
705 static void mvneta_set_ucast_table(struct mvneta_port *pp, int queue) in mvneta_set_ucast_table() argument
710 if (queue == -1) { in mvneta_set_ucast_table()
713 val = 0x1 | (queue << 1); in mvneta_set_ucast_table()
[all …]
H A Dmvpp2.c3710 int tx_port_num, val, queue, ptxq, lrxq; in mvpp2_defaults_set() local
3732 for (queue = 0; queue < MVPP2_MAX_TXQ; queue++) { in mvpp2_defaults_set()
3733 ptxq = mvpp2_txq_phys(port->id, queue); in mvpp2_defaults_set()
3757 queue = port->rxqs[lrxq]->id; in mvpp2_defaults_set()
3758 val = mvpp2_read(port->priv, MVPP2_RXQ_CONFIG_REG(queue)); in mvpp2_defaults_set()
3761 mvpp2_write(port->priv, MVPP2_RXQ_CONFIG_REG(queue), val); in mvpp2_defaults_set()
3769 int lrxq, queue; in mvpp2_ingress_enable() local
3772 queue = port->rxqs[lrxq]->id; in mvpp2_ingress_enable()
3773 val = mvpp2_read(port->priv, MVPP2_RXQ_CONFIG_REG(queue)); in mvpp2_ingress_enable()
3775 mvpp2_write(port->priv, MVPP2_RXQ_CONFIG_REG(queue), val); in mvpp2_ingress_enable()
[all …]
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_uboot.c127 struct int_queue *queue; in _musb_create_int_queue() local
140 queue = malloc(sizeof(*queue)); in _musb_create_int_queue()
141 if (!queue) in _musb_create_int_queue()
144 construct_urb(&queue->urb, &queue->hep, dev, USB_ENDPOINT_XFER_INT, in _musb_create_int_queue()
147 ret = musb_urb_enqueue(&host->hcd, &queue->urb, 0); in _musb_create_int_queue()
150 free(queue); in _musb_create_int_queue()
155 return queue; in _musb_create_int_queue()
159 struct usb_device *dev, struct int_queue *queue) in _musb_destroy_int_queue() argument
161 int index = usb_pipein(queue->urb.pipe) * 16 + in _musb_destroy_int_queue()
162 usb_pipeendpoint(queue->urb.pipe); in _musb_destroy_int_queue()
[all …]
H A Dmusb_host.h77 struct list_head *queue; in next_urb() local
81 queue = &qh->hep->urb_list; in next_urb()
82 if (list_empty(queue)) in next_urb()
84 return list_entry(queue->next, struct urb, urb_list); in next_urb()
H A Dmusb_gadget.h84 struct list_head *queue = &ep->req_list; in next_request() local
86 if (list_empty(queue)) in next_request()
88 return container_of(queue->next, struct musb_request, list); in next_request()
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dkeystone-k2e-netcp.dtsi18 queue-range = <0 0x2000>;
38 queue-pools {
135 tx-queue = <896>;
185 rx-queue-depth = <128 128 0 0>;
187 rx-queue = <528>;
188 tx-completion-queue = <530>;
197 rx-queue-depth = <128 128 0 0>;
199 rx-queue = <529>;
200 tx-completion-queue = <531>;
H A Dkeystone-k2l-netcp.dtsi18 queue-range = <0 0x2000>;
38 queue-pools {
134 tx-queue = <896>;
168 rx-queue-depth = <128 128 0 0>;
170 rx-queue = <528>;
171 tx-completion-queue = <530>;
180 rx-queue-depth = <128 128 0 0>;
182 rx-queue = <529>;
183 tx-completion-queue = <531>;
H A Dkeystone-k2hk-netcp.dtsi18 queue-range = <0 0x4000>;
50 queue-pools {
153 tx-queue = <648>;
187 rx-queue-depth = <128 128 0 0>;
189 rx-queue = <8704>;
190 tx-completion-queue = <8706>;
199 rx-queue-depth = <128 128 0 0>;
201 rx-queue = <8705>;
202 tx-completion-queue = <8707>;
H A Dkeystone-k2g-netcp.dtsi20 queue-range = <0 0x80>;
38 queue-pools {
127 tx-queue = <5>;
144 rx-queue-depth = <128 128 0 0>;
146 rx-queue = <77>;
147 tx-completion-queue = <78>;
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Datmel_usba_udc.c73 if (list_empty(&ep->queue)) { in submit_next_request()
78 req = list_entry(ep->queue.next, struct usba_request, queue); in submit_next_request()
104 if (list_empty(&ep->queue)) { in receive_data()
108 req = list_entry(ep->queue.next, in receive_data()
109 struct usba_request, queue); in receive_data()
128 list_del_init(&req->queue); in receive_data()
162 list_for_each_entry_safe(req, tmp_req, list, queue) { in request_complete_list()
163 list_del_init(&req->queue); in request_complete_list()
295 list_splice_init(&ep->queue, &req_list); in usba_ep_disable()
320 INIT_LIST_HEAD(&req->queue); in usba_ep_alloc_request()
[all …]
H A Ddwc2_udc_otg_xfer_dma.c199 if (list_empty(&ep->queue)) { in complete_rx()
207 req = list_entry(ep->queue.next, struct dwc2_request, queue); in complete_rx()
253 if (!list_empty(&ep->queue)) { in complete_rx()
254 req = list_entry(ep->queue.next, in complete_rx()
255 struct dwc2_request, queue); in complete_rx()
279 if (list_empty(&ep->queue)) { in complete_tx()
287 req = list_entry(ep->queue.next, struct dwc2_request, queue); in complete_tx()
334 if (!list_empty(&ep->queue)) { in complete_tx()
335 req = list_entry(ep->queue.next, struct dwc2_request, queue); in complete_tx()
350 if (!list_empty(&ep->queue)) { in dwc2_udc_check_tx_queue()
[all …]
H A Dfotg210.c38 struct list_head queue; member
45 struct list_head queue; member
479 if (list_empty(&ep->queue)) { in fotg210_recv()
484 req = list_first_entry(&ep->queue, struct fotg210_request, queue); in fotg210_recv()
487 list_del_init(&req->queue); in fotg210_recv()
492 if (ep->id > 0 && list_empty(&ep->queue)) { in fotg210_recv()
569 INIT_LIST_HEAD(&req->queue); in fotg210_ep_alloc_request()
593 || !list_empty(&req->queue)) { in fotg210_ep_queue()
629 list_add_tail(&req->queue, &ep->queue); in fotg210_ep_queue()
649 list_for_each_entry(req, &ep->queue, queue) { in fotg210_ep_dequeue()
[all …]
H A Dat91_udc.c76 list_del_init(&req->queue); in done()
91 if (list_empty(&ep->queue) && ep->int_mask != (1 << 0)) in done()
271 if (list_empty(&ep->queue)) in nuke()
275 while (!list_empty(&ep->queue)) { in nuke()
276 req = list_entry(ep->queue.next, struct at91_request, queue); in nuke()
403 INIT_LIST_HEAD(&req->queue); in at91_ep_alloc_request()
412 BUG_ON(!list_empty(&req->queue)); in at91_ep_free_request()
429 || !_req->buf || !list_empty(&req->queue)) { in at91_ep_queue()
452 if (list_empty(&ep->queue) && !ep->stopped) { in at91_ep_queue()
508 list_add_tail (&req->queue, &ep->queue); in at91_ep_queue()
[all …]
H A Dci_udc.c102 .queue = ci_ep_queue,
276 INIT_LIST_HEAD(&ci_req->queue); in ci_ep_alloc_request()
439 ci_req = list_first_entry(&ci_ep->queue, struct ci_req, queue); in ci_ep_submit_next_request()
533 list_for_each_entry(ci_req, &ci_ep->queue, queue) { in ci_ep_dequeue()
541 list_del_init(&ci_req->queue); in ci_ep_dequeue()
584 list_add_tail(&ci_req->queue, &ci_ep->queue); in ci_ep_queue()
613 ci_req = list_first_entry(&ci_ep->queue, struct ci_req, queue); in handle_ep_complete()
631 list_del_init(&ci_req->queue); in handle_ep_complete()
634 if (!list_empty(&ci_ep->queue)) in handle_ep_complete()
703 list_del_init(&ci_req->queue); in handle_setup()
[all …]
H A Ddwc2_udc_otg_priv.h57 struct list_head queue; member
72 struct list_head queue; member
H A Dpxa25x_udc.h54 struct list_head queue; member
75 struct list_head queue; member
H A Dpxa25x_udc.c393 INIT_LIST_HEAD(&req->queue); in pxa25x_ep_alloc_request()
407 WARN_ON(!list_empty(&req->queue)); in pxa25x_ep_free_request()
420 list_del_init(&req->queue); in done()
513 if (list_empty(&ep->queue)) in write_fifo()
667 if (list_empty(&ep->queue)) in read_fifo()
733 || !list_empty(&req->queue))) { in pxa25x_ep_queue()
769 if (list_empty(&ep->queue) && !ep->stopped) { in pxa25x_ep_queue()
830 list_add_tail(&req->queue, &ep->queue); in pxa25x_ep_queue()
845 while (!list_empty(&ep->queue)) { in nuke()
846 req = list_entry(ep->queue.next, in nuke()
[all …]
H A Dat91_udc.h93 struct list_head queue; member
145 struct list_head queue; member
H A Dci_udc.h82 struct list_head queue; member
94 struct list_head queue; member
H A Ddwc2_udc_otg.c139 .queue = dwc2_queue,
206 INIT_LIST_HEAD(&ep->queue); in udc_reinit()
369 list_del_init(&req->queue); in done()
420 while (!list_empty(&ep->queue)) { in nuke()
421 req = list_entry(ep->queue.next, struct dwc2_request, queue); in nuke()
722 INIT_LIST_HEAD(&req->queue); in dwc2_alloc_request()
734 WARN_ON(!list_empty(&req->queue)); in dwc2_free_request()
754 list_for_each_entry(req, &ep->queue, queue) { in dwc2_dequeue()
H A Datmel_usba_udc.h259 struct list_head queue; member
274 struct list_head queue; member
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dehci-hcd.c1381 struct int_queue *queue) in _ehci_poll_int_queue() argument
1383 struct QH *cur = queue->current; in _ehci_poll_int_queue()
1386 unsigned long pipe = queue->pipe; in _ehci_poll_int_queue()
1394 cur_td = &queue->tds[queue->current - queue->first]; in _ehci_poll_int_queue()
1407 queue->current++; in _ehci_poll_int_queue()
1409 queue->current = NULL; in _ehci_poll_int_queue()
1413 queue->elementsize)); in _ehci_poll_int_queue()
1416 token, cur, queue->first); in _ehci_poll_int_queue()
1422 struct int_queue *queue) in _ehci_destroy_int_queue() argument
1438 if (NEXT_QH(cur) == queue->first) { in _ehci_destroy_int_queue()
[all …]
H A Dohci-hcd.c1624 struct int_queue *queue; in _ohci_create_int_queue() local
1635 queue = malloc(sizeof(*queue)); in _ohci_create_int_queue()
1636 if (!queue) { in _ohci_create_int_queue()
1642 queue->urb[i] = ohci_alloc_urb(udev, pipe, in _ohci_create_int_queue()
1645 if (!queue->urb[i]) in _ohci_create_int_queue()
1648 if (sohci_submit_job(ohci, ohci_dev, queue->urb[i], NULL)) { in _ohci_create_int_queue()
1650 urb_free_priv(queue->urb[i]); in _ohci_create_int_queue()
1656 free(queue); in _ohci_create_int_queue()
1660 queue->queuesize = i; in _ohci_create_int_queue()
1661 queue->curr_urb = 0; in _ohci_create_int_queue()
[all …]
/rk3399_rockchip-uboot/drivers/dma/
H A Dkeystone_nav.c15 .queue = (void *)CONFIG_KSNAV_QM_MANAGER_QUEUES_BASE,
107 writel(regd, &qm_cfg->queue[qnum].ptr_size_thresh); in qm_push()
124 uhd = readl(&qm_cfg->queue[qnum].ptr_size_thresh) & ~0xf; in qm_pop()
/rk3399_rockchip-uboot/include/
H A Dusb.h194 int destroy_int_queue(struct usb_device *dev, struct int_queue *queue);
195 void *poll_int_queue(struct usb_device *dev, struct int_queue *queue);
745 struct int_queue *queue);
757 struct int_queue *queue);

12