Home
last modified time | relevance | path

Searched refs:perf_ops (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pmdomain/arm/
H A Dscmi_perf_domain.c18 const struct scmi_perf_proto_ops *perf_ops; member
38 ret = pd->perf_ops->level_set(pd->ph, pd->domain_id, state, false); in scmi_pd_set_perf_state()
59 ret = pd->perf_ops->device_opps_add(pd->ph, dev, pd->domain_id); in scmi_pd_attach_dev()
81 const struct scmi_perf_proto_ops *perf_ops; in scmi_perf_domain_probe() local
95 perf_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_PERF, &ph); in scmi_perf_domain_probe()
96 if (IS_ERR(perf_ops)) in scmi_perf_domain_probe()
97 return PTR_ERR(perf_ops); in scmi_perf_domain_probe()
99 num_domains = perf_ops->num_domains_get(ph); in scmi_perf_domain_probe()
121 scmi_pd->info = perf_ops->info_get(ph, i); in scmi_perf_domain_probe()
124 scmi_pd->perf_ops = perf_ops; in scmi_perf_domain_probe()
/linux/drivers/ntb/test/
H A Dntb_perf.c526 static const struct ntb_ctx_ops perf_ops = { variable
704 ret = ntb_set_ctx(perf->ntb, perf, &perf_ops); in perf_enable_service()