Searched refs:optrom_size (Results 1 – 5 of 5) sorted by relevance
1376 if (start > ha->optrom_size) { in qla2x00_optrom_setup()1378 "start %d > optrom_size %d.\n", start, ha->optrom_size); in qla2x00_optrom_setup()1391 if (ha->optrom_size == OPTROM_SIZE_2300 && start == 0) in qla2x00_optrom_setup()1407 bsg_job->request_payload.payload_len > ha->optrom_size ? in qla2x00_optrom_setup()1408 ha->optrom_size - start : in qla2x00_optrom_setup()1413 bsg_job->reply_payload.payload_len > ha->optrom_size ? in qla2x00_optrom_setup()1414 ha->optrom_size - start : in qla2x00_optrom_setup()
393 uint32_t size = ha->optrom_size; in qla2x00_sysfs_write_optrom_ctl()405 if (start > ha->optrom_size) in qla2x00_sysfs_write_optrom_ctl()407 if (size > ha->optrom_size - start) in qla2x00_sysfs_write_optrom_ctl()408 size = ha->optrom_size - start; in qla2x00_sysfs_write_optrom_ctl()490 if (ha->optrom_size == OPTROM_SIZE_2300 && start == 0) in qla2x00_sysfs_write_optrom_ctl()
2344 ha->optrom_size = OPTROM_SIZE_2300; in qla2x00_probe_one()2379 ha->optrom_size = OPTROM_SIZE_2322; in qla2x00_probe_one()2394 ha->optrom_size = OPTROM_SIZE_24XX; in qla2x00_probe_one()2410 ha->optrom_size = OPTROM_SIZE_25XX; in qla2x00_probe_one()2426 ha->optrom_size = OPTROM_SIZE_81XX; in qla2x00_probe_one()2441 ha->optrom_size = OPTROM_SIZE_82XX; in qla2x00_probe_one()2456 ha->optrom_size = OPTROM_SIZE_83XX; in qla2x00_probe_one()2473 ha->optrom_size = OPTROM_SIZE_83XX; in qla2x00_probe_one()2504 ha->optrom_size = OPTROM_SIZE_83XX; in qla2x00_probe_one()2519 ha->init_cb_size, ha->gid_list_info_size, ha->optrom_size, in qla2x00_probe_one()
2295 midpoint = ha->optrom_size / 2; in qla2x00_read_optrom_data()2482 } else if (addr == ha->optrom_size / 2) { in qla2x00_write_optrom_data()
3345 uint32_t optrom_size; member