Home
last modified time | relevance | path

Searched refs:media_types (Results 1 – 2 of 2) sorted by relevance

/freebsd/sbin/devd/
H A Ddevd.cc331 static struct ifmedia_description media_types[] = { in media() local
338 for (int i = 0; media_types[i].ifmt_string != NULL; ++i) in media()
339 if (strcasecmp(type, media_types[i].ifmt_string) == 0) { in media()
340 _type = media_types[i].ifmt_word; in media()
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c5644 uint32_t sync_offset, media_types; in elink_link_status_update() local
5668 media_types = REG_RD(sc, sync_offset); in elink_link_status_update()
5671 (media_types & PORT_HW_CFG_MEDIA_TYPE_PHY0_MASK) >> in elink_link_status_update()
5674 (media_types & PORT_HW_CFG_MEDIA_TYPE_PHY1_MASK) >> in elink_link_status_update()
5677 (media_types & PORT_HW_CFG_MEDIA_TYPE_PHY2_MASK) >> in elink_link_status_update()
5679 ELINK_DEBUG_P1(sc, "media_types = 0x%x\n", media_types); in elink_link_status_update()
9020 uint32_t sync_offset = 0, phy_idx, media_types; in elink_get_edc_mode() local
9128 media_types = REG_RD(sc, sync_offset); in elink_get_edc_mode()
9132 media_types &= ~(PORT_HW_CFG_MEDIA_TYPE_PHY0_MASK << in elink_get_edc_mode()
9134 media_types |= ((phy->media_type & in elink_get_edc_mode()
[all …]