2021-12-24 07:20:36 +00:00
|
|
|
{% for driver in drivers if driver.type == "transparent" -%}
|
|
|
|
{% for capability in driver.capabilities if entry_point in capability.entry_points -%}
|
|
|
|
#if ({% if capability.depend_on is defined -%}{{ capability.depend_on }} {% else -%} {{ 1 }} {% endif %})
|
|
|
|
{%- filter indent(width = nest_indent) %}
|
2022-01-09 04:00:32 +00:00
|
|
|
{% if capability.name is defined and entry_point in capability.name.keys() -%}
|
|
|
|
status = {{ capability.name[entry_point]}}({{entry_point_attributes(driver) | indent(20)}});
|
|
|
|
{% else -%}
|
2021-12-24 07:20:36 +00:00
|
|
|
status = {{driver.prefix}}_{{driver.type}}_{{entry_point}}({{entry_point_attributes(driver) | indent(20)}});
|
2022-01-09 04:00:32 +00:00
|
|
|
{% endif -%}
|
2021-12-24 07:20:36 +00:00
|
|
|
|
|
|
|
if( status != PSA_ERROR_NOT_SUPPORTED )
|
|
|
|
return( status );
|
|
|
|
{% endfilter -%}
|
|
|
|
#endif
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|