Lines Matching refs:txp_command
183 static int txp_command(struct txp_softc *, uint16_t, uint16_t, uint32_t,
349 if (txp_command(sc, TXP_CMD_STATION_ADDRESS_READ, 0, 0, 0, in txp_attach()
408 txp_command(sc, TXP_CMD_XCVR_SELECT, TXP_XCVR_AUTO, 0, 0, in txp_attach()
1156 txp_command(sc, TXP_CMD_STATION_ADDRESS_WRITE, p1, p2, 0, NULL, NULL, in txp_suspend()
1941 if (txp_command(sc, TXP_CMD_MAX_PKT_SIZE_WRITE, TXP_MAX_PKTLEN, 0, 0, in txp_init_locked()
1945 if (txp_command(sc, TXP_CMD_FILTER_DEFINE, 0, 0, 0, NULL, NULL, NULL, in txp_init_locked()
1960 if (txp_command(sc, TXP_CMD_STATION_ADDRESS_WRITE, p1, p2, 0, in txp_init_locked()
1967 if (txp_command(sc, TXP_CMD_CLEAR_STATISTICS, 0, 0, 0, in txp_init_locked()
1970 if (txp_command(sc, TXP_CMD_XCVR_SELECT, sc->sc_xcvr, 0, 0, in txp_init_locked()
1973 if (txp_command(sc, TXP_CMD_TX_ENABLE, 0, 0, 0, NULL, NULL, NULL, in txp_init_locked()
1976 if (txp_command(sc, TXP_CMD_RX_ENABLE, 0, 0, 0, NULL, NULL, NULL, in txp_init_locked()
2208 txp_command(struct txp_softc *sc, uint16_t id, uint16_t in1, uint32_t in2, in txp_command() function
2470 error = txp_command(sc, TXP_CMD_ENABLE_WAKEUP_EVENTS, events, 0, 0, in txp_sleep()
2474 error = txp_command(sc, TXP_CMD_GOTO_SLEEP, 0, 0, 0, NULL, in txp_sleep()
2506 txp_command(sc, TXP_CMD_TX_DISABLE, 0, 0, 0, NULL, NULL, NULL, in txp_stop()
2508 txp_command(sc, TXP_CMD_RX_DISABLE, 0, 0, 0, NULL, NULL, NULL, in txp_stop()
2513 txp_command(sc, TXP_CMD_HALT, 0, 0, 0, NULL, NULL, NULL, in txp_stop()
2589 txp_command(sc, TXP_CMD_XCVR_SELECT, new_xcvr, 0, 0, in txp_ifmedia_upd()
2611 if (txp_command(sc, TXP_CMD_PHY_MGMT_READ, 0, MII_BMSR, 0, in txp_ifmedia_sts()
2614 if (txp_command(sc, TXP_CMD_PHY_MGMT_READ, 0, MII_BMSR, 0, in txp_ifmedia_sts()
2618 if (txp_command(sc, TXP_CMD_PHY_MGMT_READ, 0, MII_BMCR, 0, in txp_ifmedia_sts()
2622 if (txp_command(sc, TXP_CMD_PHY_MGMT_READ, 0, MII_ANLPAR, 0, in txp_ifmedia_sts()
2626 if (txp_command(sc, TXP_CMD_PHY_MGMT_READ, 0, MII_ANAR, 0, in txp_ifmedia_sts()
2760 txp_command(sc, TXP_CMD_MCAST_HASH_MASK_WRITE, 2, mchash[0], in txp_set_filter()
2765 txp_command(sc, TXP_CMD_RX_FILTER_WRITE, filter, 0, 0, in txp_set_filter()
2797 return (txp_command(sc, TXP_CMD_OFFLOAD_WRITE, 0, txcap, rxcap, NULL, in txp_set_capabilities()