Lines Matching refs:ntfy_idx

524 static void gve_add_napi(struct gve_priv *priv, int ntfy_idx,  in gve_add_napi()  argument
527 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_add_napi()
533 static void gve_remove_napi(struct gve_priv *priv, int ntfy_idx) in gve_remove_napi() argument
535 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi()
636 int ntfy_idx = gve_tx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
639 priv->tx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
640 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
644 int ntfy_idx = gve_rx_idx_to_ntfy(priv, i); in add_napi_init_sync_stats() local
647 priv->rx[i].ntfy_id = ntfy_idx; in add_napi_init_sync_stats()
648 gve_add_napi(priv, ntfy_idx, napi_poll); in add_napi_init_sync_stats()
744 int ntfy_idx; in gve_free_rings() local
749 ntfy_idx = gve_tx_idx_to_ntfy(priv, i); in gve_free_rings()
750 gve_remove_napi(priv, ntfy_idx); in gve_free_rings()
758 ntfy_idx = gve_rx_idx_to_ntfy(priv, i); in gve_free_rings()
759 gve_remove_napi(priv, ntfy_idx); in gve_free_rings()
1079 int ntfy_idx = gve_tx_idx_to_ntfy(priv, idx); in gve_turndown() local
1080 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turndown()
1085 int ntfy_idx = gve_rx_idx_to_ntfy(priv, idx); in gve_turndown() local
1086 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turndown()
1107 int ntfy_idx = gve_tx_idx_to_ntfy(priv, idx); in gve_turnup() local
1108 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turnup()
1119 int ntfy_idx = gve_rx_idx_to_ntfy(priv, idx); in gve_turnup() local
1120 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turnup()
1141 u32 ntfy_idx; in gve_tx_timeout() local
1148 ntfy_idx = gve_tx_idx_to_ntfy(priv, txqueue); in gve_tx_timeout()
1149 if (ntfy_idx >= priv->num_ntfy_blks) in gve_tx_timeout()
1152 block = &priv->ntfy_blocks[ntfy_idx]; in gve_tx_timeout()