Lines Matching refs:optrom_state
278 if (ha->optrom_state != QLA_SREADING) in qla2x00_sysfs_read_optrom()
301 if (ha->optrom_state != QLA_SWRITING) { in qla2x00_sysfs_write_optrom()
361 if (ha->optrom_state != QLA_SREADING && in qla2x00_sysfs_write_optrom_ctl()
362 ha->optrom_state != QLA_SWRITING) { in qla2x00_sysfs_write_optrom_ctl()
366 ha->optrom_state = QLA_SWAITING; in qla2x00_sysfs_write_optrom_ctl()
376 if (ha->optrom_state != QLA_SWAITING) { in qla2x00_sysfs_write_optrom_ctl()
384 ha->optrom_state = QLA_SREADING; in qla2x00_sysfs_write_optrom_ctl()
391 ha->optrom_state = QLA_SWAITING; in qla2x00_sysfs_write_optrom_ctl()
411 if (ha->optrom_state != QLA_SWAITING) { in qla2x00_sysfs_write_optrom_ctl()
455 ha->optrom_state = QLA_SWRITING; in qla2x00_sysfs_write_optrom_ctl()
462 ha->optrom_state = QLA_SWAITING; in qla2x00_sysfs_write_optrom_ctl()
473 if (ha->optrom_state != QLA_SWRITING) { in qla2x00_sysfs_write_optrom_ctl()