Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 57) sorted by relevance

123

/drivers/core/
A Dof_access.c191 return property->next; in of_get_next_property()
300 struct device_node *next; in __of_get_next_child() local
312 for (; next; next = next->sibling) in __of_get_next_child()
313 if (of_node_get(next)) in __of_get_next_child()
316 return next; in __of_get_next_child()
998 new->next = NULL; in of_write_prop()
1001 pp_last->next = new; in of_write_prop()
1075 for (next = &np->properties; *next; next = &(*next)->next) { in __of_remove_property()
1076 if (*next == prop) in __of_remove_property()
1079 if (!*next) in __of_remove_property()
[all …]
A Droot.c53 new_gd->uclass_root->next->prev = new_gd->uclass_root; in dm_fixup_for_gd_move()
54 new_gd->uclass_root->prev->next = new_gd->uclass_root; in dm_fixup_for_gd_move()
/drivers/usb/host/
A Dxhci-ring.c82 (seg->next == ring->first_seg)); in last_trb_on_last_seg()
113 union xhci_trb *next; in inc_enq() local
116 next = ++(ring->enqueue); in inc_enq()
145 xhci_flush_cache((uintptr_t)next, in inc_enq()
150 ring->enq_seg, next)) in inc_enq()
153 ring->enq_seg = ring->enq_seg->next; in inc_enq()
155 next = ring->enqueue; in inc_enq()
181 ring->deq_seg = ring->deq_seg->next; in inc_deq()
234 union xhci_trb *next = ep_ring->enqueue; in prepare_ring() local
273 ep_ring->enq_seg, next)) in prepare_ring()
[all …]
A Dxhci-mem.c88 seg = first_seg->next; in xhci_ring_free()
90 struct xhci_segment *next = seg->next; in xhci_ring_free() local
92 seg = next; in xhci_ring_free()
235 if (!prev || !next) in xhci_link_segments()
237 prev->next = next; in xhci_link_segments()
240 cpu_to_le64(next->dma); in xhci_link_segments()
297 seg->next = NULL; in xhci_segment_alloc()
336 struct xhci_segment *next; in xhci_ring_alloc() local
339 BUG_ON(!next); in xhci_ring_alloc()
343 prev = next; in xhci_ring_alloc()
[all …]
/drivers/reboot-mode/
A Dreboot-mode-uclass.c93 struct reboot_mode_mode *next = plat_data->modes; in dm_reboot_mode_pre_probe() local
104 next->mode_name = &propname[mode_prefix_len]; in dm_reboot_mode_pre_probe()
105 next->mode_id = fdt32_to_cpu(*propvalue); in dm_reboot_mode_pre_probe()
107 next++; in dm_reboot_mode_pre_probe()
/drivers/serial/
A Dserial.c145 dev->next = serial_devices; in serial_register()
246 s = s->next; in serial_stdio_init()
266 for (s = serial_devices; s; s = s->next) { in serial_assign()
286 for (s = serial_devices; s; s = s->next) in serial_reinit_all()
471 for (s = serial_devices; s; s = s->next) { in uart_post_test()
/drivers/net/
A Dnpcm750_eth.c34 unsigned int next; member
41 unsigned int next; member
363 desc_p->next = (u32)&desc_table_p[idx + 1]; in npcm750_tx_descs_init()
365 desc_p->next = (u32)&priv->tdesc[0]; in npcm750_tx_descs_init()
390 desc_p->next = (u32)&desc_table_p[idx + 1]; in npcm750_rx_descs_init()
392 desc_p->next = (u32)&priv->rdesc[0]; in npcm750_rx_descs_init()
528 next_desc_p = (struct npcm750_txbd *)desc_p->next; in npcm750_eth_send()
531 next_desc_p = (struct npcm750_txbd *)next_desc_p->next; in npcm750_eth_send()
554 priv->curr_txd = (struct npcm750_txbd *)priv->curr_txd->next; in npcm750_eth_send()
571 next_desc_p = (struct npcm750_rxbd *)desc_p->next; in npcm750_eth_recv()
[all …]
A Daltera_tse.c29 struct alt_sgdma_descriptor *next, in alt_sgdma_construct_descriptor() argument
43 next->descriptor_control = next->descriptor_control & in alt_sgdma_construct_descriptor()
49 desc->next = virt_to_phys(next); in alt_sgdma_construct_descriptor()
A Dsun8i_emac.c140 u32 next; member
398 desc_p->next = (uintptr_t)&desc_table_p[i + 1]; in rx_descs_init()
404 desc_p->next = (uintptr_t)&desc_table_p[0]; in rx_descs_init()
424 desc_p->next = (uintptr_t)&desc_table_p[i + 1]; in tx_descs_init()
430 desc_p->next = (uintptr_t)&desc_table_p[0]; in tx_descs_init()
A Dag7xxx.c406 struct ag7xxx_dma_desc *curr, *next; in ag7xxx_dma_clean_tx() local
412 next = &priv->tx_mac_descrtable[(i + 1) % CFG_TX_DESCR_NUM]; in ag7xxx_dma_clean_tx()
416 curr->next_desc = virt_to_phys(next); in ag7xxx_dma_clean_tx()
430 struct ag7xxx_dma_desc *curr, *next; in ag7xxx_dma_clean_rx() local
436 next = &priv->rx_mac_descrtable[(i + 1) % CFG_RX_DESCR_NUM]; in ag7xxx_dma_clean_rx()
440 curr->next_desc = virt_to_phys(next); in ag7xxx_dma_clean_rx()
/drivers/virtio/
A Dvirtio_ring.c82 desc->next = cpu_to_virtio16(vq->vdev, desc_shadow->next); in virtqueue_attach_desc()
84 return desc_shadow->next; in virtqueue_attach_desc()
219 i = vq->vring_desc_shadow[i].next; in detach_buf()
224 vq->vring_desc_shadow[i].next = vq->free_head; in detach_buf()
328 vq->vring_desc_shadow[i].next = i + 1; in __vring_new_virtqueue()
453 i, desc->addr, desc->len, desc->flags, desc->next); in virtqueue_dump()
/drivers/usb/musb-new/
A Dmusb_host.h59 return list_entry(q->next, struct musb_qh, ring); in first_qh()
82 return list_entry(queue->next, struct urb, urb_list); in next_urb()
A Dmusb_gadget.h86 return container_of(queue->next, struct musb_request, list); in next_request()
/drivers/usb/gadget/
A Dcomposite.c199 void *next = buf + USB_DT_CONFIG_SIZE; in config_buf() local
223 next += status; in config_buf()
241 next += status; in config_buf()
244 len = next - buf; in config_buf()
736 u8 next = cdev->next_string_id; in usb_string_ids_tab() local
739 if (next >= 254) in usb_string_ids_tab()
741 str->id = ++next; in usb_string_ids_tab()
744 cdev->next_string_id = next; in usb_string_ids_tab()
770 u8 next = c->next_string_id; in usb_string_ids_n() local
772 if (n > 254 || next + n > 254) in usb_string_ids_n()
[all …]
A Dci_udc.h115 unsigned next; member
137 unsigned next; member
A Dci_udc.c491 head->next = (unsigned long)item; in ci_ep_submit_next_request()
515 dtd->next = (unsigned long)qtd; in ci_ep_submit_next_request()
549 item->next = (unsigned long)other_item; in ci_ep_submit_next_request()
554 item->next = TERMINATE; in ci_ep_submit_next_request()
559 item = (struct ept_queue_item *)(unsigned long)head->next; in ci_ep_submit_next_request()
560 while (item->next != TERMINATE) { in ci_ep_submit_next_request()
561 ci_flush_td((struct ept_queue_item *)(unsigned long)item->next); in ci_ep_submit_next_request()
562 item = (struct ept_queue_item *)(unsigned long)item->next; in ci_ep_submit_next_request()
693 item->next; in handle_ep_complete()
1026 head->next = TERMINATE; in ci_udc_probe()
A Ddwc2_udc_otg_xfer_dma.c192 req = list_entry(ep->queue.next, struct dwc2_request, queue); in complete_rx()
239 req = list_entry(ep->queue.next, in complete_rx()
272 req = list_entry(ep->queue.next, struct dwc2_request, queue); in complete_tx()
320 req = list_entry(ep->queue.next, struct dwc2_request, queue); in complete_tx()
336 req = list_entry(ep->queue.next, struct dwc2_request, queue); in dwc2_udc_check_tx_queue()
794 req = list_entry(ep->queue.next, struct dwc2_request, queue); in dwc2_ep0_read()
834 req = list_entry(ep->queue.next, struct dwc2_request, queue); in dwc2_ep0_write()
1046 list_entry(ep->queue.next, struct dwc2_request, queue)); in dwc2_udc_set_halt()
A Df_mass_storage.c811 common->next_buffhd_to_fill = bh->next; in do_read()
918 common->next_buffhd_to_fill = bh->next; in do_write()
927 common->next_buffhd_to_drain = bh->next; in do_write()
1443 bh = fsg->common->next_buffhd_to_fill = bh->next; in pad_with_zeros()
1463 common->next_buffhd_to_drain = bh->next; in throw_away_data()
1491 common->next_buffhd_to_fill = bh->next; in throw_away_data()
1540 common->next_buffhd_to_fill = bh->next; in finish_reply()
1552 common->next_buffhd_to_fill = bh->next; in finish_reply()
1650 common->next_buffhd_to_fill = bh->next; in send_status()
2504 bh->next = bh + 1; in fsg_common_init()
[all …]
/drivers/net/pfe_eth/
A Dpfe_driver.c250 readl(&bd_va->next)); in hif_rx_desc_dump()
326 writel((unsigned long)(bd_pa + 1), &bd_va->next); in hif_rx_desc_init()
333 writel((u32)rx_desc->rx_base_pa, &bd_va->next); in hif_rx_desc_init()
413 writel((unsigned long)(bd_pa + 1), &bd_va->next); in hif_tx_desc_init()
419 writel((u32)tx_desc->tx_base_pa, &bd_va->next); in hif_tx_desc_init()
/drivers/net/ti/
A Ddavinci_emac.c474 rx_desc->next = BD_TO_HW((u_int32_t)(rx_desc + 1)); in davinci_emac_start()
483 rx_desc->next = 0; in davinci_emac_start()
642 emac_tx_desc->next = 0; in davinci_emac_send()
705 (volatile emac_desc *) (HW_TO_BD(rx_curr_desc->next)); in davinci_emac_recv()
720 rx_curr_desc->next = 0; in davinci_emac_recv()
735 tail_desc->next = BD_TO_HW((ulong) curr_desc); in davinci_emac_recv()
/drivers/block/
A Dblk-uclass.c662 int next = blk_next_free_devnum(uclass_id); in blk_claim_devnum() local
664 if (next < 0) in blk_claim_devnum()
665 return next; in blk_claim_devnum()
666 desc->devnum = next; in blk_claim_devnum()
759 struct udevice *dev, *next; in blk_unbind_all() local
765 uclass_foreach_dev_safe(dev, next, uc) { in blk_unbind_all()
/drivers/dma/
A Dapbh_dma.c144 pdesc = list_entry(pdesc->node.next, in mxs_dma_enable()
421 pdesc->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append()
431 last->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append()
/drivers/usb/mtu3/
A Dmtu3_qmu.c166 struct qmu_gpd *next; in gpd_ring_empty() local
169 next = enq + 1; in gpd_ring_empty()
171 next = ring->start; in gpd_ring_empty()
174 return next == ring->dequeue; in gpd_ring_empty()
/drivers/pinctrl/mediatek/
A Dpinctrl-mtk-common.c129 pfd->next = pfd->bitpos + c->x_bits > c->sz_reg ? c->x_addrs : 0; in mtk_hw_pin_field_lookup()
167 mtk_i_rmw(dev, pf->index, pf->offset + pf->next, BIT(nbits_h) - 1, in mtk_hw_write_cross_field()
179 h = (mtk_r32(dev, pf->index, pf->offset + pf->next)) & (BIT(nbits_h) - 1); in mtk_hw_read_cross_field()
194 if (!pf.next) in mtk_hw_set_value()
213 if (!pf.next) in mtk_hw_get_value()
/drivers/video/
A Dstb_truetype.h2774 c->next = hh->head; in stbtt__hheap_alloc()
2843 z->next = 0; in stbtt__new_active()
2862 z->next = 0; in stbtt__new_active()
2911 e = e->next; in stbtt__fill_active_edges()
2963 t->next = q->next; in stbtt__rasterize_sorted_edges()
2964 q->next = t; in stbtt__rasterize_sorted_edges()
2988 while (p->next && p->next->x < z->x) in stbtt__rasterize_sorted_edges()
2991 z->next = p->next; in stbtt__rasterize_sorted_edges()
2992 p->next = z; in stbtt__rasterize_sorted_edges()
3283 e = e->next; in stbtt__fill_active_edges_new()
[all …]

Completed in 101 milliseconds

123