Home
last modified time | relevance | path

Searched refs:rtl8169_private (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/realtek/
H A Dr8169_main.c633 struct rtl8169_private { struct
684 typedef void (*rtl_generic_fct)(struct rtl8169_private *tp); argument
713 static inline struct device *tp_to_dev(struct rtl8169_private *tp) in tp_to_dev()
718 static void rtl_lock_config_regs(struct rtl8169_private *tp) in rtl_lock_config_regs()
728 static void rtl_unlock_config_regs(struct rtl8169_private *tp) in rtl_unlock_config_regs()
738 static void rtl_pci_commit(struct rtl8169_private *tp) in rtl_pci_commit()
744 static void rtl_mod_config2(struct rtl8169_private *tp, u8 clear, u8 set) in rtl_mod_config2()
755 static void rtl_mod_config5(struct rtl8169_private *tp, u8 clear, u8 set) in rtl_mod_config5()
766 static bool rtl_is_8125(struct rtl8169_private *tp) in rtl_is_8125()
771 static bool rtl_is_8168evl_up(struct rtl8169_private *tp) in rtl_is_8168evl_up()
[all …]
H A Dr8169.h76 struct rtl8169_private;
79 void r8169_apply_firmware(struct rtl8169_private *tp);
80 u16 rtl8168h_2_get_adc_bias_ioffset(struct rtl8169_private *tp);
81 u8 rtl8168d_efuse_read(struct rtl8169_private *tp, int reg_addr);
82 void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev,
85 void r8169_get_led_name(struct rtl8169_private *tp, int idx,
87 int rtl8168_get_led_mode(struct rtl8169_private *tp);
88 int rtl8168_led_mod_ctrl(struct rtl8169_private *tp, u16 mask, u16 val);
90 int rtl8125_get_led_mode(struct rtl8169_private *tp, int index);
91 int rtl8125_set_led_mode(struct rtl8169_private *tp, int index, u16 mode);
H A Dr8169_phy_config.c17 typedef void (*rtl_phy_cfg_fct)(struct rtl8169_private *tp,
108 static void rtl8169s_hw_phy_config(struct rtl8169_private *tp, in rtl8169s_hw_phy_config()
176 static void rtl8169sb_hw_phy_config(struct rtl8169_private *tp, in rtl8169sb_hw_phy_config()
182 static void rtl8169scd_hw_phy_config(struct rtl8169_private *tp, in rtl8169scd_hw_phy_config()
228 static void rtl8169sce_hw_phy_config(struct rtl8169_private *tp, in rtl8169sce_hw_phy_config()
282 static void rtl8168bb_hw_phy_config(struct rtl8169_private *tp, in rtl8168bb_hw_phy_config()
291 static void rtl8168bef_hw_phy_config(struct rtl8169_private *tp, in rtl8168bef_hw_phy_config()
297 static void rtl8168cp_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168cp_1_hw_phy_config()
304 static void rtl8168cp_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168cp_2_hw_phy_config()
312 static void rtl8168c_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168c_1_hw_phy_config()
[all …]
H A Dr8169_firmware.h14 struct rtl8169_private;
15 typedef void (*rtl_fw_write_t)(struct rtl8169_private *tp, int reg, int val);
16 typedef int (*rtl_fw_read_t)(struct rtl8169_private *tp, int reg);
39 void rtl_fw_write_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw);
H A Dr8169_leds.c57 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8168_led_hw_control_is_supported()
73 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8168_led_hw_control_set()
93 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8168_led_hw_control_get()
132 struct rtl8169_private *tp = netdev_priv(ndev); in rtl8168_setup_ldev()
171 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8125_led_hw_control_is_supported()
186 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8125_led_hw_control_set()
207 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8125_led_hw_control_get()
231 struct rtl8169_private *tp = netdev_priv(ndev); in rtl8125_setup_led_ldev()
H A Dr8169_firmware.c140 void rtl_fw_write_firmware(struct rtl8169_private *tp, struct rtl_fw *rtl_fw) in rtl_fw_write_firmware()