Home
last modified time | relevance | path

Searched refs:dsm (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c71 struct resource *dsm) in i915_adjust_stolen() argument
77 if (dsm->start == 0 || dsm->end <= dsm->start) in i915_adjust_stolen()
88 struct resource stolen[2] = {*dsm, *dsm}; in i915_adjust_stolen()
110 *dsm = stolen[0]; in i915_adjust_stolen()
112 *dsm = stolen[1]; in i915_adjust_stolen()
120 dsm); in i915_adjust_stolen()
130 r = devm_request_mem_region(i915->drm.dev, dsm->start, in i915_adjust_stolen()
131 resource_size(dsm), in i915_adjust_stolen()
143 r = devm_request_mem_region(i915->drm.dev, dsm->start + 1, in i915_adjust_stolen()
144 resource_size(dsm) - 2, in i915_adjust_stolen()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dselftest_reset.c22 const struct resource *dsm = &gt->i915->dsm; in __igt_reset_stolen() local
36 num_pages = resource_size(dsm) >> PAGE_SHIFT; in __igt_reset_stolen()
82 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen()
122 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen()
Dintel_rc6.c282 paddr = i915->dsm.end + 1 - pctx_size; in chv_rc6_init()
306 pcbr_offset = (pcbr & ~4095) - i915->dsm.start; in vlv_rc6_init()
334 i915->dsm.start, in vlv_rc6_init()
337 pctx_paddr = i915->dsm.start + pctx->stolen->start; in vlv_rc6_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem.c45 const resource_size_t size = resource_size(&i915->dsm); in trash_stolen()
54 const dma_addr_t dma = i915->dsm.start + page; in trash_stolen()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_fbc.c449 end = resource_size(&dev_priv->dsm) - 8 * 1024 * 1024; in find_compression_threshold()
525 GEM_BUG_ON(range_overflows_end_t(u64, dev_priv->dsm.start, in intel_fbc_alloc_cfb()
528 GEM_BUG_ON(range_overflows_end_t(u64, dev_priv->dsm.start, in intel_fbc_alloc_cfb()
532 dev_priv->dsm.start + fbc->compressed_fb.start); in intel_fbc_alloc_cfb()
534 dev_priv->dsm.start + compressed_llb->start); in intel_fbc_alloc_cfb()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dio-cmd-file.c307 for (i = 0; i <= le32_to_cpu(req->cmd->dsm.nr); i++) { in nvmet_file_execute_discard()
337 switch (le32_to_cpu(req->cmd->dsm.attributes)) { in nvmet_file_dsm_work()
Dio-cmd-bdev.c364 for (i = 0; i <= le32_to_cpu(req->cmd->dsm.nr); i++) { in nvmet_bdev_execute_discard()
392 switch (le32_to_cpu(req->cmd->dsm.attributes)) { in nvmet_bdev_execute_dsm()
Dnvmet.h547 return (le32_to_cpu(req->cmd->dsm.nr) + 1) * in nvmet_dsm_len()
/kernel/linux/linux-5.10/net/sched/
Dsch_hfsc.c551 u32 dsm; in rtsc_min() local
593 dsm = isc->sm1 - isc->sm2; in rtsc_min()
594 do_div(dx, dsm); in rtsc_min()
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dfaq.rst148 or view dvb/mpeg/dsm-cc/mhp stream information (TS,
/kernel/linux/linux-5.10/include/linux/
Dnvme.h1408 struct nvme_dsm_cmd dsm; member
/kernel/linux/linux-5.10/drivers/nvme/host/
Dcore.c708 cmnd->dsm.opcode = nvme_cmd_dsm; in nvme_setup_discard()
709 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard()
710 cmnd->dsm.nr = cpu_to_le32(segments - 1); in nvme_setup_discard()
711 cmnd->dsm.attributes = cpu_to_le32(NVME_DSMGMT_AD); in nvme_setup_discard()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_drv.h835 struct resource dsm; member