Home
last modified time | relevance | path

Searched refs:chip_type (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/sys/dev/etherswitch/rtl8366/
H A Drtl8366rbvar.h72 #define RTL8366_PLSR_BASE (sc->chip_type == 0 ? 0x0014 : 0x0060)
84 #define RTL8366_VMCR_BASE (sc->chip_type == 0 ? 0x0020 : 0x0016)
85 #define RTL8366_VMCR_MULT (sc->chip_type == 0 ? 3 : 2)
94 #define RTL8366_VMCR_MU_UNTAG_SHIFT (sc->chip_type == 0 ? 8 : 6)
96 #define RTL8366_VMCR_FID_REG (sc->chip_type == 0 ? 2 : 1)
97 #define RTL8366_VMCR_FID_FID_SHIFT (sc->chip_type == 0 ? 0 : 12)
126 #define RTL8366_PVCR_BASE (sc->chip_type == 0 ? 0x0063 : 0x0058)
144 #define RTL8366_CVCR (sc->chip_type == 0 ? 0x050A : 0x0104)
156 #define RTL8366_MCTLR (sc->chip_type == 0 ? 0x13f0 : 0x11F0)
168 #define RTL8366_PACR (sc->chip_type == 0 ? 0x8000 : 0x8028)
[all …]
H A Drtl8366rb.c79 int chip_type; member
153 if (sc->chip_type == RTL8366RB) in rtl8366rb_probe()
232 if (sc->chip_type == RTL8366RB) in rtl8366rb_attach()
410 sc->chip_type = RTL8366RB; in smi_probe()
416 sc->chip_type = RTL8366SR; in smi_probe()
486 if (sc->chip_type == RTL8366SR) { // RTL8366SR work around in smi_select()
795 if (sc->chip_type == RTL8366RB) { in rtl_setvgroup()
/freebsd-14.2/contrib/ofed/libcxgb4/
H A Dt4_chip_type.h54 enum chip_type { enum
70 static inline int is_t4(enum chip_type chip) in is_t4()
75 static inline int is_t5(enum chip_type chip) in is_t5()
80 static inline int is_t6(enum chip_type chip) in is_t6()
/freebsd-14.2/sys/dev/bhnd/
H A Dbhnd_match.h158 chip_type:1, member
167 uint8_t chip_type; /**< required chip type (BHND_CHIPTYPE_*) */ member
174 _BHND_COPY_MATCH_FIELD(_src, chip_type),\
189 #define BHND_MATCH_CHIP_TYPE(_type) _BHND_SET_MATCH_FIELD(chip_type, \
284 chip_type:1, member
304 uint8_t chip_type; /**< required chip type (BHND_CHIPTYPE_*) */ member
H A Dbhnd_erom.c290 cid->chip_type = CHIPC_GET_BITS(idreg, CHIPC_ID_BUS); in bhnd_erom_read_chipid()
294 if (BHND_CHIPTYPE_HAS_EROM(cid->chip_type)) { in bhnd_erom_read_chipid()
H A Dbhnd_subr.c775 if (desc->m.match.chip_type && chip->chip_type != desc->chip_type) in bhnd_chip_matches()
1801 switch (chip_id->chip_type) { in bhnd_set_default_bus_desc()
H A Dbhnd.h214 uint8_t chip_type; /**< chip type (BHND_CHIPTYPE_*) */ member
/freebsd-14.2/sys/dev/bhnd/bcma/
H A Dbcma_bhndb.c63 if (cid->chip_type != BHND_CHIPTYPE_BCMA) in bcma_bhndb_probe()
H A Dbcma_erom.c180 switch (cid->chip_type) { in bcma_erom_probe()
/freebsd-14.2/sys/dev/bhnd/siba/
H A Dsiba_bhndb.c101 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_bhndb_probe()
H A Dsiba_erom.c108 if (hint->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
142 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
/freebsd-14.2/sys/dev/iicbus/gpio/
H A Dtca64xx.c88 enum chip_type{ enum
96 enum chip_type chip;
/freebsd-14.2/sys/dev/bnxt/bnxt_en/
H A Dbnxt.h616 uint8_t chip_type; member
H A Dbnxt_sysctl.c1220 "chip_type", CTLFLAG_RD, vi->chip_type > MAX_CHIP_TYPE ? in bnxt_create_ver_sysctls()
1221 bnxt_chip_type[MAX_CHIP_TYPE] : bnxt_chip_type[vi->chip_type], 0, in bnxt_create_ver_sysctls()
H A Dbnxt_hwrm.c894 softc->ver_info->chip_type = resp->chip_platform_type; in bnxt_hwrm_ver_get()
/freebsd-14.2/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c392 if (probe->cid.chip_type == BHND_CHIPTYPE_SIBA) { in bhndb_pci_attach()