Home
last modified time | relevance | path

Searched refs:max_events (Results 1 – 4 of 4) sorted by relevance

/drivers/perf/
Dthunderx2_pmu.c100 u32 max_events; member
597 if (event->attr.config >= tx2_pmu->max_events) in tx2_uncore_event_init()
838 tx2_pmu->max_events = L3_EVENT_MAX; in tx2_uncore_pmu_init_dev()
853 tx2_pmu->max_events = DMC_EVENT_MAX; in tx2_uncore_pmu_init_dev()
869 tx2_pmu->max_events = CCPI2_EVENT_MAX; in tx2_uncore_pmu_init_dev()
/drivers/scsi/ibmvscsi/
Dibmvscsi.c79 static int max_events = IBMVSCSI_MAX_REQUESTS_DEFAULT + 2; variable
2112 unsigned long desired_io = max_events * sizeof(union viosrp_iu); in ibmvscsi_get_desired_dma()
2261 rc = ibmvscsi_init_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2266 if (initialize_event_pool(&hostdata->pool, max_events, hostdata) != 0) { in ibmvscsi_probe()
2326 ibmvscsi_release_crq_queue(&hostdata->queue, hostdata, max_events); in ibmvscsi_probe()
2348 max_events); in ibmvscsi_remove()
2408 max_events = max_requests + 2; in ibmvscsi_module_init()
/drivers/media/cec/core/
Dcec-adap.c102 static const u16 max_events[CEC_NUM_EVENTS] = { in cec_queue_event_fh() local
129 if (fh->queued_events[ev_idx] < max_events[ev_idx]) { in cec_queue_event_fh()
/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c1280 u32 number_bytes, max_events, max; in _ctl_eventreport() local
1294 max_events = number_bytes/sizeof(struct MPT3_IOCTL_EVENTS); in _ctl_eventreport()
1295 max = min_t(u32, MPT3SAS_CTL_EVENT_LOG_SIZE, max_events); in _ctl_eventreport()