• Home
  • Raw
  • Download

Lines Matching refs:domain

64 	__le32 domain;  member
69 __le32 domain; member
80 __le32 domain; member
85 __le32 domain; member
114 __le32 domain; member
210 u32 domain, struct perf_dom_info *dom_info) in scmi_perf_domain_attributes_get() argument
217 sizeof(domain), sizeof(*attr), &t); in scmi_perf_domain_attributes_get()
221 put_unaligned_le32(domain, t->tx.buf); in scmi_perf_domain_attributes_get()
260 scmi_perf_describe_levels_get(const struct scmi_protocol_handle *ph, u32 domain, in scmi_perf_describe_levels_get() argument
280 dom_info->domain = cpu_to_le32(domain); in scmi_perf_describe_levels_get()
357 u32 domain, u32 max_perf, u32 min_perf) in scmi_perf_mb_limits_set() argument
369 limits->domain = cpu_to_le32(domain); in scmi_perf_mb_limits_set()
380 u32 domain, u32 max_perf, u32 min_perf) in scmi_perf_limits_set() argument
383 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_limits_set()
392 return scmi_perf_mb_limits_set(ph, domain, max_perf, min_perf); in scmi_perf_limits_set()
396 u32 domain, u32 *max_perf, u32 *min_perf) in scmi_perf_mb_limits_get() argument
407 put_unaligned_le32(domain, t->tx.buf); in scmi_perf_mb_limits_get()
422 u32 domain, u32 *max_perf, u32 *min_perf) in scmi_perf_limits_get() argument
425 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_limits_get()
433 return scmi_perf_mb_limits_get(ph, domain, max_perf, min_perf); in scmi_perf_limits_get()
437 u32 domain, u32 level, bool poll) in scmi_perf_mb_level_set() argument
449 lvl->domain = cpu_to_le32(domain); in scmi_perf_mb_level_set()
459 u32 domain, u32 level, bool poll) in scmi_perf_level_set() argument
462 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_level_set()
470 return scmi_perf_mb_level_set(ph, domain, level, poll); in scmi_perf_level_set()
474 u32 domain, u32 *level, bool poll) in scmi_perf_mb_level_get() argument
485 put_unaligned_le32(domain, t->tx.buf); in scmi_perf_mb_level_get()
496 u32 domain, u32 *level, bool poll) in scmi_perf_level_get() argument
499 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_level_get()
506 return scmi_perf_mb_level_get(ph, domain, level, poll); in scmi_perf_level_get()
510 u32 domain, int message_id, in scmi_perf_level_limits_notify() argument
522 notify->domain = cpu_to_le32(domain); in scmi_perf_level_limits_notify()
541 scmi_perf_domain_desc_fc(const struct scmi_protocol_handle *ph, u32 domain, in scmi_perf_domain_desc_fc() argument
564 info->domain = cpu_to_le32(domain); in scmi_perf_domain_desc_fc()
609 u32 domain, struct scmi_fc_info **p_fc) in scmi_perf_domain_init_fc() argument
617 scmi_perf_domain_desc_fc(ph, domain, PERF_LEVEL_SET, in scmi_perf_domain_init_fc()
619 scmi_perf_domain_desc_fc(ph, domain, PERF_LEVEL_GET, in scmi_perf_domain_init_fc()
621 scmi_perf_domain_desc_fc(ph, domain, PERF_LIMITS_SET, in scmi_perf_domain_init_fc()
623 scmi_perf_domain_desc_fc(ph, domain, PERF_LIMITS_GET, in scmi_perf_domain_init_fc()
643 int idx, ret, domain; in scmi_dvfs_device_opps_add() local
649 domain = scmi_dev_domain_id(dev); in scmi_dvfs_device_opps_add()
650 if (domain < 0) in scmi_dvfs_device_opps_add()
651 return domain; in scmi_dvfs_device_opps_add()
653 dom = pi->dom_info + domain; in scmi_dvfs_device_opps_add()
678 int domain = scmi_dev_domain_id(dev); in scmi_dvfs_transition_latency_get() local
680 if (domain < 0) in scmi_dvfs_transition_latency_get()
681 return domain; in scmi_dvfs_transition_latency_get()
683 dom = pi->dom_info + domain; in scmi_dvfs_transition_latency_get()
688 static int scmi_dvfs_freq_set(const struct scmi_protocol_handle *ph, u32 domain, in scmi_dvfs_freq_set() argument
692 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_dvfs_freq_set()
694 return scmi_perf_level_set(ph, domain, freq / dom->mult_factor, poll); in scmi_dvfs_freq_set()
697 static int scmi_dvfs_freq_get(const struct scmi_protocol_handle *ph, u32 domain, in scmi_dvfs_freq_get() argument
703 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_dvfs_freq_get()
705 ret = scmi_perf_level_get(ph, domain, &level, poll); in scmi_dvfs_freq_get()
713 u32 domain, unsigned long *freq, in scmi_dvfs_est_power_get() argument
722 dom = pi->dom_info + domain; in scmi_dvfs_est_power_get()
876 int domain; in scmi_perf_protocol_init() local
896 for (domain = 0; domain < pinfo->num_domains; domain++) { in scmi_perf_protocol_init()
897 struct perf_dom_info *dom = pinfo->dom_info + domain; in scmi_perf_protocol_init()
899 scmi_perf_domain_attributes_get(ph, domain, dom); in scmi_perf_protocol_init()
900 scmi_perf_describe_levels_get(ph, domain, dom); in scmi_perf_protocol_init()
903 scmi_perf_domain_init_fc(ph, domain, &dom->fc_info); in scmi_perf_protocol_init()