Searched refs:cur_seg (Results 1 – 14 of 14) sorted by relevance
/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 537 struct cdnsp_segment *cur_seg; in cdnsp_trb_in_td() local 544 cur_seg = start_seg; in cdnsp_trb_in_td() 550 temp_trb = &cur_seg->trbs[TRBS_PER_SEGMENT - 1]; in cdnsp_trb_in_td() 552 end_seg_dma = cdnsp_trb_virt_to_dma(cur_seg, temp_trb); in cdnsp_trb_in_td() 554 end_trb_dma = cdnsp_trb_virt_to_dma(cur_seg, end_trb); in cdnsp_trb_in_td() 557 end_trb_dma, cur_seg->dma, in cdnsp_trb_in_td() 568 return cur_seg; in cdnsp_trb_in_td() 577 (suspect_dma >= cur_seg->dma && in cdnsp_trb_in_td() 579 return cur_seg; in cdnsp_trb_in_td() 588 return cur_seg; in cdnsp_trb_in_td() [all …]
|
/drivers/scsi/elx/efct/ |
D | efct_lio.c | 451 ocp->cur_seg = 0; in efct_lio_write_pending() 457 curcnt = (ocp->seg_map_cnt - ocp->cur_seg); in efct_lio_write_pending() 460 for (cnt = 0, sg = cmd->t_data_sg; cnt < ocp->cur_seg; cnt++, in efct_lio_write_pending() 469 ocp->cur_seg++; in efct_lio_write_pending() 472 if (ocp->cur_seg == ocp->seg_cnt) in efct_lio_write_pending() 495 ocp->cur_seg = 0; in efct_lio_queue_data_in() 513 curcnt = min(ocp->seg_map_cnt - ocp->cur_seg, io->sgl_allocated); in efct_lio_queue_data_in() 516 sg = &cmd->t_data_sg[ocp->cur_seg]; in efct_lio_queue_data_in() 526 ocp->cur_seg++; in efct_lio_queue_data_in() 534 ocp->seg_cnt = ocp->cur_seg; in efct_lio_queue_data_in() [all …]
|
D | efct_lio.h | 118 u32 cur_seg; member
|
/drivers/infiniband/hw/hfi1/ |
D | rc.c | 185 qp->s_ack_rdma_psn = mask_psn(e->psn + req->cur_seg); in make_rc_ack() 280 req->cur_seg == req->alloc_seg) { in make_rc_ack() 297 if (req->cur_seg != req->total_segs) in make_rc_ack() 804 req->cur_seg = 0; in hfi1_make_rc_req() 813 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 826 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1048 req->cur_seg = delta_psn(qp->s_psn, wqe->psn) / priv->pkts_ps; in hfi1_make_rc_req() 1071 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() 1084 if (req->cur_seg >= req->total_segs && in hfi1_make_rc_req() 1117 wqe->length - req->seg_len * req->cur_seg); in hfi1_make_rc_req() [all …]
|
D | tid_rdma.c | 1749 req->cur_seg * req->seg_len + flow->sent); in hfi1_build_tid_rdma_read_packet() 1770 req->cur_seg++; in hfi1_build_tid_rdma_read_packet() 1971 req->cur_seg = 0; in tid_rdma_rcv_read_request() 2092 (req->state == TID_REQUEST_SYNC && !req->cur_seg)) { in tid_rdma_rcv_error() 2146 req->cur_seg = delta_psn(psn, e->psn); in tid_rdma_rcv_error() 2165 req->cur_seg == req->comp_seg || in tid_rdma_rcv_error() 2178 req->cur_seg = req->comp_seg; in tid_rdma_rcv_error() 2551 req->comp_seg == req->cur_seg) || in hfi1_rc_rcv_tid_rdma_read_resp() 2943 if (req->comp_seg == req->cur_seg) in hfi1_handle_kdeth_eflags() 3107 rvt_skip_sge(&qpriv->tid_ss, (req->cur_seg * req->seg_len) + in hfi1_tid_rdma_restart_req() [all …]
|
D | tid_rdma.h | 121 u32 cur_seg; /* index of current segment */ member
|
D | trace_tid.h | 1054 __field(u32, cur_seg) 1076 __entry->cur_seg = req->cur_seg; 1099 __entry->cur_seg,
|
/drivers/usb/host/ |
D | xhci-ring.c | 2096 struct xhci_segment *cur_seg; in trb_in_td() local 2099 cur_seg = start_seg; in trb_in_td() 2105 end_seg_dma = xhci_trb_virt_to_dma(cur_seg, in trb_in_td() 2106 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); in trb_in_td() 2108 end_trb_dma = xhci_trb_virt_to_dma(cur_seg, end_trb); in trb_in_td() 2116 (unsigned long long)cur_seg->dma, in trb_in_td() 2123 return cur_seg; in trb_in_td() 2130 (suspect_dma >= cur_seg->dma && in trb_in_td() 2132 return cur_seg; in trb_in_td() 2138 return cur_seg; in trb_in_td() [all …]
|
/drivers/infiniband/core/ |
D | mad_priv.h | 141 struct ib_rmpp_segment *cur_seg; member
|
D | mad.c | 821 send_wr->cur_seg = container_of(send_wr->rmpp_list.next, in alloc_send_rmpp_list() 823 send_wr->last_ack_seg = send_wr->cur_seg; in alloc_send_rmpp_list() 952 list = &mad_send_wr->cur_seg->list; in ib_get_rmpp_segment() 954 if (mad_send_wr->cur_seg->num < seg_num) { in ib_get_rmpp_segment() 955 list_for_each_entry(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment() 956 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 958 } else if (mad_send_wr->cur_seg->num > seg_num) { in ib_get_rmpp_segment() 959 list_for_each_entry_reverse(mad_send_wr->cur_seg, list, list) in ib_get_rmpp_segment() 960 if (mad_send_wr->cur_seg->num == seg_num) in ib_get_rmpp_segment() 963 return mad_send_wr->cur_seg->data; in ib_get_rmpp_segment()
|
D | mad_rmpp.c | 953 mad_send_wr->cur_seg = mad_send_wr->last_ack_seg; in ib_retry_rmpp()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1506 struct scatterlist *cur_seg; in ahc_linux_run_command() local 1515 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahc_linux_run_command() 1520 addr = sg_dma_address(cur_seg); in ahc_linux_run_command() 1521 len = sg_dma_len(cur_seg); in ahc_linux_run_command()
|
D | aic79xx_osm.c | 1622 struct scatterlist *cur_seg; in ahd_linux_run_command() local 1627 scsi_for_each_sg(cmd, cur_seg, nseg, i) { in ahd_linux_run_command() 1631 addr = sg_dma_address(cur_seg); in ahd_linux_run_command() 1632 len = sg_dma_len(cur_seg); in ahd_linux_run_command()
|
/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 596 struct scatterlist *cur_seg; in qla24xx_build_scsi_type_6_iocbs() local 630 cur_seg = scsi_sglist(cmd); in qla24xx_build_scsi_type_6_iocbs() 661 append_dsd64(&cur_dsd, cur_seg); in qla24xx_build_scsi_type_6_iocbs() 662 cur_seg = sg_next(cur_seg); in qla24xx_build_scsi_type_6_iocbs()
|