Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_attr.c310 rval = memory_read_from_buffer(buf, count, &off, ha->optrom_buffer, in qla2x00_sysfs_read_optrom()
341 memcpy(&ha->optrom_buffer[off], buf, count); in qla2x00_sysfs_write_optrom()
401 vfree(ha->optrom_buffer); in qla2x00_sysfs_write_optrom_ctl()
402 ha->optrom_buffer = NULL; in qla2x00_sysfs_write_optrom_ctl()
414 ha->optrom_buffer = vzalloc(ha->optrom_region_size); in qla2x00_sysfs_write_optrom_ctl()
415 if (ha->optrom_buffer == NULL) { in qla2x00_sysfs_write_optrom_ctl()
436 ha->isp_ops->read_optrom(vha, ha->optrom_buffer, in qla2x00_sysfs_write_optrom_ctl()
485 ha->optrom_buffer = vzalloc(ha->optrom_region_size); in qla2x00_sysfs_write_optrom_ctl()
486 if (ha->optrom_buffer == NULL) { in qla2x00_sysfs_write_optrom_ctl()
518 rval = ha->isp_ops->write_optrom(vha, ha->optrom_buffer, in qla2x00_sysfs_write_optrom_ctl()
Dqla_bsg.c1469 ha->optrom_buffer = vzalloc(ha->optrom_region_size); in qla2x00_optrom_setup()
1470 if (!ha->optrom_buffer) { in qla2x00_optrom_setup()
1501 ha->isp_ops->read_optrom(vha, ha->optrom_buffer, in qla2x00_read_optrom()
1505 bsg_job->reply_payload.sg_cnt, ha->optrom_buffer, in qla2x00_read_optrom()
1510 vfree(ha->optrom_buffer); in qla2x00_read_optrom()
1511 ha->optrom_buffer = NULL; in qla2x00_read_optrom()
1539 bsg_job->request_payload.sg_cnt, ha->optrom_buffer, in qla2x00_update_optrom()
1542 rval = ha->isp_ops->write_optrom(vha, ha->optrom_buffer, in qla2x00_update_optrom()
1551 vfree(ha->optrom_buffer); in qla2x00_update_optrom()
1552 ha->optrom_buffer = NULL; in qla2x00_update_optrom()
Dqla_os.c5029 vfree(ha->optrom_buffer); in qla2x00_mem_free()
5030 ha->optrom_buffer = NULL; in qla2x00_mem_free()
Dqla_def.h4641 char *optrom_buffer; member