Home
last modified time | relevance | path

Searched refs:argv4 (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_misc.c62 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 …]
/linux-6.12.1/drivers/acpi/
Dacpi_adxl.c105 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()
Dutils.c773 union acpi_object *argv4) in acpi_evaluate_dsm() argument
790 if (argv4) { in acpi_evaluate_dsm()
791 params[3] = *argv4; in acpi_evaluate_dsm()
/linux-6.12.1/drivers/thunderbolt/
Dacpi.c189 union acpi_object argv4[2]; in tb_acpi_retimer_set_power() local
219 argv4[0].type = ACPI_TYPE_PACKAGE; in tb_acpi_retimer_set_power()
220 argv4[0].package.count = 1; in tb_acpi_retimer_set_power()
221 argv4[0].package.elements = &argv4[1]; in tb_acpi_retimer_set_power()
222 argv4[1].integer.type = ACPI_TYPE_INTEGER; in tb_acpi_retimer_set_power()
223 argv4[1].integer.value = power; in tb_acpi_retimer_set_power()
226 RETIMER_DSM_SET_ONLINE_STATE, argv4, in tb_acpi_retimer_set_power()
/linux-6.12.1/drivers/pci/pcie/
Dedr.c31 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()
/linux-6.12.1/drivers/char/tpm/
Dtpm_ppi.c43 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()
/linux-6.12.1/drivers/platform/x86/amd/
Dwbrf.c44 union acpi_object argv4; in wbrf_record() local
81 argv4.package.type = ACPI_TYPE_PACKAGE; in wbrf_record()
82 argv4.package.count = num_of_elements; in wbrf_record()
83 argv4.package.elements = tmp; in wbrf_record()
105 WBRF_REVISION, WBRF_RECORD, &argv4); in wbrf_record()
/linux-6.12.1/drivers/platform/x86/intel/int3472/
Dclk_and_regulator.c28 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()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c76 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()
/linux-6.12.1/drivers/platform/x86/intel/
Dhid.c227 union acpi_object *obj, argv4, req; in intel_hid_execute_method() local
244 argv4.type = ACPI_TYPE_PACKAGE; in intel_hid_execute_method()
245 argv4.package.count = 1; in intel_hid_execute_method()
246 argv4.package.elements = &req; in intel_hid_execute_method()
248 obj = acpi_evaluate_dsm(handle, &intel_dsm_guid, 1, fn_index, &argv4); in intel_hid_execute_method()
/linux-6.12.1/tools/testing/nvdimm/test/
Dnfit_test.h209 union acpi_object *argv4);
238 u64 rev, u64 func, union acpi_object *argv4);
Diomap.c393 u64 rev, u64 func, union acpi_object *argv4) in __wrap_acpi_evaluate_dsm() argument
401 obj = ops->evaluate_dsm(handle, guid, rev, func, argv4); in __wrap_acpi_evaluate_dsm()
405 return acpi_evaluate_dsm(handle, guid, rev, func, argv4); in __wrap_acpi_evaluate_dsm()
Dnfit.c2850 const guid_t *guid, u64 rev, u64 func, union acpi_object *argv4) in nfit_test_evaluate_dsm() argument
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c88 union acpi_object argv4 = { in mxm_shadow_dsm() local
107 obj = acpi_evaluate_dsm(handle, &muid, rev, 0x00000010, &argv4); in mxm_shadow_dsm()
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-pci.c454 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()
/linux-6.12.1/drivers/bluetooth/
Dbtintel.c2540 union acpi_object *obj, argv4; in btintel_set_dsm_reset_method() local
2571 argv4.integer.type = ACPI_TYPE_INTEGER; in btintel_set_dsm_reset_method()
2573 argv4.integer.value = 160; in btintel_set_dsm_reset_method()
2575 DSM_SET_WDISABLE2_DELAY, &argv4); in btintel_set_dsm_reset_method()
2590 argv4.buffer.type = ACPI_TYPE_BUFFER; in btintel_set_dsm_reset_method()
2591 argv4.buffer.length = sizeof(reset_payload); in btintel_set_dsm_reset_method()
2592 argv4.buffer.pointer = reset_payload; in btintel_set_dsm_reset_method()
2595 DSM_SET_RESET_METHOD, &argv4); in btintel_set_dsm_reset_method()
/linux-6.12.1/include/acpi/
Dacpi_bus.h61 u64 rev, u64 func, union acpi_object *argv4);
65 u64 func, union acpi_object *argv4, in acpi_evaluate_dsm_typed() argument
70 obj = acpi_evaluate_dsm(handle, guid, rev, func, argv4); in acpi_evaluate_dsm_typed()
/linux-6.12.1/drivers/usb/typec/tcpm/
Dwcove.c184 union acpi_object argv4 = ACPI_INIT_DSM_ARGV4(1, &tmp); in wcove_typec_func() local
190 &argv4); in wcove_typec_func()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
Dr535.c1454 union acpi_object argv4 = { in r535_gsp_acpi_caps() local
1457 .buffer.pointer = kmalloc(argv4.buffer.length, GFP_KERNEL), in r535_gsp_acpi_caps()
1465 obj = acpi_evaluate_dsm(handle, &NVOP_DSM_GUID, NVOP_DSM_REV, 0x1a, &argv4); in r535_gsp_acpi_caps()
1478 kfree(argv4.buffer.pointer); in r535_gsp_acpi_caps()
1489 union acpi_object argv4 = { in r535_gsp_acpi_jt() local
1492 .buffer.pointer = kmalloc(argv4.buffer.length, GFP_KERNEL), in r535_gsp_acpi_jt()
1497 obj = acpi_evaluate_dsm(handle, &JT_DSM_GUID, JT_DSM_REV, 0x1, &argv4); in r535_gsp_acpi_jt()
1512 kfree(argv4.buffer.pointer); in r535_gsp_acpi_jt()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dr535.c1530 union acpi_object argv4 = { in r535_disp_oneinit() local
1533 .buffer.pointer = kmalloc(argv4.buffer.length, GFP_KERNEL), in r535_disp_oneinit()
1537 0x00000102, 0x14, &argv4); in r535_disp_oneinit()
1558 kfree(argv4.buffer.pointer); in r535_disp_oneinit()
/linux-6.12.1/include/linux/
Dacpi.h965 union acpi_object *argv4) in acpi_evaluate_dsm() argument
973 union acpi_object *argv4, in acpi_evaluate_dsm_typed() argument