Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c241 asd_ha->hw_prof.max_ddbs = asd_get_devctx_size(asd_ha)/ASD_DDB_SIZE; in asd_get_max_scb_ddb()
244 asd_ha->hw_prof.max_ddbs); in asd_get_max_scb_ddb()
492 dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE; in asd_extend_devctx_ocm()
497 asd_ha->hw_prof.max_ddbs += MAX_DEVS; in asd_extend_devctx_ocm()
510 if (max_devs <= asd_ha->hw_prof.max_ddbs || max_devs > 0xFFFF) { in asd_extend_devctx()
511 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx()
515 size = (max_devs - asd_ha->hw_prof.max_ddbs + 1) * ASD_DDB_SIZE; in asd_extend_devctx()
521 max_devs = asd_ha->hw_prof.max_ddbs; in asd_extend_devctx()
526 dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE; in asd_extend_devctx()
533 asd_ha->hw_prof.max_ddbs = max_devs; in asd_extend_devctx()
[all …]
H A Daic94xx_dev.c17 (_ha)->hw_prof.max_ddbs)
26 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb()
H A Daic94xx_hwi.h97 u32 max_ddbs; member
H A Daic94xx_seq.c540 (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()
H A Daic94xx_init.c213 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup()
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_os.c3080 if (idx == max_ddbs) in qla4xxx_match_fwdb_session()
6724 int max_ddbs; in qla4xxx_find_flash_st_idx() local
6762 if (idx == max_ddbs) in qla4xxx_find_flash_st_idx()
6778 int max_ddbs; in qla4xxx_build_st_list() local
6881 uint32_t max_ddbs = 0; in qla4xxx_update_sess_disc_idx() local
7007 int max_ddbs; in qla4xxx_build_nt_list() local
7115 int max_ddbs; in qla4xxx_build_new_nt_list() local
7294 uint16_t max_ddbs = 0; in qla4xxx_sysfs_ddb_add() local
7334 if (idx == max_ddbs) in qla4xxx_sysfs_ddb_add()
8441 uint16_t max_ddbs; in qla4xxx_sysfs_ddb_export() local
[all …]
H A Dql4_init.c914 int max_ddbs; in qla4xxx_free_ddb_index() local
919 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()