Lines Matching refs:cmd
180 mt7996_mcu_parse_response(struct mt76_dev *mdev, int cmd, in mt7996_mcu_parse_response() argument
185 int mcu_cmd = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_parse_response()
190 cmd, seq); in mt7996_mcu_parse_response()
198 if (cmd == MCU_CMD(PATCH_SEM_CONTROL)) { in mt7996_mcu_parse_response()
218 int cmd, int *wait_seq) in mt7996_mcu_send_message() argument
221 int txd_len, mcu_cmd = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()
235 if (cmd == MCU_CMD(FW_SCATTER)) { in mt7996_mcu_send_message()
240 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()
255 if (cmd & __MCU_CMD_FIELD_UNI) { in mt7996_mcu_send_message()
263 if (cmd & __MCU_CMD_FIELD_QUERY) in mt7996_mcu_send_message()
268 if ((cmd & __MCU_CMD_FIELD_WA) && (cmd & __MCU_CMD_FIELD_WM)) in mt7996_mcu_send_message()
270 else if (cmd & __MCU_CMD_FIELD_WA) in mt7996_mcu_send_message()
272 else if (cmd & __MCU_CMD_FIELD_WM) in mt7996_mcu_send_message()
285 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()
287 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()
291 if (cmd & __MCU_CMD_FIELD_QUERY) in mt7996_mcu_send_message()
297 if (cmd & __MCU_CMD_FIELD_WA) in mt7996_mcu_send_message()
309 int mt7996_mcu_wa_cmd(struct mt7996_dev *dev, int cmd, u32 a1, u32 a2, u32 a3) in mt7996_mcu_wa_cmd() argument
321 return mt76_mcu_send_msg(&dev->mt76, cmd, &req, sizeof(req), false); in mt7996_mcu_wa_cmd()
1872 enum set_key_cmd cmd) in mt7996_mcu_sta_key_tlv() argument
1879 sec->add = cmd; in mt7996_mcu_sta_key_tlv()
1881 if (cmd == SET_KEY) { in mt7996_mcu_sta_key_tlv()
1937 struct mt76_wcid *wcid, enum set_key_cmd cmd) in mt7996_mcu_add_key() argument
1948 ret = mt7996_mcu_sta_key_tlv(wcid, sta_key_conf, skb, key, cmd); in mt7996_mcu_add_key()
2852 int cmd) in mt7996_mcu_background_chain_ctrl() argument
2864 if (!chandef && cmd != CH_SWITCH_BACKGROUND_SCAN_STOP) in mt7996_mcu_background_chain_ctrl()
2870 switch (cmd) { in mt7996_mcu_background_chain_ctrl()
3574 int cmd) in mt7996_mcu_twt_agrt_update() argument
3584 u8 cmd; in mt7996_mcu_twt_agrt_update() member
3602 .cmd = cmd, in mt7996_mcu_twt_agrt_update()
3669 int mt7996_mcu_rdd_cmd(struct mt7996_dev *dev, int cmd, u8 index, in mt7996_mcu_rdd_cmd() argument
3686 .ctrl = cmd, in mt7996_mcu_rdd_cmd()