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 …]
3120 struct mt76_connac2_mcu_txd *mcu_txd; in mt76_connac2_mcu_fill_message() local3135 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()3159 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt76_connac2_mcu_fill_message()3160 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt76_connac2_mcu_fill_message()3161 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt76_connac2_mcu_fill_message()3163 mcu_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()3164 mcu_txd->seq = seq; in mt76_connac2_mcu_fill_message()3165 mcu_txd->cid = mcu_cmd; in mt76_connac2_mcu_fill_message()3166 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()3168 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()[all …]
3146 struct mt76_connac2_mcu_txd *mcu_txd; in mt7925_mcu_fill_message() local3161 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7925_mcu_fill_message()3188 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7925_mcu_fill_message()3189 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7925_mcu_fill_message()3190 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7925_mcu_fill_message()3192 mcu_txd->pkt_type = MCU_PKT_ID; in mt7925_mcu_fill_message()3193 mcu_txd->seq = seq; in mt7925_mcu_fill_message()3194 mcu_txd->cid = mcu_cmd; in mt7925_mcu_fill_message()3195 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7925_mcu_fill_message()3197 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt7925_mcu_fill_message()[all …]
237 struct mt76_connac2_mcu_txd *mcu_txd; in mt7996_mcu_send_message() local254 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()292 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7996_mcu_send_message()293 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7996_mcu_send_message()294 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7996_mcu_send_message()296 mcu_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()297 mcu_txd->seq = seq; in mt7996_mcu_send_message()299 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()300 mcu_txd->set_query = MCU_Q_NA; in mt7996_mcu_send_message()301 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()[all …]