Home
last modified time | relevance | path

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

12345

/linux-6.12.1/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.12.1/drivers/net/wireless/ath/ath12k/
Dacpi.c37 ath12k_warn(ab, "invalid ACPI DSM TAS config size: %d\n", in ath12k_acpi_dsm_get_data()
49 ath12k_warn(ab, "invalid ACPI DSM TAS data size: %d\n", in ath12k_acpi_dsm_get_data()
85 ath12k_warn(ab, "invalid ACPI DSM CCA data size: %d\n", in ath12k_acpi_dsm_get_data()
97 ath12k_warn(ab, "invalid ACPI DSM band edge data size: %d\n", in ath12k_acpi_dsm_get_data()
109 ath12k_warn(ab, "ACPI DSM method returned an unsupported object type: %d\n", in ath12k_acpi_dsm_get_data()
264 ath12k_dbg(ab, ATH12K_DBG_BOOT, "failed to get ACPI DSM data: %d\n", ret); in ath12k_acpi_start()
328 ath12k_warn(ab, "failed to get ACPI DSM CCA threshold configuration: %d\n", in ath12k_acpi_start()
342 ath12k_warn(ab, "failed to set ACPI DSM CCA threshold: %d\n", in ath12k_acpi_start()
353 ath12k_warn(ab, "failed to get ACPI DSM band edge channel power: %d\n", in ath12k_acpi_start()
366 "failed to set ACPI DSM band edge channel power: %d\n", in ath12k_acpi_start()
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_ttm_stolen_mgr.c72 /* Use DSM base address instead for stolen memory */ in detect_bar2_dgfx()
85 * of vram which is not part of the DSM. Such reserved memory portion is in detect_bar2_dgfx()
86 * always less then DSM granularity so align down the stolen_size to DSM in detect_bar2_dgfx()
154 /* Carve out the top of DSM as it contains the reserved WOPCM region */ in detect_bar2_integrated()
169 * the DSM) and, if so, reserve that part of the DSM to in detect_bar2_integrated()
170 * prevent accidental reuse. The DSM location should be just in detect_bar2_integrated()
176 "Reserving %llu bytes of DSM for Wa_14019821291\n", in detect_bar2_integrated()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/sound/soc/codecs/
Des83xx-dsm-common.c8 #include "es83xx-dsm-common.h"
88 MODULE_DESCRIPTION("Everest Semi ES83xx DSM helpers");
Dmax98390.c696 SOC_SINGLE_EXT("DSM Rdc", SND_SOC_NOPM, 0, 0xffffff, 0,
698 SOC_SINGLE_EXT("DSM Ambient Temp", SND_SOC_NOPM, 0, 0xffff, 0,
700 SOC_SINGLE_EXT("DSM Adaptive Rdc", SND_SOC_NOPM, 0, 0xffff, 0,
702 SOC_SINGLE_EXT("DSM Calibration", SND_SOC_NOPM, 0, 1, 0,
924 /* Update dsm bin param */ in max98390_probe()
927 /* Dsm Setting */ in max98390_probe()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c79 * method (DSM) interface. The returned acpi object must be freed by calling
92 "ACPI: DSM method invocation failed (rev: %d, func:%d)\n", in iwl_acpi_get_dsm_object()
100 * Generic function to evaluate a DSM with no arguments
116 "Failed to get DSM object. func= %d\n", in iwl_acpi_get_dsm_integer()
132 "ACPI: DSM invalid buffer size, padding or truncating (%d)\n", in iwl_acpi_get_dsm_integer()
141 "ACPI: DSM method did not return a valid object, type=%d\n", in iwl_acpi_get_dsm_integer()
148 "ACPI: DSM method evaluated: func=%d, ret=%d\n", in iwl_acpi_get_dsm_integer()
156 * This function receives a DSM function number, calculates its expected size
186 "DSM value overflows the expected size, truncating\n"); in iwl_acpi_get_dsm()
/linux-6.12.1/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.12.1/drivers/staging/media/atomisp/pci/
Datomisp_csi2_bridge.c160 acpi_handle_info(adev->handle, "%s: Using DSM entry %s=%s\n", in gmin_cfg_get_dsm()
322 /* Intel DSM or DMI quirk overrides _PR0 CLK derived default */ in atomisp_csi2_get_port()
352 "%s: Could not find DSM GPIO settings for pin %u\n", in atomisp_csi2_handle_acpi_gpio_res()
404 * This uses the "79234640-9e10-4fea-a5c1-b5aa8b19756f" DSM method directly
414 * Note this code uses the same DSM GUID as the int3472_gpio_guid in
507 …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.12.1/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.12.1/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.12.1/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.12.1/Documentation/devicetree/bindings/remoteproc/
Dqcom,sm8550-pas.yaml57 - description: DSM Memory region
58 - description: DSM Memory region 2
/linux-6.12.1/include/linux/
Dadxl.h3 * Address translation interface via ACPI DSM.
/linux-6.12.1/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
202 struct i915_dsm dsm; member
/linux-6.12.1/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.12.1/drivers/pci/
Dnpem.c289 * dsm_evaluate() - send DSM PCIe SSD Status LED command
291 * @dsm_func: DSM LED Function
292 * @output: buffer to copy DSM Response
571 * OS should use the DSM for LED control if it is available in pci_npem_create()
/linux-6.12.1/Documentation/devicetree/bindings/arm/
Dintel-ixp4xx.yaml21 - dlink,dsm-g600-a

12345