| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_stolen.c | 71 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-6.6/drivers/platform/surface/ |
| 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()
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/ |
| D | dsmg600-setup.c | 3 * DSM-G600 board-setup 43 /* DSM-G600 Timer Setting */ 243 IRQF_TRIGGER_LOW, "DSM-G600 reset button", NULL) < 0) { in dsmg600_gpio_init() 250 * The power button on the D-Link DSM-G600 is on GPIO 15, but in dsmg600_gpio_init() 281 /* The UART is required on the DSM-G600 (Redboot cannot use the in dsmg600_init() 292 MACHINE_START(DSMG600, "D-Link DSM-G600 RevA")
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/intel/ixp/ |
| 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)
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
| 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()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| 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()
|
| D | intel_rc6.c | 292 paddr = i915->dsm.stolen.end + 1 - pctx_size; in chv_rc6_init() 316 pcbr_offset = (pcbr & ~4095) - i915->dsm.stolen.start; in vlv_rc6_init() 345 i915->dsm.stolen.start, in vlv_rc6_init() 348 pctx_paddr = i915->dsm.stolen.start + pctx->stolen->start; in vlv_rc6_init() 454 if (!(rc6_ctx_base >= i915->dsm.reserved.start && in bxt_check_bios_rc6_setup() 455 rc6_ctx_base + PAGE_SIZE < i915->dsm.reserved.end)) { in bxt_check_bios_rc6_setup()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | selftest_reset.c | 22 const struct resource *dsm = >->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()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| 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 */
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | acpi.c | 118 * method (DSM) interface. The returned acpi object must be freed by calling 130 "ACPI: DSM method invocation failed (rev: %d, func:%d)\n", in iwl_acpi_get_dsm_object() 138 * Evaluate a DSM with no arguments and a single u8 return value (inside a 152 "ACPI: DSM method did not return a valid object, type=%d\n", in iwl_acpi_get_dsm_u8() 160 "ACPI: DSM method returned invalid buffer, length=%d\n", in iwl_acpi_get_dsm_u8() 168 "ACPI: DSM method evaluated: func=%d, ret=%d\n", in iwl_acpi_get_dsm_u8()
|
| /kernel/linux/linux-6.6/drivers/iio/accel/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
| 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,
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
| 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 },
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
| 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 },
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | adxl.h | 3 * Address translation interface via ACPI DSM.
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | adxl.h | 3 * Address translation interface via ACPI DSM.
|