Lines Matching refs:xgbe_prv_data

129 static int xgbe_phy_module_eeprom(struct xgbe_prv_data *pdata,  in xgbe_phy_module_eeprom()
138 static int xgbe_phy_module_info(struct xgbe_prv_data *pdata, in xgbe_phy_module_info()
147 static void xgbe_an37_clear_interrupts(struct xgbe_prv_data *pdata) in xgbe_an37_clear_interrupts()
156 static void xgbe_an37_disable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an37_disable_interrupts()
169 static void xgbe_an37_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an37_enable_interrupts()
182 static void xgbe_an73_clear_interrupts(struct xgbe_prv_data *pdata) in xgbe_an73_clear_interrupts()
187 static void xgbe_an73_disable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an73_disable_interrupts()
192 static void xgbe_an73_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an73_enable_interrupts()
197 static void xgbe_an_enable_interrupts(struct xgbe_prv_data *pdata) in xgbe_an_enable_interrupts()
213 static void xgbe_an_clear_interrupts_all(struct xgbe_prv_data *pdata) in xgbe_an_clear_interrupts_all()
219 static void xgbe_kr_mode(struct xgbe_prv_data *pdata) in xgbe_kr_mode()
228 static void xgbe_kx_2500_mode(struct xgbe_prv_data *pdata) in xgbe_kx_2500_mode()
237 static void xgbe_kx_1000_mode(struct xgbe_prv_data *pdata) in xgbe_kx_1000_mode()
246 static void xgbe_sfi_mode(struct xgbe_prv_data *pdata) in xgbe_sfi_mode()
259 static void xgbe_x_mode(struct xgbe_prv_data *pdata) in xgbe_x_mode()
268 static void xgbe_sgmii_1000_mode(struct xgbe_prv_data *pdata) in xgbe_sgmii_1000_mode()
277 static void xgbe_sgmii_100_mode(struct xgbe_prv_data *pdata) in xgbe_sgmii_100_mode()
286 static enum xgbe_mode xgbe_cur_mode(struct xgbe_prv_data *pdata) in xgbe_cur_mode()
291 static bool xgbe_in_kr_mode(struct xgbe_prv_data *pdata) in xgbe_in_kr_mode()
296 static void xgbe_change_mode(struct xgbe_prv_data *pdata, in xgbe_change_mode()
329 static void xgbe_switch_mode(struct xgbe_prv_data *pdata) in xgbe_switch_mode()
334 static bool xgbe_set_mode(struct xgbe_prv_data *pdata, in xgbe_set_mode()
345 static bool xgbe_use_mode(struct xgbe_prv_data *pdata, in xgbe_use_mode()
351 static void xgbe_an37_set(struct xgbe_prv_data *pdata, bool enable, in xgbe_an37_set()
368 static void xgbe_an37_restart(struct xgbe_prv_data *pdata) in xgbe_an37_restart()
376 static void xgbe_an37_disable(struct xgbe_prv_data *pdata) in xgbe_an37_disable()
384 static void xgbe_an73_set(struct xgbe_prv_data *pdata, bool enable, in xgbe_an73_set()
407 static void xgbe_an73_restart(struct xgbe_prv_data *pdata) in xgbe_an73_restart()
415 static void xgbe_an73_disable(struct xgbe_prv_data *pdata) in xgbe_an73_disable()
425 static void xgbe_an_restart(struct xgbe_prv_data *pdata) in xgbe_an_restart()
444 static void xgbe_an_disable(struct xgbe_prv_data *pdata) in xgbe_an_disable()
463 static void xgbe_an_disable_all(struct xgbe_prv_data *pdata) in xgbe_an_disable_all()
469 static enum xgbe_an xgbe_an73_tx_training(struct xgbe_prv_data *pdata, in xgbe_an73_tx_training()
509 static enum xgbe_an xgbe_an73_tx_xnp(struct xgbe_prv_data *pdata, in xgbe_an73_tx_xnp()
526 static enum xgbe_an xgbe_an73_rx_bpa(struct xgbe_prv_data *pdata, in xgbe_an73_rx_bpa()
550 static enum xgbe_an xgbe_an73_rx_xnp(struct xgbe_prv_data *pdata, in xgbe_an73_rx_xnp()
565 static enum xgbe_an xgbe_an73_page_received(struct xgbe_prv_data *pdata) in xgbe_an73_page_received()
607 static enum xgbe_an xgbe_an73_incompat_link(struct xgbe_prv_data *pdata) in xgbe_an73_incompat_link()
640 static void xgbe_an37_isr(struct xgbe_prv_data *pdata) in xgbe_an37_isr()
668 static void xgbe_an73_isr(struct xgbe_prv_data *pdata) in xgbe_an73_isr()
693 struct xgbe_prv_data *pdata = from_tasklet(pdata, t, tasklet_an); in xgbe_an_isr_task()
713 struct xgbe_prv_data *pdata = (struct xgbe_prv_data *)data; in xgbe_an_isr()
723 static irqreturn_t xgbe_an_combined_isr(struct xgbe_prv_data *pdata) in xgbe_an_combined_isr()
732 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_irq_work()
733 struct xgbe_prv_data, in xgbe_an_irq_work()
763 static void xgbe_an37_state_machine(struct xgbe_prv_data *pdata) in xgbe_an37_state_machine()
824 static void xgbe_an73_state_machine(struct xgbe_prv_data *pdata) in xgbe_an73_state_machine()
918 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_state_machine()
919 struct xgbe_prv_data, in xgbe_an_state_machine()
944 static void xgbe_an37_init(struct xgbe_prv_data *pdata) in xgbe_an37_init()
993 static void xgbe_an73_init(struct xgbe_prv_data *pdata) in xgbe_an73_init()
1044 static void xgbe_an_init(struct xgbe_prv_data *pdata) in xgbe_an_init()
1062 static const char *xgbe_phy_fc_string(struct xgbe_prv_data *pdata) in xgbe_phy_fc_string()
1092 static void xgbe_phy_print_status(struct xgbe_prv_data *pdata) in xgbe_phy_print_status()
1104 static void xgbe_phy_adjust_link(struct xgbe_prv_data *pdata) in xgbe_phy_adjust_link()
1144 static bool xgbe_phy_valid_speed(struct xgbe_prv_data *pdata, int speed) in xgbe_phy_valid_speed()
1149 static int xgbe_phy_config_fixed(struct xgbe_prv_data *pdata) in xgbe_phy_config_fixed()
1183 static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode) in __xgbe_phy_config_aneg()
1260 static int xgbe_phy_config_aneg(struct xgbe_prv_data *pdata) in xgbe_phy_config_aneg()
1265 static int xgbe_phy_reconfig_aneg(struct xgbe_prv_data *pdata) in xgbe_phy_reconfig_aneg()
1270 static bool xgbe_phy_aneg_done(struct xgbe_prv_data *pdata) in xgbe_phy_aneg_done()
1275 static void xgbe_check_link_timeout(struct xgbe_prv_data *pdata) in xgbe_check_link_timeout()
1286 static enum xgbe_mode xgbe_phy_status_aneg(struct xgbe_prv_data *pdata) in xgbe_phy_status_aneg()
1291 static void xgbe_phy_status_result(struct xgbe_prv_data *pdata) in xgbe_phy_status_result()
1330 static void xgbe_phy_status(struct xgbe_prv_data *pdata) in xgbe_phy_status()
1380 static void xgbe_phy_stop(struct xgbe_prv_data *pdata) in xgbe_phy_stop()
1403 static int xgbe_phy_start(struct xgbe_prv_data *pdata) in xgbe_phy_start()
1467 static int xgbe_phy_reset(struct xgbe_prv_data *pdata) in xgbe_phy_reset()
1484 static void xgbe_dump_phy_registers(struct xgbe_prv_data *pdata) in xgbe_dump_phy_registers()
1523 static int xgbe_phy_best_advertised_speed(struct xgbe_prv_data *pdata) in xgbe_phy_best_advertised_speed()
1545 static void xgbe_phy_exit(struct xgbe_prv_data *pdata) in xgbe_phy_exit()
1550 static int xgbe_phy_init(struct xgbe_prv_data *pdata) in xgbe_phy_init()