/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 80 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 …]
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surface_hotplug.c | 99 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()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-ata | 129 (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
|
/openbmc/linux/arch/arm/boot/dts/intel/ixp/ |
H A D | intel-ixp42x-dlink-dsm-g600.dts | 3 * 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)
|
H A D | Makefile | 14 intel-ixp42x-dlink-dsm-g600.dtb \
|
/openbmc/qemu/docs/specs/ |
H A D | acpi_nvdimm.rst | 43 The NVDIMM DSM specification can be found at 62 and function index which are described in the DSM specification. 107 - 0x10000 is reserved for QEMU internal DSM function called on 125 4092 bytes, the DSM result filled by QEMU 164 | by reading DSM +----->+ | 202 Output layout in the dsm memory page: 216 | | | | DSM Spec Rev1 |
|
/openbmc/qemu/hw/acpi/ |
H A D | nvdimm.c | 10 * and the DSM specification can be found at: 315 /* The _DSM method is following Intel's DSM specification. */ in nvdimm_build_structure_dcr() 647 * DSM Spec Rev1 4.4 Get Namespace Label Size (Function Index 4). 702 * DSM Spec Rev1 4.5 Get Namespace Label Data (Function Index 5). 742 * DSM Spec Rev1 4.6 Set Namespace Label Data (Function Index 6). 800 /* Encode DSM function according to DSM Spec Rev1. */ in nvdimm_dsm_device() 842 * The DSM memory is mapped to guest address space so an evil guest in nvdimm_dsm_write() 843 * can change its content while we are doing DSM emulation. Avoid in nvdimm_dsm_write() 844 * this by copying DSM memory to QEMU local memory. in nvdimm_dsm_write() 855 if (in->revision != 0x1 /* Currently we only support DSM Spec Rev1. */) { in nvdimm_dsm_write() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_adxl.c | 3 * 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_acpi.c | 286 /* now do DSM detection */ in nouveau_dsm_detect() 301 /* find the optimus DSM or the old v1 DSM */ in nouveau_dsm_detect() 306 pr_info("VGA switcheroo: detected Optimus DSM method %s handle\n", in nouveau_dsm_detect() 309 pr_info("nouveau: detected PR support, will not use DSM\n"); in nouveau_dsm_detect() 318 pr_info("VGA switcheroo: detected DSM switching method %s handle\n", in nouveau_dsm_detect()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_reset.c | 23 const struct resource *dsm = >->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()
|
H A D | intel_rc6.c | 303 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | acpi.c | 27 "acpi dsm return unhandled type: %d\n", obj->type); in rtw89_acpi_dsm_get() 44 "acpi dsm fail to evaluate func: %d\n", func); in rtw89_acpi_evaluate_dsm()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_calendar.c | 17 /* 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()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 144 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()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | chromeos_privacy_screen.c | 18 * The DSM (Device Specific Method) constants below are the agreed API with 21 #define PRIV_SCRN_DSM_REVID 1 /* DSM version */
|
/openbmc/linux/drivers/iio/accel/ |
H A D | bmc150-accel-i2c.c | 25 * 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()
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/mutter/ |
H A D | mutter_47.5.bb | 62 PACKAGECONFIG[sm] = "-Dsm=true, -Dsm=false, libsm"
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | acpi.c | 126 * 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() 181 "ACPI: DSM invalid buffer size, padding or truncating (%d)\n", in iwl_acpi_get_dsm_integer() 190 "ACPI: DSM method did not return a valid object, type=%d\n", in iwl_acpi_get_dsm_integer() 197 "ACPI: DSM method evaluated: func=%d, value=%lld\n", in iwl_acpi_get_dsm_integer() 206 * Evaluate a DSM with no arguments and a u8 return value, 227 * Evaluate a DSM with no arguments and a u32 return value,
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | base.c | 109 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 },
|
/openbmc/linux/include/linux/ |
H A D | adxl.h | 3 * Address translation interface via ACPI DSM.
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem.c | 47 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()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_drv.h | 73 /* 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
|
/openbmc/linux/sound/soc/codecs/ |
H A D | max98390.c | 697 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()
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-370-synology-ds213j.dts | 11 * DSM software provided by Synology. Nonetheless, some earlier boards 16 * by upgrading to latest version of DSM, or building a new one and
|
H A D | armada-xp-synology-ds414.dts | 11 * DSM software provided by Synology. Nonetheless, some earlier boards 16 * by upgrading to latest version of DSM, or building a new one and
|