/linux-6.1.9/drivers/firmware/arm_scmi/ |
D | base.c | 71 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get() 76 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get() 83 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get() 116 ret = ph->xops->xfer_get_init(ph, cmd, 0, size, &t); in scmi_base_vendor_id_get() 120 ret = ph->xops->do_xfer(ph, t); in scmi_base_vendor_id_get() 124 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get() 146 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_IMPLEMENT_VERSION, in scmi_base_implementation_version_get() 151 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_version_get() 157 ph->xops->xfer_put(ph, t); in scmi_base_implementation_version_get() 183 ret = ph->xops->xfer_get_init(ph, BASE_DISCOVER_LIST_PROTOCOLS, in scmi_base_implementation_list_get() [all …]
|
D | power.c | 81 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_power_attributes_get() 88 ret = ph->xops->do_xfer(ph, t); in scmi_power_attributes_get() 96 ph->xops->xfer_put(ph, t); in scmi_power_attributes_get() 110 ret = ph->xops->xfer_get_init(ph, POWER_DOMAIN_ATTRIBUTES, in scmi_power_domain_attributes_get() 118 ret = ph->xops->do_xfer(ph, t); in scmi_power_domain_attributes_get() 127 ph->xops->xfer_put(ph, t); in scmi_power_domain_attributes_get() 150 ret = ph->xops->xfer_get_init(ph, POWER_STATE_SET, sizeof(*st), 0, &t); in scmi_power_state_set() 159 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_set() 161 ph->xops->xfer_put(ph, t); in scmi_power_state_set() 171 ret = ph->xops->xfer_get_init(ph, POWER_STATE_GET, sizeof(u32), sizeof(u32), &t); in scmi_power_state_get() [all …]
|
D | voltage.c | 77 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_protocol_attributes_get() 82 ret = ph->xops->do_xfer(ph, t); in scmi_protocol_attributes_get() 87 ph->xops->xfer_put(ph, t); in scmi_protocol_attributes_get() 216 ret = ph->xops->xfer_get_init(ph, VOLTAGE_DOMAIN_ATTRIBUTES, in scmi_voltage_descriptors_get() 229 if (ph->xops->do_xfer(ph, td)) in scmi_voltage_descriptors_get() 255 ph->xops->xfer_put(ph, td); in scmi_voltage_descriptors_get() 270 ret = ph->xops->xfer_get_init(ph, cmd_id, sizeof(__le32), 0, &t); in __scmi_voltage_get_u32() 275 ret = ph->xops->do_xfer(ph, t); in __scmi_voltage_get_u32() 279 ph->xops->xfer_put(ph, t); in __scmi_voltage_get_u32() 294 ret = ph->xops->xfer_get_init(ph, VOLTAGE_CONFIG_SET, in scmi_voltage_config_set() [all …]
|
D | reset.c | 77 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_reset_attributes_get() 82 ret = ph->xops->do_xfer(ph, t); in scmi_reset_attributes_get() 88 ph->xops->xfer_put(ph, t); in scmi_reset_attributes_get() 102 ret = ph->xops->xfer_get_init(ph, RESET_DOMAIN_ATTRIBUTES, in scmi_reset_domain_attributes_get() 110 ret = ph->xops->do_xfer(ph, t); in scmi_reset_domain_attributes_get() 122 ph->xops->xfer_put(ph, t); in scmi_reset_domain_attributes_get() 178 ret = ph->xops->xfer_get_init(ph, RESET, sizeof(*dom), 0, &t); in scmi_domain_reset() 188 ret = ph->xops->do_xfer_with_response(ph, t); in scmi_domain_reset() 190 ret = ph->xops->do_xfer(ph, t); in scmi_domain_reset() 192 ph->xops->xfer_put(ph, t); in scmi_domain_reset() [all …]
|
D | powercap.c | 141 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_powercap_attributes_get() 146 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get() 154 ph->xops->xfer_put(ph, t); in scmi_powercap_attributes_get() 185 ret = ph->xops->xfer_get_init(ph, POWERCAP_DOMAIN_ATTRIBUTES, in scmi_powercap_domain_attributes_get() 193 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_domain_attributes_get() 263 ph->xops->xfer_put(ph, t); in scmi_powercap_domain_attributes_get() 301 ret = ph->xops->xfer_get_init(ph, POWERCAP_CAP_GET, sizeof(u32), in scmi_powercap_xfer_cap_get() 307 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_cap_get() 311 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_get() 344 ret = ph->xops->xfer_get_init(ph, POWERCAP_CAP_SET, in scmi_powercap_xfer_cap_set() [all …]
|
D | clock.c | 118 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_clock_protocol_attributes_get() 125 ret = ph->xops->do_xfer(ph, t); in scmi_clock_protocol_attributes_get() 131 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get() 144 ret = ph->xops->xfer_get_init(ph, CLOCK_ATTRIBUTES, in scmi_clock_attributes_get() 152 ret = ph->xops->do_xfer(ph, t); in scmi_clock_attributes_get() 163 ph->xops->xfer_put(ph, t); in scmi_clock_attributes_get() 334 ret = ph->xops->xfer_get_init(ph, CLOCK_RATE_GET, in scmi_clock_rate_get() 341 ret = ph->xops->do_xfer(ph, t); in scmi_clock_rate_get() 345 ph->xops->xfer_put(ph, t); in scmi_clock_rate_get() 358 ret = ph->xops->xfer_get_init(ph, CLOCK_RATE_SET, sizeof(*cfg), 0, &t); in scmi_clock_rate_set() [all …]
|
D | perf.c | 161 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get() 168 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get() 185 ph->xops->xfer_put(ph, t); in scmi_perf_attributes_get() 199 ret = ph->xops->xfer_get_init(ph, PERF_DOMAIN_ATTRIBUTES, in scmi_perf_domain_attributes_get() 207 ret = ph->xops->do_xfer(ph, t); in scmi_perf_domain_attributes_get() 231 ph->xops->xfer_put(ph, t); in scmi_perf_domain_attributes_get() 343 ret = ph->xops->xfer_get_init(ph, PERF_LIMITS_SET, in scmi_perf_mb_limits_set() 353 ret = ph->xops->do_xfer(ph, t); in scmi_perf_mb_limits_set() 355 ph->xops->xfer_put(ph, t); in scmi_perf_mb_limits_set() 389 ret = ph->xops->xfer_get_init(ph, PERF_LIMITS_GET, in scmi_perf_mb_limits_get() [all …]
|
D | sensors.c | 229 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, in scmi_sensor_attributes_get() 236 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_attributes_get() 245 ph->xops->xfer_put(ph, t); in scmi_sensor_attributes_get() 703 ret = ph->xops->xfer_get_init(ph, message_id, sizeof(*cfg), 0, &t); in scmi_sensor_request_notify() 711 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_request_notify() 713 ph->xops->xfer_put(ph, t); in scmi_sensor_request_notify() 743 ret = ph->xops->xfer_get_init(ph, SENSOR_TRIP_POINT_CONFIG, in scmi_sensor_trip_point_config() 754 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_trip_point_config() 756 ph->xops->xfer_put(ph, t); in scmi_sensor_trip_point_config() 770 ret = ph->xops->xfer_get_init(ph, SENSOR_CONFIG_GET, in scmi_sensor_config_get() [all …]
|
D | system.c | 45 ret = ph->xops->xfer_get_init(ph, SYSTEM_POWER_STATE_NOTIFY, in scmi_system_request_notify() 53 ret = ph->xops->do_xfer(ph, t); in scmi_system_request_notify() 55 ph->xops->xfer_put(ph, t); in scmi_system_request_notify() 132 ret = ph->xops->version_get(ph, &version); in scmi_system_protocol_init()
|
D | driver.c | 1157 ret = ph->xops->xfer_get_init(ph, cmd_id, sizeof(res_id), in scmi_common_extended_name_get() 1165 ret = ph->xops->do_xfer(ph, t); in scmi_common_extended_name_get() 1169 ph->xops->xfer_put(ph, t); in scmi_common_extended_name_get() 1219 ret = ph->xops->xfer_get_init(ph, msg_id, tx_size, 0, &i->t); in scmi_iterator_init() 1249 ret = ph->xops->do_xfer(ph, i->t); in scmi_iterator_run() 1274 ph->xops->reset_rx_to_maxsz(ph, i->t); in scmi_iterator_run() 1283 ph->xops->xfer_put(ph, i->t); in scmi_iterator_run() 1332 ret = ph->xops->xfer_get_init(ph, describe_id, in scmi_common_fastchannel_init() 1346 ret = ph->xops->do_xfer(ph, t); in scmi_common_fastchannel_init() 1394 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init() [all …]
|
D | protocols.h | 168 const struct scmi_xfer_ops *xops; member
|