Searched refs:hwrev (Results 1 – 12 of 12) sorted by relevance
/freebsd/sys/dev/bhnd/cores/chipc/ |
H A D | chipcreg.h | 30 #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 D | uart_dev_pl011.c | 546 int hwrev; in uart_pl011_bus_probe() local 548 hwrev = -1; in uart_pl011_bus_probe() 551 hwrev = uart_pl011_bus_hwrev_fdt(sc); in uart_pl011_bus_probe() 553 if (hwrev < 0) in uart_pl011_bus_probe() 554 hwrev = __uart_getreg(&sc->sc_bas, UART_PIDREG_2) >> 4; in uart_pl011_bus_probe() 556 if (hwrev <= 2) { in uart_pl011_bus_probe()
|
/freebsd/sys/dev/bhnd/bcma/ |
H A D | bcma_subr.c | 66 uint16_t device, uint8_t hwrev) in bcma_alloc_corecfg() argument 77 .hwrev = hwrev, in bcma_alloc_corecfg()
|
H A D | bcmavar.h | 99 uint16_t vendor, uint16_t device, uint8_t hwrev);
|
H A D | bcma.c | 148 *result = ci->hwrev; in bcma_read_ivar()
|
H A D | bcma_erom.c | 893 info->hwrev = core->rev; in bcma_erom_to_core_info()
|
/freebsd/sys/dev/usb/net/ |
H A D | if_kue.c | 285 uint16_t hwrev; in kue_load_fw() local 289 hwrev = UGETW(dd->bcdDevice); in kue_load_fw() 305 if (hwrev == 0x0202) in kue_load_fw()
|
/freebsd/sys/dev/re/ |
H A 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/sys/dev/bhnd/siba/ |
H A D | siba_erom.c | 320 .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 D | siba.c | 142 *result = cfg->hwrev; in siba_read_ivar()
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd.h | 146 BHND_ACCESSOR(hwrev, HWREV, uint8_t); 241 uint16_t hwrev; /**< hardware revision */ member 499 bool bhnd_hwrev_matches(uint16_t hwrev,
|
/freebsd/sys/dev/rl/ |
H A D | if_rl.c | 643 int error = 0, hwrev, i, phy, pmc, rid; in rl_attach() local 808 hwrev = CSR_READ_4(sc, RL_TXCFG) & RL_TXCFG_HWREV; in rl_attach() 809 switch (hwrev) { in rl_attach()
|