Lines Matching defs:priv
30 static bool hbg_hw_spec_is_valid(struct hbg_priv *priv) in hbg_hw_spec_is_valid()
36 int hbg_hw_event_notify(struct hbg_priv *priv, in hbg_hw_event_notify()
62 static int hbg_hw_dev_specs_init(struct hbg_priv *priv) in hbg_hw_dev_specs_init()
93 u32 hbg_hw_get_irq_status(struct hbg_priv *priv) in hbg_hw_get_irq_status()
107 void hbg_hw_irq_clear(struct hbg_priv *priv, u32 mask) in hbg_hw_irq_clear()
118 bool hbg_hw_irq_is_enabled(struct hbg_priv *priv, u32 mask) in hbg_hw_irq_is_enabled()
129 void hbg_hw_irq_enable(struct hbg_priv *priv, u32 mask, bool enable) in hbg_hw_irq_enable()
150 void hbg_hw_set_uc_addr(struct hbg_priv *priv, u64 mac_addr, u32 index) in hbg_hw_set_uc_addr()
159 static void hbg_hw_set_pcu_max_frame_len(struct hbg_priv *priv, in hbg_hw_set_pcu_max_frame_len()
171 static void hbg_hw_set_mac_max_frame_len(struct hbg_priv *priv, in hbg_hw_set_mac_max_frame_len()
178 void hbg_hw_set_mtu(struct hbg_priv *priv, u16 mtu) in hbg_hw_set_mtu()
197 void hbg_hw_mac_enable(struct hbg_priv *priv, u32 enable) in hbg_hw_mac_enable()
205 u32 hbg_hw_get_fifo_used_num(struct hbg_priv *priv, enum hbg_dir dir) in hbg_hw_get_fifo_used_num()
218 void hbg_hw_set_tx_desc(struct hbg_priv *priv, struct hbg_tx_desc *tx_desc) in hbg_hw_set_tx_desc()
226 void hbg_hw_fill_buffer(struct hbg_priv *priv, u32 buffer_dma_addr) in hbg_hw_fill_buffer()
231 void hbg_hw_adjust_link(struct hbg_priv *priv, u32 speed, u32 duplex) in hbg_hw_adjust_link()
259 void hbg_hw_set_mac_filter_enable(struct hbg_priv *priv, u32 enable) in hbg_hw_set_mac_filter_enable()
269 void hbg_hw_set_pause_enable(struct hbg_priv *priv, u32 tx_en, u32 rx_en) in hbg_hw_set_pause_enable()
280 void hbg_hw_get_pause_enable(struct hbg_priv *priv, u32 *tx_en, u32 *rx_en) in hbg_hw_get_pause_enable()
288 void hbg_hw_set_rx_pause_mac_addr(struct hbg_priv *priv, u64 mac_addr) in hbg_hw_set_rx_pause_mac_addr()
293 static void hbg_hw_set_fifo_thrsld(struct hbg_priv *priv, in hbg_hw_set_fifo_thrsld()
308 static void hbg_hw_set_cfg_fifo_thrsld(struct hbg_priv *priv, in hbg_hw_set_cfg_fifo_thrsld()
328 static void hbg_hw_init_transmit_ctrl(struct hbg_priv *priv) in hbg_hw_init_transmit_ctrl()
339 static void hbg_hw_init_rx_ctrl(struct hbg_priv *priv) in hbg_hw_init_rx_ctrl()
355 static void hbg_hw_init_rx_control(struct hbg_priv *priv) in hbg_hw_init_rx_control()
372 int hbg_hw_init(struct hbg_priv *priv) in hbg_hw_init()