Searched full: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 …]
3172 struct mt76_connac2_mcu_txd *mcu_txd; in mt76_connac2_mcu_fill_message() local3187 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()3211 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt76_connac2_mcu_fill_message()3212 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt76_connac2_mcu_fill_message()3213 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt76_connac2_mcu_fill_message()3215 mcu_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()3216 mcu_txd->seq = seq; in mt76_connac2_mcu_fill_message()3217 mcu_txd->cid = mcu_cmd; in mt76_connac2_mcu_fill_message()3218 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()3220 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()[all …]
3399 struct mt76_connac2_mcu_txd *mcu_txd; in mt7925_mcu_fill_message() local3414 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7925_mcu_fill_message()3453 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7925_mcu_fill_message()3454 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7925_mcu_fill_message()3455 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7925_mcu_fill_message()3457 mcu_txd->pkt_type = MCU_PKT_ID; in mt7925_mcu_fill_message()3458 mcu_txd->seq = seq; in mt7925_mcu_fill_message()3459 mcu_txd->cid = mcu_cmd; in mt7925_mcu_fill_message()3460 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7925_mcu_fill_message()3462 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt7925_mcu_fill_message()[all …]
252 struct mt76_connac2_mcu_txd *mcu_txd; in mt7996_mcu_send_message() local269 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()307 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7996_mcu_send_message()308 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7996_mcu_send_message()309 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7996_mcu_send_message()311 mcu_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()312 mcu_txd->seq = seq; in mt7996_mcu_send_message()314 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()315 mcu_txd->set_query = MCU_Q_NA; in mt7996_mcu_send_message()316 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()[all …]