Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c67 struct resource *dsm) in i915_adjust_stolen() argument
72 if (dsm->start == 0 || dsm->end <= dsm->start) in i915_adjust_stolen()
83 struct resource stolen[2] = {*dsm, *dsm}; in i915_adjust_stolen()
105 *dsm = stolen[0]; in i915_adjust_stolen()
107 *dsm = stolen[1]; in i915_adjust_stolen()
112 DRM_DEBUG_DRIVER("Stolen memory adjusted to %pR\n", dsm); in i915_adjust_stolen()
122 r = devm_request_mem_region(dev_priv->drm.dev, dsm->start, in i915_adjust_stolen()
123 resource_size(dsm), in i915_adjust_stolen()
135 r = devm_request_mem_region(dev_priv->drm.dev, dsm->start + 1, in i915_adjust_stolen()
136 resource_size(dsm) - 2, in i915_adjust_stolen()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_gem.c41 const resource_size_t size = resource_size(&i915->dsm); in trash_stolen()
46 const dma_addr_t dma = i915->dsm.start + page; in trash_stolen()
/Linux-v5.4/drivers/nvme/target/
Dio-cmd-bdev.c250 for (i = 0; i <= le32_to_cpu(req->cmd->dsm.nr); i++) { in nvmet_bdev_execute_discard()
277 switch (le32_to_cpu(req->cmd->dsm.attributes)) { in nvmet_bdev_execute_dsm()
330 req->data_len = (le32_to_cpu(cmd->dsm.nr) + 1) * in nvmet_bdev_parse_io_cmd()
Dio-cmd-file.c289 for (i = 0; i <= le32_to_cpu(req->cmd->dsm.nr); i++) { in nvmet_file_execute_discard()
319 switch (le32_to_cpu(req->cmd->dsm.attributes)) { in nvmet_file_dsm_work()
382 req->data_len = (le32_to_cpu(cmd->dsm.nr) + 1) * in nvmet_file_parse_io_cmd()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_fbc.c455 end = resource_size(&dev_priv->dsm) - 8 * 1024 * 1024; in find_compression_threshold()
529 GEM_BUG_ON(range_overflows_t(u64, dev_priv->dsm.start, in intel_fbc_alloc_cfb()
532 GEM_BUG_ON(range_overflows_t(u64, dev_priv->dsm.start, in intel_fbc_alloc_cfb()
536 dev_priv->dsm.start + fbc->compressed_fb.start); in intel_fbc_alloc_cfb()
538 dev_priv->dsm.start + compressed_llb->start); in intel_fbc_alloc_cfb()
/Linux-v5.4/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()
/Linux-v5.4/Documentation/media/dvb-drivers/
Dfaq.rst106 or view dvb/mpeg/dsm-cc/mhp stream information (TS,
/Linux-v5.4/include/linux/
Dnvme.h1223 struct nvme_dsm_cmd dsm; member
/Linux-v5.4/drivers/nvme/host/
Dcore.c648 cmnd->dsm.opcode = nvme_cmd_dsm; in nvme_setup_discard()
649 cmnd->dsm.nsid = cpu_to_le32(ns->head->ns_id); in nvme_setup_discard()
650 cmnd->dsm.nr = cpu_to_le32(segments - 1); in nvme_setup_discard()
651 cmnd->dsm.attributes = cpu_to_le32(NVME_DSMGMT_AD); in nvme_setup_discard()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_drv.h1296 struct resource dsm; member
Dintel_pm.c7675 WARN_ON(pctx_addr != dev_priv->dsm.start + in valleyview_check_pctx()
7697 paddr = dev_priv->dsm.end + 1 - pctx_size; in cherryview_setup_pctx()
7719 pcbr_offset = (pcbr & (~4095)) - dev_priv->dsm.start; in valleyview_setup_pctx()
7744 dev_priv->dsm.start, in valleyview_setup_pctx()
7747 pctx_paddr = dev_priv->dsm.start + pctx->stolen->start; in valleyview_setup_pctx()