Home
last modified time | relevance | path

Searched refs:num_events (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c602 static struct kfd_event_waiter *alloc_event_waiters(uint32_t num_events) in alloc_event_waiters() argument
607 event_waiters = kmalloc_array(num_events, in alloc_event_waiters()
611 for (i = 0; (event_waiters) && (i < num_events) ; i++) { in alloc_event_waiters()
640 static bool test_event_condition(bool all, uint32_t num_events, in test_event_condition() argument
646 for (i = 0; i < num_events; i++) { in test_event_condition()
655 return activated_count == num_events; in test_event_condition()
662 static bool copy_signaled_event_data(uint32_t num_events, in copy_signaled_event_data() argument
672 for (i = 0; i < num_events; i++) { in copy_signaled_event_data()
708 static void free_waiters(uint32_t num_events, struct kfd_event_waiter *waiters) in free_waiters() argument
712 for (i = 0; i < num_events; i++) in free_waiters()
[all …]
Dkfd_priv.h714 uint32_t num_events, void __user *data,
Dkfd_chardev.c840 err = kfd_wait_on_events(p, args->num_events, in kfd_ioctl_wait_events()
/drivers/dma/
Dimx-sdma.c370 int num_events; member
396 .num_events = 32,
417 .num_events = 48,
423 .num_events = 48,
441 .num_events = 48,
461 .num_events = 48,
480 .num_events = 48,
498 .num_events = 48,
1008 if (sdmac->event_id0 >= sdmac->sdma->drvdata->num_events) in sdma_config_channel()
1014 if (sdmac->event_id1 >= sdmac->sdma->drvdata->num_events) in sdma_config_channel()
[all …]
Dpl330.c285 unsigned int num_events:6; member
1607 if (pl330->pcfg.num_events < 32 in pl330_update()
1608 && val & ~((1 << pl330->pcfg.num_events) - 1)) { in pl330_update()
1616 for (ev = 0; ev < pl330->pcfg.num_events; ev++) { in pl330_update()
1677 for (ev = 0; ev < pl330->pcfg.num_events; ev++) in _alloc_event()
1730 if (ev >= 0 && ev < pl330->pcfg.num_events in _free_event()
1793 pl330->pcfg.num_events = val; in read_dmac_config()
1896 if (pl330->pcfg.num_events == 0) { in pl330_add()
1911 for (i = 0; i < pl330->pcfg.num_events; i++) in pl330_add()
2987 pcfg->num_peri, pcfg->num_events); in pl330_probe()
/drivers/devfreq/event/
Dexynos-ppmu.c34 unsigned int num_events; member
384 info->num_events = count; in of_get_devfreq_events()
478 size = sizeof(struct devfreq_event_dev *) * info->num_events; in exynos_ppmu_probe()
489 for (i = 0; i < info->num_events; i++) { in exynos_ppmu_probe()
/drivers/perf/
Darm_pmu.c510 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in armpmu_enable()
603 max_events = __oprofile_cpu_pmu->num_events; in perf_num_counters()
742 for (idx = 0; idx < armpmu->num_events; idx++) { in cpu_pm_pmu_setup()
786 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in cpu_pm_pmu_notify()
1074 pmu->name, pmu->num_events); in arm_pmu_device_probe()
/drivers/iio/accel/
Dmma9553.c190 int num_events; member
233 data->num_events = MMA9553_EVENTS_INFO_SIZE; in mma9553_init_events()
234 for (i = 0; i < data->num_events; i++) { in mma9553_init_events()
247 for (i = 0; i < data->num_events; i++) in mma9553_get_event()
262 for (i = 0; i < data->num_events; i++) in mma9553_is_any_event_enabled()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c418 u32 start_idx, u32 num_events, in iwl_print_cont_event_trace() argument
444 if (WARN_ON(num_events > capacity - start_idx)) in iwl_print_cont_event_trace()
445 num_events = capacity - start_idx; in iwl_print_cont_event_trace()
451 for (i = 0; i < num_events; i++) { in iwl_print_cont_event_trace()
1705 u32 num_events, u32 mode, in iwl_print_event_log() argument
1717 if (num_events == 0) in iwl_print_event_log()
1745 for (i = 0; i < num_events; i++) { in iwl_print_event_log()
/drivers/scsi/smartpqi/
Dsmartpqi_init.c2804 unsigned int num_events; in pqi_process_event_intr() local
2814 num_events = 0; in pqi_process_event_intr()
2823 num_events++; in pqi_process_event_intr()
2849 if (num_events) { in pqi_process_event_intr()
2857 return num_events; in pqi_process_event_intr()