Lines Matching refs:cfg_lsw

338 	u_int16_t       cfg_msw, cfg_lsw;  in AscInitFromEEP()  local
365 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh); in AscInitFromEEP()
381 if (eep_config->cfg_lsw != cfg_lsw) { in AscInitFromEEP()
383 eep_config->cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh); in AscInitFromEEP()
392 eep_config->cfg_lsw |= ASC_CFG0_HOST_INT_ON; in AscInitFromEEP()
815 u_int16_t cfg_lsw; in AscSetChipScsiID() local
820 cfg_lsw = ASC_GET_CHIP_SCSI_ID(iot, ioh); in AscSetChipScsiID()
821 cfg_lsw &= 0xF8FF; in AscSetChipScsiID()
822 cfg_lsw |= (new_id & ASC_MAX_TID) << 8; in AscSetChipScsiID()
823 ASC_SET_CHIP_CFG_LSW(iot, ioh, cfg_lsw); in AscSetChipScsiID()
1412 printf("cfg_lsw = 0x%x\n", eep_config->cfg_lsw); in AscPrintEEPConfig()
1893 u_int16_t cfg_lsw; in AscGetChipIRQ() local
1899 cfg_lsw = AscGetEisaChipCfg(iot, ioh); in AscGetChipIRQ()
1900 chip_irq = ((cfg_lsw >> 8) & 0x07) + 10; in AscGetChipIRQ()
1907 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh); in AscGetChipIRQ()
1908 chip_irq = (cfg_lsw >> 2) & 0x07; in AscGetChipIRQ()
1916 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh); in AscGetChipIRQ()
1917 chip_irq = (cfg_lsw >> 2) & 0x03; in AscGetChipIRQ()
1928 u_int16_t cfg_lsw; in AscSetChipIRQ() local
1939 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh) & 0xFFE3; in AscSetChipIRQ()
1940 cfg_lsw |= 0x0010; in AscSetChipIRQ()
1941 ASC_SET_CHIP_CFG_LSW(iot, ioh, cfg_lsw); in AscSetChipIRQ()
1943 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh) & 0xFFE0; in AscSetChipIRQ()
1944 cfg_lsw |= (irq_no & 0x07) << 2; in AscSetChipIRQ()
1945 ASC_SET_CHIP_CFG_LSW(iot, ioh, cfg_lsw); in AscSetChipIRQ()
1954 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh) & 0xFFF3; in AscSetChipIRQ()
1955 cfg_lsw |= (irq_no & 0x03) << 2; in AscSetChipIRQ()
1956 ASC_SET_CHIP_CFG_LSW(iot, ioh, cfg_lsw); in AscSetChipIRQ()
2025 u_int16_t cfg_lsw; in AscSetIsaDmaChannel() local
2033 cfg_lsw = ASC_GET_CHIP_CFG_LSW(iot, ioh) & 0xFFFC; in AscSetIsaDmaChannel()
2034 cfg_lsw |= value; in AscSetIsaDmaChannel()
2035 ASC_SET_CHIP_CFG_LSW(iot, ioh, cfg_lsw); in AscSetIsaDmaChannel()