Searched refs:cur_seg (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci-ring.c | 534 struct xhci_segment *cur_seg; td_to_noop() local 537 for (cur_seg = cur_td->start_seg, cur_trb = cur_td->first_trb; td_to_noop() 539 next_trb(xhci, ep_ring, &cur_seg, &cur_trb)) { td_to_noop() 557 (unsigned long long)xhci_trb_virt_to_dma(cur_seg, cur_trb), td_to_noop() 558 cur_seg, td_to_noop() 559 (unsigned long long)cur_seg->dma); td_to_noop() 576 xhci_trb_virt_to_dma(cur_seg, cur_trb)); td_to_noop() 1682 struct xhci_segment *cur_seg; trb_in_td() local 1685 cur_seg = start_seg; trb_in_td() 1691 end_seg_dma = xhci_trb_virt_to_dma(cur_seg, trb_in_td() 1692 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); trb_in_td() 1694 end_trb_dma = xhci_trb_virt_to_dma(cur_seg, end_trb); trb_in_td() 1702 (unsigned long long)cur_seg->dma, trb_in_td() 1709 return cur_seg; trb_in_td() 1716 (suspect_dma >= cur_seg->dma && trb_in_td() 1718 return cur_seg; trb_in_td() 1724 return cur_seg; trb_in_td() 1726 cur_seg = cur_seg->next; trb_in_td() 1727 start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); trb_in_td() 1728 } while (cur_seg != start_seg); trb_in_td() 2006 struct xhci_segment *cur_seg; process_isoc_td() local 2063 cur_seg = ep_ring->deq_seg; cur_trb != event_trb; process_isoc_td() 2064 next_trb(xhci, ep_ring, &cur_seg, &cur_trb)) { process_isoc_td() 2118 struct xhci_segment *cur_seg; process_bulk_intr_td() local 2195 for (cur_trb = ep_ring->dequeue, cur_seg = ep_ring->deq_seg; process_bulk_intr_td() 2197 next_trb(xhci, ep_ring, &cur_seg, &cur_trb)) { process_bulk_intr_td()
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | mad_priv.h | 141 struct ib_rmpp_segment *cur_seg; member in struct:ib_mad_send_wr_private
|
H A D | mad.c | 907 send_wr->cur_seg = container_of(send_wr->rmpp_list.next, alloc_send_rmpp_list() 909 send_wr->last_ack_seg = send_wr->cur_seg; alloc_send_rmpp_list() 1019 list = &mad_send_wr->cur_seg->list; ib_get_rmpp_segment() 1021 if (mad_send_wr->cur_seg->num < seg_num) { ib_get_rmpp_segment() 1022 list_for_each_entry(mad_send_wr->cur_seg, list, list) ib_get_rmpp_segment() 1023 if (mad_send_wr->cur_seg->num == seg_num) ib_get_rmpp_segment() 1025 } else if (mad_send_wr->cur_seg->num > seg_num) { ib_get_rmpp_segment() 1026 list_for_each_entry_reverse(mad_send_wr->cur_seg, list, list) ib_get_rmpp_segment() 1027 if (mad_send_wr->cur_seg->num == seg_num) ib_get_rmpp_segment() 1030 return mad_send_wr->cur_seg->data; ib_get_rmpp_segment()
|
H A D | mad_rmpp.c | 946 mad_send_wr->cur_seg = mad_send_wr->last_ack_seg; ib_retry_rmpp()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 588 struct scatterlist *cur_seg; qla24xx_build_scsi_type_6_iocbs() local 625 cur_seg = scsi_sglist(cmd); qla24xx_build_scsi_type_6_iocbs() 658 sle_dma = sg_dma_address(cur_seg); qla24xx_build_scsi_type_6_iocbs() 661 *cur_dsd++ = cpu_to_le32(sg_dma_len(cur_seg)); qla24xx_build_scsi_type_6_iocbs() 662 cur_seg = sg_next(cur_seg); qla24xx_build_scsi_type_6_iocbs()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 1525 struct scatterlist *cur_seg; ahc_linux_run_command() local 1534 scsi_for_each_sg(cmd, cur_seg, nseg, i) { scsi_for_each_sg() 1539 addr = sg_dma_address(cur_seg); scsi_for_each_sg() 1540 len = sg_dma_len(cur_seg); scsi_for_each_sg()
|
H A D | aic79xx_osm.c | 1638 struct scatterlist *cur_seg; ahd_linux_run_command() local 1643 scsi_for_each_sg(cmd, cur_seg, nseg, i) { scsi_for_each_sg() 1647 addr = sg_dma_address(cur_seg); scsi_for_each_sg() 1648 len = sg_dma_len(cur_seg); scsi_for_each_sg()
|
Completed in 478 milliseconds