Lines Matching full:pcs
13 #include <linux/pcs-rzn1-miic.h>
17 #include <dt-bindings/net/pcs-rzn1-miic.h>
136 * @pcs: PCS structure associated to the port
142 struct phylink_pcs pcs; member
147 static struct miic_port *phylink_pcs_to_miic_port(struct phylink_pcs *pcs) in phylink_pcs_to_miic_port() argument
149 return container_of(pcs, struct miic_port, pcs); in phylink_pcs_to_miic_port()
186 static int miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_config() argument
190 struct miic_port *miic_port = phylink_pcs_to_miic_port(pcs); in miic_config()
237 static void miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, in miic_link_up() argument
240 struct miic_port *miic_port = phylink_pcs_to_miic_port(pcs); in miic_link_up()
271 static int miic_validate(struct phylink_pcs *pcs, unsigned long *supported, in miic_validate() argument
282 static int miic_pre_init(struct phylink_pcs *pcs) in miic_pre_init() argument
284 struct miic_port *miic_port = phylink_pcs_to_miic_port(pcs); in miic_pre_init()
289 if (pcs->rxc_always_on) { in miic_pre_init()
333 /* The PCS pdev is attached to the parent node */ in miic_create()
363 miic_port->pcs.ops = &miic_phylink_ops; in miic_create()
364 miic_port->pcs.neg_mode = true; in miic_create()
366 return &miic_port->pcs; in miic_create()
370 void miic_destroy(struct phylink_pcs *pcs) in miic_destroy() argument
372 struct miic_port *miic_port = phylink_pcs_to_miic_port(pcs); in miic_destroy()
560 MODULE_DESCRIPTION("Renesas MII converter PCS driver");