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 …]
3127 struct mt76_connac2_mcu_txd *mcu_txd; in mt76_connac2_mcu_fill_message() local3142 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()3166 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt76_connac2_mcu_fill_message()3167 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt76_connac2_mcu_fill_message()3168 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt76_connac2_mcu_fill_message()3170 mcu_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()3171 mcu_txd->seq = seq; in mt76_connac2_mcu_fill_message()3172 mcu_txd->cid = mcu_cmd; in mt76_connac2_mcu_fill_message()3173 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()3175 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()[all …]
3203 struct mt76_connac2_mcu_txd *mcu_txd; in mt7925_mcu_fill_message() local3218 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7925_mcu_fill_message()3245 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7925_mcu_fill_message()3246 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7925_mcu_fill_message()3247 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7925_mcu_fill_message()3249 mcu_txd->pkt_type = MCU_PKT_ID; in mt7925_mcu_fill_message()3250 mcu_txd->seq = seq; in mt7925_mcu_fill_message()3251 mcu_txd->cid = mcu_cmd; in mt7925_mcu_fill_message()3252 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7925_mcu_fill_message()3254 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt7925_mcu_fill_message()[all …]
249 struct mt76_connac2_mcu_txd *mcu_txd; in mt7996_mcu_send_message() local266 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()304 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7996_mcu_send_message()305 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7996_mcu_send_message()306 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7996_mcu_send_message()308 mcu_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()309 mcu_txd->seq = seq; in mt7996_mcu_send_message()311 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()312 mcu_txd->set_query = MCU_Q_NA; in mt7996_mcu_send_message()313 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()[all …]