Lines Matching refs:cmd
683 static inline int at76_get_cmd_status(struct usb_device *udev, u8 cmd) in at76_get_cmd_status() argument
694 USB_RECIP_INTERFACE, cmd, 0, stat_buf, in at76_get_cmd_status()
720 static int at76_set_card_command(struct usb_device *udev, u8 cmd, void *buf, in at76_set_card_command() argument
730 cmd_buf->cmd = cmd; in at76_set_card_command()
737 at76_get_cmd_string(cmd), cmd); in at76_set_card_command()
767 static int at76_wait_completion(struct at76_priv *priv, int cmd) in at76_wait_completion() argument
773 status = at76_get_cmd_status(priv->udev, cmd); in at76_wait_completion()
783 wiphy_name(priv->hw->wiphy), cmd, status, in at76_wait_completion()
793 "completion timeout for command %d\n", cmd); in at76_wait_completion()
827 int cmd; in at76_set_radio() local
832 cmd = enable ? CMD_RADIO_ON : CMD_RADIO_OFF; in at76_set_radio()
834 ret = at76_set_card_command(priv->udev, cmd, NULL, 0); in at76_set_radio()
837 "at76_set_card_command(%d) failed: %d\n", cmd, ret); in at76_set_radio()
2131 static int at76_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in at76_set_key() argument
2141 __func__, cmd, key->cipher, key->keyidx, key->keylen); in at76_set_key()
2151 switch (cmd) { in at76_set_key()