Home
last modified time | relevance | path

Searched refs:max_ddbs (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_hwi.c257 asd_ha->hw_prof.max_ddbs = asd_get_devctx_size(asd_ha)/ASD_DDB_SIZE; in asd_get_max_scb_ddb()
260 asd_ha->hw_prof.max_ddbs); in asd_get_max_scb_ddb()
507 dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE; in asd_extend_devctx_ocm()
512 asd_ha->hw_prof.max_ddbs += MAX_DEVS; in asd_extend_devctx_ocm()
525 if (max_devs <= asd_ha->hw_prof.max_ddbs || max_devs > 0xFFFF) { in asd_extend_devctx()
526 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx()
530 size = (max_devs - asd_ha->hw_prof.max_ddbs + 1) * ASD_DDB_SIZE; in asd_extend_devctx()
536 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx()
541 dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE; in asd_extend_devctx()
548 asd_ha->hw_prof.max_ddbs = max_devs; in asd_extend_devctx()
[all …]
Daic94xx_dev.c34 (_ha)->hw_prof.max_ddbs)
43 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb()
Daic94xx_hwi.h115 u32 max_ddbs; member
Daic94xx_seq.c558 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_cseq_mdp()
740 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_lseq_mdp()
1131 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0()
Daic94xx_init.c227 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup()
Daic94xx_dump.c750 if (site_no >= asd_ha->hw_prof.max_ddbs)
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c2969 int idx = 0, max_ddbs, rval; in qla4xxx_match_fwdb_session() local
2983 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_match_fwdb_session()
2986 for (idx = 0; idx < max_ddbs; idx++) { in qla4xxx_match_fwdb_session()
3029 if (idx == max_ddbs) in qla4xxx_match_fwdb_session()
6695 int max_ddbs; in qla4xxx_find_flash_st_idx() local
6698 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_find_flash_st_idx()
6719 for (idx = 0; idx < max_ddbs; idx++) { in qla4xxx_find_flash_st_idx()
6733 if (idx == max_ddbs) in qla4xxx_find_flash_st_idx()
6749 int max_ddbs; in qla4xxx_build_st_list() local
6766 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_build_st_list()
[all …]
Dql4_init.c917 int max_ddbs; in qla4xxx_free_ddb_index() local
922 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_free_ddb_index()
925 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_free_ddb_index()