Lines Matching defs:pdata

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_10_mode(struct xgbe_prv_data *pdata) in xgbe_sgmii_10_mode()
286 static void xgbe_sgmii_100_mode(struct xgbe_prv_data *pdata) in xgbe_sgmii_100_mode()
295 static enum xgbe_mode xgbe_cur_mode(struct xgbe_prv_data *pdata) in xgbe_cur_mode()
300 static bool xgbe_in_kr_mode(struct xgbe_prv_data *pdata) in xgbe_in_kr_mode()
305 static void xgbe_change_mode(struct xgbe_prv_data *pdata, in xgbe_change_mode()
341 static void xgbe_switch_mode(struct xgbe_prv_data *pdata) in xgbe_switch_mode()
346 static bool xgbe_set_mode(struct xgbe_prv_data *pdata, in xgbe_set_mode()
357 static bool xgbe_use_mode(struct xgbe_prv_data *pdata, in xgbe_use_mode()
363 static void xgbe_an37_set(struct xgbe_prv_data *pdata, bool enable, in xgbe_an37_set()
380 static void xgbe_an37_restart(struct xgbe_prv_data *pdata) in xgbe_an37_restart()
388 static void xgbe_an37_disable(struct xgbe_prv_data *pdata) in xgbe_an37_disable()
396 static void xgbe_an73_set(struct xgbe_prv_data *pdata, bool enable, in xgbe_an73_set()
419 static void xgbe_an73_restart(struct xgbe_prv_data *pdata) in xgbe_an73_restart()
427 static void xgbe_an73_disable(struct xgbe_prv_data *pdata) in xgbe_an73_disable()
437 static void xgbe_an_restart(struct xgbe_prv_data *pdata) in xgbe_an_restart()
456 static void xgbe_an_disable(struct xgbe_prv_data *pdata) in xgbe_an_disable()
475 static void xgbe_an_disable_all(struct xgbe_prv_data *pdata) in xgbe_an_disable_all()
481 static enum xgbe_an xgbe_an73_tx_training(struct xgbe_prv_data *pdata, in xgbe_an73_tx_training()
522 static enum xgbe_an xgbe_an73_tx_xnp(struct xgbe_prv_data *pdata, in xgbe_an73_tx_xnp()
539 static enum xgbe_an xgbe_an73_rx_bpa(struct xgbe_prv_data *pdata, in xgbe_an73_rx_bpa()
563 static enum xgbe_an xgbe_an73_rx_xnp(struct xgbe_prv_data *pdata, in xgbe_an73_rx_xnp()
578 static enum xgbe_an xgbe_an73_page_received(struct xgbe_prv_data *pdata) in xgbe_an73_page_received()
620 static enum xgbe_an xgbe_an73_incompat_link(struct xgbe_prv_data *pdata) in xgbe_an73_incompat_link()
655 static void xgbe_an37_isr(struct xgbe_prv_data *pdata) in xgbe_an37_isr()
683 static void xgbe_an73_isr(struct xgbe_prv_data *pdata) in xgbe_an73_isr()
708 struct xgbe_prv_data *pdata = from_tasklet(pdata, t, tasklet_an); in xgbe_an_isr_task() local
728 struct xgbe_prv_data *pdata = (struct xgbe_prv_data *)data; in xgbe_an_isr() local
738 static irqreturn_t xgbe_an_combined_isr(struct xgbe_prv_data *pdata) in xgbe_an_combined_isr()
747 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_irq_work() local
778 static void xgbe_an37_state_machine(struct xgbe_prv_data *pdata) in xgbe_an37_state_machine()
839 static void xgbe_an73_state_machine(struct xgbe_prv_data *pdata) in xgbe_an73_state_machine()
933 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_state_machine() local
959 static void xgbe_an37_init(struct xgbe_prv_data *pdata) in xgbe_an37_init()
1008 static void xgbe_an73_init(struct xgbe_prv_data *pdata) in xgbe_an73_init()
1059 static void xgbe_an_init(struct xgbe_prv_data *pdata) in xgbe_an_init()
1077 static const char *xgbe_phy_fc_string(struct xgbe_prv_data *pdata) in xgbe_phy_fc_string()
1109 static void xgbe_phy_print_status(struct xgbe_prv_data *pdata) in xgbe_phy_print_status()
1121 static void xgbe_phy_adjust_link(struct xgbe_prv_data *pdata) in xgbe_phy_adjust_link()
1161 static bool xgbe_phy_valid_speed(struct xgbe_prv_data *pdata, int speed) in xgbe_phy_valid_speed()
1166 static int xgbe_phy_config_fixed(struct xgbe_prv_data *pdata) in xgbe_phy_config_fixed()
1213 static int __xgbe_phy_config_aneg(struct xgbe_prv_data *pdata, bool set_mode) in __xgbe_phy_config_aneg()
1292 static int xgbe_phy_config_aneg(struct xgbe_prv_data *pdata) in xgbe_phy_config_aneg()
1297 static int xgbe_phy_reconfig_aneg(struct xgbe_prv_data *pdata) in xgbe_phy_reconfig_aneg()
1302 static bool xgbe_phy_aneg_done(struct xgbe_prv_data *pdata) in xgbe_phy_aneg_done()
1307 static void xgbe_check_link_timeout(struct xgbe_prv_data *pdata) in xgbe_check_link_timeout()
1339 static enum xgbe_mode xgbe_phy_status_aneg(struct xgbe_prv_data *pdata) in xgbe_phy_status_aneg()
1344 static bool xgbe_phy_status_result(struct xgbe_prv_data *pdata) in xgbe_phy_status_result()
1391 static void xgbe_phy_status(struct xgbe_prv_data *pdata) in xgbe_phy_status()
1442 static void xgbe_phy_stop(struct xgbe_prv_data *pdata) in xgbe_phy_stop()
1467 static int xgbe_phy_start(struct xgbe_prv_data *pdata) in xgbe_phy_start()
1533 static int xgbe_phy_reset(struct xgbe_prv_data *pdata) in xgbe_phy_reset()
1550 static void xgbe_dump_phy_registers(struct xgbe_prv_data *pdata) in xgbe_dump_phy_registers()
1589 static int xgbe_phy_best_advertised_speed(struct xgbe_prv_data *pdata) in xgbe_phy_best_advertised_speed()
1613 static void xgbe_phy_exit(struct xgbe_prv_data *pdata) in xgbe_phy_exit()
1618 static int xgbe_phy_init(struct xgbe_prv_data *pdata) in xgbe_phy_init()