MCPcopy Create free account
hub / github.com/F-Stack/f-stack / gpi_init

Function gpi_init

dpdk/drivers/net/pfe/pfe_hal.c:497–505  ·  view source on GitHub ↗

Initializes a GPI block. * @param[in] base GPI base address * @param[in] cfg GPI configuration */

Source from the content-addressed store, hash-verified

495 * @param[in] cfg GPI configuration
496 */
497void
498gpi_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

Callers

nothing calls this directly

Calls 3

gpi_resetFunction · 0.85
gpi_disableFunction · 0.85
gpi_set_configFunction · 0.85

Tested by

no test coverage detected