Lines Matching refs:cfg
51 struct cfcnfg *cfg; member
62 return caifn->cfg; in get_cfcnfg()
320 struct cfcnfg *cfg = get_cfcnfg(dev_net(dev)); in caif_enroll_dev() local
348 res = cfcnfg_add_phy_layer(cfg, in caif_enroll_dev()
369 struct cfcnfg *cfg; in caif_device_notify() local
375 cfg = get_cfcnfg(dev_net(dev)); in caif_device_notify()
416 cfcnfg_set_phy_state(cfg, &caifd->layer, true); in caif_device_notify()
430 cfcnfg_set_phy_state(cfg, &caifd->layer, false); in caif_device_notify()
481 cfcnfg_del_phy_layer(cfg, &caifd->layer) != 0) { in caif_device_notify()
513 caifn->cfg = cfcnfg_create(); in caif_init_net()
514 if (!caifn->cfg) in caif_init_net()
525 struct cfcnfg *cfg = get_cfcnfg(net); in caif_exit_net() local
533 cfcnfg_set_phy_state(cfg, &caifd->layer, false); in caif_exit_net()
537 cfcnfg_del_phy_layer(cfg, &caifd->layer) != 0)) { in caif_exit_net()
548 cfcnfg_remove(cfg); in caif_exit_net()