/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_drv.c | 224 if (drm_core_check_feature(dev, DRIVER_SG) && dev->sg && 226 drm_sg_cleanup(dev->sg); 227 dev->sg = NULL;
|
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic7xxx_inline.h | 155 struct ahc_dma_seg *sg); 179 ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg) argument 184 sg_index = sg - &scb->sg_list[1];
|
H A D | aic79xx_osm.c | 970 void *sg; local 975 for (i = nsegments, sg = scb->sg_list; i > 0; i--) { 977 sg = ahd_sg_setup(ahd, scb, sg, dm_segs->ds_addr,
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_object.c | 119 struct sg_table *sg, struct radeon_bo **bo_ptr) 131 } else if (sg) { 160 acc_size, sg, &radeon_ttm_bo_destroy); 117 radeon_bo_create(struct radeon_device *rdev, unsigned long size, int byte_align, bool kernel, u32 domain, struct sg_table *sg, struct radeon_bo **bo_ptr) argument
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
H A D | RenderScriptRuntime.h | 280 for (auto sg : m_script_groups) { 281 if (ConstString::Compare(sg->m_name, name) == 0) 282 return sg;
|
/freebsd-11-stable/sys/dev/xen/blkback/ |
H A D | blkback.c | 520 * the request sg elements is unavoidable. We memoize the computed 1556 struct blkif_request_segment *sg; local 1663 sg = NULL; 1675 sg = ring_req->seg; 1676 last_block_sg = sg + block_segs; 1678 while (sg < last_block_sg) { 1685 xbb_sg->first_sect = sg->first_sect; 1686 xbb_sg->last_sect = sg->last_sect; 1688 (int8_t)(sg->last_sect - 1689 sg [all...] |
/freebsd-11-stable/sys/dev/drm2/ttm/ |
H A D | ttm_bo_driver.h | 119 struct sg_table *sg; /* for SG objects via dma-buf */ member in struct:ttm_tt
|
H A D | ttm_bo.c | 401 bo->ttm->sg = bo->sg; 1226 struct sg_table *sg, 1279 bo->sg = sg; 1217 ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, unsigned long size, enum ttm_bo_type type, struct ttm_placement *placement, uint32_t page_alignment, bool interruptible, struct vm_object *persistent_swap_storage, size_t acc_size, struct sg_table *sg, void (*destroy) (struct ttm_buffer_object *)) argument
|
/freebsd-11-stable/sys/dev/sym/ |
H A D | sym_fw1.h | 1226 offsetof (struct sym_ccb, phys.pm0.sg), 1246 offsetof (struct sym_ccb, phys.pm0.sg), 1302 offsetof (struct sym_ccb, phys.pm1.sg), 1322 offsetof (struct sym_ccb, phys.pm1.sg),
|
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_bufs.c | 224 if (!dev->sg) { 229 map->virtual = (void *)(dev->sg->vaddr + offset); 230 map->offset = dev->sg->vaddr + offset; 747 buf->address = (void *)(agp_offset + offset + dev->sg->vaddr);
|
H A D | drm_drv.c | 387 if (dev->sg != NULL) { 388 drm_sg_cleanup(dev->sg); 389 dev->sg = NULL;
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tls.c | 1016 struct sglist sg; local 1021 sglist_init(&sg, n, segs); 1030 rc = sglist_append(&sg, mtod(m, char *) + skip, 1037 for (j = 0; j < sg.sg_nseg; i++, j++) { 1051 sglist_reset(&sg); 1054 rc = sglist_append(&sg, iv_buffer, iv_len); 1058 for (j = 0; j < sg.sg_nseg; i++, j++) {
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_verbs.c | 1422 * @max_num_sg: maximum sg entries available for registration. 1425 * Memory registeration page/sg lists must not exceed max_num_sg. 1838 * @sg: dma mapped scatterlist 1839 * @sg_nents: number of entries in sg 1840 * @sg_offset: offset in bytes into sg 1844 * - The first sg element is allowed to have an offset. 1845 * - Each sg element must either be aligned to page_size or virtually 1846 * contiguous to the previous element. In case an sg element has a 1848 * - The last sg element is allowed to have length less than page_size. 1854 * Returns the number of sg element 1859 ib_map_mr_sg(struct ib_mr *mr, struct scatterlist *sg, int sg_nents, unsigned int *sg_offset, unsigned int page_size) argument 1894 struct scatterlist *sg; local [all...] |
/freebsd-11-stable/sys/dev/amr/ |
H A D | amr.c | 1564 struct amr_sgentry *sg; local 1571 sg = ac->ac_sg.sg32; 1589 for (i = 0; i < nsegments; i++, sg++) { 1590 sg->sg_addr = segs[i].ds_addr; 1591 sg->sg_count = segs[i].ds_len; 2436 struct amr_sgentry *sg; 2444 device_printf(sc->amr_dev, "sg physaddr %08x nsg %d\n", 2449 sg = sc->amr_sgtable + (ac->ac_slot * AMR_NSEG); 2450 for (i = 0; i < ac->ac_mailbox.mb_nsgelem; i++, sg++) 2451 device_printf(sc->amr_dev, " %x/%d\n", sg [all...] |
/freebsd-11-stable/sys/dev/mly/ |
H A D | mly.c | 1815 struct mly_sg_entry *sg; local 1822 sg = &gen->transfer.direct.sg[0]; 1826 sg = sc->mly_sg_table + tabofs; 1834 sg[i].physaddr = segs[i].ds_addr; 1835 sg[i].length = segs[i].ds_len; 2537 mly_printf(sc, "maximum data transfer %d blocks, maximum sg entries/command %d\n", 2777 mly_printf(sc, " sg table 0x%llx/%d\n", 2781 ge->transfer.direct.sg[0].physaddr, ge->transfer.direct.sg[ [all...] |
/freebsd-11-stable/sys/contrib/rdma/krping/ |
H A D | krping.c | 711 struct scatterlist sg = {0}; local 728 sg_dma_address(&sg) = buf; 729 sg_dma_len(&sg) = cb->size; 731 ret = ib_map_mr_sg(cb->reg_mr, &sg, 1, NULL, PAGE_SIZE); 1788 struct scatterlist sg = {0}; local 1796 sg_dma_address(&sg) = (dma_addr_t)0xcafebabe0000ULL; 1797 sg_dma_len(&sg) = size; 1798 ret = ib_map_mr_sg(mr, &sg, 1, NULL, PAGE_SIZE); 1836 sg_dma_len(&sg) = size; 1837 ret = ib_map_mr_sg(mr, &sg, [all...] |
/freebsd-11-stable/sys/dev/xen/blkfront/ |
H A D | blkfront.c | 165 grant_ref_t * sg_ref, struct blkif_request_segment *sg) 167 struct blkif_request_segment *last_block_sg = sg + nsegs; 172 while (sg < last_block_sg) { 201 *sg = (struct blkif_request_segment) { 206 sg++; 163 xbd_mksegarray(bus_dma_segment_t *segs, int nsegs, grant_ref_t * gref_head, int otherend_id, int readonly, grant_ref_t * sg_ref, struct blkif_request_segment *sg) argument
|
/freebsd-11-stable/sys/dev/advansys/ |
H A D | adwcam.c | 258 struct adw_sg_elm *sg; local 271 sg = sg_block->sg_list; 276 sg->sg_addr = dm_segs->ds_addr; 277 sg->sg_count = dm_segs->ds_len; 278 sg++;
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | channel.c | 2479 struct pcmchan_syncgroup *sg; local 2488 sg = sm->parent; 2491 KASSERT(sg != NULL, ("syncmember has null parent")); 2493 SLIST_REMOVE(&sg->members, sm, pcmchan_syncmember, link); 2496 if (SLIST_EMPTY(&sg->members)) { 2497 SLIST_REMOVE(&snd_pcm_syncgroups, sg, pcmchan_syncgroup, link); 2498 sg_id = sg->id; 2499 free(sg, M_DEVBUF);
|
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_provider.c | 556 struct scatterlist *sg; local 591 for_each_sg(mhp->umem->sg_head.sgl, sg, mhp->umem->nmap, entry) { 592 len = sg_dma_len(sg) >> shift; 594 pages[i++] = cpu_to_be64(sg_dma_address(sg) +
|
/freebsd-11-stable/sys/dev/iser/ |
H A D | icl_iser.h | 215 * @sge: memory region sg element 234 * @sg: pointer to the sg list 235 * @size: num entries of this sg 240 * @orig_sg: pointer to the original sg list (in case 247 void *sg; member in struct:iser_data_buf 268 * @tx_sg: sg[0] points to iser/iscsi headers 269 * sg[1] optionally points to either of immediate data
|
/freebsd-11-stable/sys/dev/aha/ |
H A D | aha.c | 992 aha_sg_t *sg; local 999 sg = accb->sg_list; 1001 ahautoa24(dm_segs->ds_len, sg->len); 1002 ahautoa24(dm_segs->ds_addr, sg->addr); 1003 sg++;
|
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt.c | 1411 bt_sg_t *sg; local 1418 sg = bccb->sg_list; 1420 sg->len = dm_segs->ds_len; 1421 sg->addr = dm_segs->ds_addr; 1422 sg++;
|
/freebsd-11-stable/sys/dev/ciss/ |
H A D | ciss.c | 2304 ce = (struct ciss_error_info *)&(cc->sg[0]); 2525 bzero(&(cc->sg[0]), CISS_COMMAND_ALLOC_SIZE - sizeof(struct ciss_command)); 2683 ce = (struct ciss_error_info *)&(cc->sg[0]); 2776 cc->sg[i].address = segs[i].ds_addr; 2777 cc->sg[i].length = segs[i].ds_len; 2778 cc->sg[i].extension = 0; 3309 ce = (struct ciss_error_info *)&(cc->sg[0]); 3571 ce = (struct ciss_error_info *)&(cc->sg[0]); 4258 ciss_printf(sc, " sg list/total %d/%d host tag 0x%x\n", 4291 printf("0x%08x/%d ", (u_int32_t)cc->sg[ [all...] |
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp_i810.c | 2210 struct sglist *sg; local 2220 sg = sglist_alloc(num_entries, M_WAITOK /* XXXKIB */); 2222 sg->sg_segs[i].ss_paddr = VM_PAGE_TO_PHYS(pages[i]); 2223 sg->sg_segs[i].ss_len = PAGE_SIZE; 2238 sglist_free(sg); 2243 *sg_list = sg;
|