Lines Matching refs:gve_priv

85 struct gve_priv;
160 struct gve_priv *gve;
448 struct gve_priv *priv;
494 struct gve_priv { struct
611 static inline bool gve_get_do_reset(struct gve_priv *priv) in gve_get_do_reset() argument
616 static inline void gve_set_do_reset(struct gve_priv *priv) in gve_set_do_reset()
621 static inline void gve_clear_do_reset(struct gve_priv *priv) in gve_clear_do_reset()
626 static inline bool gve_get_reset_in_progress(struct gve_priv *priv) in gve_get_reset_in_progress()
632 static inline void gve_set_reset_in_progress(struct gve_priv *priv) in gve_set_reset_in_progress()
637 static inline void gve_clear_reset_in_progress(struct gve_priv *priv) in gve_clear_reset_in_progress()
642 static inline bool gve_get_probe_in_progress(struct gve_priv *priv) in gve_get_probe_in_progress()
648 static inline void gve_set_probe_in_progress(struct gve_priv *priv) in gve_set_probe_in_progress()
653 static inline void gve_clear_probe_in_progress(struct gve_priv *priv) in gve_clear_probe_in_progress()
658 static inline bool gve_get_do_report_stats(struct gve_priv *priv) in gve_get_do_report_stats()
664 static inline void gve_set_do_report_stats(struct gve_priv *priv) in gve_set_do_report_stats()
669 static inline void gve_clear_do_report_stats(struct gve_priv *priv) in gve_clear_do_report_stats()
674 static inline bool gve_get_admin_queue_ok(struct gve_priv *priv) in gve_get_admin_queue_ok()
679 static inline void gve_set_admin_queue_ok(struct gve_priv *priv) in gve_set_admin_queue_ok()
684 static inline void gve_clear_admin_queue_ok(struct gve_priv *priv) in gve_clear_admin_queue_ok()
689 static inline bool gve_get_device_resources_ok(struct gve_priv *priv) in gve_get_device_resources_ok()
694 static inline void gve_set_device_resources_ok(struct gve_priv *priv) in gve_set_device_resources_ok()
699 static inline void gve_clear_device_resources_ok(struct gve_priv *priv) in gve_clear_device_resources_ok()
704 static inline bool gve_get_device_rings_ok(struct gve_priv *priv) in gve_get_device_rings_ok()
709 static inline void gve_set_device_rings_ok(struct gve_priv *priv) in gve_set_device_rings_ok()
714 static inline void gve_clear_device_rings_ok(struct gve_priv *priv) in gve_clear_device_rings_ok()
719 static inline bool gve_get_napi_enabled(struct gve_priv *priv) in gve_get_napi_enabled()
724 static inline void gve_set_napi_enabled(struct gve_priv *priv) in gve_set_napi_enabled()
729 static inline void gve_clear_napi_enabled(struct gve_priv *priv) in gve_clear_napi_enabled()
734 static inline bool gve_get_report_stats(struct gve_priv *priv) in gve_get_report_stats()
739 static inline void gve_clear_report_stats(struct gve_priv *priv) in gve_clear_report_stats()
746 static inline __be32 __iomem *gve_irq_doorbell(struct gve_priv *priv, in gve_irq_doorbell()
754 static inline u32 gve_tx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) in gve_tx_idx_to_ntfy()
761 static inline u32 gve_rx_idx_to_ntfy(struct gve_priv *priv, u32 queue_idx) in gve_rx_idx_to_ntfy()
768 static inline u32 gve_num_tx_qpls(struct gve_priv *priv) in gve_num_tx_qpls()
778 static inline u32 gve_num_rx_qpls(struct gve_priv *priv) in gve_num_rx_qpls()
789 struct gve_queue_page_list *gve_assign_tx_qpl(struct gve_priv *priv) in gve_assign_tx_qpl()
805 struct gve_queue_page_list *gve_assign_rx_qpl(struct gve_priv *priv) in gve_assign_rx_qpl()
821 static inline void gve_unassign_qpl(struct gve_priv *priv, int id) in gve_unassign_qpl()
828 static inline enum dma_data_direction gve_qpl_dma_dir(struct gve_priv *priv, in gve_qpl_dma_dir()
837 static inline bool gve_is_gqi(struct gve_priv *priv) in gve_is_gqi()
844 int gve_alloc_page(struct gve_priv *priv, struct device *dev,
852 int gve_tx_alloc_rings(struct gve_priv *priv);
853 void gve_tx_free_rings_gqi(struct gve_priv *priv);
854 u32 gve_tx_load_event_counter(struct gve_priv *priv,
856 bool gve_tx_clean_pending(struct gve_priv *priv, struct gve_tx_ring *tx);
858 void gve_rx_write_doorbell(struct gve_priv *priv, struct gve_rx_ring *rx);
861 int gve_rx_alloc_rings(struct gve_priv *priv);
862 void gve_rx_free_rings_gqi(struct gve_priv *priv);
864 void gve_schedule_reset(struct gve_priv *priv);
865 int gve_reset(struct gve_priv *priv, bool attempt_teardown);
866 int gve_adjust_queues(struct gve_priv *priv,
870 void gve_handle_report_stats(struct gve_priv *priv);