Searched refs:chip_type (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/dev/etherswitch/rtl8366/ |
H A D | rtl8366rbvar.h | 72 #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 D | rtl8366rb.c | 79 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 D | t4_chip_type.h | 54 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 D | bhnd_match.h | 158 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 D | bhnd_erom.c | 289 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 D | bhnd.h | 214 uint8_t chip_type; /**< chip type (BHND_CHIPTYPE_*) */ member
|
/freebsd/sys/dev/bhnd/bcma/ |
H A D | bcma_bhndb.c | 62 if (cid->chip_type != BHND_CHIPTYPE_BCMA) in bcma_bhndb_probe()
|
H A D | bcma_erom.c | 179 switch (cid->chip_type) { in bcma_erom_probe()
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | siba_bhndb.c | 100 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_bhndb_probe()
|
H A D | siba_erom.c | 107 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 D | tca64xx.c | 87 enum chip_type{ enum 95 enum chip_type chip;
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt.h | 617 uint8_t chip_type; member
|
H A D | bnxt_sysctl.c | 1219 "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 D | bnxt_hwrm.c | 894 softc->ver_info->chip_type = resp->chip_platform_type; in bnxt_hwrm_ver_get()
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pci.c | 392 if (probe->cid.chip_type == BHND_CHIPTYPE_SIBA) { in bhndb_pci_attach()
|