Lines Matching defs:napi
283 * enabled before using the private data napi structure.
290 if (napi_schedule_prep(&pdata->napi)) {
296 __napi_schedule_irqoff(&pdata->napi);
348 * channel napi structure and not the private data napi structure
350 if (napi_schedule_prep(&channel->napi)) {
355 __napi_schedule_irqoff(&channel->napi);
365 struct napi_struct *napi;
367 napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi;
369 if (napi_schedule_prep(napi)) {
378 __napi_schedule(napi);
421 netif_napi_add(pdata->netdev, &channel->napi,
425 napi_enable(&channel->napi);
429 netif_napi_add(pdata->netdev, &pdata->napi,
432 napi_enable(&pdata->napi);
444 napi_disable(&channel->napi);
447 netif_napi_del(&channel->napi);
450 napi_disable(&pdata->napi);
453 netif_napi_del(&pdata->napi);
988 struct napi_struct *napi,
996 skb = napi_alloc_skb(napi, desc_data->rx.hdr.dma_len);
1119 struct napi_struct *napi;
1132 napi = (pdata->per_channel_irq) ? &channel->napi : &pdata->napi;
1192 skb = xlgmac_create_skb(pdata, napi, desc_data,
1260 napi_gro_receive(napi, skb);
1280 static int xlgmac_one_poll(struct napi_struct *napi, int budget)
1282 struct xlgmac_channel *channel = container_of(napi,
1284 napi);
1298 napi_complete_done(napi, processed);
1309 static int xlgmac_all_poll(struct napi_struct *napi, int budget)
1311 struct xlgmac_pdata *pdata = container_of(napi,
1313 napi);
1341 napi_complete_done(napi, processed);