Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipcreg.h30 #define CHIPC_HWREV_HAS_CORECTRL(hwrev) ((hwrev) >= 1) argument
34 #define CHIPC_NCORES_MIN_HWREV(hwrev) ((hwrev) == 4 || (hwrev) >= 6) argument
38 #define CHIPC_HWREV_HAS_CAP_EXT(hwrev) ((hwrev) >= 35) argument
/freebsd/sys/dev/uart/
H A Duart_dev_pl011.c506 int hwrev; in uart_pl011_bus_probe() local
508 hwrev = -1; in uart_pl011_bus_probe()
511 hwrev = uart_pl011_bus_hwrev_fdt(sc); in uart_pl011_bus_probe()
513 if (hwrev < 0) in uart_pl011_bus_probe()
514 hwrev = __uart_getreg(&sc->sc_bas, UART_PIDREG_2) >> 4; in uart_pl011_bus_probe()
516 if (hwrev <= 2) { in uart_pl011_bus_probe()
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma_subr.c66 uint16_t device, uint8_t hwrev) in bcma_alloc_corecfg() argument
77 .hwrev = hwrev, in bcma_alloc_corecfg()
H A Dbcmavar.h99 uint16_t vendor, uint16_t device, uint8_t hwrev);
H A Dbcma.c149 *result = ci->hwrev; in bcma_read_ivar()
H A Dbcma_erom.c893 info->hwrev = core->rev; in bcma_erom_to_core_info()
/freebsd/sys/dev/usb/net/
H A Dif_kue.c286 uint16_t hwrev; in kue_load_fw() local
290 hwrev = UGETW(dd->bcdDevice); in kue_load_fw()
306 if (hwrev == 0x0202) in kue_load_fw()
/freebsd/sys/dev/bhnd/
H A Dbhnd_subr.c371 .hwrev = bhnd_get_hwrev(dev), in bhnd_get_core_info()
688 BHND_MATCH_CORE_REV(HWREV_EQ(core->hwrev)), in bhnd_core_get_match_desc()
738 !bhnd_hwrev_matches(core->hwrev, &desc->core_rev)) in bhnd_core_matches()
825 bhnd_hwrev_matches(uint16_t hwrev, const struct bhnd_hwrev_match *desc) in bhnd_hwrev_matches() argument
828 desc->start > hwrev) in bhnd_hwrev_matches()
832 desc->end < hwrev) in bhnd_hwrev_matches()
H A Dbhnd.h146 BHND_ACCESSOR(hwrev, HWREV, uint8_t);
241 uint16_t hwrev; /**< hardware revision */ member
499 bool bhnd_hwrev_matches(uint16_t hwrev,
/freebsd/sys/dev/bhnd/siba/
H A Dsiba_erom.c320 .hwrev = SIBA_IDH_CORE_REV(idhigh), in siba_eio_read_core_id()
411 if (CHIPC_NCORES_MIN_HWREV(ccid.core_info.hwrev)) in siba_eio_read_chipid()
H A Dsiba.c143 *result = cfg->hwrev; in siba_read_ivar()
/freebsd/sys/dev/re/
H A 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/sys/dev/rl/
H A Dif_rl.c643 int error = 0, hwrev, i, phy, pmc, rid; in rl_attach() local
813 hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV; in rl_attach()
814 switch (hwrev) { in rl_attach()