gve_priv 62 drivers/net/ethernet/google/gve/gve.h struct gve_priv; gve_priv 66 drivers/net/ethernet/google/gve/gve.h struct gve_priv *gve; gve_priv 147 drivers/net/ethernet/google/gve/gve.h struct gve_priv *priv; gve_priv 225 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_do_reset(struct gve_priv *priv) gve_priv 230 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_do_reset(struct gve_priv *priv) gve_priv 235 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_do_reset(struct gve_priv *priv) gve_priv 240 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_reset_in_progress(struct gve_priv *priv) gve_priv 246 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_reset_in_progress(struct gve_priv *priv) gve_priv 251 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_reset_in_progress(struct gve_priv *priv) gve_priv 256 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_probe_in_progress(struct gve_priv *priv) gve_priv 262 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_probe_in_progress(struct gve_priv *priv) gve_priv 267 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_probe_in_progress(struct gve_priv *priv) gve_priv 272 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_admin_queue_ok(struct gve_priv *priv) gve_priv 277 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_admin_queue_ok(struct gve_priv *priv) gve_priv 282 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_admin_queue_ok(struct gve_priv *priv) gve_priv 287 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_device_resources_ok(struct gve_priv *priv) gve_priv 292 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_device_resources_ok(struct gve_priv *priv) gve_priv 297 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_device_resources_ok(struct gve_priv *priv) gve_priv 302 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_device_rings_ok(struct gve_priv *priv) gve_priv 307 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_device_rings_ok(struct gve_priv *priv) gve_priv 312 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_device_rings_ok(struct gve_priv *priv) gve_priv 317 drivers/net/ethernet/google/gve/gve.h static inline bool gve_get_napi_enabled(struct gve_priv *priv) gve_priv 322 drivers/net/ethernet/google/gve/gve.h static inline void gve_set_napi_enabled(struct gve_priv *priv) gve_priv 327 drivers/net/ethernet/google/gve/gve.h static inline void gve_clear_napi_enabled(struct gve_priv *priv) gve_priv 334 drivers/net/ethernet/google/gve/gve.h static inline __be32 __iomem *gve_irq_doorbell(struct gve_priv *priv, gve_priv 342 drivers/net/ethernet/google/gve/gve.h static inline u32 gve_tx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) gve_priv 349 drivers/net/ethernet/google/gve/gve.h static inline u32 gve_rx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) gve_priv 356 drivers/net/ethernet/google/gve/gve.h static inline u32 gve_num_tx_qpls(struct gve_priv *priv) gve_priv 363 drivers/net/ethernet/google/gve/gve.h static inline u32 gve_num_rx_qpls(struct gve_priv *priv) gve_priv 371 drivers/net/ethernet/google/gve/gve.h struct gve_queue_page_list *gve_assign_tx_qpl(struct gve_priv *priv) gve_priv 387 drivers/net/ethernet/google/gve/gve.h struct gve_queue_page_list *gve_assign_rx_qpl(struct gve_priv *priv) gve_priv 403 drivers/net/ethernet/google/gve/gve.h static inline void gve_unassign_qpl(struct gve_priv *priv, int id) gve_priv 410 drivers/net/ethernet/google/gve/gve.h static inline enum dma_data_direction gve_qpl_dma_dir(struct gve_priv *priv, gve_priv 436 drivers/net/ethernet/google/gve/gve.h int gve_tx_alloc_rings(struct gve_priv *priv); gve_priv 437 drivers/net/ethernet/google/gve/gve.h void gve_tx_free_rings(struct gve_priv *priv); gve_priv 438 drivers/net/ethernet/google/gve/gve.h __be32 gve_tx_load_event_counter(struct gve_priv *priv, gve_priv 441 drivers/net/ethernet/google/gve/gve.h void gve_rx_write_doorbell(struct gve_priv *priv, struct gve_rx_ring *rx); gve_priv 443 drivers/net/ethernet/google/gve/gve.h int gve_rx_alloc_rings(struct gve_priv *priv); gve_priv 444 drivers/net/ethernet/google/gve/gve.h void gve_rx_free_rings(struct gve_priv *priv); gve_priv 448 drivers/net/ethernet/google/gve/gve.h void gve_schedule_reset(struct gve_priv *priv); gve_priv 449 drivers/net/ethernet/google/gve/gve.h int gve_reset(struct gve_priv *priv, bool attempt_teardown); gve_priv 450 drivers/net/ethernet/google/gve/gve.h int gve_adjust_queues(struct gve_priv *priv, gve_priv 17 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_alloc(struct device *dev, struct gve_priv *priv) gve_priv 35 drivers/net/ethernet/google/gve/gve_adminq.c void gve_adminq_release(struct gve_priv *priv) gve_priv 56 drivers/net/ethernet/google/gve/gve_adminq.c void gve_adminq_free(struct device *dev, struct gve_priv *priv) gve_priv 65 drivers/net/ethernet/google/gve/gve_adminq.c static void gve_adminq_kick_cmd(struct gve_priv *priv, u32 prod_cnt) gve_priv 70 drivers/net/ethernet/google/gve/gve_adminq.c static bool gve_adminq_wait_for_cmd(struct gve_priv *priv, u32 prod_cnt) gve_priv 127 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_execute_cmd(struct gve_priv *priv, gve_priv 159 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_configure_device_resources(struct gve_priv *priv, gve_priv 183 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_deconfigure_device_resources(struct gve_priv *priv) gve_priv 193 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_index) gve_priv 212 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index) gve_priv 233 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_destroy_tx_queue(struct gve_priv *priv, u32 queue_index) gve_priv 246 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_destroy_rx_queue(struct gve_priv *priv, u32 queue_index) gve_priv 259 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_describe_device(struct gve_priv *priv) gve_priv 330 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_register_page_list(struct gve_priv *priv, gve_priv 362 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_unregister_page_list(struct gve_priv *priv, u32 page_list_id) gve_priv 375 drivers/net/ethernet/google/gve/gve_adminq.c int gve_adminq_set_mtu(struct gve_priv *priv, u64 mtu) gve_priv 197 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_alloc(struct device *dev, struct gve_priv *priv); gve_priv 198 drivers/net/ethernet/google/gve/gve_adminq.h void gve_adminq_free(struct device *dev, struct gve_priv *priv); gve_priv 199 drivers/net/ethernet/google/gve/gve_adminq.h void gve_adminq_release(struct gve_priv *priv); gve_priv 200 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_execute_cmd(struct gve_priv *priv, gve_priv 202 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_describe_device(struct gve_priv *priv); gve_priv 203 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_configure_device_resources(struct gve_priv *priv, gve_priv 208 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_deconfigure_device_resources(struct gve_priv *priv); gve_priv 209 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_id); gve_priv 210 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_destroy_tx_queue(struct gve_priv *priv, u32 queue_id); gve_priv 211 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_id); gve_priv 212 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_destroy_rx_queue(struct gve_priv *priv, u32 queue_id); gve_priv 213 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_register_page_list(struct gve_priv *priv, gve_priv 215 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_unregister_page_list(struct gve_priv *priv, u32 page_list_id); gve_priv 216 drivers/net/ethernet/google/gve/gve_adminq.h int gve_adminq_set_mtu(struct gve_priv *priv, u64 mtu); gve_priv 13 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 22 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 29 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 45 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 77 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 93 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 167 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 182 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 213 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 223 drivers/net/ethernet/google/gve/gve_ethtool.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 31 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = netdev_priv(dev); gve_priv 59 drivers/net/ethernet/google/gve/gve_main.c static int gve_alloc_counter_array(struct gve_priv *priv) gve_priv 72 drivers/net/ethernet/google/gve/gve_main.c static void gve_free_counter_array(struct gve_priv *priv) gve_priv 83 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = arg; gve_priv 92 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = block->priv; gve_priv 104 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv; gve_priv 135 drivers/net/ethernet/google/gve/gve_main.c static int gve_alloc_notify_blocks(struct gve_priv *priv) gve_priv 240 drivers/net/ethernet/google/gve/gve_main.c static void gve_free_notify_blocks(struct gve_priv *priv) gve_priv 263 drivers/net/ethernet/google/gve/gve_main.c static int gve_setup_device_resources(struct gve_priv *priv) gve_priv 293 drivers/net/ethernet/google/gve/gve_main.c static void gve_trigger_reset(struct gve_priv *priv); gve_priv 295 drivers/net/ethernet/google/gve/gve_main.c static void gve_teardown_device_resources(struct gve_priv *priv) gve_priv 314 drivers/net/ethernet/google/gve/gve_main.c static void gve_add_napi(struct gve_priv *priv, int ntfy_idx) gve_priv 322 drivers/net/ethernet/google/gve/gve_main.c static void gve_remove_napi(struct gve_priv *priv, int ntfy_idx) gve_priv 329 drivers/net/ethernet/google/gve/gve_main.c static int gve_register_qpls(struct gve_priv *priv) gve_priv 350 drivers/net/ethernet/google/gve/gve_main.c static int gve_unregister_qpls(struct gve_priv *priv) gve_priv 369 drivers/net/ethernet/google/gve/gve_main.c static int gve_create_rings(struct gve_priv *priv) gve_priv 408 drivers/net/ethernet/google/gve/gve_main.c static int gve_alloc_rings(struct gve_priv *priv) gve_priv 458 drivers/net/ethernet/google/gve/gve_main.c static int gve_destroy_rings(struct gve_priv *priv) gve_priv 492 drivers/net/ethernet/google/gve/gve_main.c static void gve_free_rings(struct gve_priv *priv) gve_priv 531 drivers/net/ethernet/google/gve/gve_main.c static int gve_alloc_queue_page_list(struct gve_priv *priv, u32 id, gve_priv 581 drivers/net/ethernet/google/gve/gve_main.c static void gve_free_queue_page_list(struct gve_priv *priv, gve_priv 602 drivers/net/ethernet/google/gve/gve_main.c static int gve_alloc_qpls(struct gve_priv *priv) gve_priv 643 drivers/net/ethernet/google/gve/gve_main.c static void gve_free_qpls(struct gve_priv *priv) gve_priv 660 drivers/net/ethernet/google/gve/gve_main.c void gve_schedule_reset(struct gve_priv *priv) gve_priv 666 drivers/net/ethernet/google/gve/gve_main.c static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up); gve_priv 667 drivers/net/ethernet/google/gve/gve_main.c static int gve_reset_recovery(struct gve_priv *priv, bool was_up); gve_priv 668 drivers/net/ethernet/google/gve/gve_main.c static void gve_turndown(struct gve_priv *priv); gve_priv 669 drivers/net/ethernet/google/gve/gve_main.c static void gve_turnup(struct gve_priv *priv); gve_priv 673 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = netdev_priv(dev); gve_priv 724 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = netdev_priv(dev); gve_priv 754 drivers/net/ethernet/google/gve/gve_main.c int gve_adjust_queues(struct gve_priv *priv, gve_priv 792 drivers/net/ethernet/google/gve/gve_main.c static void gve_turndown(struct gve_priv *priv) gve_priv 822 drivers/net/ethernet/google/gve/gve_main.c static void gve_turnup(struct gve_priv *priv) gve_priv 850 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = netdev_priv(dev); gve_priv 864 drivers/net/ethernet/google/gve/gve_main.c static void gve_handle_status(struct gve_priv *priv, u32 status) gve_priv 872 drivers/net/ethernet/google/gve/gve_main.c static void gve_handle_reset(struct gve_priv *priv) gve_priv 891 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = container_of(work, struct gve_priv, gve_priv 900 drivers/net/ethernet/google/gve/gve_main.c static int gve_init_priv(struct gve_priv *priv, bool skip_describe_device) gve_priv 981 drivers/net/ethernet/google/gve/gve_main.c static void gve_teardown_priv_resources(struct gve_priv *priv) gve_priv 987 drivers/net/ethernet/google/gve/gve_main.c static void gve_trigger_reset(struct gve_priv *priv) gve_priv 993 drivers/net/ethernet/google/gve/gve_main.c static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up) gve_priv 1002 drivers/net/ethernet/google/gve/gve_main.c static int gve_reset_recovery(struct gve_priv *priv, bool was_up) gve_priv 1021 drivers/net/ethernet/google/gve/gve_main.c int gve_reset(struct gve_priv *priv, bool attempt_teardown) gve_priv 1076 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv; gve_priv 1200 drivers/net/ethernet/google/gve/gve_main.c struct gve_priv *priv = netdev_priv(netdev); gve_priv 11 drivers/net/ethernet/google/gve/gve_rx.c static void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx) gve_priv 19 drivers/net/ethernet/google/gve/gve_rx.c static void gve_rx_free_ring(struct gve_priv *priv, int idx) gve_priv 60 drivers/net/ethernet/google/gve/gve_rx.c struct gve_priv *priv = rx->gve; gve_priv 87 drivers/net/ethernet/google/gve/gve_rx.c static void gve_rx_add_to_block(struct gve_priv *priv, int queue_idx) gve_priv 97 drivers/net/ethernet/google/gve/gve_rx.c static int gve_rx_alloc_ring(struct gve_priv *priv, int idx) gve_priv 180 drivers/net/ethernet/google/gve/gve_rx.c int gve_rx_alloc_rings(struct gve_priv *priv) gve_priv 204 drivers/net/ethernet/google/gve/gve_rx.c void gve_rx_free_rings(struct gve_priv *priv) gve_priv 212 drivers/net/ethernet/google/gve/gve_rx.c void gve_rx_write_doorbell(struct gve_priv *priv, struct gve_rx_ring *rx) gve_priv 279 drivers/net/ethernet/google/gve/gve_rx.c struct gve_priv *priv = rx->gve; gve_priv 384 drivers/net/ethernet/google/gve/gve_rx.c struct gve_priv *priv = rx->gve; gve_priv 14 drivers/net/ethernet/google/gve/gve_tx.c static inline void gve_tx_put_doorbell(struct gve_priv *priv, gve_priv 29 drivers/net/ethernet/google/gve/gve_tx.c static int gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_fifo *fifo) gve_priv 45 drivers/net/ethernet/google/gve/gve_tx.c static void gve_tx_fifo_release(struct gve_priv *priv, struct gve_tx_fifo *fifo) gve_priv 134 drivers/net/ethernet/google/gve/gve_tx.c static void gve_tx_remove_from_block(struct gve_priv *priv, int queue_idx) gve_priv 142 drivers/net/ethernet/google/gve/gve_tx.c static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx, gve_priv 145 drivers/net/ethernet/google/gve/gve_tx.c static void gve_tx_free_ring(struct gve_priv *priv, int idx) gve_priv 175 drivers/net/ethernet/google/gve/gve_tx.c static void gve_tx_add_to_block(struct gve_priv *priv, int queue_idx) gve_priv 185 drivers/net/ethernet/google/gve/gve_tx.c static int gve_tx_alloc_ring(struct gve_priv *priv, int idx) gve_priv 241 drivers/net/ethernet/google/gve/gve_tx.c int gve_tx_alloc_rings(struct gve_priv *priv) gve_priv 265 drivers/net/ethernet/google/gve/gve_tx.c void gve_tx_free_rings(struct gve_priv *priv) gve_priv 477 drivers/net/ethernet/google/gve/gve_tx.c struct gve_priv *priv = netdev_priv(dev); gve_priv 510 drivers/net/ethernet/google/gve/gve_tx.c static int gve_clean_tx_done(struct gve_priv *priv, struct gve_tx_ring *tx, gve_priv 566 drivers/net/ethernet/google/gve/gve_tx.c __be32 gve_tx_load_event_counter(struct gve_priv *priv, gve_priv 576 drivers/net/ethernet/google/gve/gve_tx.c struct gve_priv *priv = block->priv;