Home
last modified time | relevance | path

Searched refs:cfg2 (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/sys/arch/iyonix/iyonix/
Dautoconf.c114 prop_number_t cfg1, cfg2, swdpin; in device_register() local
124 cfg2 = prop_number_create_integer(0); in device_register()
125 KASSERT(cfg2 != NULL); in device_register()
135 SETPROP("i82543-cfg2", cfg2); in device_register()
/netbsd/src/sys/arch/mips/mips/
Dcache.c1271 uint32_t cfg2 = mipsNN_cp0_config2_read(); in mips_config_cache_modern() local
1273 switch (MIPSNN_GET(CFG2_SL, cfg2)) { in mips_config_cache_modern()
1279 mci->mci_sdcache_line_size = MIPSNN_CFG2_SL(cfg2); in mips_config_cache_modern()
1281 mci->mci_sdcache_line_size * MIPSNN_CFG2_SS(cfg2); in mips_config_cache_modern()
1282 mci->mci_sdcache_ways = MIPSNN_CFG2_SA(cfg2) + 1; in mips_config_cache_modern()
1310 switch (MIPSNN_GET(CFG2_TL, cfg2)) { in mips_config_cache_modern()
1314 mci->mci_tcache_line_size = MIPSNN_CFG2_TL(cfg2); in mips_config_cache_modern()
1316 mci->mci_tcache_line_size * MIPSNN_CFG2_TS(cfg2); in mips_config_cache_modern()
1317 mci->mci_tcache_ways = MIPSNN_CFG2_TA(cfg2) + 1; in mips_config_cache_modern()
/netbsd/src/sys/dev/pci/
Dif_et.c451 uint32_t cfg1, cfg2, ctrl; in et_miibus_statchg() local
479 cfg2 = CSR_READ_4(sc, ET_MAC_CFG2); in et_miibus_statchg()
480 cfg2 &= ~(ET_MAC_CFG2_MODE_MII | ET_MAC_CFG2_MODE_GMII | in et_miibus_statchg()
482 cfg2 |= ET_MAC_CFG2_LENCHK | ET_MAC_CFG2_CRC | ET_MAC_CFG2_PADCRC | in et_miibus_statchg()
487 cfg2 |= ET_MAC_CFG2_MODE_GMII; in et_miibus_statchg()
489 cfg2 |= ET_MAC_CFG2_MODE_MII; in et_miibus_statchg()
494 cfg2 |= ET_MAC_CFG2_FDX; in et_miibus_statchg()
516 CSR_WRITE_4(sc, ET_MAC_CFG2, cfg2); in et_miibus_statchg()
Dif_wm.c2027 uint16_t cfg1, cfg2, swdpin, nvmword; in wm_attach() local
2798 cfg2 = (uint16_t) prop_number_signed_value(pn); in wm_attach()
2800 if (wm_nvm_read(sc, NVM_OFF_CFG2, 1, &cfg2)) { in wm_attach()
2817 eeprom_data = cfg2; in wm_attach()
2985 ((cfg2 >> NVM_CFG2_SWDPIO_SHIFT) & 0xf) << in wm_attach()
/netbsd/src/sys/dev/ic/
Drtsx.c1384 uint8_t cfg2; in rtsx_xfer() local
1396 cfg2 = RTSX_SD_NO_CHECK_WAIT_CRC_TO | RTSX_SD_CHECK_CRC16 | in rtsx_xfer()
1404 cfg2 |= RTSX_SD_CALCULATE_CRC7 | RTSX_SD_CHECK_CRC7; in rtsx_xfer()
1411 cfg2 |= RTSX_SD_NO_CALCULATE_CRC7 | RTSX_SD_NO_CHECK_CRC7; in rtsx_xfer()
1420 0xff, cfg2); in rtsx_xfer()
/netbsd/src/external/gpl3/gcc/dist/
DMD5SUMS21885 2db7ebcb2c45714978fcb3cadb7cb570 gcc/testsuite/g++.dg/opt/cfg2.C