Lines Matching defs:priv
21 static bool hbg_hw_spec_is_valid(struct hbg_priv *priv) in hbg_hw_spec_is_valid()
27 int hbg_hw_event_notify(struct hbg_priv *priv, in hbg_hw_event_notify()
53 static int hbg_hw_dev_specs_init(struct hbg_priv *priv) in hbg_hw_dev_specs_init()
84 u32 hbg_hw_get_irq_status(struct hbg_priv *priv) in hbg_hw_get_irq_status()
98 void hbg_hw_irq_clear(struct hbg_priv *priv, u32 mask) in hbg_hw_irq_clear()
109 bool hbg_hw_irq_is_enabled(struct hbg_priv *priv, u32 mask) in hbg_hw_irq_is_enabled()
120 void hbg_hw_irq_enable(struct hbg_priv *priv, u32 mask, bool enable) in hbg_hw_irq_enable()
141 void hbg_hw_set_uc_addr(struct hbg_priv *priv, u64 mac_addr, u32 index) in hbg_hw_set_uc_addr()
150 static void hbg_hw_set_pcu_max_frame_len(struct hbg_priv *priv, in hbg_hw_set_pcu_max_frame_len()
162 static void hbg_hw_set_mac_max_frame_len(struct hbg_priv *priv, in hbg_hw_set_mac_max_frame_len()
169 void hbg_hw_set_mtu(struct hbg_priv *priv, u16 mtu) in hbg_hw_set_mtu()
180 void hbg_hw_mac_enable(struct hbg_priv *priv, u32 enable) in hbg_hw_mac_enable()
188 u32 hbg_hw_get_fifo_used_num(struct hbg_priv *priv, enum hbg_dir dir) in hbg_hw_get_fifo_used_num()
201 void hbg_hw_set_tx_desc(struct hbg_priv *priv, struct hbg_tx_desc *tx_desc) in hbg_hw_set_tx_desc()
209 void hbg_hw_fill_buffer(struct hbg_priv *priv, u32 buffer_dma_addr) in hbg_hw_fill_buffer()
214 void hbg_hw_adjust_link(struct hbg_priv *priv, u32 speed, u32 duplex) in hbg_hw_adjust_link()
223 void hbg_hw_set_mac_filter_enable(struct hbg_priv *priv, u32 enable) in hbg_hw_set_mac_filter_enable()
233 void hbg_hw_set_pause_enable(struct hbg_priv *priv, u32 tx_en, u32 rx_en) in hbg_hw_set_pause_enable()
244 void hbg_hw_get_pause_enable(struct hbg_priv *priv, u32 *tx_en, u32 *rx_en) in hbg_hw_get_pause_enable()
252 void hbg_hw_set_rx_pause_mac_addr(struct hbg_priv *priv, u64 mac_addr) in hbg_hw_set_rx_pause_mac_addr()
257 static void hbg_hw_init_transmit_ctrl(struct hbg_priv *priv) in hbg_hw_init_transmit_ctrl()
268 static void hbg_hw_init_rx_ctrl(struct hbg_priv *priv) in hbg_hw_init_rx_ctrl()
284 static void hbg_hw_init_rx_control(struct hbg_priv *priv) in hbg_hw_init_rx_control()
301 int hbg_hw_init(struct hbg_priv *priv) in hbg_hw_init()