Home
last modified time | relevance | path

Searched refs:mcu_txd (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c3495 struct mt76_connac2_mcu_txd *mcu_txd; in mt76_connac2_mcu_fill_message() local
3510 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()
3534 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt76_connac2_mcu_fill_message()
3535 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt76_connac2_mcu_fill_message()
3536 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt76_connac2_mcu_fill_message()
3538 mcu_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()
3539 mcu_txd->seq = seq; in mt76_connac2_mcu_fill_message()
3540 mcu_txd->cid = mcu_cmd; in mt76_connac2_mcu_fill_message()
3541 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt76_connac2_mcu_fill_message()
3543 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt76_connac2_mcu_fill_message()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.c3735 struct mt76_connac2_mcu_txd *mcu_txd; in mt7925_mcu_fill_message() local
3750 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7925_mcu_fill_message()
3789 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7925_mcu_fill_message()
3790 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7925_mcu_fill_message()
3791 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7925_mcu_fill_message()
3793 mcu_txd->pkt_type = MCU_PKT_ID; in mt7925_mcu_fill_message()
3794 mcu_txd->seq = seq; in mt7925_mcu_fill_message()
3795 mcu_txd->cid = mcu_cmd; in mt7925_mcu_fill_message()
3796 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7925_mcu_fill_message()
3798 if (mcu_txd->ext_cid || (cmd & __MCU_CMD_FIELD_CE)) { in mt7925_mcu_fill_message()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c296 struct mt76_connac2_mcu_txd *mcu_txd; in mt7996_mcu_send_message() local
313 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()
353 mcu_txd = (struct mt76_connac2_mcu_txd *)txd; in mt7996_mcu_send_message()
354 mcu_txd->len = cpu_to_le16(skb->len - sizeof(mcu_txd->txd)); in mt7996_mcu_send_message()
355 mcu_txd->pq_id = cpu_to_le16(MCU_PQ_ID(MT_TX_PORT_IDX_MCU, in mt7996_mcu_send_message()
357 mcu_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()
358 mcu_txd->seq = seq; in mt7996_mcu_send_message()
360 mcu_txd->cid = FIELD_GET(__MCU_CMD_FIELD_ID, cmd); in mt7996_mcu_send_message()
361 mcu_txd->set_query = MCU_Q_NA; in mt7996_mcu_send_message()
362 mcu_txd->ext_cid = FIELD_GET(__MCU_CMD_FIELD_EXT_ID, cmd); in mt7996_mcu_send_message()
[all …]