Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c555 static int bnx2x_set_spio(struct bnx2x_softc *sc, int spio, uint32_t mode) in bnx2x_set_spio() argument
560 if ((spio != MISC_SPIO_SPIO4) && (spio != MISC_SPIO_SPIO5)) { in bnx2x_set_spio()
561 PMD_DRV_LOG(NOTICE, sc, "Invalid SPIO 0x%x", spio); in bnx2x_set_spio()
573 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()
574 spio_reg |= (spio << MISC_SPIO_CLR_POS); in bnx2x_set_spio()
579 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()
580 spio_reg |= (spio << MISC_SPIO_SET_POS); in bnx2x_set_spio()
585 spio_reg |= (spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()