Lines Matching refs:local_fadt

208 	struct fadt_descriptor_rev2    *local_fadt,  in acpi_tb_convert_fadt1()  argument
222 ACPI_MEMCPY (local_fadt, original_fadt, sizeof (struct fadt_descriptor_rev1)); in acpi_tb_convert_fadt1()
226 ACPI_STORE_ADDRESS (local_fadt->xfirmware_ctrl, local_fadt->V1_firmware_ctrl); in acpi_tb_convert_fadt1()
227 ACPI_STORE_ADDRESS (local_fadt->Xdsdt, local_fadt->V1_dsdt); in acpi_tb_convert_fadt1()
238 local_fadt->prefer_PM_profile = PM_UNSPECIFIED; in acpi_tb_convert_fadt1()
245 local_fadt->pstate_cnt = 0; in acpi_tb_convert_fadt1()
251 local_fadt->cst_cnt = 0; in acpi_tb_convert_fadt1()
257 local_fadt->iapc_boot_arch = BAF_LEGACY_DEVICES; in acpi_tb_convert_fadt1()
262 acpi_tb_init_generic_address (&local_fadt->xpm1a_evt_blk, local_fadt->pm1_evt_len, in acpi_tb_convert_fadt1()
263 (acpi_physical_address) local_fadt->V1_pm1a_evt_blk); in acpi_tb_convert_fadt1()
264 acpi_tb_init_generic_address (&local_fadt->xpm1b_evt_blk, local_fadt->pm1_evt_len, in acpi_tb_convert_fadt1()
265 (acpi_physical_address) local_fadt->V1_pm1b_evt_blk); in acpi_tb_convert_fadt1()
266 acpi_tb_init_generic_address (&local_fadt->xpm1a_cnt_blk, local_fadt->pm1_cnt_len, in acpi_tb_convert_fadt1()
267 (acpi_physical_address) local_fadt->V1_pm1a_cnt_blk); in acpi_tb_convert_fadt1()
268 acpi_tb_init_generic_address (&local_fadt->xpm1b_cnt_blk, local_fadt->pm1_cnt_len, in acpi_tb_convert_fadt1()
269 (acpi_physical_address) local_fadt->V1_pm1b_cnt_blk); in acpi_tb_convert_fadt1()
270 acpi_tb_init_generic_address (&local_fadt->xpm2_cnt_blk, local_fadt->pm2_cnt_len, in acpi_tb_convert_fadt1()
271 (acpi_physical_address) local_fadt->V1_pm2_cnt_blk); in acpi_tb_convert_fadt1()
272 acpi_tb_init_generic_address (&local_fadt->xpm_tmr_blk, local_fadt->pm_tm_len, in acpi_tb_convert_fadt1()
273 (acpi_physical_address) local_fadt->V1_pm_tmr_blk); in acpi_tb_convert_fadt1()
274 acpi_tb_init_generic_address (&local_fadt->xgpe0_blk, 0, in acpi_tb_convert_fadt1()
275 (acpi_physical_address) local_fadt->V1_gpe0_blk); in acpi_tb_convert_fadt1()
276 acpi_tb_init_generic_address (&local_fadt->xgpe1_blk, 0, in acpi_tb_convert_fadt1()
277 (acpi_physical_address) local_fadt->V1_gpe1_blk); in acpi_tb_convert_fadt1()
283 (acpi_physical_address) (local_fadt->xpm1a_evt_blk.address + in acpi_tb_convert_fadt1()
288 if (local_fadt->xpm1b_evt_blk.address) { in acpi_tb_convert_fadt1()
291 (acpi_physical_address) (local_fadt->xpm1b_evt_blk.address + in acpi_tb_convert_fadt1()
313 struct fadt_descriptor_rev2 *local_fadt, in acpi_tb_convert_fadt2() argument
319 ACPI_MEMCPY (local_fadt, original_fadt, sizeof (struct fadt_descriptor_rev2)); in acpi_tb_convert_fadt2()
326 if (!(local_fadt->xfirmware_ctrl)) { in acpi_tb_convert_fadt2()
327 ACPI_STORE_ADDRESS (local_fadt->xfirmware_ctrl, local_fadt->V1_firmware_ctrl); in acpi_tb_convert_fadt2()
330 if (!(local_fadt->Xdsdt)) { in acpi_tb_convert_fadt2()
331 ACPI_STORE_ADDRESS (local_fadt->Xdsdt, local_fadt->V1_dsdt); in acpi_tb_convert_fadt2()
334 if (!(local_fadt->xpm1a_evt_blk.address)) { in acpi_tb_convert_fadt2()
335 acpi_tb_init_generic_address (&local_fadt->xpm1a_evt_blk, in acpi_tb_convert_fadt2()
336 local_fadt->pm1_evt_len, (acpi_physical_address) local_fadt->V1_pm1a_evt_blk); in acpi_tb_convert_fadt2()
339 if (!(local_fadt->xpm1b_evt_blk.address)) { in acpi_tb_convert_fadt2()
340 acpi_tb_init_generic_address (&local_fadt->xpm1b_evt_blk, in acpi_tb_convert_fadt2()
341 local_fadt->pm1_evt_len, (acpi_physical_address) local_fadt->V1_pm1b_evt_blk); in acpi_tb_convert_fadt2()
344 if (!(local_fadt->xpm1a_cnt_blk.address)) { in acpi_tb_convert_fadt2()
345 acpi_tb_init_generic_address (&local_fadt->xpm1a_cnt_blk, in acpi_tb_convert_fadt2()
346 local_fadt->pm1_cnt_len, (acpi_physical_address) local_fadt->V1_pm1a_cnt_blk); in acpi_tb_convert_fadt2()
349 if (!(local_fadt->xpm1b_cnt_blk.address)) { in acpi_tb_convert_fadt2()
350 acpi_tb_init_generic_address (&local_fadt->xpm1b_cnt_blk, in acpi_tb_convert_fadt2()
351 local_fadt->pm1_cnt_len, (acpi_physical_address) local_fadt->V1_pm1b_cnt_blk); in acpi_tb_convert_fadt2()
354 if (!(local_fadt->xpm2_cnt_blk.address)) { in acpi_tb_convert_fadt2()
355 acpi_tb_init_generic_address (&local_fadt->xpm2_cnt_blk, in acpi_tb_convert_fadt2()
356 local_fadt->pm2_cnt_len, (acpi_physical_address) local_fadt->V1_pm2_cnt_blk); in acpi_tb_convert_fadt2()
359 if (!(local_fadt->xpm_tmr_blk.address)) { in acpi_tb_convert_fadt2()
360 acpi_tb_init_generic_address (&local_fadt->xpm_tmr_blk, in acpi_tb_convert_fadt2()
361 local_fadt->pm_tm_len, (acpi_physical_address) local_fadt->V1_pm_tmr_blk); in acpi_tb_convert_fadt2()
364 if (!(local_fadt->xgpe0_blk.address)) { in acpi_tb_convert_fadt2()
365 acpi_tb_init_generic_address (&local_fadt->xgpe0_blk, in acpi_tb_convert_fadt2()
366 0, (acpi_physical_address) local_fadt->V1_gpe0_blk); in acpi_tb_convert_fadt2()
369 if (!(local_fadt->xgpe1_blk.address)) { in acpi_tb_convert_fadt2()
370 acpi_tb_init_generic_address (&local_fadt->xgpe1_blk, in acpi_tb_convert_fadt2()
371 0, (acpi_physical_address) local_fadt->V1_gpe1_blk); in acpi_tb_convert_fadt2()
378 (acpi_physical_address) (local_fadt->xpm1a_evt_blk.address + in acpi_tb_convert_fadt2()
380 acpi_gbl_xpm1a_enable.address_space_id = local_fadt->xpm1a_evt_blk.address_space_id; in acpi_tb_convert_fadt2()
384 if (local_fadt->xpm1b_evt_blk.address) { in acpi_tb_convert_fadt2()
387 (acpi_physical_address) (local_fadt->xpm1b_evt_blk.address + in acpi_tb_convert_fadt2()
389 acpi_gbl_xpm1b_enable.address_space_id = local_fadt->xpm1b_evt_blk.address_space_id; in acpi_tb_convert_fadt2()
413 struct fadt_descriptor_rev2 *local_fadt; in acpi_tb_convert_table_fadt() local
424 local_fadt = ACPI_MEM_CALLOCATE (sizeof (struct fadt_descriptor_rev2)); in acpi_tb_convert_table_fadt()
425 if (local_fadt == NULL) { in acpi_tb_convert_table_fadt()
445 acpi_tb_convert_fadt1 (local_fadt, (void *) acpi_gbl_FADT); in acpi_tb_convert_table_fadt()
450 acpi_tb_convert_fadt2 (local_fadt, acpi_gbl_FADT); in acpi_tb_convert_table_fadt()
456 acpi_tb_convert_fadt1 (local_fadt, (void *) acpi_gbl_FADT); in acpi_tb_convert_table_fadt()
462 acpi_gbl_FADT = local_fadt; in acpi_tb_convert_table_fadt()