Searched refs:eep_len (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mcu.c | 1756 int eep_len, offset; in mt7615_mcu_set_eeprom() local 1760 eep_len = MT7622_EE_MAX - MT_EE_NIC_CONF_0; in mt7615_mcu_set_eeprom() 1764 eep_len = MT7663_EE_MAX - MT_EE_CHIP_ID; in mt7615_mcu_set_eeprom() 1769 eep_len = MT7615_EE_MAX - MT_EE_NIC_CONF_0; in mt7615_mcu_set_eeprom() 1774 req_hdr.len = cpu_to_le16(eep_len); in mt7615_mcu_set_eeprom() 1776 skb = mt76_mcu_msg_alloc(&dev->mt76, NULL, sizeof(req_hdr) + eep_len); in mt7615_mcu_set_eeprom() 1781 skb_put_data(skb, eep + offset, eep_len); in mt7615_mcu_set_eeprom()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mcu.c | 3020 int eep_len, i; in mt7996_mcu_set_eeprom_flash() local 3022 for (i = 0; i < total; i++, eep += eep_len) { in mt7996_mcu_set_eeprom_flash() 3027 eep_len = eeprom_size % PER_PAGE_SIZE; in mt7996_mcu_set_eeprom_flash() 3029 eep_len = PER_PAGE_SIZE; in mt7996_mcu_set_eeprom_flash() 3031 msg_len = sizeof(req) + eep_len; in mt7996_mcu_set_eeprom_flash() 3039 req.buf_len = cpu_to_le16(eep_len); in mt7996_mcu_set_eeprom_flash() 3042 skb_put_data(skb, eep, eep_len); in mt7996_mcu_set_eeprom_flash()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mcu.c | 2766 int eep_len; in mt7915_mcu_set_eeprom_flash() local 2769 for (i = 0; i < total; i++, eep += eep_len) { in mt7915_mcu_set_eeprom_flash() 2774 eep_len = eeprom_size % PER_PAGE_SIZE; in mt7915_mcu_set_eeprom_flash() 2776 eep_len = PER_PAGE_SIZE; in mt7915_mcu_set_eeprom_flash() 2779 sizeof(req) + eep_len); in mt7915_mcu_set_eeprom_flash() 2785 req.len = cpu_to_le16(eep_len); in mt7915_mcu_set_eeprom_flash() 2788 skb_put_data(skb, eep, eep_len); in mt7915_mcu_set_eeprom_flash()
|