hw_prof            16 drivers/scsi/aic94xx/aic94xx_dev.c #define FIND_FREE_DDB(_ha) find_first_zero_bit((_ha)->hw_prof.ddb_bitmap, \
hw_prof            17 drivers/scsi/aic94xx/aic94xx_dev.c 					       (_ha)->hw_prof.max_ddbs)
hw_prof            18 drivers/scsi/aic94xx/aic94xx_dev.c #define SET_DDB(_ddb, _ha) set_bit(_ddb, (_ha)->hw_prof.ddb_bitmap)
hw_prof            19 drivers/scsi/aic94xx/aic94xx_dev.c #define CLEAR_DDB(_ddb, _ha) clear_bit(_ddb, (_ha)->hw_prof.ddb_bitmap)
hw_prof            26 drivers/scsi/aic94xx/aic94xx_dev.c 	if (ddb >= asd_ha->hw_prof.max_ddbs) {
hw_prof           310 drivers/scsi/aic94xx/aic94xx_dev.c 	spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags);
hw_prof           324 drivers/scsi/aic94xx/aic94xx_dev.c 	spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags);
hw_prof           335 drivers/scsi/aic94xx/aic94xx_dev.c 	spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags);
hw_prof           343 drivers/scsi/aic94xx/aic94xx_dev.c 	spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags);
hw_prof           732 drivers/scsi/aic94xx/aic94xx_dump.c 	if (site_no >= asd_ha->hw_prof.max_ddbs)
hw_prof           848 drivers/scsi/aic94xx/aic94xx_dump.c 	for (site_no = 0; site_no < asd_ha->hw_prof.max_scbs; site_no++) {
hw_prof            28 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (asd_ha->hw_prof.sas_addr[0])
hw_prof            32 drivers/scsi/aic94xx/aic94xx_hwi.c 				asd_ha->hw_prof.sas_addr);
hw_prof            40 drivers/scsi/aic94xx/aic94xx_hwi.c 		if (asd_ha->hw_prof.phy_desc[i].sas_addr[0] == 0)
hw_prof            45 drivers/scsi/aic94xx/aic94xx_hwi.c 			    SAS_ADDR(asd_ha->hw_prof.sas_addr));
hw_prof            46 drivers/scsi/aic94xx/aic94xx_hwi.c 		memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr,
hw_prof            47 drivers/scsi/aic94xx/aic94xx_hwi.c 		       asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE);
hw_prof           115 drivers/scsi/aic94xx/aic94xx_hwi.c 	u8 phy_mask = asd_ha->hw_prof.enabled_phys;
hw_prof           120 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->phy_desc = &asd_ha->hw_prof.phy_desc[i];
hw_prof           204 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->seq.tc_index_bitmap_bits = asd_ha->hw_prof.max_scbs;
hw_prof           242 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.max_scbs = asd_get_cmdctx_size(asd_ha)/ASD_SCB_SIZE;
hw_prof           243 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.max_ddbs = asd_get_devctx_size(asd_ha)/ASD_DDB_SIZE;
hw_prof           245 drivers/scsi/aic94xx/aic94xx_hwi.c 		    asd_ha->hw_prof.max_scbs,
hw_prof           246 drivers/scsi/aic94xx/aic94xx_hwi.c 		    asd_ha->hw_prof.max_ddbs);
hw_prof           376 drivers/scsi/aic94xx/aic94xx_hwi.c 	int edbs = 2*(1+asd_ha->hw_prof.num_phys);
hw_prof           400 drivers/scsi/aic94xx/aic94xx_hwi.c 	seq->can_queue = 1 + (asd_ha->hw_prof.max_scbs - seq->pending)/2;
hw_prof           494 drivers/scsi/aic94xx/aic94xx_hwi.c 	dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE;
hw_prof           499 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.max_ddbs += MAX_DEVS;
hw_prof           511 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.ddb_ext = NULL;
hw_prof           512 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (max_devs <= asd_ha->hw_prof.max_ddbs || max_devs > 0xFFFF) {
hw_prof           513 drivers/scsi/aic94xx/aic94xx_hwi.c 		max_devs = asd_ha->hw_prof.max_ddbs;
hw_prof           517 drivers/scsi/aic94xx/aic94xx_hwi.c 	size = (max_devs - asd_ha->hw_prof.max_ddbs + 1) * ASD_DDB_SIZE;
hw_prof           519 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.ddb_ext = asd_alloc_coherent(asd_ha, size, GFP_KERNEL);
hw_prof           520 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (!asd_ha->hw_prof.ddb_ext) {
hw_prof           523 drivers/scsi/aic94xx/aic94xx_hwi.c 		max_devs = asd_ha->hw_prof.max_ddbs;
hw_prof           526 drivers/scsi/aic94xx/aic94xx_hwi.c 	dma_handle = asd_ha->hw_prof.ddb_ext->dma_handle;
hw_prof           528 drivers/scsi/aic94xx/aic94xx_hwi.c 	dma_addr -= asd_ha->hw_prof.max_ddbs * ASD_DDB_SIZE;
hw_prof           535 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.max_ddbs = max_devs;
hw_prof           547 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.scb_ext = NULL;
hw_prof           548 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (max_cmnds <= asd_ha->hw_prof.max_scbs || max_cmnds > 0xFFFF) {
hw_prof           549 drivers/scsi/aic94xx/aic94xx_hwi.c 		max_cmnds = asd_ha->hw_prof.max_scbs;
hw_prof           553 drivers/scsi/aic94xx/aic94xx_hwi.c 	size = (max_cmnds - asd_ha->hw_prof.max_scbs + 1) * ASD_SCB_SIZE;
hw_prof           555 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.scb_ext = asd_alloc_coherent(asd_ha, size, GFP_KERNEL);
hw_prof           556 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (!asd_ha->hw_prof.scb_ext) {
hw_prof           559 drivers/scsi/aic94xx/aic94xx_hwi.c 		max_cmnds = asd_ha->hw_prof.max_scbs;
hw_prof           562 drivers/scsi/aic94xx/aic94xx_hwi.c 	dma_handle = asd_ha->hw_prof.scb_ext->dma_handle;
hw_prof           564 drivers/scsi/aic94xx/aic94xx_hwi.c 	dma_addr -= asd_ha->hw_prof.max_scbs * ASD_SCB_SIZE;
hw_prof           571 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.max_scbs = max_cmnds;
hw_prof           597 drivers/scsi/aic94xx/aic94xx_hwi.c 	bitmap_bytes = (asd_ha->hw_prof.max_ddbs+7)/8;
hw_prof           599 drivers/scsi/aic94xx/aic94xx_hwi.c 	asd_ha->hw_prof.ddb_bitmap = kzalloc(bitmap_bytes, GFP_KERNEL);
hw_prof           600 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (!asd_ha->hw_prof.ddb_bitmap)
hw_prof           602 drivers/scsi/aic94xx/aic94xx_hwi.c 	spin_lock_init(&asd_ha->hw_prof.ddb_lock);
hw_prof          1195 drivers/scsi/aic94xx/aic94xx_hwi.c 	can_queue = asd_ha->hw_prof.max_scbs - asd_ha->seq.pending;
hw_prof           192 drivers/scsi/aic94xx/aic94xx_hwi.h 	struct hw_profile hw_prof;
hw_prof           227 drivers/scsi/aic94xx/aic94xx_hwi.h #define PHY_ENABLED(_HA, _I) ((_HA)->hw_prof.enabled_phys & (1<<(_I)))
hw_prof           207 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.max_scbs = 512;
hw_prof           208 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.max_ddbs = ASD_MAX_DDBS;
hw_prof           209 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.num_phys = ASD_MAX_PHYS;
hw_prof           211 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.enabled_phys = 0xFF;
hw_prof           213 drivers/scsi/aic94xx/aic94xx_init.c 		asd_ha->hw_prof.phy_desc[i].max_sas_lrate =
hw_prof           215 drivers/scsi/aic94xx/aic94xx_init.c 		asd_ha->hw_prof.phy_desc[i].min_sas_lrate =
hw_prof           217 drivers/scsi/aic94xx/aic94xx_init.c 		asd_ha->hw_prof.phy_desc[i].max_sata_lrate =
hw_prof           219 drivers/scsi/aic94xx/aic94xx_init.c 		asd_ha->hw_prof.phy_desc[i].min_sata_lrate =
hw_prof           235 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.addr_range = 8;
hw_prof           236 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.port_name_base = 0;
hw_prof           237 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.dev_name_base = 8;
hw_prof           238 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.sata_name_base = 16;
hw_prof           250 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.addr_range = 4;
hw_prof           251 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.port_name_base = 0;
hw_prof           252 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.dev_name_base = 4;
hw_prof           253 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.sata_name_base = 8;
hw_prof           271 drivers/scsi/aic94xx/aic94xx_init.c 	return snprintf(buf, PAGE_SIZE, "%d\n", asd_ha->hw_prof.bios.bld);
hw_prof           279 drivers/scsi/aic94xx/aic94xx_init.c 	return snprintf(buf, PAGE_SIZE, "%s\n", asd_ha->hw_prof.pcba_sn);
hw_prof           563 drivers/scsi/aic94xx/aic94xx_init.c 	if (asd_ha->hw_prof.ddb_ext)
hw_prof           564 drivers/scsi/aic94xx/aic94xx_init.c 		asd_free_coherent(asd_ha, asd_ha->hw_prof.ddb_ext);
hw_prof           565 drivers/scsi/aic94xx/aic94xx_init.c 	if (asd_ha->hw_prof.scb_ext)
hw_prof           566 drivers/scsi/aic94xx/aic94xx_init.c 		asd_free_coherent(asd_ha, asd_ha->hw_prof.scb_ext);
hw_prof           568 drivers/scsi/aic94xx/aic94xx_init.c 	kfree(asd_ha->hw_prof.ddb_bitmap);
hw_prof           569 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->hw_prof.ddb_bitmap = NULL;
hw_prof           580 drivers/scsi/aic94xx/aic94xx_init.c 	if (asd_ha->hw_prof.ue.area) {
hw_prof           581 drivers/scsi/aic94xx/aic94xx_init.c 		kfree(asd_ha->hw_prof.ue.area);
hw_prof           582 drivers/scsi/aic94xx/aic94xx_init.c 		asd_ha->hw_prof.ue.area = NULL;
hw_prof           666 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->sas_ha.sas_addr = &asd_ha->hw_prof.sas_addr[0];
hw_prof           776 drivers/scsi/aic94xx/aic94xx_init.c 		   pci_name(dev), SAS_ADDR(asd_ha->hw_prof.sas_addr),
hw_prof           777 drivers/scsi/aic94xx/aic94xx_init.c 		   asd_ha->hw_prof.pcba_sn, asd_ha->hw_prof.max_phys,
hw_prof           778 drivers/scsi/aic94xx/aic94xx_init.c 		   asd_ha->hw_prof.num_phys,
hw_prof           779 drivers/scsi/aic94xx/aic94xx_init.c 		   asd_ha->hw_prof.flash.present ? "present" : "not present",
hw_prof           780 drivers/scsi/aic94xx/aic94xx_init.c 		   asd_ha->hw_prof.bios.present ? "build " : "not present",
hw_prof           781 drivers/scsi/aic94xx/aic94xx_init.c 		   asd_ha->hw_prof.bios.bld);
hw_prof           875 drivers/scsi/aic94xx/aic94xx_init.c 	u8 phy_mask = asd_ha->hw_prof.enabled_phys;
hw_prof           918 drivers/scsi/aic94xx/aic94xx_init.c 	err = asd_enable_phys(asd_ha, asd_ha->hw_prof.enabled_phys);
hw_prof           113 drivers/scsi/aic94xx/aic94xx_scb.c 	u8 enabled_mask = asd_ha->hw_prof.enabled_phys;
hw_prof           144 drivers/scsi/aic94xx/aic94xx_scb.c 		addr += asd_ha->hw_prof.sata_name_base + ord_phy(asd_ha, phy);
hw_prof           646 drivers/scsi/aic94xx/aic94xx_scb.c 		asd_ha->hw_prof.enabled_phys &= ~(1 << phy_id);
hw_prof           655 drivers/scsi/aic94xx/aic94xx_scb.c 			asd_ha->hw_prof.enabled_phys |= (1 << phy_id);
hw_prof           662 drivers/scsi/aic94xx/aic94xx_scb.c 			asd_ha->hw_prof.enabled_phys |= (1 << phy_id);
hw_prof           672 drivers/scsi/aic94xx/aic94xx_scb.c 			asd_ha->hw_prof.enabled_phys |= (1 << phy_id);
hw_prof           677 drivers/scsi/aic94xx/aic94xx_scb.c 			asd_ha->hw_prof.enabled_phys |= (1 << phy_id);
hw_prof           236 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.bios.present = 1;
hw_prof           237 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.bios.maj = bc_struct->bios_major;
hw_prof           238 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.bios.min = bc_struct->bios_minor;
hw_prof           239 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.bios.bld = le32_to_cpu(bc_struct->bios_build);
hw_prof           241 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.bios.maj,
hw_prof           242 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.bios.min,
hw_prof           243 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.bios.bld);
hw_prof           245 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.ue.num = le16_to_cpu(bc_struct->ue_num);
hw_prof           246 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.ue.size= le16_to_cpu(bc_struct->ue_size);
hw_prof           247 drivers/scsi/aic94xx/aic94xx_sds.c 	ASD_DPRINTK("ue num:%d, ue size:%d\n", asd_ha->hw_prof.ue.num,
hw_prof           248 drivers/scsi/aic94xx/aic94xx_sds.c 		    asd_ha->hw_prof.ue.size);
hw_prof           249 drivers/scsi/aic94xx/aic94xx_sds.c 	size = asd_ha->hw_prof.ue.num * asd_ha->hw_prof.ue.size;
hw_prof           252 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.ue.area = kmalloc(size, GFP_KERNEL);
hw_prof           253 drivers/scsi/aic94xx/aic94xx_sds.c 		if (!asd_ha->hw_prof.ue.area)
hw_prof           255 drivers/scsi/aic94xx/aic94xx_sds.c 		err = asd_read_ocm_seg(asd_ha, (void *)asd_ha->hw_prof.ue.area,
hw_prof           258 drivers/scsi/aic94xx/aic94xx_sds.c 			kfree(asd_ha->hw_prof.ue.area);
hw_prof           259 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.ue.area = NULL;
hw_prof           260 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.ue.num  = 0;
hw_prof           261 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.ue.size = 0;
hw_prof           554 drivers/scsi/aic94xx/aic94xx_sds.c 		d  = asd_read_reg_byte(asd_ha, asd_ha->hw_prof.flash.bar);
hw_prof           555 drivers/scsi/aic94xx/aic94xx_sds.c 		d ^= asd_read_reg_byte(asd_ha, asd_ha->hw_prof.flash.bar);
hw_prof           570 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_write_reg_byte(asd_ha, asd_ha->hw_prof.flash.bar, FLASH_RESET);
hw_prof           579 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_read_reg_string(asd_ha, buffer, asd_ha->hw_prof.flash.bar+offs,
hw_prof           601 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.flash.dir_offs = v;
hw_prof           618 drivers/scsi/aic94xx/aic94xx_sds.c 				  &asd_ha->hw_prof.flash.bar)) {
hw_prof           623 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.present = 1;
hw_prof           624 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.wide = reg & FLASHW ? 1 : 0;
hw_prof           691 drivers/scsi/aic94xx/aic94xx_sds.c 	memcpy(asd_ha->hw_prof.sas_addr, ms->sas_addr, SAS_ADDR_SIZE);
hw_prof           698 drivers/scsi/aic94xx/aic94xx_sds.c 	memcpy(asd_ha->hw_prof.pcba_sn, ms->pcba_sn, ASD_PCBA_SN_SIZE);
hw_prof           699 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.pcba_sn[ASD_PCBA_SN_SIZE] = '\0';
hw_prof           791 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.enabled_phys = 0;
hw_prof           800 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.enabled_phys &= ~(1 << i);
hw_prof           805 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.enabled_phys |= (1 << i);
hw_prof           809 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].phy_control_0 = pd->phy_control_0;
hw_prof           810 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].phy_control_1 = pd->phy_control_1;
hw_prof           811 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].phy_control_2 = pd->phy_control_2;
hw_prof           812 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].phy_control_3 = pd->phy_control_3;
hw_prof           814 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.max_phys = rep_phys + en_phys;
hw_prof           815 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.num_phys = en_phys;
hw_prof           817 drivers/scsi/aic94xx/aic94xx_sds.c 		    asd_ha->hw_prof.max_phys, asd_ha->hw_prof.num_phys);
hw_prof           818 drivers/scsi/aic94xx/aic94xx_sds.c 	ASD_DPRINTK("ms: enabled_phys:0x%x\n", asd_ha->hw_prof.enabled_phys);
hw_prof           892 drivers/scsi/aic94xx/aic94xx_sds.c 		    SAS_ADDR(asd_ha->hw_prof.sas_addr));
hw_prof           899 drivers/scsi/aic94xx/aic94xx_sds.c 	ASD_DPRINTK("manuf sect PCBA SN %s\n", asd_ha->hw_prof.pcba_sn);
hw_prof           929 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.enabled_phys &= ~(1 << i);
hw_prof           933 drivers/scsi/aic94xx/aic94xx_sds.c 		memcpy(asd_ha->hw_prof.phy_desc[i].sas_addr, pe->sas_addr,
hw_prof           935 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].max_sas_lrate =
hw_prof           937 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].min_sas_lrate =
hw_prof           939 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].max_sata_lrate =
hw_prof           941 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].min_sata_lrate =
hw_prof           943 drivers/scsi/aic94xx/aic94xx_sds.c 		asd_ha->hw_prof.phy_desc[i].flags = pe->flags;
hw_prof           947 drivers/scsi/aic94xx/aic94xx_sds.c 			    SAS_ADDR(asd_ha->hw_prof.phy_desc[i].sas_addr),
hw_prof           948 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.phy_desc[i].max_sas_lrate,
hw_prof           949 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.phy_desc[i].min_sas_lrate,
hw_prof           950 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.phy_desc[i].max_sata_lrate,
hw_prof           951 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.phy_desc[i].min_sata_lrate,
hw_prof           952 drivers/scsi/aic94xx/aic94xx_sds.c 			    asd_ha->hw_prof.phy_desc[i].flags);
hw_prof           981 drivers/scsi/aic94xx/aic94xx_sds.c 			       asd_ha->hw_prof.sas_addr, SAS_ADDR_SIZE);
hw_prof          1087 drivers/scsi/aic94xx/aic94xx_sds.c 	reg = asd_ha->hw_prof.flash.bar;
hw_prof          1117 drivers/scsi/aic94xx/aic94xx_sds.c 	reg = asd_ha->hw_prof.flash.bar;
hw_prof          1143 drivers/scsi/aic94xx/aic94xx_sds.c 		switch (asd_ha->hw_prof.flash.method) {
hw_prof          1201 drivers/scsi/aic94xx/aic94xx_sds.c 	reg = asd_ha->hw_prof.flash.bar;
hw_prof          1257 drivers/scsi/aic94xx/aic94xx_sds.c 	reg = asd_ha->hw_prof.flash.bar;
hw_prof          1267 drivers/scsi/aic94xx/aic94xx_sds.c 		switch (asd_ha->hw_prof.flash.method) {
hw_prof          1307 drivers/scsi/aic94xx/aic94xx_sds.c 	reg = asd_ha->hw_prof.flash.bar;
hw_prof          1316 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.method = FLASH_METHOD_UNKNOWN;
hw_prof          1317 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.manuf = FLASH_MANUF_ID_UNKNOWN;
hw_prof          1318 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.dev_id = FLASH_DEV_ID_UNKNOWN;
hw_prof          1324 drivers/scsi/aic94xx/aic94xx_sds.c 	inc = asd_ha->hw_prof.flash.wide ? 2 : 1;
hw_prof          1349 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
hw_prof          1359 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
hw_prof          1369 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
hw_prof          1376 drivers/scsi/aic94xx/aic94xx_sds.c 			asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
hw_prof          1382 drivers/scsi/aic94xx/aic94xx_sds.c 	if (asd_ha->hw_prof.flash.method == FLASH_METHOD_UNKNOWN) {
hw_prof          1410 drivers/scsi/aic94xx/aic94xx_sds.c 				asd_ha->hw_prof.flash.method = FLASH_METHOD_B;
hw_prof          1419 drivers/scsi/aic94xx/aic94xx_sds.c 				asd_ha->hw_prof.flash.method = FLASH_METHOD_B;
hw_prof          1428 drivers/scsi/aic94xx/aic94xx_sds.c 				asd_ha->hw_prof.flash.method = FLASH_METHOD_B;
hw_prof          1435 drivers/scsi/aic94xx/aic94xx_sds.c 				asd_ha->hw_prof.flash.method = FLASH_METHOD_B;
hw_prof          1442 drivers/scsi/aic94xx/aic94xx_sds.c 				asd_ha->hw_prof.flash.method = FLASH_METHOD_B;
hw_prof          1451 drivers/scsi/aic94xx/aic94xx_sds.c 	if (asd_ha->hw_prof.flash.method == FLASH_METHOD_UNKNOWN)
hw_prof          1454 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.manuf = manuf_id;
hw_prof          1455 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.dev_id = dev_id;
hw_prof          1456 drivers/scsi/aic94xx/aic94xx_sds.c 	asd_ha->hw_prof.flash.sec_prot = sec_prot;
hw_prof           385 drivers/scsi/aic94xx/aic94xx_seq.c 	if (!asd_ha->hw_prof.enabled_phys) {
hw_prof           403 drivers/scsi/aic94xx/aic94xx_seq.c 			       asd_ha->hw_prof.enabled_phys);
hw_prof           407 drivers/scsi/aic94xx/aic94xx_seq.c 		u8 lseq_mask = asd_ha->hw_prof.enabled_phys;
hw_prof           540 drivers/scsi/aic94xx/aic94xx_seq.c 			   (u16)asd_ha->hw_prof.max_ddbs);
hw_prof           722 drivers/scsi/aic94xx/aic94xx_seq.c 			   (u16)asd_ha->hw_prof.max_ddbs);
hw_prof           844 drivers/scsi/aic94xx/aic94xx_seq.c 	lseq_mask = asd_ha->hw_prof.enabled_phys;
hw_prof           864 drivers/scsi/aic94xx/aic94xx_seq.c 	for (site_no = asd_ha->hw_prof.max_scbs-1;
hw_prof           901 drivers/scsi/aic94xx/aic94xx_seq.c 	asd_ha->hw_prof.max_scbs = max_scbs;
hw_prof           902 drivers/scsi/aic94xx/aic94xx_seq.c 	ASD_DPRINTK("max_scbs:%d\n", asd_ha->hw_prof.max_scbs);
hw_prof          1113 drivers/scsi/aic94xx/aic94xx_seq.c 			       asd_ha->hw_prof.max_ddbs-1);
hw_prof          1128 drivers/scsi/aic94xx/aic94xx_seq.c 			       asd_ha->hw_prof.num_phys * 2);
hw_prof          1136 drivers/scsi/aic94xx/aic94xx_seq.c 	set_bit(0, asd_ha->hw_prof.ddb_bitmap);
hw_prof          1177 drivers/scsi/aic94xx/aic94xx_seq.c 	lseq_mask = asd_ha->hw_prof.enabled_phys;
hw_prof          1333 drivers/scsi/aic94xx/aic94xx_seq.c 	lseq_mask = asd_ha->hw_prof.enabled_phys;
hw_prof          1371 drivers/scsi/aic94xx/aic94xx_seq.c 	spin_lock_irqsave(&asd_ha->hw_prof.ddb_lock, flags);
hw_prof          1391 drivers/scsi/aic94xx/aic94xx_seq.c 	spin_unlock_irqrestore(&asd_ha->hw_prof.ddb_lock, flags);