Searched refs:cflen (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_nexus.c | 1396 size_t cflen, cfbaselen; in upload_config_file() local 1436 cflen = firmware_get_size(fw_hdl); in upload_config_file() 1442 cflen &= ~3; in upload_config_file() 1444 if (cflen > FLASH_CFG_MAX_SIZE) { in upload_config_file() 1447 cflen, FLASH_CFG_MAX_SIZE); in upload_config_file() 1452 rc = validate_mt_off_len(sc, mtype, maddr, cflen, &addr); in upload_config_file() 1457 __func__, mtype, maddr, cflen, rc); in upload_config_file() 1462 cfbaselen = cflen; in upload_config_file() 1463 cfbase = cfdata = kmem_zalloc(cflen, KM_SLEEP); in upload_config_file() 1464 if (firmware_read(fw_hdl, 0, cfdata, cflen) != 0) { in upload_config_file() [all …]
|