Searched refs:dev_db_start_offset (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_mbx.c | 1502 uint32_t dev_db_start_offset = FLASH_OFFSET_DB_INFO; qla4xxx_bootdb_by_index() local 1508 dev_db_start_offset += (ddb_index * sizeof(*fw_ddb_entry)); qla4xxx_bootdb_by_index() 1511 if (dev_db_start_offset > dev_db_end_offset) { qla4xxx_bootdb_by_index() 1518 if (qla4xxx_get_flash(ha, fw_ddb_entry_dma, dev_db_start_offset, qla4xxx_bootdb_by_index() 1536 uint32_t dev_db_start_offset; qla4xxx_flashdb_by_index() local 1543 dev_db_start_offset = FLASH_OFFSET_DB_INFO; qla4xxx_flashdb_by_index() 1546 dev_db_start_offset = FLASH_RAW_ACCESS_ADDR + qla4xxx_flashdb_by_index() 1552 dev_db_start_offset += (ha->hw.flt_ddb_size / 2); qla4xxx_flashdb_by_index() 1554 dev_db_end_offset = dev_db_start_offset + qla4xxx_flashdb_by_index() 1558 dev_db_start_offset += (ddb_index * sizeof(*fw_ddb_entry)); qla4xxx_flashdb_by_index() 1560 if (dev_db_start_offset > dev_db_end_offset) { qla4xxx_flashdb_by_index() 1567 if (qla4xxx_get_flash(ha, fw_ddb_entry_dma, dev_db_start_offset, qla4xxx_flashdb_by_index()
|
H A D | ql4_os.c | 7339 uint32_t dev_db_start_offset = FLASH_OFFSET_DB_INFO; qla4xxx_sysfs_ddb_apply() local 7362 dev_db_start_offset += (fnode_sess->target_id * qla4xxx_sysfs_ddb_apply() 7368 rval = qla4xxx_set_flash(ha, fw_ddb_entry_dma, dev_db_start_offset, qla4xxx_sysfs_ddb_apply() 8309 uint32_t dev_db_start_offset; qla4xxx_sysfs_ddb_delete() local 8331 dev_db_start_offset = FLASH_OFFSET_DB_INFO; qla4xxx_sysfs_ddb_delete() 8333 dev_db_start_offset += (fnode_sess->target_id * qla4xxx_sysfs_ddb_delete() 8337 dev_db_start_offset = FLASH_RAW_ACCESS_ADDR + qla4xxx_sysfs_ddb_delete() 8343 dev_db_start_offset += (ha->hw.flt_ddb_size / 2); qla4xxx_sysfs_ddb_delete() 8345 dev_db_end_offset = dev_db_start_offset + qla4xxx_sysfs_ddb_delete() 8348 dev_db_start_offset += (fnode_sess->target_id * qla4xxx_sysfs_ddb_delete() 8350 dev_db_start_offset += offsetof(struct dev_db_entry, cookie); qla4xxx_sysfs_ddb_delete() 8356 __func__, dev_db_start_offset, dev_db_end_offset)); qla4xxx_sysfs_ddb_delete() 8358 if (dev_db_start_offset > dev_db_end_offset) { qla4xxx_sysfs_ddb_delete() 8385 qla4xxx_set_flash(ha, fw_ddb_entry_dma, dev_db_start_offset, qla4xxx_sysfs_ddb_delete()
|
Completed in 115 milliseconds