Home
last modified time | relevance | path

Searched full:dsm (Results 1 – 25 of 92) sorted by relevance

1234

/linux-6.8/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c80 static bool valid_stolen_size(struct drm_i915_private *i915, struct resource *dsm) in valid_stolen_size() argument
82 return (dsm->start != 0 || HAS_LMEMBAR_SMEM_STOLEN(i915)) && dsm->end > dsm->start; in valid_stolen_size()
86 struct resource *dsm) in adjust_stolen() argument
91 if (!valid_stolen_size(i915, dsm)) in adjust_stolen()
102 struct resource stolen[2] = {*dsm, *dsm}; in adjust_stolen()
122 *dsm = stolen[0]; in adjust_stolen()
124 *dsm = stolen[1]; in adjust_stolen()
132 dsm); in adjust_stolen()
136 if (!valid_stolen_size(i915, dsm)) in adjust_stolen()
143 struct resource *dsm) in request_smem_stolen() argument
[all …]
/linux-6.8/drivers/gpu/drm/xe/
Dxe_ttm_stolen_mgr.c69 /* Use DSM base address instead for stolen memory */ in detect_bar2_dgfx()
82 * of vram which is not part of the DSM. Such reserved memory portion is in detect_bar2_dgfx()
83 * always less then DSM granularity so align down the stolen_size to DSM in detect_bar2_dgfx()
151 /* Carve out the top of DSM as it contains the reserved WOPCM region */ in detect_bar2_integrated()
166 * the DSM) and, if so, reserve that part of the DSM to in detect_bar2_integrated()
167 * prevent accidental reuse. The DSM location should be just in detect_bar2_integrated()
173 "Reserving %llu bytes of DSM for Wa_14019821291\n", in detect_bar2_integrated()
/linux-6.8/drivers/platform/surface/
Dsurface_hotplug.c99 dev_dbg(&pdev->dev, "IRQ notification via DSM (irq=%d, value=%d)\n", type, value); in shps_dsm_notify_irq()
107 dev_err(&pdev->dev, "IRQ notification via DSM failed (irq=%d, gpio=%d)\n", in shps_dsm_notify_irq()
112 "IRQ notification via DSM failed: unexpected result value (irq=%d, gpio=%d)\n", in shps_dsm_notify_irq()
136 /* Forward interrupt to ACPI via DSM. */ in shps_handle_irq()
148 const int dsm = shps_dsm_fn_for_irq(type); in shps_setup_irq() local
153 * does not have a DSM for base presence, so don't set up an interrupt in shps_setup_irq()
156 if (!acpi_check_dsm(handle, &shps_dsm_guid, SHPS_DSM_REVISION, BIT(dsm))) { in shps_setup_irq()
157 dev_dbg(&pdev->dev, "IRQ notification via DSM not present (irq=%d)\n", type); in shps_setup_irq()
/linux-6.8/Documentation/ABI/testing/
Dsysfs-ata129 (RO) Shows the DSM TRIM mode currently used by the device. Valid
132 unsupported: Drive does not support DSM TRIM
134 unqueued: Drive supports unqueued DSM TRIM only
136 queued: Drive supports queued DSM TRIM
138 forced_unqueued: Drive's queued DSM support is known to
/linux-6.8/arch/arm/boot/dts/intel/ixp/
Dintel-ixp42x-dlink-dsm-g600.dts3 * Device Tree file for D-Link DSM-G600 revision A based on IXP420
17 model = "D-Link DSM-G600 rev A";
18 compatible = "dlink,dsm-g600-a", "intel,ixp42x";
128 * Taken from DSM-G600 PCI boardfile (dsmg600-pci.c)
DMakefile14 intel-ixp42x-dlink-dsm-g600.dtb \
/linux-6.8/drivers/acpi/
Dacpi_adxl.c3 * Address translation interface via ACPI DSM.
46 pr_info("DSM call failed for cmd=%d\n", cmd); in adxl_dsm()
152 pr_info("No DSM method\n"); in adxl_init()
159 pr_info("DSM method does not support forward translate\n"); in adxl_init()
/linux-6.8/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c286 /* now do DSM detection */ in nouveau_dsm_detect()
298 /* find the optimus DSM or the old v1 DSM */ in nouveau_dsm_detect()
303 pr_info("VGA switcheroo: detected Optimus DSM method %s handle\n", in nouveau_dsm_detect()
306 pr_info("nouveau: detected PR support, will not use DSM\n"); in nouveau_dsm_detect()
315 pr_info("VGA switcheroo: detected DSM switching method %s handle\n", in nouveau_dsm_detect()
/linux-6.8/drivers/gpu/drm/i915/gt/
Dselftest_reset.c23 const struct resource *dsm = &gt->i915->dsm.stolen; in __igt_reset_stolen() local
37 num_pages = resource_size(dsm) >> PAGE_SHIFT; in __igt_reset_stolen()
83 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen()
125 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen()
Dintel_rc6.c303 paddr = i915->dsm.stolen.end + 1 - pctx_size; in chv_rc6_init()
327 pcbr_offset = (pcbr & ~4095) - i915->dsm.stolen.start; in vlv_rc6_init()
356 i915->dsm.stolen.start, in vlv_rc6_init()
359 pctx_paddr = i915->dsm.stolen.start + pctx->stolen->start; in vlv_rc6_init()
465 if (!(rc6_ctx_base >= i915->dsm.reserved.start && in bxt_check_bios_rc6_setup()
466 rc6_ctx_base + PAGE_SIZE < i915->dsm.reserved.end)) { in bxt_check_bios_rc6_setup()
/linux-6.8/sound/soc/codecs/
Des83xx-dsm-common.c8 #include "es83xx-dsm-common.h"
88 MODULE_DESCRIPTION("Everest Semi ES83xx DSM helpers");
Dmax98390.c697 SOC_SINGLE_EXT("DSM Rdc", SND_SOC_NOPM, 0, 0xffffff, 0,
699 SOC_SINGLE_EXT("DSM Ambient Temp", SND_SOC_NOPM, 0, 0xffff, 0,
701 SOC_SINGLE_EXT("DSM Adaptive Rdc", SND_SOC_NOPM, 0, 0xffff, 0,
703 SOC_SINGLE_EXT("DSM Calibration", SND_SOC_NOPM, 0, 1, 0,
925 /* Update dsm bin param */ in max98390_probe()
928 /* Dsm Setting */ in max98390_probe()
/linux-6.8/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c17 /* DSM calendar information */
459 "Error in DSM calendar calculation\n"); in sparx5_dsm_calendar_calc()
565 /* Configure the DSM calendar based on port configuration */
579 dev_err(sparx5->dev, "DSM calendar calculation failed\n"); in sparx5_config_dsm_calendar()
584 dev_err(sparx5->dev, "DSM calendar check failed\n"); in sparx5_config_dsm_calendar()
589 dev_err(sparx5->dev, "DSM calendar update failed\n"); in sparx5_config_dsm_calendar()
/linux-6.8/drivers/staging/media/atomisp/pci/
Datomisp_csi2_bridge.c144 acpi_handle_info(adev->handle, "%s: Using DSM entry %s=%s\n", in gmin_cfg_get_dsm()
306 /* Intel DSM or DMI quirk overrides _PR0 CLK derived default */ in atomisp_csi2_get_port()
336 "%s: Could not find DSM GPIO settings for pin %u\n", in atomisp_csi2_handle_acpi_gpio_res()
388 * This uses the "79234640-9e10-4fea-a5c1-b5aa8b19756f" DSM method directly
398 * Note this code uses the same DSM GUID as the int3472_gpio_guid in
491 …acpi_handle_warn(adev->handle, "%s: ACPI GPIO resources vs DSM GPIO-info count mismatch (dsm: %d r… in atomisp_csi2_add_gpio_mappings()
/linux-6.8/drivers/platform/chrome/
Dchromeos_privacy_screen.c18 * The DSM (Device Specific Method) constants below are the agreed API with
21 #define PRIV_SCRN_DSM_REVID 1 /* DSM version */
/linux-6.8/drivers/iio/accel/
Dbmc150-accel-i2c.c25 * in the display and 1 in the hinge has an ACPI-method (DSM) to tell the
33 * This DSM takes 2 angles, selected by setting aux0 to 0 or 1, these presumably
82 dev_err(&client->dev, "Failed to call DSM to enable keyboard and touchpad\n"); in bmc150_acpi_set_angle_dsm()
/linux-6.8/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c126 * method (DSM) interface. The returned acpi object must be freed by calling
139 "ACPI: DSM method invocation failed (rev: %d, func:%d)\n", in iwl_acpi_get_dsm_object()
147 * Generic function to evaluate a DSM with no arguments
163 "Failed to get DSM object. func= %d\n", in iwl_acpi_get_dsm_integer()
179 "ACPI: DSM invalid buffer size, padding or truncating (%d)\n", in iwl_acpi_get_dsm_integer()
188 "ACPI: DSM method did not return a valid object, type=%d\n", in iwl_acpi_get_dsm_integer()
195 "ACPI: DSM method evaluated: func=%d, ret=%d\n", in iwl_acpi_get_dsm_integer()
203 * Evaluate a DSM with no arguments and a u8 return value,
224 * Evaluate a DSM with no arguments and a u32 return value,
/linux-6.8/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c109 nvkm_debug(subdev, "DSM MXMS failed\n"); in mxm_shadow_dsm()
117 nvkm_debug(subdev, "DSM MXMS returned 0x%llx\n", in mxm_shadow_dsm()
204 { "DSM", mxm_shadow_dsm },
/linux-6.8/include/linux/
Dadxl.h3 * Address translation interface via ACPI DSM.
/linux-6.8/drivers/gpu/drm/i915/
Di915_drv.h73 /* Data Stolen Memory (DSM) aka "i915 stolen memory" */
76 * The start and end of DSM which we can optionally use to create GEM
86 * Reserved portion of DSM.
93 * DSM is segmented in hardware with different portions offlimits to
98 * avoid the first page! The upper end of DSM is reserved for hardware
210 struct i915_dsm dsm; member
/linux-6.8/drivers/gpu/drm/i915/selftests/
Di915_gem.c47 const resource_size_t size = resource_size(&i915->dsm.stolen); in trash_stolen()
56 const dma_addr_t dma = i915->dsm.stolen.start + page; in trash_stolen()
/linux-6.8/Documentation/devicetree/bindings/arm/
Dintel-ixp4xx.yaml21 - dlink,dsm-g600-a
/linux-6.8/arch/arm/boot/dts/marvell/
Darmada-370-synology-ds213j.dts11 * DSM software provided by Synology. Nonetheless, some earlier boards
16 * by upgrading to latest version of DSM, or building a new one and
Darmada-xp-synology-ds414.dts11 * DSM software provided by Synology. Nonetheless, some earlier boards
16 * by upgrading to latest version of DSM, or building a new one and
/linux-6.8/Documentation/devicetree/bindings/sound/
Dnvidia,tegra186-dspk.yaml14 output via Delta Sigma Modulation (DSM).

1234