Lines Matching refs:pattern
3544 * @frame: The pattern frame bit.
3562 * hw_set_wol_frame - program Wake-on-LAN pattern
3566 * @mask: Mask to ignore certain bytes in the pattern.
3568 * @pattern: The frame data.
3570 * This routine is used to program Wake-on-LAN pattern.
3573 u8 *mask, uint frame_size, u8 *pattern)
3596 data[to++] = pattern[from];
3623 * hw_add_wol_arp - add ARP pattern
3627 * This routine is used to add ARP pattern for waking up the host.
3632 u8 pattern[42] = {
3642 memcpy(&pattern[38], ip_addr, 4);
3643 hw_set_wol_frame(hw, 3, 6, mask, 42, pattern);
3647 * hw_add_wol_bcast - add broadcast pattern
3650 * This routine is used to add broadcast pattern for waking up the host.
3655 u8 pattern[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
3657 hw_set_wol_frame(hw, 2, 1, mask, MAC_ADDR_LEN, pattern);
3661 * hw_add_wol_mcast - add multicast pattern
3664 * This routine is used to add multicast pattern for waking up the host.
3673 u8 pattern[] = { 0x33, 0x33, 0xFF, 0x00, 0x00, 0x00 };
3675 memcpy(&pattern[3], &hw->override_addr[3], 3);
3676 hw_set_wol_frame(hw, 1, 1, mask, 6, pattern);
3680 * hw_add_wol_ucast - add unicast pattern
3683 * This routine is used to add unicast pattern to wakeup the host.