/kernel/linux/linux-5.10/drivers/acpi/ |
D | reboot.c | 9 static void acpi_pci_reboot(struct acpi_generic_address *rr, u8 reset_value) in acpi_pci_reboot() argument 24 (rr->address & 0xffff), reset_value); in acpi_pci_reboot() 28 u8 reset_value) in acpi_pci_reboot() argument 37 u8 reset_value; in acpi_reboot() local 55 reset_value = acpi_gbl_FADT.reset_value; in acpi_reboot() 61 acpi_pci_reboot(rr, reset_value); in acpi_reboot()
|
/kernel/linux/linux-5.10/arch/x86/oprofile/ |
D | op_model_ppro.c | 31 static u64 reset_value[OP_MAX_COUNTER]; variable 114 reset_value[i] = counter_config[i].count; in ppro_setup_ctrs() 115 wrmsrl(msrs->counters[i].addr, -reset_value[i]); in ppro_setup_ctrs() 121 reset_value[i] = 0; in ppro_setup_ctrs() 134 if (!reset_value[i]) in ppro_check_ctrs() 140 wrmsrl(msrs->counters[i].addr, -reset_value[i]); in ppro_check_ctrs() 164 if (reset_value[i]) { in ppro_start() 179 if (!reset_value[i]) in ppro_stop()
|
D | op_model_amd.c | 43 static unsigned long reset_value[OP_MAX_COUNTER]; variable 277 if (!reset_value[virt]) in op_mux_switch_ctrl() 343 reset_value[i] = counter_config[i].count; in op_amd_setup_ctrs() 345 reset_value[i] = 0; in op_amd_setup_ctrs() 367 if (!reset_value[virt]) in op_amd_setup_ctrs() 371 wrmsrl(msrs->counters[i].addr, -(u64)reset_value[virt]); in op_amd_setup_ctrs() 389 if (!reset_value[virt]) in op_amd_check_ctrs() 396 wrmsrl(msrs->counters[i].addr, -(u64)reset_value[virt]); in op_amd_check_ctrs() 411 if (!reset_value[op_x86_phys_to_virt(i)]) in op_amd_start() 431 if (!reset_value[op_x86_phys_to_virt(i)]) in op_amd_stop()
|
D | op_model_p4.c | 386 static unsigned long reset_value[NUM_COUNTERS_NON_HT]; variable 604 reset_value[i] = counter_config[i].count; in p4_setup_ctrs() 609 reset_value[i] = 0; in p4_setup_ctrs() 625 if (!reset_value[i]) in p4_check_ctrs() 652 -(u64)reset_value[i]); in p4_check_ctrs() 656 -(u64)reset_value[i]); in p4_check_ctrs() 676 if (!reset_value[i]) in p4_start() 693 if (!reset_value[i]) in p4_stop()
|
/kernel/linux/linux-5.10/arch/powerpc/oprofile/ |
D | op_model_pa6t.c | 27 static u64 reset_value[OP_MAX_COUNTER]; variable 121 reset_value[pmc] = (0x1UL << 39) - ctr[pmc].count; in pa6t_reg_setup() 123 pmc, reset_value[pmc]); in pa6t_reg_setup() 159 ctr_write(i, reset_value[i]); in pa6t_start() 209 ctr_write(i, reset_value[i]); in pa6t_handle_interrupt()
|
D | op_model_7450.c | 23 static unsigned long reset_value[OP_MAX_COUNTER]; variable 105 reset_value[i] = 0x80000000UL - ctr[i].count; in fsl7450_reg_setup() 139 classic_ctr_write(i, reset_value[i]); in fsl7450_start() 187 classic_ctr_write(i, reset_value[i]); in fsl7450_handle_interrupt()
|
D | op_model_fsl_emb.c | 22 static unsigned long reset_value[OP_MAX_COUNTER]; variable 287 reset_value[i] = 0x80000000UL - ctr[i].count; in fsl_emb_reg_setup() 300 ctr_write(i, reset_value[i]); in fsl_emb_start() 356 ctr_write(i, reset_value[i]); in fsl_emb_handle_interrupt()
|
D | op_model_power4.c | 27 static unsigned long reset_value[OP_MAX_COUNTER]; variable 125 reset_value[i] = 0x80000000UL - ctr[i].count; in power4_reg_setup() 210 classic_ctr_write(i, reset_value[i]); in power4_start() 401 classic_ctr_write(i, reset_value[i]); in power4_handle_interrupt()
|
D | op_model_cell.c | 178 static u32 reset_value[NR_PHYS_CTRS]; variable 738 reset_value[0] = 0xFFFFFFFF - ctr[0].count; in cell_reg_setup_spu_events() 745 spu_pm_cnt[i] = reset_value[0]; in cell_reg_setup_spu_events() 813 reset_value[i] = 0xFFFFFFFF - ctr[i].count; in cell_reg_setup_ppu() 826 per_cpu(pmc_values, cpu)[i] = reset_value[i]; in cell_reg_setup_ppu() 1365 cbe_write_ctr(cpu, 0, reset_value[0]); in cell_global_start_spu_events() 1411 cbe_write_ctr(cpu, i, reset_value[i]); in cell_global_start_ppu() 1518 cbe_write_ctr(cpu, 0, reset_value[0]); in cell_handle_interrupt_spu() 1640 cbe_write_ctr(cpu, i, reset_value[i]); in cell_handle_interrupt_ppu()
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
D | pblk-sysfs.c | 503 int reset_value; in pblk_sysfs_set_write_amp_trip() local 509 if (kstrtouint(page, 0, &reset_value)) in pblk_sysfs_set_write_amp_trip() 512 if (reset_value != 0) in pblk_sysfs_set_write_amp_trip() 527 int reset_value; in pblk_sysfs_set_padding_dist() local 535 if (kstrtouint(page, 0, &reset_value)) in pblk_sysfs_set_padding_dist() 538 if (reset_value != 0) in pblk_sysfs_set_padding_dist()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | hwxface.c | 61 acpi_gbl_FADT.reset_value, in acpi_reset() 66 status = acpi_hw_write(acpi_gbl_FADT.reset_value, reset_reg); in acpi_reset()
|
/kernel/linux/linux-5.10/include/acpi/ |
D | actbl.h | 240 u8 reset_value; /* Value to write to the reset_register port to reset the system */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_lrc.c | 4019 const unsigned int reset_value = execlists->csb_size - 1; in reset_csb_pointers() local 4028 0xffff << 16 | reset_value << 8 | reset_value); in reset_csb_pointers() 4040 execlists->csb_head = reset_value; in reset_csb_pointers() 4041 WRITE_ONCE(*execlists->csb_write, reset_value); in reset_csb_pointers() 4045 memset(execlists->csb_status, -1, (reset_value + 1) * sizeof(u64)); in reset_csb_pointers() 4047 &execlists->csb_status[reset_value]); in reset_csb_pointers() 4051 0xffff << 16 | reset_value << 8 | reset_value); in reset_csb_pointers() 4054 GEM_BUG_ON(READ_ONCE(*execlists->csb_write) != reset_value); in reset_csb_pointers()
|