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

Function t4_get_tp_version

dpdk/drivers/net/cxgbe/base/t4_hw.c:2688–2693  ·  view source on GitHub ↗

* t4_get_tp_version - read the TP microcode version * @adapter: the adapter * @vers: where to place the version * * Reads the TP microcode version from flash. */

Source from the content-addressed store, hash-verified

2686 * Reads the TP microcode version from flash.
2687 */
2688static int t4_get_tp_version(struct adapter *adapter, u32 *vers)
2689{
2690 return t4_read_flash(adapter, FLASH_FW_START +
2691 offsetof(struct fw_hdr, tp_microcode_ver),
2692 1, vers, 0);
2693}
2694
2695/**
2696 * t4_get_version_info - extract various chip/firmware version information

Callers 1

t4_get_version_infoFunction · 0.85

Calls 1

t4_read_flashFunction · 0.85

Tested by

no test coverage detected