Lines Matching refs:val1
7468 u16 val1, val2; in bnx2x_8073_read_status() local
7473 MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); in bnx2x_8073_read_status()
7475 DP(NETIF_MSG_LINK, "8703 LASI status 0x%x\n", val1); in bnx2x_8073_read_status()
7481 MDIO_PCS_DEVAD, MDIO_PCS_REG_STATUS, &val1); in bnx2x_8073_read_status()
7482 DP(NETIF_MSG_LINK, "807x PCS status 0x%x->0x%x\n", val2, val1); in bnx2x_8073_read_status()
7485 MDIO_PMA_DEVAD, MDIO_PMA_REG_M8051_MSGOUT_REG, &val1); in bnx2x_8073_read_status()
7501 MDIO_PMA_DEVAD, MDIO_PMA_REG_STATUS, &val1); in bnx2x_8073_read_status()
7502 link_up = ((val1 & 4) == 4); in bnx2x_8073_read_status()
7503 DP(NETIF_MSG_LINK, "PMA_REG_STATUS=0x%x\n", val1); in bnx2x_8073_read_status()
7519 MDIO_PMA_DEVAD, MDIO_PMA_REG_STATUS, &val1); in bnx2x_8073_read_status()
7521 "an_link_status=0x%x\n", val2, val1, an1000_status); in bnx2x_8073_read_status()
7523 link_up = (((val1 & 4) == 4) || (an1000_status & (1<<1))); in bnx2x_8073_read_status()
7571 MDIO_XS_REG_8073_RX_CTRL_PCIE, &val1); in bnx2x_8073_read_status()
7578 val1 |= (1<<3); in bnx2x_8073_read_status()
7580 val1 &= ~(1<<3); in bnx2x_8073_read_status()
7585 val1); in bnx2x_8073_read_status()
7594 MDIO_AN_REG_LP_AUTO_NEG2, &val1); in bnx2x_8073_read_status()
7596 if (val1 & (1<<5)) in bnx2x_8073_read_status()
7599 if (val1 & (1<<7)) in bnx2x_8073_read_status()
7658 u16 val1, rx_sd; in bnx2x_8705_read_status() local
7662 MDIO_WIS_DEVAD, MDIO_WIS_REG_LASI_STATUS, &val1); in bnx2x_8705_read_status()
7663 DP(NETIF_MSG_LINK, "8705 LASI status 0x%x\n", val1); in bnx2x_8705_read_status()
7666 MDIO_WIS_DEVAD, MDIO_WIS_REG_LASI_STATUS, &val1); in bnx2x_8705_read_status()
7667 DP(NETIF_MSG_LINK, "8705 LASI status 0x%x\n", val1); in bnx2x_8705_read_status()
7673 MDIO_PMA_DEVAD, 0xc809, &val1); in bnx2x_8705_read_status()
7675 MDIO_PMA_DEVAD, 0xc809, &val1); in bnx2x_8705_read_status()
7677 DP(NETIF_MSG_LINK, "8705 1.c809 val=0x%x\n", val1); in bnx2x_8705_read_status()
7678 link_up = ((rx_sd & 0x1) && (val1 & (1<<9)) && ((val1 & (1<<8)) == 0)); in bnx2x_8705_read_status()
8779 u16 val1, val2, rx_sd, pcs_status; in bnx2x_8706_8726_read_status() local
8791 MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); in bnx2x_8706_8726_read_status()
8794 DP(NETIF_MSG_LINK, "8706/8726 LASI status 0x%x--> 0x%x\n", val1, val2); in bnx2x_8706_8726_read_status()
8823 MDIO_PMA_LASI_TXSTAT, &val1); in bnx2x_8706_8726_read_status()
8825 MDIO_PMA_LASI_TXSTAT, &val1); in bnx2x_8706_8726_read_status()
8826 if (val1 & (1<<0)) in bnx2x_8706_8726_read_status()
9003 u16 val1; in bnx2x_8726_read_status() local
9008 &val1); in bnx2x_8726_read_status()
9009 if (val1 & (1<<15)) { in bnx2x_8726_read_status()
9416 u16 rx_alarm_status, lasi_ctrl, val1; in bnx2x_8727_read_status() local
9436 MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); in bnx2x_8727_read_status()
9438 DP(NETIF_MSG_LINK, "8727 LASI status 0x%x\n", val1); in bnx2x_8727_read_status()
9442 MDIO_PMA_DEVAD, MDIO_PMA_REG_M8051_MSGOUT_REG, &val1); in bnx2x_8727_read_status()
9451 &val1); in bnx2x_8727_read_status()
9453 if ((val1 & (1<<8)) == 0) { in bnx2x_8727_read_status()
9474 MDIO_PMA_REG_PHY_IDENTIFIER, &val1); in bnx2x_8727_read_status()
9476 val1 |= (1<<8); in bnx2x_8727_read_status()
9479 MDIO_PMA_REG_PHY_IDENTIFIER, val1); in bnx2x_8727_read_status()
9532 MDIO_PMA_LASI_TXSTAT, &val1); in bnx2x_8727_read_status()
9535 MDIO_PMA_LASI_TXSTAT, &val1); in bnx2x_8727_read_status()
9537 if (val1 & (1<<0)) { in bnx2x_8727_read_status()
9552 MDIO_PMA_REG_8727_PCS_GP, &val1); in bnx2x_8727_read_status()
9557 val1 &= ~(3<<10); in bnx2x_8727_read_status()
9559 val1 |= (3<<10); in bnx2x_8727_read_status()
9562 MDIO_PMA_REG_8727_PCS_GP, val1); in bnx2x_8727_read_status()
10251 u16 val, val1, val2; in bnx2x_848xx_read_status() local
10258 MDIO_AN_DEVAD, 0xFFFA, &val1); in bnx2x_848xx_read_status()
11208 u16 val1, val2; in bnx2x_7101_read_status() local
11212 MDIO_PMA_DEVAD, MDIO_PMA_LASI_STAT, &val1); in bnx2x_7101_read_status()
11214 val2, val1); in bnx2x_7101_read_status()
11218 MDIO_PMA_DEVAD, MDIO_PMA_REG_STATUS, &val1); in bnx2x_7101_read_status()
11220 val2, val1); in bnx2x_7101_read_status()
11221 link_up = ((val1 & 4) == 4); in bnx2x_7101_read_status()