Home
last modified time | relevance | path

Searched refs:ocrdma_drv (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/emulex/benet/
Dbe_roce.c22 static struct ocrdma_driver *ocrdma_drv; variable
32 if (!ocrdma_drv) in _be_roce_dev_add()
35 if (ocrdma_drv->be_abi_version != BE_ROCE_ABI_VERSION) { in _be_roce_dev_add()
79 adapter->ocrdma_dev = ocrdma_drv->add(&dev_info); in _be_roce_dev_add()
100 if (ocrdma_drv && ocrdma_drv->remove && adapter->ocrdma_dev) in _be_roce_dev_remove()
101 ocrdma_drv->remove(adapter->ocrdma_dev); in _be_roce_dev_remove()
119 if (ocrdma_drv && adapter->ocrdma_dev && in be_roce_dev_shutdown()
120 ocrdma_drv->state_change_handler) in be_roce_dev_shutdown()
121 ocrdma_drv->state_change_handler(adapter->ocrdma_dev, in be_roce_dev_shutdown()
132 if (ocrdma_drv) { in be_roce_register_driver()
[all …]
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c400 static struct ocrdma_driver ocrdma_drv = { variable
414 status = be_roce_register_driver(&ocrdma_drv); in ocrdma_init_module()
427 be_roce_unregister_driver(&ocrdma_drv); in ocrdma_exit_module()