Lines Matching refs:mac_mdio_genc
354 int mac_mdio_genc; in sbmac_mii_sync() local
356 mac_mdio_genc = __raw_readq(sbm_mdio) & M_MAC_GENC; in sbmac_mii_sync()
360 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_sync()
363 __raw_writeq(bits | M_MAC_MDC | mac_mdio_genc, sbm_mdio); in sbmac_mii_sync()
364 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_sync()
386 int mac_mdio_genc; in sbmac_mii_senddata() local
388 mac_mdio_genc = __raw_readq(sbm_mdio) & M_MAC_GENC; in sbmac_mii_senddata()
391 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_senddata()
399 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_senddata()
400 __raw_writeq(bits | M_MAC_MDC | mac_mdio_genc, sbm_mdio); in sbmac_mii_senddata()
401 __raw_writeq(bits | mac_mdio_genc, sbm_mdio); in sbmac_mii_senddata()
428 int mac_mdio_genc; in sbmac_mii_read() local
448 mac_mdio_genc = __raw_readq(sbm_mdio) & M_MAC_GENC; in sbmac_mii_read()
453 __raw_writeq(M_MAC_MDIO_DIR_INPUT | mac_mdio_genc, sbm_mdio); in sbmac_mii_read()
458 __raw_writeq(M_MAC_MDIO_DIR_INPUT | M_MAC_MDC | mac_mdio_genc, in sbmac_mii_read()
460 __raw_writeq(M_MAC_MDIO_DIR_INPUT | mac_mdio_genc, sbm_mdio); in sbmac_mii_read()
471 __raw_writeq(M_MAC_MDIO_DIR_INPUT | M_MAC_MDC | mac_mdio_genc, in sbmac_mii_read()
473 __raw_writeq(M_MAC_MDIO_DIR_INPUT | mac_mdio_genc, sbm_mdio); in sbmac_mii_read()
485 __raw_writeq(M_MAC_MDIO_DIR_INPUT | M_MAC_MDC | mac_mdio_genc, in sbmac_mii_read()
487 __raw_writeq(M_MAC_MDIO_DIR_INPUT | mac_mdio_genc, sbm_mdio); in sbmac_mii_read()
491 __raw_writeq(M_MAC_MDIO_DIR_OUTPUT | mac_mdio_genc, sbm_mdio); in sbmac_mii_read()
519 int mac_mdio_genc; in sbmac_mii_write() local
530 mac_mdio_genc = __raw_readq(sbm_mdio) & M_MAC_GENC; in sbmac_mii_write()
532 __raw_writeq(M_MAC_MDIO_DIR_OUTPUT | mac_mdio_genc, sbm_mdio); in sbmac_mii_write()