/external/u-boot/net/ |
wol.c | 10 #include "wol.h" 19 * @param wol Wake-on-LAN packet 22 static int wol_check_magic(struct wol_hdr *wol, unsigned int len) 30 if (wol->wol_sync[i] != WOL_SYNC_BYTE) 34 if (memcmp(&wol->wol_dest[i * ARP_HLEN], 43 struct wol_hdr *wol; local 45 wol = (struct wol_hdr *)ip; 47 if (!wol_check_magic(wol, len)) 53 eth_env_set_enetaddr("wolpassword", wol->wol_passwd); 56 struct in_addr *ip = (struct in_addr *)(wol->wol_passwd) 67 struct wol_hdr *wol; local [all...] |
Makefile | 27 obj-$(CONFIG_CMD_WOL) += wol.o
|
/external/autotest/client/profilers/powertop/src/ |
ethernet.c | 56 struct ethtool_wolinfo wol; local 79 memset(&wol, 0, sizeof(wol)); 81 wol.cmd = ETHTOOL_GWOL; 82 ifr.ifr_data = (caddr_t)&wol; 84 wol.cmd = ETHTOOL_SWOL; 85 wol.wolopts = 0; 97 struct ethtool_wolinfo wol; local 120 memset(&wol, 0, sizeof(wol)); [all...] |
/external/u-boot/cmd/ |
wol.c | 23 if (net_loop(WOL) < 0) 29 wol, 2, 1, do_wol,
|
Makefile | 106 obj-$(CONFIG_CMD_WOL) += wol.o
|
/external/u-boot/drivers/net/phy/ |
meson-gxl.c | 23 * can detect this using a magic bit in the WOL bank (reg 12 - bit 12). 34 int ret, wol, lpa, exp; local 42 /* Need to access WOL bank, make sure the access is open */ 56 /* Request LPI_STATUS WOL register */ 62 wol = phy_read(phydev, MDIO_DEVAD_NONE, 0x15); 63 if (wol < 0) 64 return wol; 74 if (!(wol & BIT(12)) ||
|
/external/libevent/test/ |
regress_iocp.c | 238 struct event_overlapped rol, wol; local 248 event_overlapped_init_(&wol, write_complete); 278 tt_assert(!evbuffer_launch_write_(wbuf, 512, &wol));
|