Lines Matching refs:pmConf

4375 	struct Vmxnet3_PMConf *pmConf;  in vmxnet3_suspend()  local
4397 pmConf = adapter->pm_conf; in vmxnet3_suspend()
4398 memset(pmConf, 0, sizeof(*pmConf)); in vmxnet3_suspend()
4401 pmConf->filters[i].patternSize = ETH_ALEN; in vmxnet3_suspend()
4402 pmConf->filters[i].maskSize = 1; in vmxnet3_suspend()
4403 memcpy(pmConf->filters[i].pattern, netdev->dev_addr, ETH_ALEN); in vmxnet3_suspend()
4404 pmConf->filters[i].mask[0] = 0x3F; /* LSB ETH_ALEN bits */ in vmxnet3_suspend()
4406 pmConf->wakeUpEvents |= VMXNET3_PM_WAKEUP_FILTER; in vmxnet3_suspend()
4425 pmConf->filters[i].patternSize = ETH_HLEN + /* Ethernet header*/ in vmxnet3_suspend()
4429 pmConf->filters[i].maskSize = in vmxnet3_suspend()
4430 (pmConf->filters[i].patternSize - 1) / 8 + 1; in vmxnet3_suspend()
4433 ehdr = (struct ethhdr *)pmConf->filters[i].pattern; in vmxnet3_suspend()
4437 ahdr = (struct arphdr *)&pmConf->filters[i].pattern[ETH_HLEN]; in vmxnet3_suspend()
4448 pmConf->filters[i].mask[0] = 0x00; in vmxnet3_suspend()
4449 pmConf->filters[i].mask[1] = 0x30; /* ETH_P_ARP */ in vmxnet3_suspend()
4450 pmConf->filters[i].mask[2] = 0x30; /* ARPOP_REQUEST */ in vmxnet3_suspend()
4451 pmConf->filters[i].mask[3] = 0x00; in vmxnet3_suspend()
4452 pmConf->filters[i].mask[4] = 0xC0; /* IPv4 TIP */ in vmxnet3_suspend()
4453 pmConf->filters[i].mask[5] = 0x03; /* IPv4 TIP */ in vmxnet3_suspend()
4455 pmConf->wakeUpEvents |= VMXNET3_PM_WAKEUP_FILTER; in vmxnet3_suspend()
4461 pmConf->wakeUpEvents |= VMXNET3_PM_WAKEUP_MAGIC; in vmxnet3_suspend()
4463 pmConf->numFilters = i; in vmxnet3_suspend()
4467 *pmConf)); in vmxnet3_suspend()