Lines Matching refs:cfg_msw
338 u_int16_t cfg_msw, cfg_lsw; in AscInitFromEEP() local
364 cfg_msw = ASC_GET_CHIP_CFG_MSW(iot, ioh); in AscInitFromEEP()
366 if ((cfg_msw & ASC_CFG_MSW_CLR_MASK) != 0) { in AscInitFromEEP()
367 cfg_msw &= (~(ASC_CFG_MSW_CLR_MASK)); in AscInitFromEEP()
369 ASC_SET_CHIP_CFG_MSW(iot, ioh, cfg_msw); in AscInitFromEEP()
385 if (eep_config->cfg_msw != cfg_msw) { in AscInitFromEEP()
387 eep_config->cfg_msw = ASC_GET_CHIP_CFG_MSW(iot, ioh); in AscInitFromEEP()
391 eep_config->cfg_msw &= ~ASC_CFG_MSW_CLR_MASK; in AscInitFromEEP()
450 eep_config->cfg_msw |= 0x0800; in AscInitFromEEP()
451 cfg_msw |= 0x0800; in AscInitFromEEP()
452 ASC_SET_CHIP_CFG_MSW(iot, ioh, cfg_msw); in AscInitFromEEP()
490 eep_config->cfg_msw = ASC_GET_CHIP_CFG_MSW(iot, ioh); in AscInitFromEEP()
507 u_int16_t cfg_msw; in AscInitFromASC_SOFTC() local
513 cfg_msw = ASC_GET_CHIP_CFG_MSW(iot, ioh); in AscInitFromASC_SOFTC()
515 if ((cfg_msw & ASC_CFG_MSW_CLR_MASK) != 0) { in AscInitFromASC_SOFTC()
516 cfg_msw &= (~(ASC_CFG_MSW_CLR_MASK)); in AscInitFromASC_SOFTC()
518 ASC_SET_CHIP_CFG_MSW(iot, ioh, cfg_msw); in AscInitFromASC_SOFTC()
531 cfg_msw &= 0xFFC0; in AscInitFromASC_SOFTC()
532 ASC_SET_CHIP_CFG_MSW(iot, ioh, cfg_msw); in AscInitFromASC_SOFTC()
1413 printf("cfg_msw = 0x%x\n", eep_config->cfg_msw); in AscPrintEEPConfig()