Home
last modified time | relevance | path

Searched refs:xops (Results 1 – 14 of 14) sorted by relevance

/openbmc/qemu/hw/9pfs/
H A D9p-xattr.c30 XattrOperations *xops; in get_xattr_operations() local
31 for (xops = *(h)++; xops != NULL; xops = *(h)++) { in get_xattr_operations()
32 if (!strncmp(name, xops->name, strlen(xops->name))) { in get_xattr_operations()
33 return xops; in get_xattr_operations()
42 XattrOperations *xops = get_xattr_operations(ctx->xops, name); in v9fs_get_xattr() local
43 if (xops) { in v9fs_get_xattr()
44 return xops->getxattr(ctx, path, name, value, size); in v9fs_get_xattr()
77 XattrOperations *xops; in v9fs_list_xattr() local
112 xops = get_xattr_operations(ctx->xops, orig_value); in v9fs_list_xattr()
113 if (!xops) { in v9fs_list_xattr()
[all …]
H A D9p-local.c1456 ctx->xops = passthrough_xattr_ops; in local_init()
1458 ctx->xops = mapped_xattr_ops; in local_init()
1460 ctx->xops = none_xattr_ops; in local_init()
1466 ctx->xops = passthrough_xattr_ops; in local_init()
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dbase.c71 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 …]
H A Dpower.c81 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 …]
H A Dvoltage.c77 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 …]
H A Dreset.c77 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 …]
H A Dclock.c118 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 …]
H A Dpowercap.c143 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_powercap_attributes_get()
148 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_attributes_get()
156 ph->xops->xfer_put(ph, t); in scmi_powercap_attributes_get()
187 ret = ph->xops->xfer_get_init(ph, POWERCAP_DOMAIN_ATTRIBUTES, in scmi_powercap_domain_attributes_get()
195 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_domain_attributes_get()
265 ph->xops->xfer_put(ph, t); in scmi_powercap_domain_attributes_get()
303 ret = ph->xops->xfer_get_init(ph, POWERCAP_CAP_GET, sizeof(u32), in scmi_powercap_xfer_cap_get()
309 ret = ph->xops->do_xfer(ph, t); in scmi_powercap_xfer_cap_get()
313 ph->xops->xfer_put(ph, t); in scmi_powercap_xfer_cap_get()
355 ret = ph->xops->xfer_get_init(ph, POWERCAP_CAP_SET, in scmi_powercap_xfer_cap_set()
[all …]
H A Dsensors.c229 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 …]
H A Dperf.c197 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get()
204 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get()
221 ph->xops->xfer_put(ph, t); in scmi_perf_attributes_get()
246 ret = ph->xops->xfer_get_init(ph, PERF_DOMAIN_ATTRIBUTES, in scmi_perf_domain_attributes_get()
254 ret = ph->xops->do_xfer(ph, t); in scmi_perf_domain_attributes_get()
283 ph->xops->xfer_put(ph, t); in scmi_perf_domain_attributes_get()
477 ret = ph->xops->xfer_get_init(ph, PERF_LIMITS_SET, in scmi_perf_msg_limits_set()
487 ret = ph->xops->do_xfer(ph, t); in scmi_perf_msg_limits_set()
489 ph->xops->xfer_put(ph, t); in scmi_perf_msg_limits_set()
554 ret = ph->xops->xfer_get_init(ph, PERF_LIMITS_GET, in scmi_perf_msg_limits_get()
[all …]
H A Dsystem.c45 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()
H A Ddriver.c1460 ret = ph->xops->xfer_get_init(ph, cmd_id, sizeof(res_id), in scmi_common_extended_name_get()
1468 ret = ph->xops->do_xfer(ph, t); in scmi_common_extended_name_get()
1472 ph->xops->xfer_put(ph, t); in scmi_common_extended_name_get()
1522 ret = ph->xops->xfer_get_init(ph, msg_id, tx_size, 0, &i->t); in scmi_iterator_init()
1552 ret = ph->xops->do_xfer(ph, i->t); in scmi_iterator_run()
1577 ph->xops->reset_rx_to_maxsz(ph, i->t); in scmi_iterator_run()
1586 ph->xops->xfer_put(ph, i->t); in scmi_iterator_run()
1635 ret = ph->xops->xfer_get_init(ph, describe_id, in scmi_common_fastchannel_init()
1649 ret = ph->xops->do_xfer(ph, t); in scmi_common_fastchannel_init()
1697 ph->xops->xfer_put(ph, t); in scmi_common_fastchannel_init()
[all …]
H A Dprotocols.h175 const struct scmi_xfer_ops *xops; member
/openbmc/qemu/fsdev/
H A Dfile-op-9p.h103 XattrOperations **xops; member