Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 25 of 64) sorted by relevance

123

/drivers/firmware/arm_scmi/
A Dbase.c78 ret = ph->xops->do_xfer(ph, t); in scmi_base_attributes_get()
85 ph->xops->xfer_put(ph, t); in scmi_base_attributes_get()
121 ret = ph->xops->do_xfer(ph, t); in scmi_base_vendor_id_get()
125 ph->xops->xfer_put(ph, t); in scmi_base_vendor_id_get()
152 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_version_get()
158 ph->xops->xfer_put(ph, t); in scmi_base_implementation_version_get()
200 ret = ph->xops->do_xfer(ph, t); in scmi_base_implementation_list_get()
246 ph->xops->xfer_put(ph, t); in scmi_base_implementation_list_get()
277 ret = ph->xops->do_xfer(ph, t); in scmi_base_discover_agent_get()
283 ph->xops->xfer_put(ph, t); in scmi_base_discover_agent_get()
[all …]
A Dreset.c86 ret = ph->xops->do_xfer(ph, t); in scmi_reset_attributes_get()
92 ph->xops->xfer_put(ph, t); in scmi_reset_attributes_get()
120 ret = ph->xops->do_xfer(ph, t); in scmi_reset_domain_attributes_get()
134 ph->xops->xfer_put(ph, t); in scmi_reset_domain_attributes_get()
151 struct scmi_reset_info *pi = ph->get_priv(ph); in scmi_reset_num_domains_get()
203 ret = ph->xops->do_xfer(ph, t); in scmi_domain_reset()
205 ph->xops->xfer_put(ph, t); in scmi_domain_reset()
268 ret = ph->xops->do_xfer(ph, t); in scmi_reset_notify()
270 ph->xops->xfer_put(ph, t); in scmi_reset_notify()
346 ret = ph->xops->version_get(ph, &version); in scmi_reset_protocol_init()
[all …]
A Dpowercap.c153 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get()
161 ph->xops->xfer_put(ph, t); in scmi_powercap_attributes_get()
212 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_domain_attributes_get()
284 ph->xops->xfer_put(ph, t); in scmi_powercap_domain_attributes_get()
328 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_cap_get()
332 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_get()
404 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_set()
483 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_pai_get()
527 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_pai_set()
580 ph->xops->xfer_put(ph, t); in scmi_powercap_measurements_get()
[all …]
A Dvoltage.c85 ret = ph->xops->do_xfer(ph, t); in scmi_protocol_attributes_get()
90 ph->xops->xfer_put(ph, t); in scmi_protocol_attributes_get()
232 if (ph->xops->do_xfer(ph, td)) { in scmi_voltage_descriptors_get()
248 ph->hops->extended_name_get(ph, in scmi_voltage_descriptors_get()
260 ph->xops->xfer_put(ph, td); in scmi_voltage_descriptors_get()
280 ret = ph->xops->do_xfer(ph, t); in __scmi_voltage_get_u32()
284 ph->xops->xfer_put(ph, t); in __scmi_voltage_get_u32()
308 ret = ph->xops->do_xfer(ph, t); in scmi_voltage_config_set()
310 ph->xops->xfer_put(ph, t); in scmi_voltage_config_set()
348 ret = ph->xops->do_xfer(ph, t); in scmi_voltage_level_set()
[all …]
A Dclock.c212 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get()
343 ph->xops->xfer_put(ph, t); in scmi_clock_get_permissions()
378 ph->xops->xfer_put(ph, t); in scmi_clock_attributes_get()
570 ph->xops->xfer_put(ph, t); in scmi_clock_rate_get()
625 ph->xops->xfer_put(ph, t); in scmi_clock_rate_set()
655 ph->xops->xfer_put(ph, t); in scmi_clock_config_set()
692 ph->xops->xfer_put(ph, t); in scmi_clock_set_parent()
715 ph->xops->xfer_put(ph, t); in scmi_clock_get_parent()
755 ph->xops->xfer_put(ph, t); in scmi_clock_config_set_v2()
831 ph->xops->xfer_put(ph, t); in scmi_clock_config_get_v2()
[all …]
A Dpower.c92 ret = ph->xops->do_xfer(ph, t); in scmi_power_attributes_get()
100 ph->xops->xfer_put(ph, t); in scmi_power_attributes_get()
127 ret = ph->xops->do_xfer(ph, t); in scmi_power_domain_attributes_get()
138 ph->xops->xfer_put(ph, t); in scmi_power_domain_attributes_get()
170 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_set()
172 ph->xops->xfer_put(ph, t); in scmi_power_state_set()
188 ret = ph->xops->do_xfer(ph, t); in scmi_power_state_get()
192 ph->xops->xfer_put(ph, t); in scmi_power_state_get()
236 ret = ph->xops->do_xfer(ph, t); in scmi_power_request_notify()
238 ph->xops->xfer_put(ph, t); in scmi_power_request_notify()
[all …]
A Dpinctrl.c142 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_attributes_get()
153 ph->xops->xfer_put(ph, t); in scmi_pinctrl_attributes_get()
218 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_attributes()
228 ph->xops->xfer_put(ph, t); in scmi_pinctrl_attributes()
510 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_settings_conf()
512 ph->xops->xfer_put(ph, t); in scmi_pinctrl_settings_conf()
548 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_function_select()
549 ph->xops->xfer_put(ph, t); in scmi_pinctrl_function_select()
581 ret = ph->xops->do_xfer(ph, t); in scmi_pinctrl_request_free()
582 ph->xops->xfer_put(ph, t); in scmi_pinctrl_request_free()
[all …]
A Dperf.c210 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get()
227 ph->xops->xfer_put(ph, t); in scmi_perf_attributes_get()
270 ret = ph->xops->do_xfer(ph, t); in scmi_perf_domain_attributes_get()
320 ph->xops->xfer_put(ph, t); in scmi_perf_domain_attributes_get()
552 ret = ph->xops->do_xfer(ph, t); in scmi_perf_msg_limits_set()
554 ph->xops->xfer_put(ph, t); in scmi_perf_msg_limits_set()
629 ret = ph->xops->do_xfer(ph, t); in scmi_perf_msg_limits_get()
637 ph->xops->xfer_put(ph, t); in scmi_perf_msg_limits_get()
709 ph->xops->xfer_put(ph, t); in scmi_perf_msg_level_set()
773 ph->xops->xfer_put(ph, t); in scmi_perf_msg_level_get()
[all …]
A Dsensors.c241 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_attributes_get()
250 ph->xops->xfer_put(ph, t); in scmi_sensor_attributes_get()
729 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_request_notify()
731 ph->xops->xfer_put(ph, t); in scmi_sensor_request_notify()
772 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_trip_point_config()
774 ph->xops->xfer_put(ph, t); in scmi_sensor_trip_point_config()
794 ret = ph->xops->do_xfer(ph, t); in scmi_sensor_config_get()
802 ph->xops->xfer_put(ph, t); in scmi_sensor_config_get()
833 ph->xops->xfer_put(ph, t); in scmi_sensor_config_set()
892 ph->xops->xfer_put(ph, t); in scmi_sensor_reading_get()
[all …]
A Dsystem.c45 struct scmi_system_info *pinfo = ph->get_priv(ph); in scmi_system_notify_supported()
60 ret = ph->xops->xfer_get_init(ph, SYSTEM_POWER_STATE_NOTIFY, in scmi_system_request_notify()
68 ret = ph->xops->do_xfer(ph, t); in scmi_system_request_notify()
70 ph->xops->xfer_put(ph, t); in scmi_system_request_notify()
79 ret = scmi_system_request_notify(ph, enable); in scmi_system_set_notify_enabled()
95 struct scmi_system_info *pinfo = ph->get_priv(ph); in scmi_system_fill_custom_report()
148 ret = ph->xops->version_get(ph, &version); in scmi_system_protocol_init()
152 dev_dbg(ph->dev, "System Power Version %d.%d\n", in scmi_system_protocol_init()
155 pinfo = devm_kzalloc(ph->dev, sizeof(*pinfo), GFP_KERNEL); in scmi_system_protocol_init()
163 if (!ph->hops->protocol_msg_check(ph, SYSTEM_POWER_STATE_NOTIFY, NULL)) in scmi_system_protocol_init()
[all …]
A Dprotocols.h182 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv,
184 void *(*get_priv)(const struct scmi_protocol_handle *ph);
226 int (*process_response)(const struct scmi_protocol_handle *ph,
268 int (*extended_name_get)(const struct scmi_protocol_handle *ph,
271 void *(*iter_response_init)(const struct scmi_protocol_handle *ph,
276 int (*protocol_msg_check)(const struct scmi_protocol_handle *ph,
278 void (*fastchannel_init)(const struct scmi_protocol_handle *ph,
285 int (*get_max_msg_size)(const struct scmi_protocol_handle *ph);
307 void (*reset_rx_to_maxsz)(const struct scmi_protocol_handle *ph,
309 int (*do_xfer)(const struct scmi_protocol_handle *ph,
[all …]
A Ddriver.c1721 ret = ph->xops->do_xfer(ph, t); in scmi_common_extended_name_get()
1725 ph->xops->xfer_put(ph, t); in scmi_common_extended_name_get()
1818 i->ph = ph; in scmi_iterator_init()
1847 ph = i->ph; in scmi_iterator_run()
1852 ret = ph->xops->do_xfer(ph, i->t); in scmi_iterator_run()
1877 ph->xops->reset_rx_to_maxsz(ph, i->t); in scmi_iterator_run()
1886 ph->xops->xfer_put(ph, i->t); in scmi_iterator_run()
1967 ret = ph->xops->do_xfer(ph, t); in scmi_common_fastchannel_init()
2018 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init()
2033 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init()
[all …]
/drivers/firmware/arm_scmi/vendors/imx/
A Dimx-sm-cpu.c97 ret = ph->xops->do_xfer(ph, t); in scmi_imx_cpu_start()
99 ph->xops->xfer_put(ph, t); in scmi_imx_cpu_start()
132 ret = ph->xops->do_xfer(ph, t); in scmi_imx_cpu_reset_vector_set()
134 ph->xops->xfer_put(ph, t); in scmi_imx_cpu_reset_vector_set()
161 ret = ph->xops->do_xfer(ph, t); in scmi_imx_cpu_started()
169 ph->xops->xfer_put(ph, t); in scmi_imx_cpu_started()
194 ret = ph->xops->do_xfer(ph, t); in scmi_imx_cpu_protocol_attributes_get()
201 ph->xops->xfer_put(ph, t); in scmi_imx_cpu_protocol_attributes_get()
219 ret = ph->xops->do_xfer(ph, t); in scmi_imx_cpu_attributes_get()
228 ph->xops->xfer_put(ph, t); in scmi_imx_cpu_attributes_get()
[all …]
A Dimx-sm-lmm.c88 ret = ph->xops->do_xfer(ph, t); in scmi_imx_lmm_attributes()
101 ph->xops->xfer_put(ph, t); in scmi_imx_lmm_attributes()
127 ret = ph->xops->do_xfer(ph, t); in scmi_imx_lmm_power_boot()
129 ph->xops->xfer_put(ph, t); in scmi_imx_lmm_power_boot()
152 ret = ph->xops->do_xfer(ph, t); in scmi_imx_lmm_reset_vector_set()
154 ph->xops->xfer_put(ph, t); in scmi_imx_lmm_reset_vector_set()
181 ret = ph->xops->do_xfer(ph, t); in scmi_imx_lmm_shutdown()
183 ph->xops->xfer_put(ph, t); in scmi_imx_lmm_shutdown()
209 ret = ph->xops->do_xfer(ph, t); in scmi_imx_lmm_protocol_attributes_get()
221 ph->xops->xfer_put(ph, t); in scmi_imx_lmm_protocol_attributes_get()
[all …]
A Dimx-sm-bbm.c105 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_attributes_get()
111 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_attributes_get()
148 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_notify()
150 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_notify()
256 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_rtc_time_set()
258 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_rtc_time_set()
283 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_rtc_time_get()
287 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_rtc_time_get()
314 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_rtc_alarm_set()
316 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_rtc_alarm_set()
[all …]
A Dimx-sm-misc.c82 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_attributes_get()
91 ph->xops->xfer_put(ph, t); in scmi_imx_misc_attributes_get()
133 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_ctrl_notify()
135 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_notify()
221 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_ctrl_get()
228 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_get()
236 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_get()
268 ret = ph->xops->do_xfer(ph, t); in scmi_imx_misc_ctrl_set()
270 ph->xops->xfer_put(ph, t); in scmi_imx_misc_ctrl_set()
287 ret = ph->xops->version_get(ph, &version); in scmi_imx_misc_protocol_init()
[all …]
/drivers/rtc/
A Drtc-imx-sm-bbm.c16 struct scmi_protocol_handle *ph; member
23 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_read_time() local
27 ret = bbnsm->ops->rtc_time_get(ph, 0, &val); in scmi_imx_bbm_read_time()
39 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_time() local
44 return bbnsm->ops->rtc_time_set(ph, 0, val); in scmi_imx_bbm_set_time()
50 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_alarm_irq_enable() local
54 return bbnsm->ops->rtc_alarm_set(ph, 0, false, 0); in scmi_imx_bbm_alarm_irq_enable()
62 struct scmi_protocol_handle *ph = bbnsm->ph; in scmi_imx_bbm_set_alarm() local
68 return bbnsm->ops->rtc_alarm_set(ph, 0, true, val); in scmi_imx_bbm_set_alarm()
119 struct scmi_protocol_handle *ph; in scmi_imx_bbm_rtc_probe() local
[all …]
/drivers/reset/
A Dreset-scmi.c23 const struct scmi_protocol_handle *ph; member
27 #define to_scmi_handle(p) (to_scmi_reset_data(p)->ph)
42 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_assert() local
44 return reset_ops->assert(ph, id); in scmi_reset_assert()
60 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_deassert() local
62 return reset_ops->deassert(ph, id); in scmi_reset_deassert()
78 const struct scmi_protocol_handle *ph = to_scmi_handle(rcdev); in scmi_reset_reset() local
80 return reset_ops->reset(ph, id); in scmi_reset_reset()
95 struct scmi_protocol_handle *ph; in scmi_reset_probe() local
111 data->rcdev.nr_resets = reset_ops->num_domains_get(ph); in scmi_reset_probe()
[all …]
/drivers/ata/pata_parport/
A Depia.c129 int k, ph, a, b; in epia_read_block() local
134 ph = 1; in epia_read_block()
139 ph = 1 - ph; in epia_read_block()
146 ph = 1; in epia_read_block()
148 w2(4 + ph); in epia_read_block()
151 ph = 1 - ph; in epia_read_block()
157 ph = 1; in epia_read_block()
159 w2(0x24 + ph); in epia_read_block()
161 ph = 1 - ph; in epia_read_block()
208 w2(4 + ph); in epia_write_block()
[all …]
A Depat.c93 ph = 0; in epat_read_block()
104 ph = 1 - ph; in epat_read_block()
111 ph = 0; in epat_read_block()
115 w2(4 + ph); in epat_read_block()
118 ph = 1 - ph; in epat_read_block()
125 ph = 0; in epat_read_block()
129 ph = 1 - ph; in epat_read_block()
170 int ph, k; in epat_write_block() local
177 ph = 0; in epat_write_block()
180 w2(4 + ph); in epat_write_block()
[all …]
/drivers/firmware/imx/
A Dsm-lmm.c14 static struct scmi_protocol_handle *ph; variable
18 if (!ph) in scmi_imx_lmm_info()
24 return imx_lmm_ops->lmm_info(ph, lmid, info); in scmi_imx_lmm_info()
30 if (!ph) in scmi_imx_lmm_reset_vector_set()
33 return imx_lmm_ops->lmm_reset_vector_set(ph, lmid, cpuid, flags, vector); in scmi_imx_lmm_reset_vector_set()
39 if (!ph) in scmi_imx_lmm_operation()
44 return imx_lmm_ops->lmm_power_boot(ph, lmid, true); in scmi_imx_lmm_operation()
46 return imx_lmm_ops->lmm_power_boot(ph, lmid, false); in scmi_imx_lmm_operation()
48 return imx_lmm_ops->lmm_shutdown(ph, lmid, flags); in scmi_imx_lmm_operation()
69 imx_lmm_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_LMM, &ph); in scmi_imx_lmm_probe()
A Dsm-cpu.c14 static struct scmi_protocol_handle *ph; variable
19 if (!ph) in scmi_imx_cpu_reset_vector_set()
22 return imx_cpu_ops->cpu_reset_vector_set(ph, cpuid, vector, start, in scmi_imx_cpu_reset_vector_set()
29 if (!ph) in scmi_imx_cpu_start()
33 return imx_cpu_ops->cpu_start(ph, cpuid, true); in scmi_imx_cpu_start()
35 return imx_cpu_ops->cpu_start(ph, cpuid, false); in scmi_imx_cpu_start()
41 if (!ph) in scmi_imx_cpu_started()
47 return imx_cpu_ops->cpu_started(ph, cpuid, started); in scmi_imx_cpu_started()
63 imx_cpu_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_CPU, &ph); in scmi_imx_cpu_probe()
/drivers/hwmon/
A Dscmi-hwmon.c19 const struct scmi_protocol_handle *ph; member
24 const struct scmi_protocol_handle *ph; member
79 ret = sensor_ops->reading_get(ph, sensor->id, &value); in scmi_hwmon_read_scaled_value()
193 const struct scmi_protocol_handle *ph, in scmi_thermal_sensor_register() argument
203 th_sensor->ph = ph; in scmi_thermal_sensor_register()
242 struct scmi_protocol_handle *ph; in scmi_hwmon_probe() local
251 nr_sensors = sensor_ops->count_get(ph); in scmi_hwmon_probe()
259 scmi_sensors->ph = ph; in scmi_hwmon_probe()
262 sensor = sensor_ops->info_get(ph, i); in scmi_hwmon_probe()
312 sensor = sensor_ops->info_get(ph, i); in scmi_hwmon_probe()
[all …]
/drivers/pmdomain/arm/
A Dscmi_pm_domain.c18 const struct scmi_protocol_handle *ph; member
29 return power_ops->state_set(pd->ph, pd->domain, state); in scmi_pd_power()
51 struct scmi_protocol_handle *ph; in scmi_pm_domain_probe() local
56 power_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_POWER, &ph); in scmi_pm_domain_probe()
60 num_domains = power_ops->num_domains_get(ph); in scmi_pm_domain_probe()
81 if (power_ops->state_get(ph, i, &state)) { in scmi_pm_domain_probe()
92 power_ops->state_set(ph, i, state); in scmi_pm_domain_probe()
95 scmi_pd->ph = ph; in scmi_pm_domain_probe()
96 scmi_pd->name = power_ops->name_get(ph, i); in scmi_pm_domain_probe()
/drivers/pinctrl/
A Dpinctrl-scmi.c38 struct scmi_protocol_handle *ph; member
51 return pinctrl_ops->count_get(pmx->ph, GROUP_TYPE); in pinctrl_scmi_get_groups_count()
61 ret = pinctrl_ops->name_get(pmx->ph, selector, GROUP_TYPE, &name); in pinctrl_scmi_get_group_name()
94 return pinctrl_ops->count_get(pmx->ph, FUNCTION_TYPE); in pinctrl_scmi_get_functions_count()
175 return pinctrl_ops->mux_set(pmx->ph, selector, group); in pinctrl_scmi_func_set_mux()
183 return pinctrl_ops->pin_request(pmx->ph, offset); in pinctrl_scmi_request()
190 return pinctrl_ops->pin_free(pmx->ph, offset); in pinctrl_scmi_free()
419 ret = pinctrl_ops->settings_conf(pmx->ph, group, GROUP_TYPE, in pinctrl_scmi_pinconf_group_set()
480 npins = pinctrl_ops->count_get(pmx->ph, PIN_TYPE); in pinctrl_scmi_get_pins()
520 struct scmi_protocol_handle *ph; in scmi_pinctrl_probe() local
[all …]

Completed in 58 milliseconds

123