Searched refs:spio_num (Results 1 – 1 of 1) sorted by relevance
1689 static int bnx2x_set_spio(struct bnx2x *bp, int spio_num, u32 mode) in bnx2x_set_spio() argument1691 u32 spio_mask = (1 << spio_num); in bnx2x_set_spio()1694 if ((spio_num < MISC_REGISTERS_SPIO_4) || in bnx2x_set_spio()1695 (spio_num > MISC_REGISTERS_SPIO_7)) { in bnx2x_set_spio()1696 BNX2X_ERR("Invalid SPIO %d\n", spio_num); in bnx2x_set_spio()1706 DP(NETIF_MSG_LINK, "Set SPIO %d -> output low\n", spio_num); in bnx2x_set_spio()1713 DP(NETIF_MSG_LINK, "Set SPIO %d -> output high\n", spio_num); in bnx2x_set_spio()1720 DP(NETIF_MSG_LINK, "Set SPIO %d -> input\n", spio_num); in bnx2x_set_spio()