Lines Matching refs:mdio_addr
124 static void sis900_mdio_reset(long mdio_addr);
125 static void sis900_mdio_idle(long mdio_addr);
384 #define sis900_mdio_delay() inl(mdio_addr)
394 static void sis900_mdio_idle(long mdio_addr)
396 outl(MDIO | MDDIR, mdio_addr);
398 outl(MDIO | MDDIR | MDC, mdio_addr);
402 static void sis900_mdio_reset(long mdio_addr)
407 outl(MDDIR | MDIO, mdio_addr);
409 outl(MDDIR | MDIO | MDC, mdio_addr);
417 long mdio_addr = ioaddr + mear;
422 sis900_mdio_reset(mdio_addr);
423 sis900_mdio_idle(mdio_addr);
427 outl(dataval, mdio_addr);
429 outl(dataval | MDC, mdio_addr);
435 outl(0, mdio_addr);
437 retval = (retval << 1) | ((inl(mdio_addr) & MDIO) ? 1 : 0);
438 outl(MDC, mdio_addr);
446 long mdio_addr = ioaddr + mear;
450 sis900_mdio_reset(mdio_addr);
451 sis900_mdio_idle(mdio_addr);
456 outb(dataval, mdio_addr);
458 outb(dataval | MDC, mdio_addr);
466 outl(dataval, mdio_addr);
468 outl(dataval | MDC, mdio_addr);
475 outb(0, mdio_addr);
477 outb(MDC, mdio_addr);