Lines Matching refs:phy_layer
36 struct cflayer *phy_layer; member
344 caif_assert(phy->phy_layer->id == in caif_connect_client()
407 caif_assert(phyinfo->phy_layer != NULL); in cfcnfg_linkup_rsp()
408 caif_assert(phyinfo->phy_layer->id == phyid); in cfcnfg_linkup_rsp()
455 struct net_device *dev, struct cflayer *phy_layer, in cfcnfg_add_phy_layer() argument
486 phy_layer->id = phyid; in cfcnfg_add_phy_layer()
491 phyinfo->phy_layer = phy_layer; in cfcnfg_add_phy_layer()
509 layer_set_dn(link_support, phy_layer); in cfcnfg_add_phy_layer()
510 layer_set_up(phy_layer, link_support); in cfcnfg_add_phy_layer()
512 layer_set_dn(frml, phy_layer); in cfcnfg_add_phy_layer()
513 layer_set_up(phy_layer, frml); in cfcnfg_add_phy_layer()
528 int cfcnfg_set_phy_state(struct cfcnfg *cnfg, struct cflayer *phy_layer, in cfcnfg_set_phy_state() argument
534 phyinfo = cfcnfg_get_phyinfo_rcu(cnfg, phy_layer->id); in cfcnfg_set_phy_state()
549 phy_layer->id); in cfcnfg_set_phy_state()
551 cfmuxl_remove_dnlayer(cnfg->mux, phy_layer->id); in cfcnfg_set_phy_state()
560 int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer) in cfcnfg_del_phy_layer() argument
570 phyid = phy_layer->id; in cfcnfg_del_phy_layer()
578 caif_assert(phy_layer == phyinfo->phy_layer); in cfcnfg_del_phy_layer()
579 caif_assert(phy_layer->id == phyid); in cfcnfg_del_phy_layer()
597 if (phy_layer != frml_dn) { in cfcnfg_del_phy_layer()
601 layer_set_up(phy_layer, NULL); in cfcnfg_del_phy_layer()
603 if (phyinfo->phy_layer != frml_dn) in cfcnfg_del_phy_layer()