Searched refs:ptlv (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 254 struct tlv *ptlv, tlv = { in mt76_connac_mcu_add_nested_tlv() local 260 ptlv = skb_put_zero(skb, len); in mt76_connac_mcu_add_nested_tlv() 261 memcpy(ptlv, &tlv, sizeof(tlv)); in mt76_connac_mcu_add_nested_tlv() 271 return ptlv; in mt76_connac_mcu_add_nested_tlv() 2449 struct mt76_connac_wow_pattern_tlv *ptlv; in mt76_connac_mcu_set_wow_pattern() local 2458 skb = mt76_mcu_msg_alloc(dev, NULL, sizeof(hdr) + sizeof(*ptlv)); in mt76_connac_mcu_set_wow_pattern() 2463 ptlv = (struct mt76_connac_wow_pattern_tlv *)skb_put_zero(skb, sizeof(*ptlv)); in mt76_connac_mcu_set_wow_pattern() 2464 ptlv->tag = cpu_to_le16(UNI_SUSPEND_WOW_PATTERN); in mt76_connac_mcu_set_wow_pattern() 2465 ptlv->len = cpu_to_le16(sizeof(*ptlv)); in mt76_connac_mcu_set_wow_pattern() 2466 ptlv->data_len = pattern->pattern_len; in mt76_connac_mcu_set_wow_pattern() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.c | 426 struct tlv *ptlv, tlv = { in mt7915_mcu_add_nested_subtlv() local 431 ptlv = skb_put_zero(skb, sub_len); in mt7915_mcu_add_nested_subtlv() 432 memcpy(ptlv, &tlv, sizeof(tlv)); in mt7915_mcu_add_nested_subtlv() 437 return ptlv; in mt7915_mcu_add_nested_subtlv()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 738 struct tlv *ptlv = skb_put_zero(skb, len); in mt7996_mcu_add_uni_tlv() local 740 ptlv->tag = cpu_to_le16(tag); in mt7996_mcu_add_uni_tlv() 741 ptlv->len = cpu_to_le16(len); in mt7996_mcu_add_uni_tlv() 743 return ptlv; in mt7996_mcu_add_uni_tlv()
|