| /linux/drivers/firmware/arm_scmi/ |
| A D | reset.c | 86 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 D | base.c | 78 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 D | voltage.c | 85 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 D | powercap.c | 153 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 D | power.c | 92 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 D | clock.c | 211 ph->xops->xfer_put(ph, t); in scmi_clock_protocol_attributes_get() 342 ph->xops->xfer_put(ph, t); in scmi_clock_get_permissions() 377 ph->xops->xfer_put(ph, t); in scmi_clock_attributes_get() 563 ph->xops->xfer_put(ph, t); in scmi_clock_rate_get() 618 ph->xops->xfer_put(ph, t); in scmi_clock_rate_set() 648 ph->xops->xfer_put(ph, t); in scmi_clock_config_set() 685 ph->xops->xfer_put(ph, t); in scmi_clock_set_parent() 708 ph->xops->xfer_put(ph, t); in scmi_clock_get_parent() 748 ph->xops->xfer_put(ph, t); in scmi_clock_config_set_v2() 824 ph->xops->xfer_put(ph, t); in scmi_clock_config_get_v2() [all …]
|
| A D | pinctrl.c | 142 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 D | perf.c | 210 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 D | sensors.c | 241 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 D | system.c | 45 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 D | protocols.h | 180 int (*set_priv)(const struct scmi_protocol_handle *ph, void *priv, 182 void *(*get_priv)(const struct scmi_protocol_handle *ph); 224 int (*process_response)(const struct scmi_protocol_handle *ph, 266 int (*extended_name_get)(const struct scmi_protocol_handle *ph, 269 void *(*iter_response_init)(const struct scmi_protocol_handle *ph, 274 int (*protocol_msg_check)(const struct scmi_protocol_handle *ph, 276 void (*fastchannel_init)(const struct scmi_protocol_handle *ph, 283 int (*get_max_msg_size)(const struct scmi_protocol_handle *ph); 305 void (*reset_rx_to_maxsz)(const struct scmi_protocol_handle *ph, 307 int (*do_xfer)(const struct scmi_protocol_handle *ph, [all …]
|
| A D | driver.c | 1681 ret = ph->xops->do_xfer(ph, t); in scmi_common_extended_name_get() 1685 ph->xops->xfer_put(ph, t); in scmi_common_extended_name_get() 1745 i->ph = ph; in scmi_iterator_init() 1774 ph = i->ph; in scmi_iterator_run() 1779 ret = ph->xops->do_xfer(ph, i->t); in scmi_iterator_run() 1804 ph->xops->reset_rx_to_maxsz(ph, i->t); in scmi_iterator_run() 1813 ph->xops->xfer_put(ph, i->t); in scmi_iterator_run() 1876 ret = ph->xops->do_xfer(ph, t); in scmi_common_fastchannel_init() 1927 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init() 1942 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init() [all …]
|
| /linux/drivers/firmware/arm_scmi/vendors/imx/ |
| A D | imx-sm-bbm.c | 105 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 D | imx-sm-misc.c | 82 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 …]
|
| /linux/include/linux/ |
| A D | scmi_protocol.h | 103 int (*count_get)(const struct scmi_protocol_handle *ph); 106 (const struct scmi_protocol_handle *ph, u32 clk_id); 162 (const struct scmi_protocol_handle *ph, u32 domain); 511 int (*count_get)(const struct scmi_protocol_handle *ph); 513 (const struct scmi_protocol_handle *ph, u32 sensor_id); 521 int (*config_get)(const struct scmi_protocol_handle *ph, 523 int (*config_set)(const struct scmi_protocol_handle *ph, 599 (const struct scmi_protocol_handle *ph, u32 domain_id); 717 (const struct scmi_protocol_handle *ph, u32 domain_id); 790 int (*count_get)(const struct scmi_protocol_handle *ph, [all …]
|
| A D | scmi_imx_protocol.h | 22 int (*rtc_time_set)(const struct scmi_protocol_handle *ph, u32 id, 24 int (*rtc_time_get)(const struct scmi_protocol_handle *ph, u32 id, 26 int (*rtc_alarm_set)(const struct scmi_protocol_handle *ph, u32 id, 28 int (*button_get)(const struct scmi_protocol_handle *ph, u32 *state); 52 int (*misc_ctrl_set)(const struct scmi_protocol_handle *ph, u32 id, 54 int (*misc_ctrl_get)(const struct scmi_protocol_handle *ph, u32 id, 56 int (*misc_ctrl_req_notify)(const struct scmi_protocol_handle *ph,
|
| /linux/drivers/reset/ |
| A D | reset-scmi.c | 23 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 …]
|
| /linux/drivers/rtc/ |
| A D | rtc-imx-sm-bbm.c | 16 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 …]
|
| /linux/drivers/ata/pata_parport/ |
| A D | epia.c | 129 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 D | epat.c | 93 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 …]
|
| /linux/arch/powerpc/boot/ |
| A D | addnote.c | 118 unsigned long ph, ps, np; in main() local 165 ph += ps; in main() 170 if (buf[ph + i] != 0) in main() 174 ns = ph + 2 * ps; in main() 175 PUT_32(ph + PH_TYPE, PT_NOTE); in main() 177 PUT_32(ph + PH_OFFSET, ns); in main() 179 PUT_64(ph + PH_OFFSET, ns); in main() 197 ph += ps; in main() 198 PUT_32(ph + PH_TYPE, PT_NOTE); in main() 200 PUT_32(ph + PH_OFFSET, ns); in main() [all …]
|
| /linux/include/linux/soc/ti/ |
| A D | knav_qmss.h | 72 void knav_pool_destroy(void *ph); 73 int knav_pool_count(void *ph); 74 void *knav_pool_desc_get(void *ph); 75 void knav_pool_desc_put(void *ph, void *desc); 76 int knav_pool_desc_map(void *ph, void *desc, unsigned size, 78 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz); 79 dma_addr_t knav_pool_desc_virt_to_dma(void *ph, void *virt); 80 void *knav_pool_desc_dma_to_virt(void *ph, dma_addr_t dma);
|
| /linux/block/partitions/ |
| A D | ldm.c | 84 if (ph->ver_major == 2 && ph->ver_minor == 12) in ldm_parse_privhead() 88 " Aborting.", ph->ver_major, ph->ver_minor); in ldm_parse_privhead() 99 if ((ph->logical_disk_size == 0) || (ph->logical_disk_start + in ldm_parse_privhead() 100 ph->logical_disk_size > ph->config_start)) { in ldm_parse_privhead() 276 ph[1] = kmalloc (sizeof (*ph[1]), GFP_KERNEL); in ldm_validate_privheads() 277 ph[2] = kmalloc (sizeof (*ph[2]), GFP_KERNEL); in ldm_validate_privheads() 278 if (!ph[1] || !ph[2]) { in ldm_validate_privheads() 313 if ((ph[0]->logical_disk_start > ph[0]->config_start) || in ldm_validate_privheads() 314 ((ph[0]->logical_disk_start + ph[0]->logical_disk_size) in ldm_validate_privheads() 320 if (!ldm_compare_privheads (ph[0], ph[1])) { in ldm_validate_privheads() [all …]
|
| /linux/tools/perf/util/ |
| A D | header.c | 1707 struct perf_header *ph = ff->ph; in print_cpu_topology() local 2113 ff->ph->env.comp_level, ff->ph->env.comp_ratio); in print_compressed() 2590 struct perf_header *ph = ff->ph; in process_cpu_topology() local 2593 ph->env.cpu = calloc(cpu_nr, sizeof(*ph->env.cpu)); in process_cpu_topology() 2594 if (!ph->env.cpu) in process_cpu_topology() 2651 if (ph->env.arch && (!strncmp(ph->env.arch, "s390", 4) in process_cpu_topology() 3496 .ph = ph, in perf_file_section__fprintf_info() 3615 .ph = header, in perf_header__adds_write() 3911 ph->needs_swap); in try_all_file_abis() 4092 .ph = ph, in perf_file_section__process() [all …]
|
| /linux/drivers/hwmon/ |
| A D | scmi-hwmon.c | 19 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 …]
|