Home
last modified time | relevance | path

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

123456789

/linux/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_prs.c54 memset(pe, 0, sizeof(*pe)); in mvpp2_prs_init_from_hw()
412 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_drop_fc()
447 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_mac_drop_all_set()
494 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_mac_promisc_set()
545 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_dsa_tag_set()
616 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_dsa_tag_ethertype_set()
709 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_vlan_add()
827 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_double_vlan_add()
910 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_ip4_proto()
975 memset(&pe, 0, sizeof(pe)); in mvpp2_prs_ip4_cast()
[all …]
/linux/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()
307 eeh_for_each_pe(root, pe) eeh_pe_for_each_dev(pe, edev, tmp) in eeh_pe_report()
392 if (edev->pe && (edev->pe->state & EEH_PE_CFG_RESTRICTED)) { in eeh_dev_restore_state()
744 kfree(pe); in eeh_pe_cleanup()
849 __func__, pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
869 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
885 pe->phb->global_number, eeh_pe_loc_get(pe)); in eeh_handle_normal_event()
890 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
905 pe->phb->global_number, pe->addr); in eeh_handle_normal_event()
924 pe->phb->global_number, pe->addr, in eeh_handle_normal_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()
1320 if (!pe) in eeh_pe_set_option()
1371 if (!pe) in eeh_pe_get_state()
1438 pe->phb->global_number, pe->addr); in eeh_pe_reenable_devices()
1460 if (!pe) in eeh_pe_reset()
1510 if (!pe) in eeh_pe_configure()
[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 …]
/linux/drivers/iommu/intel/
A Dpasid.h91 WRITE_ONCE(pe->val[0], 0); in pasid_clear_entry()
92 WRITE_ONCE(pe->val[1], 0); in pasid_clear_entry()
93 WRITE_ONCE(pe->val[2], 0); in pasid_clear_entry()
94 WRITE_ONCE(pe->val[3], 0); in pasid_clear_entry()
95 WRITE_ONCE(pe->val[4], 0); in pasid_clear_entry()
96 WRITE_ONCE(pe->val[5], 0); in pasid_clear_entry()
97 WRITE_ONCE(pe->val[6], 0); in pasid_clear_entry()
98 WRITE_ONCE(pe->val[7], 0); in pasid_clear_entry()
104 WRITE_ONCE(pe->val[1], 0); in pasid_clear_entry_with_fpd()
105 WRITE_ONCE(pe->val[2], 0); in pasid_clear_entry_with_fpd()
[all …]
/linux/arch/powerpc/platforms/powernv/
A Dpci-ioda.c70 pci_domain_nr(pe->pbus), pe->pbus->number); in pe_level_printk()
76 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk()
163 for (pe = phb->ioda.total_pe_num - 1; pe >= 0; pe--) { in pnv_ioda_alloc_pe()
176 for (i = pe; i < pe + count; i++) { in pnv_ioda_alloc_pe()
449 pe = pe->master; in pnv_ioda_freeze_pe()
489 pe = pe->master; in pnv_ioda_unfreeze_pe()
538 pe = pe->master; in pnv_ioda_get_pe_state()
1558 pnv_ioda_setup_bus_dma(pe, pe->pbus); in pnv_ioda2_take_ownership()
1577 pnv_ioda_setup_bus_dma(pe, pe->pbus); in pnv_ioda2_release_ownership()
2107 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 …]
/linux/net/netfilter/ipvs/
A Dip_vs_pe.c23 struct ip_vs_pe *pe; in __ip_vs_pe_getbyname() local
31 if (pe->module && in __ip_vs_pe_getbyname()
32 !try_module_get(pe->module)) { in __ip_vs_pe_getbyname()
39 return pe; in __ip_vs_pe_getbyname()
41 module_put(pe->module); in __ip_vs_pe_getbyname()
51 struct ip_vs_pe *pe; in ip_vs_pe_getbyname() local
54 pe = __ip_vs_pe_getbyname(name); in ip_vs_pe_getbyname()
57 if (!pe) { in ip_vs_pe_getbyname()
59 pe = __ip_vs_pe_getbyname(name); in ip_vs_pe_getbyname()
62 return pe; in ip_vs_pe_getbyname()
[all …]
/linux/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 …]
/linux/tools/perf/arch/x86/tests/
A Dintel-cqm.c44 struct perf_event_attr pe; in test__intel_cqm_count_nmi_context() local
72 memset(&pe, 0, sizeof(pe)); in test__intel_cqm_count_nmi_context()
73 pe.size = sizeof(pe); in test__intel_cqm_count_nmi_context()
75 pe.type = PERF_TYPE_HARDWARE; in test__intel_cqm_count_nmi_context()
76 pe.config = PERF_COUNT_HW_CPU_CYCLES; in test__intel_cqm_count_nmi_context()
77 pe.read_format = PERF_FORMAT_GROUP; in test__intel_cqm_count_nmi_context()
79 pe.sample_period = 128; in test__intel_cqm_count_nmi_context()
90 memset(&pe, 0, sizeof(pe)); in test__intel_cqm_count_nmi_context()
91 pe.size = sizeof(pe); in test__intel_cqm_count_nmi_context()
93 pe.type = evsel->attr.type; in test__intel_cqm_count_nmi_context()
[all …]
/linux/lib/crypto/
A Ddes.c684 a = pe[2 * d]; in des_ekey()
685 b = pe[2 * d + 1]; in des_ekey()
691 pe[2 * d] = a; in des_ekey()
692 pe[2 * d + 1] = b; in des_ekey()
769 a = pe[2 * d]; in dkey()
770 b = pe[2 * d + 1]; in dkey()
776 pe[2 * d] = a; in dkey()
777 pe[2 * d + 1] = b; in dkey()
836 des_ekey(pe, key); pe += DES_EXPKEY_WORDS; key += DES_KEY_SIZE; in des3_ede_expand_key()
837 dkey(pe, key); pe += DES_EXPKEY_WORDS; key += DES_KEY_SIZE; in des3_ede_expand_key()
[all …]
/linux/tools/perf/tests/
A Dbp_signal_overflow.c65 struct perf_event_attr pe; in test__bp_signal_overflow() local
86 pe.type = PERF_TYPE_BREAKPOINT; in test__bp_signal_overflow()
89 pe.config = 0; in test__bp_signal_overflow()
90 pe.bp_type = HW_BREAKPOINT_X; in test__bp_signal_overflow()
92 pe.bp_len = default_breakpoint_len(); in test__bp_signal_overflow()
94 pe.sample_period = THRESHOLD; in test__bp_signal_overflow()
95 pe.sample_type = PERF_SAMPLE_IP; in test__bp_signal_overflow()
96 pe.wakeup_events = 1; in test__bp_signal_overflow()
98 pe.disabled = 1; in test__bp_signal_overflow()
99 pe.exclude_kernel = 1; in test__bp_signal_overflow()
[all …]
A Dbp_signal.c105 struct perf_event_attr pe; in __event() local
109 pe.type = PERF_TYPE_BREAKPOINT; in __event()
112 pe.config = 0; in __event()
114 pe.bp_addr = (unsigned long) addr; in __event()
117 pe.sample_period = 1; in __event()
118 pe.sample_type = PERF_SAMPLE_IP; in __event()
119 pe.wakeup_events = 1; in __event()
121 pe.disabled = 1; in __event()
122 pe.exclude_kernel = 1; in __event()
123 pe.exclude_hv = 1; in __event()
[all …]
/linux/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);
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_pmu.c247 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_start()
256 pe->adev->df.funcs->pmc_start(pe->adev, hwc->config, in amdgpu_perf_start()
284 pe->adev->df.funcs->pmc_get_count(pe->adev, in amdgpu_perf_read()
314 pe->adev->df.funcs->pmc_stop(pe->adev, hwc->config, hwc->idx, in amdgpu_perf_stop()
360 target_cntr = pe->adev->df.funcs->pmc_start(pe->adev, in amdgpu_perf_add()
398 pe->adev->df.funcs->pmc_stop(pe->adev, hwc->config, hwc->idx, in amdgpu_perf_del()
582 if (pe->adev != adev) in amdgpu_pmu_fini()
584 list_del(&pe->entry); in amdgpu_pmu_fini()
588 kfree(pe->fmt_attr); in amdgpu_pmu_fini()
590 kfree(pe->evt_attr); in amdgpu_pmu_fini()
[all …]
/linux/tools/testing/selftests/user_events/
A Dperf_test.c134 struct perf_event_attr pe = {0}; in TEST_F() local
159 pe.type = PERF_TYPE_TRACEPOINT; in TEST_F()
160 pe.size = sizeof(pe); in TEST_F()
161 pe.config = id; in TEST_F()
163 pe.sample_period = 1; in TEST_F()
164 pe.wakeup_events = 1; in TEST_F()
221 pe.type = PERF_TYPE_TRACEPOINT; in TEST_F()
222 pe.size = sizeof(pe); in TEST_F()
223 pe.config = id; in TEST_F()
225 pe.sample_period = 1; in TEST_F()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
A Ddfs.c202 struct pulse_event *pe) in ath9k_postprocess_radar_event() argument
267 pe->rssi = rssi; in ath9k_postprocess_radar_event()
280 if (!pd->add_pulse(pd, pe, NULL)) in ath9k_dfs_process_radar_pulse()
295 struct pulse_event pe; in ath9k_dfs_process_phyerr() local
331 pe.freq = ah->curchan->channel; in ath9k_dfs_process_phyerr()
332 pe.ts = mactime; in ath9k_dfs_process_phyerr()
336 if (pe.width > MIN_CHIRP_PULSE_WIDTH && in ath9k_dfs_process_phyerr()
343 pe.chirp = false; in ath9k_dfs_process_phyerr()
349 ard.pulse_bw_info, pe.freq, pe.ts, pe.width, pe.rssi, in ath9k_dfs_process_phyerr()
350 pe.ts - sc->dfs_prev_pulse_ts); in ath9k_dfs_process_phyerr()
[all …]
/linux/drivers/tty/vt/
A Dselection.c240 int pe) in vc_do_selection() argument
248 new_sel_end = pe; in vc_do_selection()
262 for (new_sel_end = pe; ; pe += 2) { in vc_do_selection()
266 new_sel_end = pe; in vc_do_selection()
267 if (!((pe + 2) % vc->vc_size_row)) in vc_do_selection()
277 highlight_pointer(pe); in vc_do_selection()
290 for (pe = new_sel_end + 2; ; pe += 2) in vc_do_selection()
292 atedge(pe, vc->vc_size_row)) in vc_do_selection()
295 new_sel_end = pe; in vc_do_selection()
329 int ps, pe; in vc_selection() local
[all …]
/linux/drivers/misc/cxl/
A Dtrace.h77 __entry->pe = ctx->pe;
106 __entry->pe = ctx->pe;
146 __entry->pe = ctx->pe;
179 __entry->pe = ctx->pe;
213 __entry->pe = ctx->pe;
244 __entry->pe = ctx->pe;
271 __entry->pe = ctx->pe;
300 __entry->pe = ctx->pe;
332 __entry->pe = ctx->pe;
361 __entry->pe = ctx->pe;
[all …]
/linux/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()
622 return pseries_eeh_phb_reset(pe->phb, pe->addr, option); in pseries_eeh_reset()
645 BUID_HI(pe->phb->buid), BUID_LO(pe->phb->buid), in pseries_eeh_get_log()
[all …]
/linux/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()
126 io7->pe = pe; in alloc_io7()
140 else if (io7_head->pe > io7->pe) { /* insert at head */ in alloc_io7()
145 if (insp->pe == io7->pe) { in alloc_io7()
147 io7->pe); in alloc_io7()
152 insp->next->pe > io7->pe) { /* insert here */ in alloc_io7()
361 int pe; in marvel_io7_present() local
[all …]
/linux/drivers/md/
A Ddm-snap.c748 pe->snap = s; in alloc_pending_exception()
750 return pe; in alloc_pending_exception()
1673 *e = pe->e; in pending_complete()
1881 return pe; in __insert_pending_exception()
2033 if (!pe) { in snapshot_map()
2045 pe = __find_pending_exception(s, pe, chunk); in snapshot_map()
2046 if (!pe) { in snapshot_map()
2474 if (!pe) { in __origin_write()
2497 pe = __insert_pending_exception(snap, pe, chunk); in __origin_write()
2498 if (!pe) { in __origin_write()
[all …]

Completed in 79 milliseconds

123456789