Home
last modified time | relevance | path

Searched refs:pch_gbe_hw (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_api.h24 s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw);
25 void pch_gbe_hal_get_bus_info(struct pch_gbe_hw *hw);
26 s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw);
27 s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 *data);
28 s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 data);
29 void pch_gbe_hal_phy_hw_reset(struct pch_gbe_hw *hw);
30 void pch_gbe_hal_phy_sw_reset(struct pch_gbe_hw *hw);
31 s32 pch_gbe_hal_read_mac_addr(struct pch_gbe_hw *hw);
32 void pch_gbe_hal_power_up_phy(struct pch_gbe_hw *hw);
33 void pch_gbe_hal_power_down_phy(struct pch_gbe_hw *hw);
Dpch_gbe_phy.h26 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw);
27 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data);
28 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data);
29 void pch_gbe_phy_sw_reset(struct pch_gbe_hw *hw);
30 void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw);
31 void pch_gbe_phy_power_up(struct pch_gbe_hw *hw);
32 void pch_gbe_phy_power_down(struct pch_gbe_hw *hw);
33 void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw);
34 void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw);
35 int pch_gbe_phy_disable_hibernate(struct pch_gbe_hw *hw);
Dpch_gbe_api.c53 static void pch_gbe_plat_get_bus_info(struct pch_gbe_hw *hw) in pch_gbe_plat_get_bus_info()
67 static s32 pch_gbe_plat_init_hw(struct pch_gbe_hw *hw) in pch_gbe_plat_init_hw()
102 static void pch_gbe_plat_init_function_pointers(struct pch_gbe_hw *hw) in pch_gbe_plat_init_function_pointers()
117 s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw) in pch_gbe_hal_setup_init_funcs()
133 void pch_gbe_hal_get_bus_info(struct pch_gbe_hw *hw) in pch_gbe_hal_get_bus_info()
151 s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw) in pch_gbe_hal_init_hw()
171 s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, in pch_gbe_hal_read_phy_reg()
188 s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, in pch_gbe_hal_write_phy_reg()
200 void pch_gbe_hal_phy_hw_reset(struct pch_gbe_hw *hw) in pch_gbe_hal_phy_hw_reset()
215 void pch_gbe_hal_phy_sw_reset(struct pch_gbe_hw *hw) in pch_gbe_hal_phy_sw_reset()
[all …]
Dpch_gbe.h330 struct pch_gbe_hw;
344 void (*get_bus_info) (struct pch_gbe_hw *);
345 s32 (*init_hw) (struct pch_gbe_hw *);
346 s32 (*read_phy_reg) (struct pch_gbe_hw *, u32, u16 *);
347 s32 (*write_phy_reg) (struct pch_gbe_hw *, u32, u16);
348 void (*reset_phy) (struct pch_gbe_hw *);
349 void (*sw_reset_phy) (struct pch_gbe_hw *);
350 void (*power_up_phy) (struct pch_gbe_hw *hw);
351 void (*power_down_phy) (struct pch_gbe_hw *hw);
352 s32 (*read_mac_addr) (struct pch_gbe_hw *);
[all …]
Dpch_gbe_phy.c106 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw) in pch_gbe_phy_get_id()
142 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data) in pch_gbe_phy_read_reg_miic()
167 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data) in pch_gbe_phy_write_reg_miic()
187 void pch_gbe_phy_sw_reset(struct pch_gbe_hw *hw) in pch_gbe_phy_sw_reset()
201 void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw) in pch_gbe_phy_hw_reset()
217 void pch_gbe_phy_power_up(struct pch_gbe_hw *hw) in pch_gbe_phy_power_up()
234 void pch_gbe_phy_power_down(struct pch_gbe_hw *hw) in pch_gbe_phy_power_down()
254 void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw) in pch_gbe_phy_set_rgmii()
266 static int pch_gbe_phy_tx_clk_delay(struct pch_gbe_hw *hw) in pch_gbe_phy_tx_clk_delay()
308 void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw) in pch_gbe_phy_init_setting()
[all …]
Dpch_gbe_main.c282 static inline void pch_gbe_mac_load_mac_addr(struct pch_gbe_hw *hw) in pch_gbe_mac_load_mac_addr()
293 s32 pch_gbe_mac_read_mac_addr(struct pch_gbe_hw *hw) in pch_gbe_mac_read_mac_addr()
335 static void pch_gbe_mac_mar_set(struct pch_gbe_hw *hw, u8 * addr, u32 index) in pch_gbe_mac_mar_set()
367 static void pch_gbe_mac_reset_hw(struct pch_gbe_hw *hw) in pch_gbe_mac_reset_hw()
381 static void pch_gbe_disable_mac_rx(struct pch_gbe_hw *hw) in pch_gbe_disable_mac_rx()
389 static void pch_gbe_enable_mac_rx(struct pch_gbe_hw *hw) in pch_gbe_enable_mac_rx()
402 static void pch_gbe_mac_init_rx_addrs(struct pch_gbe_hw *hw, u16 mar_count) in pch_gbe_mac_init_rx_addrs()
428 static void pch_gbe_mac_mc_addr_list_update(struct pch_gbe_hw *hw, in pch_gbe_mac_mc_addr_list_update()
464 s32 pch_gbe_mac_force_mac_fc(struct pch_gbe_hw *hw) in pch_gbe_mac_force_mac_fc()
510 static void pch_gbe_mac_set_wol_event(struct pch_gbe_hw *hw, u32 wu_evt) in pch_gbe_mac_set_wol_event()
[all …]
Dpch_gbe_ethtool.c110 struct pch_gbe_hw *hw = &adapter->hw; in pch_gbe_set_settings()
180 struct pch_gbe_hw *hw = &adapter->hw; in pch_gbe_get_regs()
381 struct pch_gbe_hw *hw = &adapter->hw; in pch_gbe_get_pauseparam()
408 struct pch_gbe_hw *hw = &adapter->hw; in pch_gbe_set_pauseparam()
Dpch_gbe_param.c284 struct pch_gbe_hw *hw = &adapter->hw; in pch_gbe_check_copper_options()
445 struct pch_gbe_hw *hw = &adapter->hw; in pch_gbe_check_options()