Home
last modified time | relevance | path

Searched refs:dataval (Results 1 – 6 of 6) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/
Dsis900.c478 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in sis900_read_eeprom() local
479 outl(dataval, ee_addr); in sis900_read_eeprom()
481 outl(dataval | EECLK, ee_addr); in sis900_read_eeprom()
546 int dataval = (mii_cmd & (1 << i)) ? MDDIR | MDIO : MDDIR; in sis900_mdio_read() local
547 outl(dataval, mdio_addr); in sis900_mdio_read()
549 outl(dataval | MDC, mdio_addr); in sis900_mdio_read()
577 int dataval = (mii_cmd & (1 << i)) ? MDDIR | MDIO : MDDIR;
578 outb(dataval, mdio_addr);
580 outb(dataval | MDC, mdio_addr);
587 int dataval = (value & (1 << i)) ? MDDIR | MDIO : MDDIR;
[all …]
Dw89c840.c753 short dataval = (read_cmd & (1 << i)) ? EE_Write1 : EE_Write0; in eeprom_read() local
754 writel(dataval, ee_addr); in eeprom_read()
756 writel(dataval | EE_ShiftClk, ee_addr); in eeprom_read()
817 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read() local
819 writel(dataval, mdio_addr); in mdio_read()
821 writel(dataval | MDIO_ShiftClk, mdio_addr); in mdio_read()
850 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0;
852 writel(dataval, mdio_addr);
854 writel(dataval | MDIO_ShiftClk, mdio_addr);
Depic100.c473 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom() local
474 outl(EE_ENB | dataval, eectl); in read_eeprom()
476 outl(EE_ENB | dataval | EE_SHIFT_CLK, eectl); in read_eeprom()
478 outl(EE_ENB | dataval, eectl); /* Finish EEPROM a clock tick. */ in read_eeprom()
Dsundance.c812 int dataval = in mdio_read() local
815 mdio_out(dataval, mdio_addr); in mdio_read()
817 mdio_out(dataval | MDIO_ShiftClk, mdio_addr); in mdio_read()
846 int dataval = in mdio_write() local
848 mdio_out(dataval, mdio_addr); in mdio_write()
850 mdio_out(dataval | MDIO_ShiftClk, mdio_addr); in mdio_write()
Ddavicom.c407 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom() local
408 outl(EE_ENB | dataval, ee_addr); in read_eeprom()
410 outl(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom()
Dtulip.c625 int dataval = (read_cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in mdio_read() local
627 outl(MDIO_ENB | dataval, mdio_addr); in mdio_read()
629 outl(MDIO_ENB | dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
684 int dataval = (cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in mdio_write() local
685 outl(MDIO_ENB | dataval, mdio_addr); in mdio_write()
687 outl(MDIO_ENB | dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()
723 short dataval = (read_cmd & (1 << i)) ? EE_DATA_WRITE : 0; in read_eeprom() local
724 outl(EE_ENB | dataval, ee_addr); in read_eeprom()
726 outl(EE_ENB | dataval | EE_SHIFT_CLK, ee_addr); in read_eeprom()