Searched refs:chip_type (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-12-stable/contrib/ofed/libcxgb4/
H A Dt4_chip_type.h54 enum chip_type { enum
70 static inline int is_t4(enum chip_type chip)
75 static inline int is_t5(enum chip_type chip)
80 static inline int is_t6(enum chip_type chip)
/freebsd-12-stable/sys/dev/etherswitch/rtl8366/
H A Drtl8366rbvar.h74 #define RTL8366_PLSR_BASE (sc->chip_type == 0 ? 0x0014 : 0x0060)
86 #define RTL8366_VMCR_BASE (sc->chip_type == 0 ? 0x0020 : 0x0016)
87 #define RTL8366_VMCR_MULT (sc->chip_type == 0 ? 3 : 2)
95 #define RTL8366_VMCR_MU_MEMBER_MASK (sc->chip_type == 0 ? 0x00ff : 0x003f)
96 #define RTL8366_VMCR_MU_UNTAG_SHIFT (sc->chip_type == 0 ? 8 : 6)
97 #define RTL8366_VMCR_MU_UNTAG_MASK (sc->chip_type == 0 ? 0xff00 : 0x0fc0)
98 #define RTL8366_VMCR_FID_REG (sc->chip_type == 0 ? 2 : 1)
99 #define RTL8366_VMCR_FID_FID_SHIFT (sc->chip_type == 0 ? 0 : 12)
100 #define RTL8366_VMCR_FID_FID_MASK (sc->chip_type == 0 ? 0x0007 : 0x7000)
119 (sc->chip_type
[all...]
H A Drtl8366rb.c81 int chip_type; member in struct:rtl8366rb_softc
154 if (sc->chip_type == RTL8366RB)
233 if (sc->chip_type == RTL8366RB)
417 sc->chip_type = RTL8366RB;
423 sc->chip_type = RTL8366SR;
493 if (sc->chip_type == RTL8366SR) { // RTL8366SR work around
802 if (sc->chip_type == RTL8366RB) {
/freebsd-12-stable/sys/dev/cs/
H A Dif_csvar.h45 int chip_type; /* Type of chip */ member in struct:cs_softc
H A Dif_cs.c269 int chip_type, pp_isaint; local
297 chip_type = rev_type & ~REVISON_BITS;
300 sc->chip_type = chip_type;
302 if (chip_type == CS8900) {
346 if (chip_type == CS8900) {
363 if (chip_type == CS8900) {
386 chip_type == CS8900 ? '0' : '2',
387 chip_type == CS8920M ? "M" : "",
525 if (sc->chip_type !
[all...]
/freebsd-12-stable/sys/dev/bhnd/
H A Dbhnd_match.h159 chip_type:1, member in struct:bhnd_chip_match::__anon12268::__anon12269
168 uint8_t chip_type; /**< required chip type (BHND_CHIPTYPE_*) */ member in struct:bhnd_chip_match
175 _BHND_COPY_MATCH_FIELD(_src, chip_type),\
190 #define BHND_MATCH_CHIP_TYPE(_type) _BHND_SET_MATCH_FIELD(chip_type, \
286 chip_type:1, member in struct:bhnd_device_match::__anon12272::__anon12273
306 uint8_t chip_type; /**< required chip type (BHND_CHIPTYPE_*) */ member in struct:bhnd_device_match
H A Dbhnd_erom.c292 cid->chip_type = CHIPC_GET_BITS(idreg, CHIPC_ID_BUS);
296 if (BHND_CHIPTYPE_HAS_EROM(cid->chip_type)) {
H A Dbhnd_subr.c780 if (desc->m.match.chip_type && chip->chip_type != desc->chip_type)
1818 switch (chip_id->chip_type) {
/freebsd-12-stable/sys/dev/ed/
H A Dif_ed_wd80x3.c104 sc->chip_type = ED_CHIP_TYPE_DP8390;
230 sc->chip_type = ED_CHIP_TYPE_WD790;
292 (sc->chip_type != ED_CHIP_TYPE_WD790)) {
317 if (sc->chip_type == ED_CHIP_TYPE_WD790) {
375 if (sc->chip_type == ED_CHIP_TYPE_WD790)
390 (sc->chip_type != ED_CHIP_TYPE_WD790)) {
400 if (sc->chip_type != ED_CHIP_TYPE_WD790) {
H A Dif_ed_pccard.c610 if (sc->chip_type == ED_CHIP_TYPE_DL10019 ||
611 sc->chip_type == ED_CHIP_TYPE_DL10022) {
617 } else if (sc->chip_type == ED_CHIP_TYPE_AX88190 ||
618 sc->chip_type == ED_CHIP_TYPE_AX88790 ||
619 sc->chip_type == ED_CHIP_TYPE_TC5299J) {
716 sc->chip_type = (id & 0x90) == 0x90 ?
728 if (sc->chip_type != ED_CHIP_TYPE_DL10022)
836 sc->chip_type = ED_CHIP_TYPE_AX88790;
838 sc->chip_type = ED_CHIP_TYPE_AX88190;
899 if (sc->chip_type
[all...]
H A Dif_ed_rtl80x9.c98 sc->chip_type = ED_CHIP_TYPE_RTL8019;
102 sc->chip_type = ED_CHIP_TYPE_RTL8029;
211 & (sc->chip_type == ED_CHIP_TYPE_RTL8029 ? ED_RTL80X9_CF0_BNC
H A Dif_ed.c142 if (sc->chip_type == ED_CHIP_TYPE_WD790)
155 if (sc->chip_type == ED_CHIP_TYPE_WD790)
298 if (sc->chip_type == ED_CHIP_TYPE_WD790)
445 if (sc->chip_type == ED_CHIP_TYPE_AX88190 ||
446 sc->chip_type == ED_CHIP_TYPE_AX88790)
581 if (sc->chip_type == ED_CHIP_TYPE_WD790)
1008 if (sc->chip_type == ED_CHIP_TYPE_AX88190) {
1609 if (sc->chip_type == ED_CHIP_TYPE_AX88190 ||
1610 sc->chip_type == ED_CHIP_TYPE_AX88790)
1779 if (sc->chip_type
[all...]
H A Dif_ed_novell.c177 sc->chip_type = ED_CHIP_TYPE_DP8390;
H A Dif_edvar.h49 u_char chip_type; /* the type of chip (one of ED_CHIP_TYPE_*) */ member in struct:ed_softc
H A Dif_ed_hpp.c141 sc->chip_type = ED_CHIP_TYPE_DP8390;
/freebsd-12-stable/sys/mips/broadcom/
H A Dbcma_nexus.c70 switch (bcm_get_platform()->cid.chip_type) {
H A Dsiba_nexus.c64 if (bcm_get_platform()->cid.chip_type != BHND_CHIPTYPE_SIBA)
H A Dbcm_mips74k.c110 if (!BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(bp->cid.chip_type)) {
139 if (!BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(cid->chip_type))
H A Dbcm_bmips.c99 if (bhnd_get_chipid(dev)->chip_type != BHND_CHIPTYPE_SIBA)
/freebsd-12-stable/sys/dev/bhnd/bcma/
H A Dbcma_bhndb.c65 if (cid->chip_type != BHND_CHIPTYPE_BCMA)
/freebsd-12-stable/sys/dev/aic/
H A Daicvar.h104 int chip_type; member in struct:aic_softc
H A Daic.c1445 aic->chip_type = AIC6260;
1450 aic->chip_type = aic_chip_ids[i].type;
1471 if (aic->chip_type > AIC6260 || aic_inb(aic, REV)) {
1569 device_printf(aic->dev, "%s", aic_chip_names[aic->chip_type]);
/freebsd-12-stable/sys/dev/bhnd/siba/
H A Dsiba_bhndb.c103 if (cid->chip_type != BHND_CHIPTYPE_SIBA)
H A Dsiba_erom.c111 if (hint->chip_type != BHND_CHIPTYPE_SIBA)
145 if (cid->chip_type != BHND_CHIPTYPE_SIBA)
/freebsd-12-stable/sys/mips/cavium/
H A Docteon_machdep.c570 uint16_t chip_type; member in struct:__anon15805

Completed in 172 milliseconds

12