Searched refs:mcu_txd (Results 1 – 4 of 4) sorted by relevance
67 struct mt7615_mcu_txd *mcu_txd; in mt7615_mcu_fill_msg() local81 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7615_mcu_fill_msg()114 mcu_txd = (struct mt7615_mcu_txd *)txd; in mt7615_mcu_fill_msg()115 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7615_mcu_fill_msg()116 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, q_idx)); in mt7615_mcu_fill_msg()117 mcu_txd->s2d_index = MCU_S2D_H2N; in mt7615_mcu_fill_msg()118 mcu_txd->pkt_type = MCU_PKT_ID; in mt7615_mcu_fill_msg()119 mcu_txd->seq = seq; in mt7615_mcu_fill_msg()120 mcu_txd->cid = mcu_cmd; in mt7615_mcu_fill_msg()121 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7615_mcu_fill_msg()[all …]
3201 struct mt76_connac2_mcu_txd *mcu_txd; in mt76_connac2_mcu_fill_message() local3216 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()3240 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt76_connac2_mcu_fill_message()3241 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt76_connac2_mcu_fill_message()3242 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt76_connac2_mcu_fill_message()3244 mcu_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()3245 mcu_txd->seq = seq; in mt76_connac2_mcu_fill_message()3246 mcu_txd->cid = mcu_cmd; in mt76_connac2_mcu_fill_message()3247 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()3249 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()[all …]
3477 struct mt76_connac2_mcu_txd *mcu_txd; in mt7925_mcu_fill_message() local3492 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7925_mcu_fill_message()3531 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7925_mcu_fill_message()3532 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7925_mcu_fill_message()3533 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7925_mcu_fill_message()3535 mcu_txd->pkt_type = MCU_PKT_ID; in mt7925_mcu_fill_message()3536 mcu_txd->seq = seq; in mt7925_mcu_fill_message()3537 mcu_txd->cid = mcu_cmd; in mt7925_mcu_fill_message()3538 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7925_mcu_fill_message()3540 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt7925_mcu_fill_message()[all …]
280 struct mt76_connac2_mcu_txd *mcu_txd; in mt7996_mcu_send_message() local297 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()338 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7996_mcu_send_message()339 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7996_mcu_send_message()340 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7996_mcu_send_message()342 mcu_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()343 mcu_txd->seq = seq; in mt7996_mcu_send_message()345 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()346 mcu_txd->set_query = MCU_Q_NA; in mt7996_mcu_send_message()347 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()[all …]