Home
last modified time | relevance | path

Searched refs:hwrev (Results 1 – 15 of 15) sorted by relevance

/freebsd-12-stable/sys/mips/broadcom/
Dbcm_pmu.c138 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()
Dbcm_machdep.c404 if (CHIPC_HWREV_HAS_CAP_EXT(bp->cc_id.hwrev)) in bcm_init_platform_data()
/freebsd-12-stable/sys/dev/bhnd/cores/chipc/
Dchipcreg.h32 #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/
Duart_dev_pl011.c496 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/
Dbcma_subr.c69 uint16_t device, uint8_t hwrev) in bcma_alloc_corecfg() argument
80 .hwrev = hwrev, in bcma_alloc_corecfg()
Dbcmavar.h101 uint16_t vendor, uint16_t device, uint8_t hwrev);
Dbcma.c155 *result = ci->hwrev; in bcma_read_ivar()
Dbcma_erom.c897 info->hwrev = core->rev; in bcma_erom_to_core_info()
/freebsd-12-stable/sys/dev/usb/net/
Dif_kue.c291 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/
Dbhnd_subr.c375 .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()
Dbhnd.h152 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/
Dif_re.c1220 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/
Dsiba_erom.c324 .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()
Dsiba.c146 *result = cfg->hwrev; in siba_read_ivar()
/freebsd-12-stable/sys/dev/rl/
Dif_rl.c645 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()