| /freebsd-12-stable/sys/mips/broadcom/ |
| D | bcm_pmu.c | 138 if (cc_id->hwrev != 15 && cc_id->hwrev >= 11) { in bcm_get_uart_clkcfg() 148 if (CHIPC_HWREV_HAS_CORECTRL(cc_id->hwrev)) { in bcm_get_uart_clkcfg() 170 if (cc_id->hwrev == 15 || (cc_id->hwrev >= 3 && cc_id->hwrev <= 10)) { in bcm_get_uart_clkcfg() 181 if (cc_id->hwrev <= 2) { in bcm_get_uart_clkcfg()
|
| D | bcm_machdep.c | 404 if (CHIPC_HWREV_HAS_CAP_EXT(bp->cc_id.hwrev)) in bcm_init_platform_data()
|
| /freebsd-12-stable/sys/dev/bhnd/cores/chipc/ |
| D | chipcreg.h | 32 #define CHIPC_HWREV_HAS_CORECTRL(hwrev) ((hwrev) >= 1) argument 36 #define CHIPC_NCORES_MIN_HWREV(hwrev) ((hwrev) == 4 || (hwrev) >= 6) argument 40 #define CHIPC_HWREV_HAS_CAP_EXT(hwrev) ((hwrev) >= 35) argument
|
| /freebsd-12-stable/sys/dev/uart/ |
| D | uart_dev_pl011.c | 496 int hwrev; in uart_pl011_bus_probe() local 498 hwrev = -1; in uart_pl011_bus_probe() 501 hwrev = uart_pl011_bus_hwrev_fdt(sc); in uart_pl011_bus_probe() 503 if (hwrev < 0) in uart_pl011_bus_probe() 504 hwrev = __uart_getreg(&sc->sc_bas, UART_PIDREG_2) >> 4; in uart_pl011_bus_probe() 506 if (hwrev <= 2) { in uart_pl011_bus_probe()
|
| /freebsd-12-stable/sys/dev/bhnd/bcma/ |
| D | bcma_subr.c | 69 uint16_t device, uint8_t hwrev) in bcma_alloc_corecfg() argument 80 .hwrev = hwrev, in bcma_alloc_corecfg()
|
| D | bcmavar.h | 101 uint16_t vendor, uint16_t device, uint8_t hwrev);
|
| D | bcma.c | 155 *result = ci->hwrev; in bcma_read_ivar()
|
| D | bcma_erom.c | 897 info->hwrev = core->rev; in bcma_erom_to_core_info()
|
| /freebsd-12-stable/sys/dev/usb/net/ |
| D | if_kue.c | 291 uint16_t hwrev; in kue_load_fw() local 295 hwrev = UGETW(dd->bcdDevice); in kue_load_fw() 311 if (hwrev == 0x0202) in kue_load_fw()
|
| /freebsd-12-stable/sys/dev/bhnd/ |
| D | bhnd_subr.c | 375 .hwrev = bhnd_get_hwrev(dev), in bhnd_get_core_info() 693 BHND_MATCH_CORE_REV(HWREV_EQ(core->hwrev)), in bhnd_core_get_match_desc() 744 !bhnd_hwrev_matches(core->hwrev, &desc->core_rev)) in bhnd_core_matches() 831 bhnd_hwrev_matches(uint16_t hwrev, const struct bhnd_hwrev_match *desc) in bhnd_hwrev_matches() argument 834 desc->start > hwrev) in bhnd_hwrev_matches() 838 desc->end < hwrev) in bhnd_hwrev_matches()
|
| D | bhnd.h | 152 BHND_ACCESSOR(hwrev, HWREV, uint8_t); 248 uint16_t hwrev; /**< hardware revision */ member 509 bool bhnd_hwrev_matches(uint16_t hwrev,
|
| /freebsd-12-stable/sys/dev/re/ |
| D | if_re.c | 1220 int capmask, error = 0, hwrev, i, msic, msixc, in re_attach() local 1390 hwrev = CSR_READ_4(sc, RL_TXCFG); in re_attach() 1391 switch (hwrev & 0x70000000) { in re_attach() 1394 device_printf(dev, "Chip rev. 0x%08x\n", hwrev & 0xfc800000); in re_attach() 1395 hwrev &= (RL_TXCFG_HWREV | 0x80000000); in re_attach() 1398 device_printf(dev, "Chip rev. 0x%08x\n", hwrev & 0x7c800000); in re_attach() 1399 sc->rl_macrev = hwrev & 0x00700000; in re_attach() 1400 hwrev &= RL_TXCFG_HWREV; in re_attach() 1405 if (hw_rev->rl_rev == hwrev) { in re_attach() 1413 device_printf(dev, "Unknown H/W revision: 0x%08x\n", hwrev); in re_attach() [all …]
|
| /freebsd-12-stable/sys/dev/bhnd/siba/ |
| D | siba_erom.c | 324 .hwrev = SIBA_IDH_CORE_REV(idhigh), in siba_eio_read_core_id() 415 if (CHIPC_NCORES_MIN_HWREV(ccid.core_info.hwrev)) in siba_eio_read_chipid()
|
| D | siba.c | 146 *result = cfg->hwrev; in siba_read_ivar()
|
| /freebsd-12-stable/sys/dev/rl/ |
| D | if_rl.c | 645 int error = 0, hwrev, i, phy, pmc, rid; in rl_attach() local 816 hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV; in rl_attach() 817 switch (hwrev) { in rl_attach()
|