Initializes a GPI block. * @param[in] base GPI base address * @param[in] cfg GPI configuration */
| 495 | * @param[in] cfg GPI configuration |
| 496 | */ |
| 497 | void |
| 498 | gpi_init(void *base, struct gpi_cfg *cfg) |
| 499 | { |
| 500 | gpi_reset(base); |
| 501 | |
| 502 | gpi_disable(base); |
| 503 | |
| 504 | gpi_set_config(base, cfg); |
| 505 | } |
| 506 | |
| 507 | /* Resets a GPI block. |
| 508 | * @param[in] base GPI base address |
nothing calls this directly
no test coverage detected