Home
last modified time | relevance | path

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

12

/freebsd-12.1/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)
96 #define RTL8366_VMCR_MU_UNTAG_SHIFT (sc->chip_type == 0 ? 8 : 6)
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)
128 #define RTL8366_PVCR_BASE (sc->chip_type == 0 ? 0x0063 : 0x0058)
146 #define RTL8366_CVCR (sc->chip_type == 0 ? 0x050A : 0x0104)
158 #define RTL8366_MCTLR (sc->chip_type == 0 ? 0x13f0 : 0x11F0)
170 #define RTL8366_PACR (sc->chip_type == 0 ? 0x8000 : 0x8028)
[all …]
H A Drtl8366rb.c81 int chip_type; member
154 if (sc->chip_type == RTL8366RB) in rtl8366rb_probe()
233 if (sc->chip_type == RTL8366RB) in rtl8366rb_attach()
417 sc->chip_type = RTL8366RB; in smi_probe()
423 sc->chip_type = RTL8366SR; in smi_probe()
493 if (sc->chip_type == RTL8366SR) { // RTL8366SR work around in smi_select()
802 if (sc->chip_type == RTL8366RB) { in rtl_setvgroup()
/freebsd-12.1/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-12.1/sys/dev/bhnd/
H A Dbhnd_match.h159 chip_type:1, member
168 uint8_t chip_type; /**< required chip type (BHND_CHIPTYPE_*) */ member
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
306 uint8_t chip_type; /**< required chip type (BHND_CHIPTYPE_*) */ member
H A Dbhnd_erom.c292 cid->chip_type = CHIPC_GET_BITS(idreg, CHIPC_ID_BUS); in bhnd_erom_read_chipid()
296 if (BHND_CHIPTYPE_HAS_EROM(cid->chip_type)) { in bhnd_erom_read_chipid()
H A Dbhnd_subr.c780 if (desc->m.match.chip_type && chip->chip_type != desc->chip_type) in bhnd_chip_matches()
1818 switch (chip_id->chip_type) { in bhnd_set_default_bus_desc()
/freebsd-12.1/sys/dev/ed/
H A Dif_ed_pccard.c611 sc->chip_type == ED_CHIP_TYPE_DL10022) { in ed_pccard_attach()
618 sc->chip_type == ED_CHIP_TYPE_AX88790 || in ed_pccard_attach()
619 sc->chip_type == ED_CHIP_TYPE_TC5299J) { in ed_pccard_attach()
716 sc->chip_type = (id & 0x90) == 0x90 ? in ed_pccard_dl100xx()
728 if (sc->chip_type != ED_CHIP_TYPE_DL10022) in ed_pccard_dl100xx_mii_reset()
836 sc->chip_type = ED_CHIP_TYPE_AX88790; in ed_probe_ax88x90_generic()
838 sc->chip_type = ED_CHIP_TYPE_AX88190; in ed_probe_ax88x90_generic()
899 if (sc->chip_type == ED_CHIP_TYPE_AX88190) in ed_pccard_ax88x90_check_mii()
955 if (sc->chip_type == ED_CHIP_TYPE_AX88190) in ed_pccard_ax88x90()
1028 sc->chip_type = ED_CHIP_TYPE_TC5299J; in ed_pccard_tc5299j()
[all …]
H A Dif_ed_wd80x3.c104 sc->chip_type = ED_CHIP_TYPE_DP8390; in ed_probe_WD80x3_generic()
230 sc->chip_type = ED_CHIP_TYPE_WD790; in ed_probe_WD80x3_generic()
292 (sc->chip_type != ED_CHIP_TYPE_WD790)) { in ed_probe_WD80x3_generic()
317 if (sc->chip_type == ED_CHIP_TYPE_WD790) { in ed_probe_WD80x3_generic()
375 if (sc->chip_type == ED_CHIP_TYPE_WD790) in ed_probe_WD80x3_generic()
390 (sc->chip_type != ED_CHIP_TYPE_WD790)) { in ed_probe_WD80x3_generic()
400 if (sc->chip_type != ED_CHIP_TYPE_WD790) { in ed_probe_WD80x3_generic()
H A Dif_ed_rtl80x9.c98 sc->chip_type = ED_CHIP_TYPE_RTL8019; in ed_probe_RTL80x9()
102 sc->chip_type = ED_CHIP_TYPE_RTL8029; in ed_probe_RTL80x9()
211 & (sc->chip_type == ED_CHIP_TYPE_RTL8029 ? ED_RTL80X9_CF0_BNC in ed_rtl_get_media()
H A Dif_ed.c142 if (sc->chip_type == ED_CHIP_TYPE_WD790) in ed_disable_16bit_access()
155 if (sc->chip_type == ED_CHIP_TYPE_WD790) in ed_enable_16bit_access()
298 if (sc->chip_type == ED_CHIP_TYPE_WD790) in ed_attach()
445 if (sc->chip_type == ED_CHIP_TYPE_AX88190 || in ed_stop_hw()
446 sc->chip_type == ED_CHIP_TYPE_AX88790) in ed_stop_hw()
581 if (sc->chip_type == ED_CHIP_TYPE_WD790) in ed_init_locked()
1008 if (sc->chip_type == ED_CHIP_TYPE_AX88190) { in edintr()
1609 if (sc->chip_type == ED_CHIP_TYPE_AX88190 || in ed_setrcr()
1610 sc->chip_type == ED_CHIP_TYPE_AX88790) in ed_setrcr()
1779 if (sc->chip_type == ED_CHIP_TYPE_WD790) in ed_shmem_write_mbufs()
[all …]
H A Dif_ed_novell.c177 sc->chip_type = ED_CHIP_TYPE_DP8390; in ed_probe_Novell_generic()
H A Dif_edvar.h49 u_char chip_type; /* the type of chip (one of ED_CHIP_TYPE_*) */ member
H A Dif_ed_hpp.c141 sc->chip_type = ED_CHIP_TYPE_DP8390; in ed_probe_HP_pclanp()
/freebsd-12.1/sys/dev/cs/
H A Dif_cs.c269 int chip_type, pp_isaint; in cs_cs89x0_probe() local
297 chip_type = rev_type & ~REVISON_BITS; in cs_cs89x0_probe()
300 sc->chip_type = chip_type; in cs_cs89x0_probe()
302 if (chip_type == CS8900) { in cs_cs89x0_probe()
346 if (chip_type == CS8900) { in cs_cs89x0_probe()
363 if (chip_type == CS8900) { in cs_cs89x0_probe()
386 chip_type == CS8900 ? '0' : '2', in cs_cs89x0_probe()
387 chip_type == CS8920M ? "M" : "", in cs_cs89x0_probe()
525 if (sc->chip_type != CS8900) { in cs_attach()
552 if (sc->chip_type != CS8900) { in cs_attach()
[all …]
H A Dif_csvar.h45 int chip_type; /* Type of chip */ member
/freebsd-12.1/sys/mips/broadcom/
H A Dsiba_nexus.c64 if (bcm_get_platform()->cid.chip_type != BHND_CHIPTYPE_SIBA) in siba_nexus_probe()
H A Dbcma_nexus.c70 switch (bcm_get_platform()->cid.chip_type) { in bcma_nexus_probe()
H A Dbcm_mips74k.c110 if (!BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(bp->cid.chip_type)) { in bcm_mips74k_timer_init()
139 if (!BHND_CHIPTYPE_IS_BCMA_COMPATIBLE(cid->chip_type)) in bcm_mips74k_probe()
H A Dbcm_bmips.c99 if (bhnd_get_chipid(dev)->chip_type != BHND_CHIPTYPE_SIBA) in bcm_bmips_probe()
/freebsd-12.1/sys/dev/bhnd/bcma/
H A Dbcma_bhndb.c65 if (cid->chip_type != BHND_CHIPTYPE_BCMA) in bcma_bhndb_probe()
/freebsd-12.1/sys/dev/aic/
H A Daicvar.h104 int chip_type; member
H A Daic.c1445 aic->chip_type = AIC6260; in aic_init()
1450 aic->chip_type = aic_chip_ids[i].type; in aic_init()
1471 if (aic->chip_type > AIC6260 || aic_inb(aic, REV)) { in aic_init()
1569 device_printf(aic->dev, "%s", aic_chip_names[aic->chip_type]); in aic_attach()
/freebsd-12.1/sys/dev/bhnd/siba/
H A Dsiba_bhndb.c103 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_bhndb_probe()
H A Dsiba_erom.c111 if (hint->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
145 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
/freebsd-12.1/sys/mips/cavium/
H A Docteon_machdep.c570 uint16_t chip_type; member

12