Home
last modified time | relevance | path

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

/dpdk/drivers/net/bnx2x/
H A Dbnx2x.c559 static int bnx2x_set_spio(struct bnx2x_softc *sc, int spio, uint32_t mode) in bnx2x_set_spio() argument
564 if ((spio != MISC_SPIO_SPIO4) && (spio != MISC_SPIO_SPIO5)) { in bnx2x_set_spio()
565 PMD_DRV_LOG(NOTICE, sc, "Invalid SPIO 0x%x", spio); in bnx2x_set_spio()
577 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()
578 spio_reg |= (spio << MISC_SPIO_CLR_POS); in bnx2x_set_spio()
583 spio_reg &= ~(spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()
584 spio_reg |= (spio << MISC_SPIO_SET_POS); in bnx2x_set_spio()
589 spio_reg |= (spio << MISC_SPIO_FLOAT_POS); in bnx2x_set_spio()