Archana | e829cd6 | 2021-12-24 12:50:36 +0530 | [diff] [blame] | 1 | {% for driver in drivers if driver.type == "transparent" -%} |
| 2 | {% for capability in driver.capabilities if entry_point in capability.entry_points -%} |
| 3 | #if ({% if capability.depend_on is defined -%}{{ capability.depend_on }} {% else -%} {{ 1 }} {% endif %}) |
| 4 | {%- filter indent(width = nest_indent) %} |
Archana | 05efa17 | 2022-01-09 09:30:32 +0530 | [diff] [blame] | 5 | {% if capability.name is defined and entry_point in capability.name.keys() -%} |
| 6 | status = {{ capability.name[entry_point]}}({{entry_point_attributes(driver) | indent(20)}}); |
| 7 | {% else -%} |
Archana | e829cd6 | 2021-12-24 12:50:36 +0530 | [diff] [blame] | 8 | status = {{driver.prefix}}_{{driver.type}}_{{entry_point}}({{entry_point_attributes(driver) | indent(20)}}); |
Archana | 05efa17 | 2022-01-09 09:30:32 +0530 | [diff] [blame] | 9 | {% endif -%} |
Archana | e829cd6 | 2021-12-24 12:50:36 +0530 | [diff] [blame] | 10 | |
| 11 | if( status != PSA_ERROR_NOT_SUPPORTED ) |
| 12 | return( status ); |
| 13 | {% endfilter -%} |
| 14 | #endif |
| 15 | {% endfor %} |
| 16 | {% endfor %} |