Searched full:spio (Results 1 – 3 of 3) sorted by relevance
35 spio-cs-pins {
1683 these bits is written as a '1'; the corresponding SPIO bit will turn off1710 corresponding SPIO input (reset value 0). [15-12] OLD_VALUE [11-8] port1;1839 /* [RW 32] SPIO. [31-24] FLOAT When any of these bits is written as a '1';1840 the corresponding SPIO bit will turn off it's drivers and become an1841 input. This is the reset state of all SPIO pins. The read value of these1844 is written as a '1'; the corresponding SPIO bit will drive low. The read1847 these bits is written as a '1'; the corresponding SPIO bit will drive1851 each of the eight SPIO pins. This is the result value of the pin; not the1869 /* [RW 32] SPIO INT. [31-24] OLD_CLR Writing a '1' to these bit clears the1871 interrupt on the falling edge of corresponding SPIO input (reset value[all …]
2258 static int bnx2x_set_spio(struct bnx2x *bp, int spio, u32 mode) in bnx2x_set_spio() argument2263 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()2269 /* read SPIO and mask except the float bits */ 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()[all …]