Searched refs:wupl (Results 1 – 2 of 2) sorted by relevance
7108 u32 wupl; in igc_deliver_wake_packet() local7110 wupl = rd32(IGC_WUPL) & IGC_WUPL_MASK; in igc_deliver_wake_packet()7115 if (wupl == 0 || wupl > IGC_WUPM_BYTES) in igc_deliver_wake_packet()7122 skb_put(skb, wupl); in igc_deliver_wake_packet()7125 wupl = roundup(wupl, 4); in igc_deliver_wake_packet()7127 memcpy_fromio(skb->data, hw->hw_addr + IGC_WUPM_REG(0), wupl); in igc_deliver_wake_packet()
9444 u32 wupl; in igb_deliver_wake_packet() local9446 wupl = rd32(E1000_WUPL) & E1000_WUPL_MASK; in igb_deliver_wake_packet()9451 if ((wupl == 0) || (wupl > E1000_WUPM_BYTES)) in igb_deliver_wake_packet()9458 skb_put(skb, wupl); in igb_deliver_wake_packet()9461 wupl = roundup(wupl, 4); in igb_deliver_wake_packet()9463 memcpy_fromio(skb->data, hw->hw_addr + E1000_WUPM_REG(0), wupl); in igb_deliver_wake_packet()