Home
last modified time | relevance | path

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

/freebsd/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)
93 #define RTL8366_VMCR_MU_MEMBER_MASK (sc->chip_type == 0 ? 0x00ff : 0x003f)
94 #define RTL8366_VMCR_MU_UNTAG_SHIFT (sc->chip_type == 0 ? 8 : 6)
95 #define RTL8366_VMCR_MU_UNTAG_MASK (sc->chip_type == 0 ? 0xff00 : 0x0fc0)
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)
98 #define RTL8366_VMCR_FID_FID_MASK (sc->chip_type == 0 ? 0x0007 : 0x7000)
117 (sc->chip_type == 0 ? (_r[RTL8366_VMCR_FID_REG] & RTL8366_VMCR_FID_FID_MASK) : \
[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()
409 sc->chip_type = RTL8366RB; in smi_probe()
415 sc->chip_type = RTL8366SR; in smi_probe()
485 if (sc->chip_type == RTL8366SR) { // RTL8366SR work around in smi_select()
794 if (sc->chip_type == RTL8366RB) { in rtl_setvgroup()
/freebsd/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/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.c289 cid->chip_type = CHIPC_GET_BITS(idreg, CHIPC_ID_BUS); in bhnd_erom_read_chipid()
293 if (BHND_CHIPTYPE_HAS_EROM(cid->chip_type)) { in bhnd_erom_read_chipid()
H A Dbhnd.h214 uint8_t chip_type; /**< chip type (BHND_CHIPTYPE_*) */ member
/freebsd/sys/dev/bhnd/bcma/
H A Dbcma_bhndb.c62 if (cid->chip_type != BHND_CHIPTYPE_BCMA) in bcma_bhndb_probe()
H A Dbcma_erom.c179 switch (cid->chip_type) { in bcma_erom_probe()
/freebsd/sys/dev/bhnd/siba/
H A Dsiba_bhndb.c100 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_bhndb_probe()
H A Dsiba_erom.c107 if (hint->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
141 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
/freebsd/sys/dev/iicbus/gpio/
H A Dtca64xx.c87 enum chip_type{ enum
95 enum chip_type chip;
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt.h617 uint8_t chip_type; member
H A Dbnxt_sysctl.c1219 "chip_type", CTLFLAG_RD, vi->chip_type > MAX_CHIP_TYPE ? in bnxt_create_ver_sysctls()
1220 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/sys/dev/bhnd/bhndb/
H A Dbhndb_pci.c392 if (probe->cid.chip_type == BHND_CHIPTYPE_SIBA) { in bhndb_pci_attach()