hbg_priv
void (*irq_handle)(struct hbg_priv *priv,
void hbg_err_reset_task_schedule(struct hbg_priv *priv);
void hbg_np_link_fail_task_schedule(struct hbg_priv *priv);
struct hbg_priv *priv;
struct hbg_priv *priv;
struct hbg_priv *priv = netdev_priv(netdev);
void hbg_debugfs_init(struct hbg_priv *priv)
static void hbg_dbg_ring(struct hbg_priv *priv, struct hbg_ring *ring,
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
void hbg_debugfs_init(struct hbg_priv *priv);
static int hbg_push_msg_send(struct hbg_priv *priv,
struct hbg_priv *priv;
static int hbg_push_data(struct hbg_priv *priv,
static int hbg_push_data_u64(struct hbg_priv *priv, u32 opcode,
static int hbg_push_irq_cnt(struct hbg_priv *priv)
static int hbg_push_link_status(struct hbg_priv *priv)
static int hbg_push_stats(struct hbg_priv *priv)
void hbg_diagnose_message_push(struct hbg_priv *priv)
void hbg_diagnose_message_push(struct hbg_priv *priv);
int hbg_reset(struct hbg_priv *priv)
void hbg_err_reset(struct hbg_priv *priv)
static void hbg_restore_mac_table(struct hbg_priv *priv)
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
static void hbg_restore_user_def_settings(struct hbg_priv *priv)
int hbg_rebuild(struct hbg_priv *priv)
static int hbg_reset_prepare(struct hbg_priv *priv, enum hbg_reset_type type)
static int hbg_reset_done(struct hbg_priv *priv, enum hbg_reset_type type)
int hbg_reset(struct hbg_priv *priv);
int hbg_rebuild(struct hbg_priv *priv);
void hbg_err_reset(struct hbg_priv *priv);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(net_dev);
struct hbg_priv *priv = netdev_priv(net_dev);
struct hbg_priv *priv = netdev_priv(netdev);
static void hbg_update_stats_by_info(struct hbg_priv *priv,
void hbg_update_stats(struct hbg_priv *priv)
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
void hbg_update_stats(struct hbg_priv *priv);
void hbg_hw_irq_clear(struct hbg_priv *priv, u32 mask)
bool hbg_hw_irq_is_enabled(struct hbg_priv *priv, u32 mask)
void hbg_hw_irq_enable(struct hbg_priv *priv, u32 mask, bool enable)
void hbg_hw_set_uc_addr(struct hbg_priv *priv, u64 mac_addr, u32 index)
static void hbg_hw_set_pcu_max_frame_len(struct hbg_priv *priv,
static void hbg_hw_set_mac_max_frame_len(struct hbg_priv *priv,
void hbg_hw_set_mtu(struct hbg_priv *priv, u16 mtu)
void hbg_hw_mac_enable(struct hbg_priv *priv, u32 enable)
u32 hbg_hw_get_fifo_used_num(struct hbg_priv *priv, enum hbg_dir dir)
void hbg_hw_set_tx_desc(struct hbg_priv *priv, struct hbg_tx_desc *tx_desc)
void hbg_hw_fill_buffer(struct hbg_priv *priv, u32 buffer_dma_addr)
void hbg_hw_adjust_link(struct hbg_priv *priv, u32 speed, u32 duplex)
void hbg_hw_set_mac_filter_enable(struct hbg_priv *priv, u32 enable)
void hbg_hw_set_pause_enable(struct hbg_priv *priv, u32 tx_en, u32 rx_en)
void hbg_hw_get_pause_enable(struct hbg_priv *priv, u32 *tx_en, u32 *rx_en)
void hbg_hw_set_rx_pause_mac_addr(struct hbg_priv *priv, u64 mac_addr)
static void hbg_hw_set_fifo_thrsld(struct hbg_priv *priv,
static bool hbg_hw_spec_is_valid(struct hbg_priv *priv)
static void hbg_hw_set_cfg_fifo_thrsld(struct hbg_priv *priv,
static void hbg_hw_init_transmit_ctrl(struct hbg_priv *priv)
static void hbg_hw_init_rx_ctrl(struct hbg_priv *priv)
static void hbg_hw_init_rx_control(struct hbg_priv *priv)
int hbg_hw_event_notify(struct hbg_priv *priv,
int hbg_hw_init(struct hbg_priv *priv)
static int hbg_hw_dev_specs_init(struct hbg_priv *priv)
u32 hbg_hw_get_irq_status(struct hbg_priv *priv)
static inline u32 hbg_reg_read(struct hbg_priv *priv, u32 addr)
static inline void hbg_reg_write(struct hbg_priv *priv, u32 addr, u32 value)
static inline u64 hbg_reg_read64(struct hbg_priv *priv, u32 addr)
static inline void hbg_reg_write64(struct hbg_priv *priv, u32 addr, u64 value)
int hbg_hw_event_notify(struct hbg_priv *priv,
int hbg_hw_init(struct hbg_priv *priv);
void hbg_hw_adjust_link(struct hbg_priv *priv, u32 speed, u32 duplex);
u32 hbg_hw_get_irq_status(struct hbg_priv *priv);
void hbg_hw_irq_clear(struct hbg_priv *priv, u32 mask);
bool hbg_hw_irq_is_enabled(struct hbg_priv *priv, u32 mask);
void hbg_hw_irq_enable(struct hbg_priv *priv, u32 mask, bool enable);
void hbg_hw_set_mtu(struct hbg_priv *priv, u16 mtu);
void hbg_hw_mac_enable(struct hbg_priv *priv, u32 enable);
void hbg_hw_set_uc_addr(struct hbg_priv *priv, u64 mac_addr, u32 index);
u32 hbg_hw_get_fifo_used_num(struct hbg_priv *priv, enum hbg_dir dir);
void hbg_hw_set_tx_desc(struct hbg_priv *priv, struct hbg_tx_desc *tx_desc);
void hbg_hw_fill_buffer(struct hbg_priv *priv, u32 buffer_dma_addr);
void hbg_hw_set_mac_filter_enable(struct hbg_priv *priv, u32 enable);
void hbg_hw_set_pause_enable(struct hbg_priv *priv, u32 tx_en, u32 rx_en);
void hbg_hw_get_pause_enable(struct hbg_priv *priv, u32 *tx_en, u32 *rx_en);
void hbg_hw_set_rx_pause_mac_addr(struct hbg_priv *priv, u64 mac_addr);
static void hbg_irq_handle_tx(struct hbg_priv *priv,
static void hbg_irq_handle_rx(struct hbg_priv *priv,
static void hbg_irq_handle_rx_buf_val(struct hbg_priv *priv,
struct hbg_priv *priv = p;
static void hbg_irq_handle_err(struct hbg_priv *priv,
int hbg_irq_init(struct hbg_priv *priv)
int hbg_irq_init(struct hbg_priv *priv);
static int hbg_get_index_from_mac_table(struct hbg_priv *priv,
static int hbg_add_mac_to_filter(struct hbg_priv *priv, const u8 *addr)
static void hbg_del_mac_from_filter(struct hbg_priv *priv, const u8 *addr)
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
static void hbg_all_irq_enable(struct hbg_priv *priv, bool enabled)
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = container_of(work, struct hbg_priv,
void hbg_err_reset_task_schedule(struct hbg_priv *priv)
void hbg_np_link_fail_task_schedule(struct hbg_priv *priv)
static int hbg_delaywork_init(struct hbg_priv *priv)
static int hbg_mac_filter_init(struct hbg_priv *priv)
struct hbg_priv *priv = netdev_priv(netdev);
static void hbg_init_user_def(struct hbg_priv *priv)
static int hbg_init(struct hbg_priv *priv)
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv;
netdev = devm_alloc_etherdev(dev, sizeof(struct hbg_priv));
static int hbg_hw_txrx_clear(struct hbg_priv *priv)
struct hbg_priv *priv = netdev_priv(netdev);
struct hbg_priv *priv = netdev_priv(netdev);
static void hbg_set_mac_to_mac_table(struct hbg_priv *priv,
static void hbg_mdio_init_hw(struct hbg_priv *priv)
#define HBG_MAC_GET_PRIV(mac) ((struct hbg_priv *)(mac)->mdio_bus->priv)
static void hbg_flowctrl_cfg(struct hbg_priv *priv)
#define HBG_MII_BUS_GET_MAC(bus) (&((struct hbg_priv *)(bus)->priv)->mac)
void hbg_fix_np_link_fail(struct hbg_priv *priv)
struct hbg_priv *priv = netdev_priv(netdev);
static int hbg_phy_connect(struct hbg_priv *priv)
void hbg_phy_start(struct hbg_priv *priv)
void hbg_phy_stop(struct hbg_priv *priv)
static int hbg_fixed_phy_init(struct hbg_priv *priv)
int hbg_mdio_init(struct hbg_priv *priv)
struct hbg_priv *priv = HBG_MAC_GET_PRIV(mac);
void hbg_phy_start(struct hbg_priv *priv);
void hbg_phy_stop(struct hbg_priv *priv);
void hbg_fix_np_link_fail(struct hbg_priv *priv);
int hbg_mdio_init(struct hbg_priv *priv);
TP_PROTO(struct hbg_priv *priv, u32 index,
struct hbg_priv *priv = netdev_priv(netdev);
(&(((struct hbg_priv *)netdev_priv(netdev))->tx_ring))
struct hbg_priv *priv = ring->priv;
static bool hbg_rx_check_l3l4_error(struct hbg_priv *priv,
static void hbg_update_rx_ip_protocol_stats(struct hbg_priv *priv,
static void hbg_update_rx_protocol_stats(struct hbg_priv *priv,
static bool hbg_rx_pkt_check(struct hbg_priv *priv, struct hbg_rx_desc *desc,
static int hbg_rx_fill_one_buffer(struct hbg_priv *priv)
static int hbg_rx_fill_buffers(struct hbg_priv *priv)
struct hbg_priv *priv = buffer->priv;
static bool hbg_sync_data_from_hw(struct hbg_priv *priv,
static int hbg_build_skb(struct hbg_priv *priv,
struct hbg_priv *priv = ring->priv;
static int hbg_ring_page_pool_init(struct hbg_priv *priv, struct hbg_ring *ring)
static int hbg_ring_init(struct hbg_priv *priv, struct hbg_ring *ring,
struct hbg_priv *priv = buffer->priv;
static int hbg_tx_ring_init(struct hbg_priv *priv)
static int hbg_rx_ring_init(struct hbg_priv *priv)
int hbg_txrx_init(struct hbg_priv *priv)
void hbg_txrx_uninit(struct hbg_priv *priv)
static inline u32 hbg_spec_max_frame_len(struct hbg_priv *priv,
static inline u32 hbg_get_spec_fifo_max_num(struct hbg_priv *priv,
static inline bool hbg_fifo_is_full(struct hbg_priv *priv, enum hbg_dir dir)
int hbg_txrx_init(struct hbg_priv *priv);
void hbg_txrx_uninit(struct hbg_priv *priv);