Searched refs:max_ddbs (Results 1 – 7 of 7) sorted by relevance
243 asd_ha->hw_prof.max_ddbs = asd_get_devctx_size(asd_ha)/ASD_DDB_SIZE; in asd_get_max_scb_ddb()246 asd_ha->hw_prof.max_ddbs); in asd_get_max_scb_ddb()494 dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE; in asd_extend_devctx_ocm()499 asd_ha->hw_prof.max_ddbs += MAX_DEVS; in asd_extend_devctx_ocm()512 if (max_devs <= asd_ha->hw_prof.max_ddbs || max_devs > 0xFFFF) { in asd_extend_devctx()513 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx()517 size = (max_devs - asd_ha->hw_prof.max_ddbs + 1) * ASD_DDB_SIZE; in asd_extend_devctx()523 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx()528 dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE; in asd_extend_devctx()535 asd_ha->hw_prof.max_ddbs = max_devs; in asd_extend_devctx()[all …]
17 (_ha)->hw_prof.max_ddbs)26 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb()
97 u32 max_ddbs; member
540 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_cseq_mdp()724 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_lseq_mdp()1116 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0()
213 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup()
3020 int idx = 0, max_ddbs, rval; in qla4xxx_match_fwdb_session() local3034 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_match_fwdb_session()3037 for (idx = 0; idx < max_ddbs; idx++) { in qla4xxx_match_fwdb_session()3080 if (idx == max_ddbs) in qla4xxx_match_fwdb_session()6725 int max_ddbs; in qla4xxx_find_flash_st_idx() local6728 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_find_flash_st_idx()6749 for (idx = 0; idx < max_ddbs; idx++) { in qla4xxx_find_flash_st_idx()6763 if (idx == max_ddbs) in qla4xxx_find_flash_st_idx()6779 int max_ddbs; in qla4xxx_build_st_list() local6796 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_build_st_list()[all …]
914 int max_ddbs; in qla4xxx_free_ddb_index() local919 max_ddbs = is_qla40XX(ha) ? MAX_DEV_DB_ENTRIES_40XX : in qla4xxx_free_ddb_index()922 for (idx = 0; idx < max_ddbs; idx = next_idx) { in qla4xxx_free_ddb_index()