Searched refs:mcu_txd (Results 1 – 3 of 3) 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 …]
3197 struct mt76_connac2_mcu_txd *mcu_txd; in mt76_connac2_mcu_fill_message() local3212 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()3236 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt76_connac2_mcu_fill_message()3237 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt76_connac2_mcu_fill_message()3238 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt76_connac2_mcu_fill_message()3240 mcu_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()3241 mcu_txd->seq = seq; in mt76_connac2_mcu_fill_message()3242 mcu_txd->cid = mcu_cmd; in mt76_connac2_mcu_fill_message()3243 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()3245 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()[all …]
223 struct mt76_connac2_mcu_txd *mcu_txd; in mt7996_mcu_send_message() local240 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()278 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7996_mcu_send_message()279 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7996_mcu_send_message()280 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7996_mcu_send_message()282 mcu_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()283 mcu_txd->seq = seq; in mt7996_mcu_send_message()285 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()286 mcu_txd->set_query = MCU_Q_NA; in mt7996_mcu_send_message()287 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()[all …]