Lines Matching defs:svc
146 * @svc: XDomain service the driver is bound to
177 const struct tb_service *svc;
1126 if (net->svc->prtcstns & TBNET_MATCH_FRAGS_ID)
1189 static int tbnet_probe(struct tb_service *svc, const struct tb_service_id *id)
1191 struct tb_xdomain *xd = tb_service_parent(svc);
1200 SET_NETDEV_DEV(dev, &svc->dev);
1209 net->svc = svc;
1247 tb_service_set_drvdata(svc, net);
1259 static void tbnet_remove(struct tb_service *svc)
1261 struct tbnet *net = tb_service_get_drvdata(svc);
1268 static void tbnet_shutdown(struct tb_service *svc)
1270 tbnet_tear_down(tb_service_get_drvdata(svc), true);
1275 struct tb_service *svc = tb_to_service(dev);
1276 struct tbnet *net = tb_service_get_drvdata(svc);
1290 struct tb_service *svc = tb_to_service(dev);
1291 struct tbnet *net = tb_service_get_drvdata(svc);