Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
Daha152x.c618 int spio; member
2368 if(states[PREVSTATE].spio && !states[STATE].spio) { in is_complete()
2390 if(!states[PREVSTATE].spio && states[STATE].spio) { in is_complete()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c2258 static int bnx2x_set_spio(struct bnx2x *bp, int spio, u32 mode) in bnx2x_set_spio() argument
2263 if ((spio != MISC_SPIO_SPIO4) && (spio != MISC_SPIO_SPIO5)) { in bnx2x_set_spio()
2264 BNX2X_ERR("Invalid SPIO 0x%x\n", spio); in bnx2x_set_spio()
2274 DP(NETIF_MSG_HW, "Set SPIO 0x%x -> output low\n", spio); in bnx2x_set_spio()
2276 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()
2277 spio_reg |= (spio << MISC_SPIO_CLR_POS); in bnx2x_set_spio()
2281 DP(NETIF_MSG_HW, "Set SPIO 0x%x -> output high\n", spio); in bnx2x_set_spio()
2283 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()
2284 spio_reg |= (spio << MISC_SPIO_SET_POS); in bnx2x_set_spio()
2288 DP(NETIF_MSG_HW, "Set SPIO 0x%x -> input\n", spio); in bnx2x_set_spio()
[all …]