Home
last modified time | relevance | path

Searched refs:uni_txd (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c66 struct mt7615_uni_txd *uni_txd; in mt7615_mcu_fill_msg() local
81 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7615_mcu_fill_msg()
103 uni_txd = (struct mt7615_uni_txd *)txd; in mt7615_mcu_fill_msg()
104 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt7615_mcu_fill_msg()
105 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt7615_mcu_fill_msg()
106 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt7615_mcu_fill_msg()
107 uni_txd->s2d_index = MCU_S2D_H2N; in mt7615_mcu_fill_msg()
108 uni_txd->pkt_type = MCU_PKT_ID; in mt7615_mcu_fill_msg()
109 uni_txd->seq = seq; in mt7615_mcu_fill_msg()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c236 struct mt76_connac2_mcu_uni_txd *uni_txd; in mt7996_mcu_send_message() local
254 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7996_mcu_send_message()
270 uni_txd = (struct mt76_connac2_mcu_uni_txd *)txd; in mt7996_mcu_send_message()
271 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt7996_mcu_send_message()
272 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt7996_mcu_send_message()
273 uni_txd->s2d_index = MCU_S2D_H2CN; in mt7996_mcu_send_message()
274 uni_txd->pkt_type = MCU_PKT_ID; in mt7996_mcu_send_message()
275 uni_txd->seq = seq; in mt7996_mcu_send_message()
278 uni_txd->option = MCU_CMD_UNI_QUERY_ACK; in mt7996_mcu_send_message()
280 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt7996_mcu_send_message()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.c3145 struct mt76_connac2_mcu_uni_txd *uni_txd; in mt7925_mcu_fill_message() local
3161 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt7925_mcu_fill_message()
3173 uni_txd = (struct mt76_connac2_mcu_uni_txd *)txd; in mt7925_mcu_fill_message()
3174 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt7925_mcu_fill_message()
3175 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt7925_mcu_fill_message()
3176 uni_txd->s2d_index = MCU_S2D_H2N; in mt7925_mcu_fill_message()
3177 uni_txd->pkt_type = MCU_PKT_ID; in mt7925_mcu_fill_message()
3178 uni_txd->seq = seq; in mt7925_mcu_fill_message()
3181 uni_txd->option = MCU_CMD_UNI_QUERY_ACK; in mt7925_mcu_fill_message()
3183 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt7925_mcu_fill_message()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c3119 struct mt76_connac2_mcu_uni_txd *uni_txd; in mt76_connac2_mcu_fill_message() local
3135 txd_len = cmd & __MCU_CMD_FIELD_UNI ? sizeof(*uni_txd) : sizeof(*mcu_txd); in mt76_connac2_mcu_fill_message()
3148 uni_txd = (struct mt76_connac2_mcu_uni_txd *)txd; in mt76_connac2_mcu_fill_message()
3149 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt76_connac2_mcu_fill_message()
3150 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt76_connac2_mcu_fill_message()
3151 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt76_connac2_mcu_fill_message()
3152 uni_txd->s2d_index = MCU_S2D_H2N; in mt76_connac2_mcu_fill_message()
3153 uni_txd->pkt_type = MCU_PKT_ID; in mt76_connac2_mcu_fill_message()
3154 uni_txd->seq = seq; in mt76_connac2_mcu_fill_message()