Lines Matching refs:async

5241 iwn_cmd(struct iwn_softc *sc, int code, const void *buf, int size, int async)
5254 if (async == 0)
5317 return async ? 0 : msleep(desc, &sc->sc_mtx, PCATCH, "iwncmd", hz);
5321 iwn4965_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async)
5338 return iwn_cmd(sc, IWN_CMD_ADD_NODE, &hnode, sizeof hnode, async);
5342 iwn5000_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async)
5348 return iwn_cmd(sc, IWN_CMD_ADD_NODE, node, sizeof (*node), async);
5463 iwn_add_broadcast_node(struct iwn_softc *sc, int async)
5480 if ((error = ops->add_node(sc, &node, async)) != 0)
5508 return iwn_cmd(sc, IWN_CMD_LINK_QUALITY, &linkq, sizeof linkq, async);
5686 iwn4965_set_txpower(struct iwn_softc *sc, int async)
5830 return iwn_cmd(sc, IWN_CMD_TXPOWER, &cmd, sizeof cmd, async);
5837 iwn5000_set_txpower(struct iwn_softc *sc, int async)
5860 return iwn_cmd(sc, cmdid, &cmd, sizeof cmd, async);
6476 iwn_set_pslevel(struct iwn_softc *sc, int dtim, int level, int async)
6485 "%s: dtim=%d, level=%d, async=%d\n",
6489 async);
6530 return iwn_cmd(sc, IWN_CMD_SET_POWER_MODE, &cmd, sizeof cmd, async);
6699 iwn4965_rxon_assoc(struct iwn_softc *sc, int async)
6713 return (iwn_cmd(sc, IWN_CMD_RXON_ASSOC, &cmd, sizeof(cmd), async));
6717 iwn5000_rxon_assoc(struct iwn_softc *sc, int async)
6735 return (iwn_cmd(sc, IWN_CMD_RXON_ASSOC, &cmd, sizeof(cmd), async));
6739 iwn_send_rxon(struct iwn_softc *sc, int assoc, int async)
6747 error = ops->rxon_assoc(sc, async);
6760 error = iwn_cmd(sc, IWN_CMD_RXON, sc->rxon, sc->rxonsz, async);
6773 (error = iwn_add_broadcast_node(sc, async)) != 0) {
6782 if ((error = ops->set_txpower(sc, async)) != 0) {