Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c2071 static int bnx2x_set_spio(struct bnx2x *bp, int spio_num, u32 mode) in bnx2x_set_spio() argument
2073 u32 spio_mask = (1 << spio_num); in bnx2x_set_spio()
2076 if ((spio_num < MISC_REGISTERS_SPIO_4) || in bnx2x_set_spio()
2077 (spio_num > MISC_REGISTERS_SPIO_7)) { in bnx2x_set_spio()
2078 BNX2X_ERR("Invalid SPIO %d\n", spio_num); in bnx2x_set_spio()
2088 DP(NETIF_MSG_HW, "Set SPIO %d -> output low\n", spio_num); in bnx2x_set_spio()
2095 DP(NETIF_MSG_HW, "Set SPIO %d -> output high\n", spio_num); in bnx2x_set_spio()
2102 DP(NETIF_MSG_HW, "Set SPIO %d -> input\n", spio_num); in bnx2x_set_spio()