Home
last modified time | relevance | path

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

/drivers/scsi/aic94xx/
Daic94xx_sds.c253 asd_ha->hw_prof.bios.present = 1; in asd_get_bios_chim()
254 asd_ha->hw_prof.bios.maj = bc_struct->bios_major; in asd_get_bios_chim()
255 asd_ha->hw_prof.bios.min = bc_struct->bios_minor; in asd_get_bios_chim()
256 asd_ha->hw_prof.bios.bld = le32_to_cpu(bc_struct->bios_build); in asd_get_bios_chim()
258 asd_ha->hw_prof.bios.maj, in asd_get_bios_chim()
259 asd_ha->hw_prof.bios.min, in asd_get_bios_chim()
260 asd_ha->hw_prof.bios.bld); in asd_get_bios_chim()
262 asd_ha->hw_prof.ue.num = le16_to_cpu(bc_struct->ue_num); in asd_get_bios_chim()
263 asd_ha->hw_prof.ue.size= le16_to_cpu(bc_struct->ue_size); in asd_get_bios_chim()
264 ASD_DPRINTK("ue num:%d, ue size:%d\n", asd_ha->hw_prof.ue.num, in asd_get_bios_chim()
[all …]
Daic94xx_init.c240 asd_ha->hw_prof.max_scbs = 512; in asd_common_setup()
241 asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS; in asd_common_setup()
242 asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; in asd_common_setup()
244 asd_ha->hw_prof.enabled_phys = 0xFF; in asd_common_setup()
246 asd_ha->hw_prof.phy_desc[i].max_sas_lrate = in asd_common_setup()
248 asd_ha->hw_prof.phy_desc[i].min_sas_lrate = in asd_common_setup()
250 asd_ha->hw_prof.phy_desc[i].max_sata_lrate = in asd_common_setup()
252 asd_ha->hw_prof.phy_desc[i].min_sata_lrate = in asd_common_setup()
268 asd_ha->hw_prof.addr_range = 8; in asd_aic9410_setup()
269 asd_ha->hw_prof.port_name_base = 0; in asd_aic9410_setup()
[all …]
Daic94xx_hwi.c45 if (asd_ha->hw_prof.sas_addr[0]) in asd_get_user_sas_addr()
49 asd_ha->hw_prof.sas_addr); in asd_get_user_sas_addr()
57 if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0) in asd_propagate_sas_addr()
62 SAS_ADDR(asd_ha->hw_prof.sas_addr)); in asd_propagate_sas_addr()
63 memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, in asd_propagate_sas_addr()
64 asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE); in asd_propagate_sas_addr()
132 u8 phy_mask = asd_ha->hw_prof.enabled_phys; in asd_init_phys()
137 phy->phy_desc = &asd_ha->hw_prof.phy_desc[i]; in asd_init_phys()
221 asd_ha->seq.tc_index_bitmap_bits = asd_ha->hw_prof.max_scbs; in asd_init_scbs()
255 asd_ha->hw_prof.max_scbs = asd_get_cmdctx_size(asd_ha)/ASD_SCB_SIZE; in asd_get_max_scb_ddb()
[all …]
Daic94xx_dev.c33 #define FIND_FREE_DDB(_ha) find_first_zero_bit((_ha)->hw_prof.ddb_bitmap, \
34 (_ha)->hw_prof.max_ddbs)
35 #define SET_DDB(_ddb, _ha) set_bit(_ddb, (_ha)->hw_prof.ddb_bitmap)
36 #define CLEAR_DDB(_ddb, _ha) clear_bit(_ddb, (_ha)->hw_prof.ddb_bitmap)
43 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb()
319 spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_found()
333 spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_found()
344 spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_gone()
352 spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags); in asd_dev_gone()
Daic94xx_seq.c402 if (!asd_ha->hw_prof.enabled_phys) { in asd_seq_download_seqs()
420 asd_ha->hw_prof.enabled_phys); in asd_seq_download_seqs()
424 u8 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_seq_download_seqs()
557 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_cseq_mdp()
739 (u16)asd_ha->hw_prof.max_ddbs); in asd_init_lseq_mdp()
861 lseq_mask = asd_ha->hw_prof.enabled_phys; in asd_init_lseq_scratch()
881 for (site_no = asd_ha->hw_prof.max_scbs-1; in asd_init_scb_sites()
918 asd_ha->hw_prof.max_scbs = max_scbs; in asd_init_scb_sites()
919 ASD_DPRINTK("max_scbs:%d\n", asd_ha->hw_prof.max_scbs); in asd_init_scb_sites()
1130 asd_ha->hw_prof.max_ddbs-1); in asd_init_ddb_0()
[all …]
Daic94xx_scb.c130 u8 enabled_mask = asd_ha->hw_prof.enabled_phys; in ord_phy()
161 addr += asd_ha->hw_prof.sata_name_base + ord_phy(asd_ha, phy); in asd_get_attached_sas_addr()
663 asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id); in control_phy_tasklet_complete()
672 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
679 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
689 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
694 asd_ha->hw_prof.enabled_phys |= (1 << phy_id); in control_phy_tasklet_complete()
Daic94xx_hwi.h210 struct hw_profile hw_prof; member
245 #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
Daic94xx_dump.c750 if (site_no >= asd_ha->hw_prof.max_ddbs)
866 for (site_no = 0; site_no < asd_ha->hw_prof.max_scbs; site_no++) {