• Home
  • Raw
  • Download

Lines Matching full:domain

63 	__le32 domain;  member
68 __le32 domain; member
79 __le32 domain; member
84 __le32 domain; member
113 __le32 domain; member
208 scmi_perf_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_domain_attributes_get() argument
216 SCMI_PROTOCOL_PERF, sizeof(domain), 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_handle *handle, u32 domain, in scmi_perf_describe_levels_get() argument
280 dom_info->domain = cpu_to_le32(domain); in scmi_perf_describe_levels_get()
356 static int scmi_perf_mb_limits_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_limits_set() argument
369 limits->domain = cpu_to_le32(domain); in scmi_perf_mb_limits_set()
379 static int scmi_perf_limits_set(const struct scmi_handle *handle, u32 domain, 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(handle, domain, max_perf, min_perf); in scmi_perf_limits_set()
395 static int scmi_perf_mb_limits_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_limits_get() argument
407 put_unaligned_le32(domain, t->tx.buf); in scmi_perf_mb_limits_get()
421 static int scmi_perf_limits_get(const struct scmi_handle *handle, u32 domain, 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(handle, domain, max_perf, min_perf); in scmi_perf_limits_get()
436 static int scmi_perf_mb_level_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_level_set() argument
450 lvl->domain = cpu_to_le32(domain); in scmi_perf_mb_level_set()
459 static int scmi_perf_level_set(const struct scmi_handle *handle, u32 domain, in scmi_perf_level_set() argument
463 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_level_set()
471 return scmi_perf_mb_level_set(handle, domain, level, poll); in scmi_perf_level_set()
474 static int scmi_perf_mb_level_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_mb_level_get() argument
486 put_unaligned_le32(domain, t->tx.buf); in scmi_perf_mb_level_get()
496 static int scmi_perf_level_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_level_get() argument
500 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_level_get()
507 return scmi_perf_mb_level_get(handle, domain, level, poll); in scmi_perf_level_get()
511 u32 domain, int message_id, in scmi_perf_level_limits_notify() argument
524 notify->domain = cpu_to_le32(domain); in scmi_perf_level_limits_notify()
543 scmi_perf_domain_desc_fc(const struct scmi_handle *handle, u32 domain, in scmi_perf_domain_desc_fc() argument
567 info->domain = cpu_to_le32(domain); in scmi_perf_domain_desc_fc()
612 u32 domain, struct scmi_fc_info **p_fc) in scmi_perf_domain_init_fc() argument
620 scmi_perf_domain_desc_fc(handle, domain, PERF_LEVEL_SET, in scmi_perf_domain_init_fc()
622 scmi_perf_domain_desc_fc(handle, domain, PERF_LEVEL_GET, in scmi_perf_domain_init_fc()
624 scmi_perf_domain_desc_fc(handle, domain, PERF_LIMITS_SET, in scmi_perf_domain_init_fc()
626 scmi_perf_domain_desc_fc(handle, domain, PERF_LIMITS_GET, in scmi_perf_domain_init_fc()
646 int idx, ret, domain; in scmi_dvfs_device_opps_add() local
652 domain = scmi_dev_domain_id(dev); in scmi_dvfs_device_opps_add()
653 if (domain < 0) in scmi_dvfs_device_opps_add()
654 return domain; in scmi_dvfs_device_opps_add()
656 dom = pi->dom_info + domain; in scmi_dvfs_device_opps_add()
680 int domain = scmi_dev_domain_id(dev); in scmi_dvfs_transition_latency_get() local
682 if (domain < 0) in scmi_dvfs_transition_latency_get()
683 return domain; in scmi_dvfs_transition_latency_get()
685 dom = pi->dom_info + domain; in scmi_dvfs_transition_latency_get()
690 static int scmi_dvfs_freq_set(const struct scmi_handle *handle, u32 domain, in scmi_dvfs_freq_set() argument
694 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_dvfs_freq_set()
696 return scmi_perf_level_set(handle, domain, freq / dom->mult_factor, in scmi_dvfs_freq_set()
700 static int scmi_dvfs_freq_get(const struct scmi_handle *handle, u32 domain, in scmi_dvfs_freq_get() argument
706 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_dvfs_freq_get()
708 ret = scmi_perf_level_get(handle, domain, &level, poll); in scmi_dvfs_freq_get()
715 static int scmi_dvfs_est_power_get(const struct scmi_handle *handle, u32 domain, in scmi_dvfs_est_power_get() argument
724 dom = pi->dom_info + domain; in scmi_dvfs_est_power_get()
852 int domain; in scmi_perf_protocol_init() local
872 for (domain = 0; domain < pinfo->num_domains; domain++) { in scmi_perf_protocol_init()
873 struct perf_dom_info *dom = pinfo->dom_info + domain; in scmi_perf_protocol_init()
875 scmi_perf_domain_attributes_get(handle, domain, dom); in scmi_perf_protocol_init()
876 scmi_perf_describe_levels_get(handle, domain, dom); in scmi_perf_protocol_init()
879 scmi_perf_domain_init_fc(handle, domain, &dom->fc_info); in scmi_perf_protocol_init()