Lines Matching refs:lynx_pcs
32 #define phylink_pcs_to_lynx(pl_pcs) container_of((pl_pcs), struct lynx_pcs, pcs)
84 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_get_state()
189 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_config()
218 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_an_restart()
305 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_link_up()
332 struct lynx_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create()
334 struct lynx_pcs *lynx_pcs; in lynx_pcs_create() local
336 lynx_pcs = kzalloc(sizeof(*lynx_pcs), GFP_KERNEL); in lynx_pcs_create()
337 if (!lynx_pcs) in lynx_pcs_create()
340 lynx_pcs->mdio = mdio; in lynx_pcs_create()
341 lynx_pcs->pcs.ops = &lynx_pcs_phylink_ops; in lynx_pcs_create()
342 lynx_pcs->pcs.poll = true; in lynx_pcs_create()
344 return lynx_pcs; in lynx_pcs_create()
348 void lynx_pcs_destroy(struct lynx_pcs *pcs) in lynx_pcs_destroy()