Searched refs:eep_len (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/ |
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()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 2794 int eep_len; in mt7915_mcu_set_eeprom_flash() local 2797 for (i = 0; i < total; i++, eep += eep_len) { in mt7915_mcu_set_eeprom_flash() 2802 eep_len = eeprom_size % PER_PAGE_SIZE; in mt7915_mcu_set_eeprom_flash() 2804 eep_len = PER_PAGE_SIZE; in mt7915_mcu_set_eeprom_flash() 2807 sizeof(req) + eep_len); in mt7915_mcu_set_eeprom_flash() 2813 req.len = cpu_to_le16(eep_len); in mt7915_mcu_set_eeprom_flash() 2816 skb_put_data(skb, eep, eep_len); in mt7915_mcu_set_eeprom_flash()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | mcu.c | 3502 int eep_len, i; in mt7996_mcu_set_eeprom_flash() local 3504 for (i = 0; i < total; i++, eep += eep_len) { in mt7996_mcu_set_eeprom_flash() 3509 eep_len = eeprom_size % PER_PAGE_SIZE; in mt7996_mcu_set_eeprom_flash() 3511 eep_len = PER_PAGE_SIZE; in mt7996_mcu_set_eeprom_flash() 3513 msg_len = sizeof(req) + eep_len; in mt7996_mcu_set_eeprom_flash() 3521 req.buf_len = cpu_to_le16(eep_len); in mt7996_mcu_set_eeprom_flash() 3524 skb_put_data(skb, eep, eep_len); in mt7996_mcu_set_eeprom_flash()
|