Home
last modified time | relevance | path

Searched refs:pe (Results 1 – 25 of 67) sorted by relevance

123

/arch/powerpc/kernel/
A Deeh_pe.c68 pe->data = (void *)pe + ALIGN(sizeof(struct eeh_pe), in eeh_pe_alloc()
70 return pe; in eeh_pe_alloc()
86 if (!pe) { in eeh_phb_pe_create()
168 if ((pe->type & EEH_PE_PHB) && pe->phb == phb) in eeh_phb_pe_get()
194 pe = pe->parent; in eeh_pe_next()
319 if (pe) { in eeh_pe_tree_insert()
322 edev->pe = pe; in eeh_pe_tree_insert()
340 edev->pe = pe; in eeh_pe_tree_insert()
354 if (!pe) { in eeh_pe_tree_insert()
387 edev->pe = pe; in eeh_pe_tree_insert()
[all …]
A Deeh_driver.c206 if (edev->pe && (edev->pe->state & EEH_PE_CFG_RESTRICTED)) in eeh_dev_save_state()
394 if (edev->pe && (edev->pe->state & EEH_PE_CFG_RESTRICTED)) { in eeh_dev_restore_state()
745 kfree(pe); in eeh_pe_cleanup()
852 __func__, pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
873 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
889 pe->phb->global_number, eeh_pe_loc_get(pe)); in eeh_handle_normal_event()
894 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
909 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
928 pe->phb->global_number, pe->addr, in eeh_handle_normal_event()
1076 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
[all …]
A Deeh_event.c61 if (event->pe) in eeh_event_handler()
62 eeh_handle_normal_event(event->pe); in eeh_event_handler()
112 event->pe = pe; in __eeh_send_failure_event()
119 if (pe) { in __eeh_send_failure_event()
125 pe->trace_entries = stack_trace_save(pe->stack_trace, in __eeh_send_failure_event()
154 return __eeh_send_failure_event(pe); in eeh_send_failure_event()
183 if (!force && event->pe && in eeh_remove_event()
187 if (!pe) { in eeh_remove_event()
190 } else if (pe->type & EEH_PE_PHB) { in eeh_remove_event()
191 if (event->pe && event->pe->phb == pe->phb) { in eeh_remove_event()
[all …]
A Deeh.c543 pe->phb->global_number, pe->addr, in eeh_dev_check_failure()
565 __func__, pe->phb->global_number, pe->addr); in eeh_dev_check_failure()
812 pe->phb->global_number, pe->addr); in eeh_pe_refreeze_passed()
866 pe->phb->global_number, pe->addr, i + 1); in eeh_pe_reset_full()
872 pe->phb->global_number, pe->addr); in eeh_pe_reset_full()
1315 if (!pe) in eeh_pe_set_option()
1366 if (!pe) in eeh_pe_get_state()
1433 pe->phb->global_number, pe->addr); in eeh_pe_reenable_devices()
1455 if (!pe) in eeh_pe_reset()
1505 if (!pe) in eeh_pe_configure()
[all …]
A Deeh_sysfs.c48 if (!edev || !edev->pe) in eeh_pe_state_show()
51 state = eeh_ops->get_state(edev->pe, NULL); in eeh_pe_state_show()
53 state, edev->pe->state); in eeh_pe_state_show()
63 if (!edev || !edev->pe) in eeh_pe_state_store()
67 if (!(edev->pe->state & EEH_PE_ISOLATED)) in eeh_pe_state_store()
70 if (eeh_unfreeze_pe(edev->pe)) in eeh_pe_state_store()
72 eeh_pe_state_clear(edev->pe, EEH_PE_ISOLATED, true); in eeh_pe_state_store()
87 if (!edev || !edev->pe) in eeh_notify_resume_show()
100 if (!edev || !edev->pe || !eeh_ops->notify_resume) in eeh_notify_resume_store()
A Drtas_pci.c57 if (pdn->edev && pdn->edev->pe && in rtas_pci_dn_read_config()
58 (pdn->edev->pe->state & EEH_PE_CFG_BLOCKED)) in rtas_pci_dn_read_config()
108 if (pdn->edev && pdn->edev->pe && in rtas_pci_dn_write_config()
109 (pdn->edev->pe->state & EEH_PE_CFG_BLOCKED)) in rtas_pci_dn_write_config()
/arch/powerpc/platforms/powernv/
A Dpci-ioda.c68 pci_domain_nr(pe->pbus), pe->pbus->number); in pe_level_printk()
74 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk()
161 for (pe = phb->ioda.total_pe_num - 1; pe >= 0; pe--) { in pnv_ioda_alloc_pe()
174 for (i = pe; i < pe + count; i++) { in pnv_ioda_alloc_pe()
447 pe = pe->master; in pnv_ioda_freeze_pe()
487 pe = pe->master; in pnv_ioda_unfreeze_pe()
536 pe = pe->master; in pnv_ioda_get_pe_state()
1556 pnv_ioda_setup_bus_dma(pe, pe->pbus); in pnv_ioda2_take_ownership()
1575 pnv_ioda_setup_bus_dma(pe, pe->pbus); in pnv_ioda2_release_ownership()
2064 pe->rid, pe->device_count, in pnv_pci_ioda_pe_dump()
[all …]
A Deeh-powernv.c92 if (!pe) in pnv_eeh_ei_write()
492 pe->addr); in pnv_eeh_set_option()
507 pe->addr); in pnv_eeh_set_option()
535 pe->addr, in pnv_eeh_get_phb_state()
559 pnv_pci_dump_phb_diag_data(pe->phb, pe->data); in pnv_eeh_get_phb_state()
595 pe->addr, in pnv_eeh_get_pe_state()
602 pe->addr); in pnv_eeh_get_pe_state()
661 pnv_pci_dump_phb_diag_data(pe->phb, pe->data); in pnv_eeh_get_pe_state()
1084 __func__, pe->phb->global_number, pe->addr); in pnv_eeh_reset()
1135 pnv_pci_dump_phb_diag_data(pe->phb, pe->data); in pnv_eeh_get_log()
[all …]
A Dpci-sriov.c236 pe->pdev = pdev; in pnv_pci_ioda_fixup_iov()
494 list_del(&pe->list); in pnv_ioda_release_vf_PE()
499 pnv_ioda_free_pe(pe); in pnv_ioda_release_vf_PE()
617 struct pnv_ioda_pe *pe; in pnv_ioda_setup_vf_PE() local
637 pe->phb = phb; in pnv_ioda_setup_vf_PE()
639 pe->pbus = NULL; in pnv_ioda_setup_vf_PE()
640 pe->parent_dev = pdev; in pnv_ioda_setup_vf_PE()
641 pe->mve_number = -1; in pnv_ioda_setup_vf_PE()
644 pe_num = pe->pe_number; in pnv_ioda_setup_vf_PE()
651 pnv_ioda_free_pe(pe); in pnv_ioda_setup_vf_PE()
[all …]
A Dpci.h206 int pnv_ioda_configure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
207 int pnv_ioda_deconfigure_pe(struct pnv_phb *phb, struct pnv_ioda_pe *pe);
210 void pnv_pci_ioda2_release_pe_dma(struct pnv_ioda_pe *pe);
213 void pnv_ioda_free_pe(struct pnv_ioda_pe *pe);
288 extern void pe_level_printk(const struct pnv_ioda_pe *pe, const char *level,
290 #define pe_err(pe, fmt, ...) \ argument
291 pe_level_printk(pe, KERN_ERR, fmt, ##__VA_ARGS__)
292 #define pe_warn(pe, fmt, ...) \ argument
293 pe_level_printk(pe, KERN_WARNING, fmt, ##__VA_ARGS__)
294 #define pe_info(pe, fmt, ...) \ argument
[all …]
/arch/alpha/include/asm/
A Dcore_marvel.h57 #define EV7_IPE(pe) ((~((long)(pe)) & EV7_PE_MASK) << 35) argument
59 #define EV7_CSR_PHYS(pe, off) (EV7_IPE(pe) | (0x7FFCUL << 20) | (off)) argument
60 #define EV7_CSRS_PHYS(pe) (EV7_CSR_PHYS(pe, 0UL)) argument
62 #define EV7_CSR_KERN(pe, off) (EV7_KERN_ADDR(EV7_CSR_PHYS(pe, off))) argument
63 #define EV7_CSRS_KERN(pe) (EV7_KERN_ADDR(EV7_CSRS_PHYS(pe))) argument
249 #define IO7_IPE(pe) (EV7_IPE(pe)) argument
252 #define IO7_HOSE(pe, port) (IO7_IPE(pe) | IO7_IPORT(port)) argument
256 #define IO7_IO_PHYS(pe, port) (IO7_HOSE(pe, port) | 0xFF000000UL) argument
259 #define IO7_CSRS_PHYS(pe, port) (IO7_CSR_PHYS(pe, port, 0UL)) argument
260 #define IO7_PORT7_CSRS_PHYS(pe) (IO7_CSR_PHYS(pe, 7, 0x300000UL)) argument
[all …]
/arch/powerpc/include/asm/
A Deeh.h104 #define eeh_pe_for_each_dev(pe, edev, tmp) \ argument
107 #define eeh_for_each_pe(root, pe) \ argument
108 for (pe = root; pe; pe = eeh_pe_next(pe, root))
112 return pe ? !!atomic_read(&pe->pass_dev_cnt) : false; in eeh_pe_passed()
142 struct eeh_pe *pe; /* Associated PE */ member
177 return edev ? edev->pe : NULL; in eeh_dev_to_pe()
222 int (*configure_bridge)(struct eeh_pe *pe);
227 int (*next_error)(struct eeh_pe **pe);
300 int eeh_unfreeze_pe(struct eeh_pe *pe);
306 int eeh_pe_get_state(struct eeh_pe *pe);
[all …]
A Dppc-pci.h56 void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
57 int eeh_pci_enable(struct eeh_pe *pe, int function);
58 int eeh_pe_reset_full(struct eeh_pe *pe, bool include_passed);
60 void eeh_pe_state_mark(struct eeh_pe *pe, int state);
61 void eeh_pe_mark_isolated(struct eeh_pe *pe);
62 void eeh_pe_state_clear(struct eeh_pe *pe, int state, bool include_passed);
63 void eeh_pe_state_mark_with_cfg(struct eeh_pe *pe, int state);
64 void eeh_pe_dev_mode_mark(struct eeh_pe *pe, int mode);
A Deeh_event.h19 struct eeh_pe *pe; /* EEH PE */ member
23 int eeh_send_failure_event(struct eeh_pe *pe);
24 int __eeh_send_failure_event(struct eeh_pe *pe);
25 void eeh_remove_event(struct eeh_pe *pe, bool force);
26 void eeh_handle_normal_event(struct eeh_pe *pe);
/arch/powerpc/platforms/pseries/
A Deeh_pseries.c345 if (parent->pe) in pseries_eeh_pe_get_parent()
346 return parent->pe; in pseries_eeh_pe_get_parent()
390 if (edev->pe) in pseries_eeh_init_edev()
434 pe.phb = pdn->phb; in pseries_eeh_init_edev()
435 pe.addr = ret; in pseries_eeh_init_edev()
535 pe->addr, BUID_HI(pe->phb->buid), in pseries_eeh_set_option()
562 pe->addr, BUID_HI(pe->phb->buid), in pseries_eeh_get_state()
568 pe->addr, BUID_HI(pe->phb->buid), in pseries_eeh_get_state()
624 return pseries_eeh_phb_reset(pe->phb, pe->addr, option); in pseries_eeh_reset()
647 BUID_HI(pe->phb->buid), BUID_LO(pe->phb->buid), in pseries_eeh_get_log()
[all …]
/arch/alpha/kernel/
A Dcore_marvel.c100 marvel_find_io7(int pe) in marvel_find_io7() argument
104 for (io7 = io7_head; io7 && io7->pe != pe; io7 = io7->next) in marvel_find_io7()
111 alloc_io7(unsigned int pe) in alloc_io7() argument
117 if (marvel_find_io7(pe)) { in alloc_io7()
123 io7->pe = pe; in alloc_io7()
137 else if (io7_head->pe > io7->pe) { /* insert at head */ in alloc_io7()
142 if (insp->pe == io7->pe) { in alloc_io7()
144 io7->pe); in alloc_io7()
149 insp->next->pe > io7->pe) { /* insert here */ in alloc_io7()
358 int pe; in marvel_io7_present() local
[all …]
A Dperf_event.c344 struct perf_event *pe; in collect_events() local
354 for_each_sibling_event(pe, group) { in collect_events()
355 if (!is_software_event(pe) && pe->state != PERF_EVENT_STATE_OFF) { in collect_events()
358 event[n] = pe; in collect_events()
359 evtype[n] = pe->hw.event_base; in collect_events()
400 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration() local
403 cpuc->current_idx[j] != pe->hw.idx) { in maybe_change_configuration()
404 alpha_perf_event_update(pe, &pe->hw, cpuc->current_idx[j], 0); in maybe_change_configuration()
412 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration() local
413 struct hw_perf_event *hwc = &pe->hw; in maybe_change_configuration()
[all …]
A Dsys_marvel.c249 long base = (io7->pe << MARVEL_IRQ_VEC_PE_SHIFT) + 16; in init_io7_irqs()
253 io7->pe, base); in init_io7_irqs()
359 (irq + 16) | (io7->pe << MARVEL_IRQ_VEC_PE_SHIFT), in marvel_map_irq()
360 (irq + 16) | (io7->pe << MARVEL_IRQ_VEC_PE_SHIFT)); in marvel_map_irq()
374 irq |= io7->pe << MARVEL_IRQ_VEC_PE_SHIFT; /* merge the pid */ in marvel_map_irq()
/arch/x86/coco/sev/
A Dcore.c224 pe = &pc->entry[0]; in svsm_build_ca_from_pfn_range()
228 pe->action = action; in svsm_build_ca_from_pfn_range()
229 pe->ignore_cf = 0; in svsm_build_ca_from_pfn_range()
230 pe->rsvd = 0; in svsm_build_ca_from_pfn_range()
231 pe->pfn = pfn; in svsm_build_ca_from_pfn_range()
233 pe++; in svsm_build_ca_from_pfn_range()
254 pe = &pc->entry[0]; in svsm_build_ca_from_psc_desc()
260 pe->ignore_cf = 0; in svsm_build_ca_from_psc_desc()
261 pe->rsvd = 0; in svsm_build_ca_from_psc_desc()
262 pe->pfn = e->gfn; in svsm_build_ca_from_psc_desc()
[all …]
/arch/riscv/boot/dts/allwinner/
A Dsun20i-common-regulators.dtsi25 vcc-pe-supply = <&reg_vcc_3v3>;
A Dsun20i-d1s-mangopi-mq.dts111 vcc-pe-supply = <&reg_avdd2v8>;
/arch/arm64/boot/dts/allwinner/
A Dsun50i-a100-allwinner-perf1.dts50 vcc-pe-supply = <&reg_dldo2>;
147 regulator-name = "vcc-pe-csi";
A Dsun50i-a64-olinuxino.dts169 vcc-pe-supply = <&reg_aldo1>;
188 vcc-pe-supply = <&reg_aldo1>;
226 regulator-name = "vcc-pe";
/arch/arm/boot/dts/allwinner/
A Dsun8i-v3-sl631.dtsi77 vcc-pe-supply = <&reg_dcdc3>;
A Dsun8i-r40-feta40i.dtsi117 regulator-name = "vcc-pe";

Completed in 59 milliseconds

123