Lines Matching refs:lynx_pcs
31 #define phylink_pcs_to_lynx(pl_pcs) container_of((pl_pcs), struct lynx_pcs, pcs)
83 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_get_state()
163 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_config()
270 struct lynx_pcs *lynx = phylink_pcs_to_lynx(pcs); in lynx_pcs_link_up()
296 struct lynx_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create()
298 struct lynx_pcs *lynx_pcs; in lynx_pcs_create() local
300 lynx_pcs = kzalloc(sizeof(*lynx_pcs), GFP_KERNEL); in lynx_pcs_create()
301 if (!lynx_pcs) in lynx_pcs_create()
304 lynx_pcs->mdio = mdio; in lynx_pcs_create()
305 lynx_pcs->pcs.ops = &lynx_pcs_phylink_ops; in lynx_pcs_create()
306 lynx_pcs->pcs.poll = true; in lynx_pcs_create()
308 return lynx_pcs; in lynx_pcs_create()
312 void lynx_pcs_destroy(struct lynx_pcs *pcs) in lynx_pcs_destroy()