/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-ti-sci-inta.c | 71 DECLARE_BITMAP(event_map, MAX_EVENTS_PER_VINT); 337 free_bit = find_first_zero_bit(vint_desc->event_map, in ti_sci_inta_alloc_irq() 340 set_bit(free_bit, vint_desc->event_map); in ti_sci_inta_alloc_irq() 352 free_bit = find_first_zero_bit(vint_desc->event_map, in ti_sci_inta_alloc_irq() 354 set_bit(free_bit, vint_desc->event_map); in ti_sci_inta_alloc_irq() 359 clear_bit(free_bit, vint_desc->event_map); in ti_sci_inta_alloc_irq() 374 if (find_first_bit(vint_desc->event_map, MAX_EVENTS_PER_VINT) == MAX_EVENTS_PER_VINT) { in ti_sci_inta_free_parent_irq() 406 clear_bit(event_desc->vint_bit, vint_desc->event_map); in ti_sci_inta_free_irq()
|
D | irq-gic-v3-its.c | 162 struct event_lpi_map event_map; member 227 return d->hwirq - its_dev->event_map.lpi_base; in its_get_event_id() 235 return its->collections + its_dev->event_map.col_map[event]; in dev_event_to_col() 241 if (WARN_ON_ONCE(event >= its_dev->event_map.nr_lpis)) in dev_event_to_vlpi_map() 244 return &its_dev->event_map.vlpi_maps[event]; in dev_event_to_vlpi_map() 280 cpu = its_dev->event_map.col_map[its_get_event_id(d)]; in irq_to_cpuid_lock() 1646 prev_cpu = its_dev->event_map.col_map[id]; in its_set_affinity() 1661 its_dev->event_map.col_map[id] = cpu; in its_set_affinity() 1809 raw_spin_lock(&its_dev->event_map.vlpi_lock); in its_vlpi_map() 1811 if (!its_dev->event_map.vm) { in its_vlpi_map() [all …]
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | iqs62x.c | 450 u8 event_map[IQS62X_EVENT_SIZE]; in iqs62x_irq() local 458 ret = regmap_raw_read(iqs62x->regmap, IQS62X_SYS_FLAGS, event_map, in iqs62x_irq() 459 sizeof(event_map)); in iqs62x_irq() 466 for (i = 0; i < sizeof(event_map); i++) { in iqs62x_irq() 471 event_data.ui_data = get_unaligned_le16(&event_map[i]); in iqs62x_irq() 480 event_data.als_flags = event_map[i]; in iqs62x_irq() 484 event_data.ir_flags = event_map[i]; in iqs62x_irq() 488 event_data.interval = event_map[i]; in iqs62x_irq() 492 event_map[i] <<= iqs62x->dev_desc->hyst_shift; in iqs62x_irq() 509 if ((event_map[i] & event_desc.mask) == event_desc.val) in iqs62x_irq()
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-lpc18xx-sct.c | 101 unsigned long event_map; member 195 requested_events = bitmap_weight(&lpc18xx_pwm->event_map, in lpc18xx_pwm_config() 285 event = find_first_zero_bit(&lpc18xx_pwm->event_map, in lpc18xx_pwm_request() 294 set_bit(event, &lpc18xx_pwm->event_map); in lpc18xx_pwm_request() 305 clear_bit(lpc18xx_data->duty_event, &lpc18xx_pwm->event_map); in lpc18xx_pwm_free() 386 set_bit(LPC18XX_PWM_EVENT_PERIOD, &lpc18xx_pwm->event_map); in lpc18xx_pwm_probe()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tcpbpf_kern.c | 40 g.event_map |= (1 << event); in update_event_map() 45 g.event_map |= (1 << event); in update_event_map()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tcpbpf.h | 7 __u32 event_map; member
|
D | test_tcpbpf_user.c | 47 EXPECT_EQ(expected_events, result->event_map, "#" PRIx32); in verify_result()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | perf_event.h | 17 int (*event_map)(int); member
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | arm_pmu.c | 149 armpmu_map_hw_event(const unsigned (*event_map)[PERF_COUNT_HW_MAX], u64 config) in armpmu_map_hw_event() 156 if (!event_map) in armpmu_map_hw_event() 159 mapping = (*event_map)[config]; in armpmu_map_hw_event() 171 const unsigned (*event_map)[PERF_COUNT_HW_MAX], in armpmu_map_event() 186 return armpmu_map_hw_event(event_map, config); in armpmu_map_event()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | perf_event.c | 63 const int *event_map; member 216 .event_map = ev67_perfmon_event_map, 618 ev = alpha_pmu->event_map[attr->config]; in __hw_perf_event_init()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | perf_event.c | 158 const struct perf_event_map *(*event_map)(int); member 322 .event_map = ultra3_event_map, 460 .event_map = niagara1_event_map, 595 .event_map = niagara2_event_map, 752 .event_map = niagara4_event_map, 782 .event_map = niagara4_event_map, 1436 pmap = sparc_pmu->event_map(attr->config); in sparc_pmu_event_init()
|
/kernel/linux/linux-5.10/include/linux/perf/ |
D | arm_pmu.h | 127 const unsigned (*event_map)[PERF_COUNT_HW_MAX],
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | p6.c | 212 .event_map = p6_pmu_event_map,
|
D | knc.c | 301 .event_map = knc_pmu_event_map,
|
D | p4.c | 1311 .event_map = p4_pmu_event_map,
|
D | core.c | 4271 .event_map = intel_pmu_event_map, 4322 .event_map = intel_pmu_event_map,
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4a/ |
D | perf_event.c | 276 .event_map = sh4a_event_map,
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
D | perf_event.c | 242 .event_map = sh7750_event_map,
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | perf_event_cpu.c | 69 nds32_pmu_map_hw_event(const unsigned int (*event_map)[PERF_COUNT_HW_MAX], in nds32_pmu_map_hw_event() 77 mapping = (*event_map)[config]; in nds32_pmu_map_hw_event() 111 const unsigned int (*event_map)[PERF_COUNT_HW_MAX], in nds32_pmu_map_event() 121 return nds32_pmu_map_hw_event(event_map, config); in nds32_pmu_map_event()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | perf_event.c | 164 config = sh_pmu->event_map(attr->config); in __hw_perf_event_init()
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | pmu.h | 381 const unsigned int (*event_map)[PERF_COUNT_HW_MAX],
|
/kernel/linux/linux-5.10/arch/x86/events/ |
D | perf_event.h | 653 u64 (*event_map)(int); member 1095 bts_event = x86_pmu.event_map(PERF_COUNT_HW_BRANCH_INSTRUCTIONS); in intel_pmu_has_bts_period()
|
D | core.c | 475 config = x86_pmu.event_map(attr->config); in x86_setup_perfctr() 1787 config = x86_pmu.event_map(pmu_attr->id); in events_sysfs_show() 1861 return pmu_attr->event_str || x86_pmu.event_map(idx) ? attr->mode : 0; in is_visible()
|
/kernel/linux/linux-5.10/arch/x86/events/zhaoxin/ |
D | core.c | 470 .event_map = zhaoxin_pmu_event_map,
|
/kernel/linux/linux-5.10/arch/x86/events/amd/ |
D | core.c | 920 .event_map = amd_pmu_event_map,
|