Home
last modified time | relevance | path

Searched refs:cflen (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c1293 size_t cflen, cfbaselen; in upload_config_file() local
1333 cflen = firmware_get_size(fw_hdl); in upload_config_file()
1339 cflen &= ~3; in upload_config_file()
1341 if (cflen > FLASH_CFG_MAX_SIZE) { in upload_config_file()
1344 cflen, FLASH_CFG_MAX_SIZE); in upload_config_file()
1349 rc = validate_mt_off_len(sc, mtype, maddr, cflen, &addr); in upload_config_file()
1354 __func__, mtype, maddr, cflen, rc); in upload_config_file()
1359 cfbaselen = cflen; in upload_config_file()
1360 cfbase = cfdata = kmem_zalloc(cflen, KM_SLEEP); in upload_config_file()
1361 if (firmware_read(fw_hdl, 0, cfdata, cflen) != 0) { in upload_config_file()
[all …]