/freebsd-12-stable/contrib/ofed/libcxgb4/ |
H A D | t4_chip_type.h | 54 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 D | rtl8366rbvar.h | 74 #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 D | rtl8366rb.c | 81 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 D | if_csvar.h | 45 int chip_type; /* Type of chip */ member in struct:cs_softc
|
H A D | if_cs.c | 269 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 D | bhnd_match.h | 159 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 D | bhnd_erom.c | 292 cid->chip_type = CHIPC_GET_BITS(idreg, CHIPC_ID_BUS); 296 if (BHND_CHIPTYPE_HAS_EROM(cid->chip_type)) {
|
H A D | bhnd_subr.c | 780 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 D | if_ed_wd80x3.c | 104 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 D | if_ed_pccard.c | 610 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 D | if_ed_rtl80x9.c | 98 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 D | if_ed.c | 142 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 D | if_ed_novell.c | 177 sc->chip_type = ED_CHIP_TYPE_DP8390;
|
H A D | if_edvar.h | 49 u_char chip_type; /* the type of chip (one of ED_CHIP_TYPE_*) */ member in struct:ed_softc
|
H A D | if_ed_hpp.c | 141 sc->chip_type = ED_CHIP_TYPE_DP8390;
|
/freebsd-12-stable/sys/mips/broadcom/ |
H A D | bcma_nexus.c | 70 switch (bcm_get_platform()->cid.chip_type) {
|
H A D | siba_nexus.c | 64 if (bcm_get_platform()->cid.chip_type != BHND_CHIPTYPE_SIBA)
|
H A D | bcm_mips74k.c | 110 if (!BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(bp->cid.chip_type)) { 139 if (!BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(cid->chip_type))
|
H A D | bcm_bmips.c | 99 if (bhnd_get_chipid(dev)->chip_type != BHND_CHIPTYPE_SIBA)
|
/freebsd-12-stable/sys/dev/bhnd/bcma/ |
H A D | bcma_bhndb.c | 65 if (cid->chip_type != BHND_CHIPTYPE_BCMA)
|
/freebsd-12-stable/sys/dev/aic/ |
H A D | aicvar.h | 104 int chip_type; member in struct:aic_softc
|
H A D | aic.c | 1445 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 D | siba_bhndb.c | 103 if (cid->chip_type != BHND_CHIPTYPE_SIBA)
|
H A D | siba_erom.c | 111 if (hint->chip_type != BHND_CHIPTYPE_SIBA) 145 if (cid->chip_type != BHND_CHIPTYPE_SIBA)
|
/freebsd-12-stable/sys/mips/cavium/ |
H A D | octeon_machdep.c | 570 uint16_t chip_type; member in struct:__anon15805
|