/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_misc.c | 62 union acpi_object obj_args[3], argv4; in hns_dsaf_acpi_ledctrl_by_port() local 71 argv4.type = ACPI_TYPE_PACKAGE; in hns_dsaf_acpi_ledctrl_by_port() 72 argv4.package.count = 3; in hns_dsaf_acpi_ledctrl_by_port() 73 argv4.package.elements = obj_args; in hns_dsaf_acpi_ledctrl_by_port() 76 &hns_dsaf_acpi_dsm_guid, 0, op_type, &argv4); in hns_dsaf_acpi_ledctrl_by_port() 90 union acpi_object obj_args[2], argv4; in hns_dsaf_acpi_locate_ledctrl_by_port() local 98 argv4.type = ACPI_TYPE_PACKAGE; in hns_dsaf_acpi_locate_ledctrl_by_port() 99 argv4.package.count = 2; in hns_dsaf_acpi_locate_ledctrl_by_port() 100 argv4.package.elements = obj_args; in hns_dsaf_acpi_locate_ledctrl_by_port() 103 &hns_dsaf_acpi_dsm_guid, 0, op_type, &argv4); in hns_dsaf_acpi_locate_ledctrl_by_port() [all …]
|
/drivers/acpi/ |
D | acpi_adxl.c | 105 union acpi_object argv4[2], *results, *r; in adxl_decode() local 111 argv4[0].type = ACPI_TYPE_PACKAGE; in adxl_decode() 112 argv4[0].package.count = 1; in adxl_decode() 113 argv4[0].package.elements = &argv4[1]; in adxl_decode() 114 argv4[1].integer.type = ACPI_TYPE_INTEGER; in adxl_decode() 115 argv4[1].integer.value = addr; in adxl_decode() 117 results = adxl_dsm(ADXL_IDX_FORWARD_TRANSLATE, argv4); in adxl_decode()
|
D | utils.c | 691 union acpi_object *argv4) in acpi_evaluate_dsm() argument 708 if (argv4) { in acpi_evaluate_dsm() 709 params[3] = *argv4; in acpi_evaluate_dsm()
|
/drivers/thunderbolt/ |
D | acpi.c | 209 union acpi_object argv4[2]; in tb_acpi_retimer_set_power() local 239 argv4[0].type = ACPI_TYPE_PACKAGE; in tb_acpi_retimer_set_power() 240 argv4[0].package.count = 1; in tb_acpi_retimer_set_power() 241 argv4[0].package.elements = &argv4[1]; in tb_acpi_retimer_set_power() 242 argv4[1].integer.type = ACPI_TYPE_INTEGER; in tb_acpi_retimer_set_power() 243 argv4[1].integer.value = power; in tb_acpi_retimer_set_power() 246 RETIMER_DSM_SET_ONLINE_STATE, argv4, in tb_acpi_retimer_set_power()
|
/drivers/char/tpm/ |
D | tpm_ppi.c | 43 union acpi_object *argv4, u64 rev) in tpm_eval_dsm() argument 47 rev, func, argv4, type); in tpm_eval_dsm() 120 union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(2, tmp); in tpm_store_ppi_request() local 149 argv4.type = ACPI_TYPE_BUFFER; in tpm_store_ppi_request() 150 argv4.buffer.length = sizeof(req); in tpm_store_ppi_request() 151 argv4.buffer.pointer = (u8 *)&req; in tpm_store_ppi_request() 154 argv4.package.count = 1; in tpm_store_ppi_request() 161 &argv4, rev); in tpm_store_ppi_request()
|
/drivers/pci/pcie/ |
D | edr.c | 31 union acpi_object *obj, argv4, req; in acpi_enable_dpc() local 45 argv4.type = ACPI_TYPE_PACKAGE; in acpi_enable_dpc() 46 argv4.package.count = 1; in acpi_enable_dpc() 47 argv4.package.elements = &req; in acpi_enable_dpc() 50 EDR_PORT_DPC_ENABLE_DSM, &argv4); in acpi_enable_dpc()
|
/drivers/platform/x86/intel/int3472/ |
D | clk_and_regulator.c | 28 union acpi_object argv4; in skl_int3472_enable_clk() local 42 argv4.type = ACPI_TYPE_PACKAGE; in skl_int3472_enable_clk() 43 argv4.package.count = 3; in skl_int3472_enable_clk() 44 argv4.package.elements = args; in skl_int3472_enable_clk() 47 0, 1, &argv4); in skl_int3472_enable_clk()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_acpi.c | 76 union acpi_object argv4 = { in nouveau_optimus_dsm() local 88 func, &argv4, ACPI_TYPE_BUFFER); in nouveau_optimus_dsm() 134 union acpi_object argv4 = { in nouveau_dsm() local 140 func, &argv4, ACPI_TYPE_INTEGER); in nouveau_dsm()
|
/drivers/platform/x86/intel/ |
D | hid.c | 223 union acpi_object *obj, argv4, req; in intel_hid_execute_method() local 240 argv4.type = ACPI_TYPE_PACKAGE; in intel_hid_execute_method() 241 argv4.package.count = 1; in intel_hid_execute_method() 242 argv4.package.elements = &req; in intel_hid_execute_method() 244 obj = acpi_evaluate_dsm(handle, &intel_dsm_guid, 1, fn_index, &argv4); in intel_hid_execute_method()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
D | base.c | 88 union acpi_object argv4 = { in mxm_shadow_dsm() local 107 obj = acpi_evaluate_dsm(handle, &muid, rev, 0x00000010, &argv4); in mxm_shadow_dsm()
|
/drivers/bluetooth/ |
D | btintel.c | 2460 union acpi_object *obj, argv4; in btintel_set_dsm_reset_method() local 2491 argv4.integer.type = ACPI_TYPE_INTEGER; in btintel_set_dsm_reset_method() 2493 argv4.integer.value = 160; in btintel_set_dsm_reset_method() 2495 DSM_SET_WDISABLE2_DELAY, &argv4); in btintel_set_dsm_reset_method() 2510 argv4.buffer.type = ACPI_TYPE_BUFFER; in btintel_set_dsm_reset_method() 2511 argv4.buffer.length = sizeof(reset_payload); in btintel_set_dsm_reset_method() 2512 argv4.buffer.pointer = reset_payload; in btintel_set_dsm_reset_method() 2515 DSM_SET_RESET_METHOD, &argv4); in btintel_set_dsm_reset_method()
|
/drivers/usb/dwc3/ |
D | dwc3-pci.c | 454 union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(1, &tmp); in dwc3_pci_dsm() local 463 1, PCI_INTEL_BXT_FUNC_PMU_PWR, &argv4); in dwc3_pci_dsm()
|
/drivers/usb/typec/tcpm/ |
D | wcove.c | 184 union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(1, &tmp); in wcove_typec_func() local 190 &argv4); in wcove_typec_func()
|