Lines Matching refs:optrom_state
307 if (ha->optrom_state != QLA_SREADING) in qla2x00_sysfs_read_optrom()
330 if (ha->optrom_state != QLA_SWRITING) { in qla2x00_sysfs_write_optrom()
390 if (ha->optrom_state != QLA_SREADING && in qla2x00_sysfs_write_optrom_ctl()
391 ha->optrom_state != QLA_SWRITING) { in qla2x00_sysfs_write_optrom_ctl()
395 ha->optrom_state = QLA_SWAITING; in qla2x00_sysfs_write_optrom_ctl()
405 if (ha->optrom_state != QLA_SWAITING) { in qla2x00_sysfs_write_optrom_ctl()
413 ha->optrom_state = QLA_SREADING; in qla2x00_sysfs_write_optrom_ctl()
420 ha->optrom_state = QLA_SWAITING; in qla2x00_sysfs_write_optrom_ctl()
440 if (ha->optrom_state != QLA_SWAITING) { in qla2x00_sysfs_write_optrom_ctl()
484 ha->optrom_state = QLA_SWRITING; in qla2x00_sysfs_write_optrom_ctl()
491 ha->optrom_state = QLA_SWAITING; in qla2x00_sysfs_write_optrom_ctl()
502 if (ha->optrom_state != QLA_SWRITING) { in qla2x00_sysfs_write_optrom_ctl()