Searched refs:spio (Results 1 – 2 of 2) sorted by relevance
600 int spio; member2320 if(states[PREVSTATE].spio && !states[STATE].spio) { in is_complete()2342 if(!states[PREVSTATE].spio && states[STATE].spio) { in is_complete()
2249 static int bnx2x_set_spio(struct bnx2x *bp, int spio, u32 mode) in bnx2x_set_spio() argument2254 if ((spio != MISC_SPIO_SPIO4) && (spio != MISC_SPIO_SPIO5)) { in bnx2x_set_spio()2255 BNX2X_ERR("Invalid SPIO 0x%x\n", spio); in bnx2x_set_spio()2265 DP(NETIF_MSG_HW, "Set SPIO 0x%x -> output low\n", spio); in bnx2x_set_spio()2267 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()2268 spio_reg |= (spio << MISC_SPIO_CLR_POS); in bnx2x_set_spio()2272 DP(NETIF_MSG_HW, "Set SPIO 0x%x -> output high\n", spio); in bnx2x_set_spio()2274 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()2275 spio_reg |= (spio << MISC_SPIO_SET_POS); in bnx2x_set_spio()2279 DP(NETIF_MSG_HW, "Set SPIO 0x%x -> input\n", spio); in bnx2x_set_spio()[all …]