Searched refs:mif_cfg (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_mac.c | 613 mif_cfg_t mif_cfg; in npi_mac_mif_link_intr_disable() local 617 MIF_REG_RD(handle, MIF_CONFIG_REG, &mif_cfg.val.lsw); in npi_mac_mif_link_intr_disable() 619 mif_cfg.bits.w0.phy_addr = portn; in npi_mac_mif_link_intr_disable() 620 mif_cfg.bits.w0.poll_en = 0; in npi_mac_mif_link_intr_disable() 622 MIF_REG_WR(handle, MIF_CONFIG_REG, mif_cfg.val.lsw); in npi_mac_mif_link_intr_disable() 3401 mif_cfg_t mif_cfg; in npi_mac_mif_link_intr_enable() local 3414 MIF_REG_RD(handle, MIF_CONFIG_REG, &mif_cfg.value); in npi_mac_mif_link_intr_enable() 3416 mif_cfg.bits.w0.phy_addr = portn; /* Port number */ in npi_mac_mif_link_intr_enable() 3417 mif_cfg.bits.w0.reg_addr = xcvr_reg; /* Register address */ in npi_mac_mif_link_intr_enable() 3418 mif_cfg.bits.w0.indirect_md = 0; /* Clause 22 */ in npi_mac_mif_link_intr_enable() [all …]
|
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.c | 448 x = (GET_MIFREG(mif_cfg) & HME_MIF_CFGM0) ? 1 : 0; in get_bit_std() 450 x = (GET_MIFREG(mif_cfg) & HME_MIF_CFGM1) ? 1 : 0; in get_bit_std() 549 tmp_mif = GET_MIFREG(mif_cfg); in hme_mii_read() 554 PUT_MIFREG(mif_cfg, tmp_mif | HME_MIF_CFGPS); in hme_mii_read() 558 PUT_MIFREG(mif_cfg, tmp_mif & ~(HME_MIF_CFGPS)); in hme_mii_read() 568 PUT_MIFREG(mif_cfg, tmp_mif); in hme_mii_read() 583 PUT_MIFREG(mif_cfg, tmp_mif); in hme_mii_read() 603 tmp_mif = GET_MIFREG(mif_cfg); in hme_mii_write() 608 PUT_MIFREG(mif_cfg, tmp_mif | HME_MIF_CFGPS); in hme_mii_write() 612 PUT_MIFREG(mif_cfg, tmp_mif & ~(HME_MIF_CFGPS)); in hme_mii_write() [all …]
|
H A D | hme_mac.h | 540 uint_t mif_cfg; /* MIF Configuration */ member
|
/illumos-gate/usr/src/uts/sun/io/eri/ |
H A D | eri.c | 2795 GET_MIFREG(mif_cfg)); in eri_intr() 3286 x = (GET_MIFREG(mif_cfg) & ERI_MIF_CFGM0) ? 1 : 0; in get_bit_std() 3288 x = (GET_MIFREG(mif_cfg) & ERI_MIF_CFGM1) ? 1 : 0; in get_bit_std() 4700 cfg = GET_MIFREG(mif_cfg); in eri_new_xcvr() 4731 PUT_MIFREG(mif_cfg, erip->mif_config); in eri_new_xcvr() 4763 PUT_MIFREG(mif_cfg, erip->mif_config); in eri_new_xcvr() 5491 PUT_MIFREG(mif_cfg, erip->mif_config); in eri_mif_poll() 5499 PUT_MIFREG(mif_cfg, erip->mif_config); in eri_mif_poll() 5506 GET_MIFREG(mif_cfg)); in eri_mif_poll()
|
H A D | eri_mac.h | 1033 uint32_t mif_cfg; /* 0x6210 (RW) MIF Configuration */ member
|