Lines Matching refs:marvell_c22_pcs
24 struct marvell_c22_pcs { struct
29 bool (*link_check)(struct marvell_c22_pcs *mpcs); argument
33 static struct marvell_c22_pcs *pcs_to_marvell_c22_pcs(struct phylink_pcs *pcs) in pcs_to_marvell_c22_pcs() argument
35 return container_of(pcs, struct marvell_c22_pcs, phylink_pcs); in pcs_to_marvell_c22_pcs()
38 static int marvell_c22_pcs_set_fiber_page(struct marvell_c22_pcs *mpcs) in marvell_c22_pcs_set_fiber_page()
67 static int marvell_c22_pcs_restore_page(struct marvell_c22_pcs *mpcs, in marvell_c22_pcs_restore_page()
91 struct marvell_c22_pcs *mpcs = dev_id; in marvell_c22_pcs_handle_irq()
111 static int marvell_c22_pcs_modify(struct marvell_c22_pcs *mpcs, u8 reg, in marvell_c22_pcs_modify()
123 static int marvell_c22_pcs_power(struct marvell_c22_pcs *mpcs, in marvell_c22_pcs_power()
131 static int marvell_c22_pcs_control_irq(struct marvell_c22_pcs *mpcs, in marvell_c22_pcs_control_irq()
142 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_enable()
154 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_disable()
163 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_get_state()
190 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_config()
228 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_an_restart()
237 struct marvell_c22_pcs *mpcs = pcs_to_marvell_c22_pcs(pcs); in marvell_c22_pcs_link_up()
263 static struct marvell_c22_pcs *marvell_c22_pcs_alloc(struct device *dev, in marvell_c22_pcs_alloc()
267 struct marvell_c22_pcs *mpcs; in marvell_c22_pcs_alloc()
282 static int marvell_c22_pcs_setup_irq(struct marvell_c22_pcs *mpcs, in marvell_c22_pcs_setup_irq()
303 static bool mv88e6352_pcs_link_check(struct marvell_c22_pcs *mpcs) in mv88e6352_pcs_link_check()
323 struct marvell_c22_pcs *mpcs; in mv88e6352_pcs_init()
362 struct marvell_c22_pcs *mpcs; in mv88e6352_pcs_teardown()