/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fweh.c | 197 if (fweh->event_map) { in brcmf_fweh_map_event_code() 198 for (i = 0; i < fweh->event_map->n_items; i++) { in brcmf_fweh_map_event_code() 199 if (fweh->event_map->items[i].code == code) { in brcmf_fweh_map_event_code() 200 *fw_code = fweh->event_map->items[i].fwevt_code; in brcmf_fweh_map_event_code() 216 if (fweh->event_map) { in brcmf_fweh_map_fwevt_code() 217 for (i = 0; i < fweh->event_map->n_items; i++) { in brcmf_fweh_map_fwevt_code() 218 if (fweh->event_map->items[i].fwevt_code == fw_code) { in brcmf_fweh_map_fwevt_code() 219 *code = fweh->event_map->items[i].code; in brcmf_fweh_map_fwevt_code()
|
D | fweh.h | 340 struct brcmf_fweh_event_map *event_map; member
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-ti-sci-inta.c | 71 DECLARE_BITMAP(event_map, MAX_EVENTS_PER_VINT); 334 free_bit = find_first_zero_bit(vint_desc->event_map, in ti_sci_inta_alloc_irq() 337 set_bit(free_bit, vint_desc->event_map); in ti_sci_inta_alloc_irq() 349 free_bit = find_first_zero_bit(vint_desc->event_map, in ti_sci_inta_alloc_irq() 351 set_bit(free_bit, vint_desc->event_map); in ti_sci_inta_alloc_irq() 356 clear_bit(free_bit, vint_desc->event_map); in ti_sci_inta_alloc_irq() 371 if (find_first_bit(vint_desc->event_map, MAX_EVENTS_PER_VINT) == MAX_EVENTS_PER_VINT) { in ti_sci_inta_free_parent_irq() 403 clear_bit(event_desc->vint_bit, vint_desc->event_map); in ti_sci_inta_free_irq()
|
D | irq-gic-v3-its.c | 165 struct event_lpi_map event_map; member 235 return d->hwirq - its_dev->event_map.lpi_base; in its_get_event_id() 243 return its->collections + its_dev->event_map.col_map[event]; in dev_event_to_col() 249 if (WARN_ON_ONCE(event >= its_dev->event_map.nr_lpis)) in dev_event_to_vlpi_map() 252 return &its_dev->event_map.vlpi_maps[event]; in dev_event_to_vlpi_map() 298 cpu = its_dev->event_map.col_map[its_get_event_id(d)]; in irq_to_cpuid_lock() 1688 prev_cpu = its_dev->event_map.col_map[id]; in its_set_affinity() 1703 its_dev->event_map.col_map[id] = cpu; in its_set_affinity() 1842 if (!its_dev->event_map.vm) { in its_vlpi_map() 1845 maps = kcalloc(its_dev->event_map.nr_lpis, sizeof(*maps), in its_vlpi_map() [all …]
|
/linux-6.12.1/drivers/pwm/ |
D | pwm-lpc18xx-sct.c | 102 unsigned long event_map; member 205 requested_events = bitmap_weight(&lpc18xx_pwm->event_map, in lpc18xx_pwm_config() 286 event = find_first_zero_bit(&lpc18xx_pwm->event_map, in lpc18xx_pwm_request() 295 set_bit(event, &lpc18xx_pwm->event_map); in lpc18xx_pwm_request() 306 clear_bit(lpc18xx_data->duty_event, &lpc18xx_pwm->event_map); in lpc18xx_pwm_free() 399 set_bit(LPC18XX_PWM_EVENT_PERIOD, &lpc18xx_pwm->event_map); in lpc18xx_pwm_probe()
|
/linux-6.12.1/drivers/mfd/ |
D | iqs62x.c | 463 u8 event_map[IQS62X_EVENT_SIZE]; in iqs62x_irq() local 471 ret = regmap_raw_read(iqs62x->regmap, IQS62X_SYS_FLAGS, event_map, in iqs62x_irq() 472 sizeof(event_map)); in iqs62x_irq() 479 for (i = 0; i < sizeof(event_map); i++) { in iqs62x_irq() 484 event_data.ui_data = get_unaligned_le16(&event_map[i]); in iqs62x_irq() 492 event_data.als_flags = event_map[i]; in iqs62x_irq() 496 event_data.ir_flags = event_map[i]; in iqs62x_irq() 500 event_data.interval = event_map[i]; in iqs62x_irq() 504 event_map[i] <<= iqs62x->dev_desc->hyst_shift; in iqs62x_irq() 520 if ((event_map[i] & event_desc.mask) == event_desc.val) in iqs62x_irq()
|
/linux-6.12.1/drivers/pci/controller/plda/ |
D | pcie-microchip-host.c | 174 struct event_map { struct 215 static struct event_map pcie_event_to_event[] = { 221 static struct event_map sec_error_to_event[] = { 228 static struct event_map ded_error_to_event[] = { 235 static struct event_map local_status_to_event[] = { 321 static inline u32 reg_to_event(u32 reg, struct event_map field) in reg_to_event()
|
/linux-6.12.1/arch/sh/include/asm/ |
D | perf_event.h | 17 int (*event_map)(int); member
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_tcpbpf.h | 7 __u32 event_map; member
|
/linux-6.12.1/drivers/perf/ |
D | arm_pmu.c | 153 armpmu_map_hw_event(const unsigned (*event_map)[PERF_COUNT_HW_MAX], u64 config) in armpmu_map_hw_event() 160 if (!event_map) in armpmu_map_hw_event() 163 mapping = (*event_map)[config]; in armpmu_map_hw_event() 175 const unsigned (*event_map)[PERF_COUNT_HW_MAX], in armpmu_map_event() 190 return armpmu_map_hw_event(event_map, config); in armpmu_map_event()
|
D | riscv_pmu_legacy.c | 118 pmu->event_map = pmu_legacy_event_map; in pmu_legacy_init()
|
D | riscv_pmu.c | 317 mapped_event = rvpmu->event_map(event, &event_config); in riscv_pmu_event_init()
|
/linux-6.12.1/include/linux/perf/ |
D | riscv_pmu.h | 65 int (*event_map)(struct perf_event *event, u64 *config); member
|
D | arm_pmu.h | 129 const unsigned (*event_map)[PERF_COUNT_HW_MAX],
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_tcpbpf_kern.c | 85 global.event_map |= (1 << op); in bpf_testcb()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tcpbpf_user.c | 23 ASSERT_EQ(expected_events, result->event_map, "event_map"); in verify_result()
|
/linux-6.12.1/arch/sh/kernel/cpu/sh4/ |
D | perf_event.c | 242 .event_map = sh7750_event_map,
|
/linux-6.12.1/arch/sh/kernel/cpu/sh4a/ |
D | perf_event.c | 276 .event_map = sh4a_event_map,
|
/linux-6.12.1/arch/x86/events/intel/ |
D | p6.c | 212 .event_map = p6_pmu_event_map,
|
D | knc.c | 301 .event_map = knc_pmu_event_map,
|
/linux-6.12.1/arch/sh/kernel/ |
D | perf_event.c | 146 config = sh_pmu->event_map(attr->config); in __hw_perf_event_init()
|
/linux-6.12.1/arch/x86/events/zhaoxin/ |
D | core.c | 470 .event_map = zhaoxin_pmu_event_map,
|
/linux-6.12.1/arch/x86/events/ |
D | core.c | 507 config = x86_pmu.event_map(attr->config); in x86_setup_perfctr() 1837 config = x86_pmu.event_map(pmu_attr->id); in events_sysfs_show() 1954 return pmu_attr->event_str || x86_pmu.event_map(idx) ? attr->mode : 0; in is_visible() 3067 return x86_pmu.event_map(array_index_nospec(hw_event, max)); in perf_get_hw_event_config()
|