Searched refs:nseg (Results 51 - 75 of 148) sorted by relevance

123456

/freebsd-current/sys/dev/isci/
H A Disci_io_request.c686 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 Dmlx5_pagealloc.c50 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 Dena_plat.h306 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 Dispvar.h99 #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 Dtws_cam.c63 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 Dtws.c83 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 Dxdma_fdt_test.c106 xdmatest_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int err) argument
/freebsd-current/sys/dev/sec/
H A Dsec.c712 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 Dosdep.h199 int nseg; member in struct:irdma_dma_mem
H A Dfbsd_kcompat.c937 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 Dnvme_qpair.c1212 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 Dbcm2835_sdhci.c187 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 Darcmsr.c177 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 Dif_fxp.c411 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 Dif_ti.c989 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 Dif_sume.c1189 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 Dvchiq_2835_arm.c105 vchiq_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int err) argument
/freebsd-current/sys/dev/gve/
H A Dgve_utils.c71 gve_dmamap_load_callback(void *arg, bus_dma_segment_t *segs, int nseg, argument
/freebsd-current/sys/dev/iwi/
H A Dif_iwireg.h352 uint32_t nseg; member in struct:iwi_tx_desc
/freebsd-current/sys/dev/qat/qat_common/
H A Dadf_freebsd_admin.c120 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 Docs_cam.c1630 * @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 Dif_sk.c1836 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 Dif_sge.c194 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 Dif_tsec.c83 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 Dif_bfe.c1122 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));

Completed in 236 milliseconds

123456