Lines Matching refs:wi_cmd
150 static int wi_cmd(struct wi_softc *, int, int, int, int);
603 wi_cmd(sc, WI_CMD_ENABLE | sc->sc_portnum, 0, 0, 0); in wi_enable()
676 wi_cmd(sc, WI_CMD_DISABLE | sc->sc_portnum, 0, 0, 0); in wi_stop()
738 wi_cmd(sc, WI_CMD_DISABLE | WI_PORT0, 0, 0, 0); in wi_scan_start()
739 wi_cmd(sc, WI_CMD_ENABLE | WI_PORT0, 0, 0, 0); in wi_scan_start()
757 wi_cmd(sc, WI_CMD_DISABLE | WI_PORT0, 0, 0, 0); in wi_scan_end()
758 wi_cmd(sc, WI_CMD_ENABLE | WI_PORT0, 0, 0, 0); in wi_scan_end()
1023 if (wi_cmd(sc, WI_CMD_TX | WI_RECLAIM, fid, 0, 0)) { in wi_start_tx()
1109 error = wi_cmd(sc, WI_CMD_INI, 0, 0, 0); in wi_reset()
1422 if (wi_cmd(sc, WI_CMD_TX | WI_RECLAIM, sc->sc_txd[cur].d_fid, in wi_tx_intr()
1753 wi_cmd(struct wi_softc *sc, int cmd, int val0, int val1, int val2) in wi_cmd() function
1911 if (wi_cmd(sc, WI_CMD_ALLOC_MEM, len, 0, 0)) { in wi_alloc_fid()
1938 error = wi_cmd(sc, WI_CMD_ACCESS | WI_ACCESS_READ, rid, 0, 0); in wi_read_rid()
1984 return wi_cmd(sc, WI_CMD_ACCESS | WI_ACCESS_WRITE, rid, 0, 0); in wi_write_rid()