/freebsd-current/sys/dev/isci/ |
H A D | isci_io_request.c | 686 isci_io_request_construct(void *arg, bus_dma_segment_t *seg, int nseg, argument 694 io_request->num_segments = nseg;
|
/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_pagealloc.c | 50 mlx5_fwp_load_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 62 KASSERT(nseg == 1, ("Number of segments is different from 1"));
|
/freebsd-current/sys/contrib/ena-com/ |
H A D | ena_plat.h | 306 int nseg; member in struct:__anon48 324 void ena_dmamap_callback(void *arg, bus_dma_segment_t *segs, int nseg,
|
/freebsd-current/sys/dev/isp/ |
H A D | ispvar.h | 99 #define ISP_SEND_CMD(isp, qe, segp, nseg) \ 100 (*(isp)->isp_mdvec->dv_send_cmd)((isp), (qe), (segp), (nseg))
|
/freebsd-current/sys/dev/tws/ |
H A D | tws_cam.c | 63 int nseg, int error); 932 int nseg, int error) 936 u_int16_t sgls = nseg; 945 TWS_TRACE(sc, "not enough data segs", 0, nseg); 931 tws_dmamap_data_load_cbfn(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
|
H A D | tws.c | 83 int nseg, int error); 704 int nseg, int error) 703 tws_dmamap_cmds_load_cbfn(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
|
/freebsd-current/sys/dev/xdma/ |
H A D | xdma_fdt_test.c | 106 xdmatest_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int err) argument
|
/freebsd-current/sys/dev/sec/ |
H A D | sec.c | 712 sec_alloc_dma_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 719 KASSERT(nseg == 1, ("Wrong number of segments, should be 1")); 724 sec_dma_map_desc_cb(void *arg, bus_dma_segment_t *segs, int nseg, argument 739 for (i = 0; i < nseg; i++) {
|
/freebsd-current/sys/dev/irdma/ |
H A D | osdep.h | 199 int nseg; member in struct:irdma_dma_mem
|
H A D | fbsd_kcompat.c | 937 irdma_dmamap_cb(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument 992 mem->nseg = 1;
|
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_qpair.c | 1212 nvme_payload_map(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument 1235 if (nseg == 2) { 1237 } else if (nseg > 2) { 1240 while (cur_nseg < nseg) {
|
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhci.c | 187 bcm_sdhci_dmacb(void *arg, bus_dma_segment_t *segs, int nseg, int err) argument 195 sc->dmamap_seg_count = nseg; 197 /* Note nseg is guaranteed to be zero if err is non-zero. */ 198 for (i = 0; i < nseg; i++) {
|
/freebsd-current/sys/dev/arcmsr/ |
H A D | arcmsr.c | 177 static void arcmsr_build_srb(struct CommandControlBlock *srb, bus_dma_segment_t *dm_segs, u_int32_t nseg); 988 bus_dma_segment_t *dm_segs, u_int32_t nseg) 1004 if(nseg != 0) { 1017 for(i=0; i < nseg; i++) { 2963 static void arcmsr_execute_srb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) argument 2986 if(nseg > ARCMSR_MAX_SG_ENTRIES) { 3012 if(nseg != 0) { 3030 arcmsr_build_srb(srb, dm_segs, nseg); 4411 static void arcmsr_map_free_srb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 4492 static void arcmsr_map_xor_sgtable(void *arg, bus_dma_segment_t *segs, int nseg, in argument 987 arcmsr_build_srb(struct CommandControlBlock *srb, bus_dma_segment_t *dm_segs, u_int32_t nseg) argument 4504 arcmsr_map_xor_sg(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument [all...] |
/freebsd-current/sys/dev/fxp/ |
H A D | if_fxp.c | 411 fxp_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 418 KASSERT(nseg == 1, ("too many DMA segments, %d should be 1", nseg)); 1408 int error, i, nseg, tcp_payload; local 1562 segs, &nseg, 0); 1572 *m_head, segs, &nseg, 0); 1580 if (nseg == 0) { 1586 KASSERT(nseg <= sc->maxtxseg, ("too many DMA segments")); 1590 for (i = 0; i < nseg; i++) { 1615 cbp->tbd[nseg] [all...] |
/freebsd-current/sys/dev/ti/ |
H A D | if_ti.c | 989 ti_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 996 KASSERT(nseg == 1, ("%s: %d segments returned!", __func__, nseg)); 3046 int error, frag, i, nseg; local 3052 *m_head, txsegs, &nseg, 0); 3062 txd->tx_dmamap, *m_head, txsegs, &nseg, 0); 3070 if (nseg == 0) { 3076 if (sc->ti_txcnt + nseg >= TI_TX_RING_CNT) { 3091 for (i = 0; i < nseg; i++) { 3126 sc->ti_txcnt += nseg; [all...] |
/freebsd-current/sys/dev/sume/ |
H A D | if_sume.c | 1189 callback_dma(void *arg, bus_dma_segment_t *segs, int nseg, int err) argument 1194 KASSERT(nseg == 1, ("%d segments returned!", nseg));
|
/freebsd-current/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_2835_arm.c | 105 vchiq_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int err) argument
|
/freebsd-current/sys/dev/gve/ |
H A D | gve_utils.c | 71 gve_dmamap_load_callback(void *arg, bus_dma_segment_t *segs, int nseg, argument
|
/freebsd-current/sys/dev/iwi/ |
H A D | if_iwireg.h | 352 uint32_t nseg; member in struct:iwi_tx_desc
|
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_freebsd_admin.c | 120 dma_callback(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 125 if (error == 0 && nseg == 1)
|
/freebsd-current/sys/dev/ocs_fc/ |
H A D | ocs_cam.c | 1630 * @param nseg number of DMA address/length pairs 1634 ocs_scsi_dmamap_load(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument 1639 printf("%s: seg=%p nseg=%d error=%d\n", 1640 __func__, seg, nseg, error); 1646 if ((sglarg->sgl_count + nseg) > sglarg->sgl_max) { 1647 printf("%s: sgl_count=%d nseg=%d max=%d\n", __func__, 1648 sglarg->sgl_count, nseg, sglarg->sgl_max); 1653 for (i = 0, c = sglarg->sgl_count; i < nseg; i++, c++) {
|
/freebsd-current/sys/dev/sk/ |
H A D | if_sk.c | 1836 sk_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 2310 int error, i, nseg; local 2318 txd->tx_dmamap, *m_head, txsegs, &nseg, 0); 2328 txd->tx_dmamap, *m_head, txsegs, &nseg, 0); 2336 if (nseg == 0) { 2341 if (sc_if->sk_cdata.sk_tx_cnt + nseg >= SK_TX_RING_CNT) { 2352 for (i = 0; i < nseg; i++) {
|
/freebsd-current/sys/dev/sge/ |
H A D | if_sge.c | 194 sge_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 200 KASSERT(nseg == 1, ("too many DMA segments, %d should be 1", nseg));
|
/freebsd-current/sys/dev/tsec/ |
H A D | if_tsec.c | 83 int nseg, int error); 1094 tsec_map_dma_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 1098 KASSERT(nseg == 1, ("wrong number of segments, should be 1"));
|
/freebsd-current/sys/dev/bfe/ |
H A D | if_bfe.c | 1122 bfe_dma_map(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 1129 KASSERT(nseg == 1, ("%s : %d segments returned!", __func__, nseg));
|