MCPcopy Create free account
hub / github.com/F-Stack/f-stack / driver_call_probe

Function driver_call_probe

dpdk/drivers/bus/platform/platform.c:364–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364static int
365driver_call_probe(struct rte_platform_driver *pdrv, struct rte_platform_device *pdev)
366{
367 int ret;
368
369 if (rte_dev_is_probed(&pdev->device))
370 return -EBUSY;
371
372 if (pdrv->probe != NULL) {
373 pdev->driver = pdrv;
374 ret = pdrv->probe(pdev);
375 if (ret)
376 return ret;
377 }
378
379 pdev->device.driver = &pdrv->driver;
380
381 return 0;
382}
383
384static int
385driver_probe_device(struct rte_platform_driver *pdrv, struct rte_platform_device *pdev)

Callers 1

driver_probe_deviceFunction · 0.85

Calls 1

rte_dev_is_probedFunction · 0.85

Tested by

no test coverage detected