Lines Matching defs:device
330 * in device sctructure.
391 /* Query device config using common hwrm */
788 static ssize_t hw_rev_show(struct device *device, struct device_attribute *attr,
792 rdma_device_to_drv_device(device, struct bnxt_re_dev, ibdev);
798 static ssize_t hca_type_show(struct device *device,
802 rdma_device_to_drv_device(device, struct bnxt_re_dev, ibdev);
880 /* ib device init */
984 event.device = &qp->rdev->ibdev;
989 if (event.device && qp->ib_qp.event_handler)
1041 ib_event.device = &srq->rdev->ibdev;
1220 ib_event.device = ibdev;
1454 /* Registered a new RoCE device instance to netdev */
1563 /* Resources based on the 'new' device caps */
1797 /* L2 driver may invoke this callback during device error/crash or device
1798 * reset. Current RoCE driver doesn't recover the device in case of
1804 ibdev_info(&rdev->ibdev, "Handle device suspend call");
1805 /* Check the current device state from bnxt_en_dev and move the
1806 * device to detached state if FW_FATAL_COND is set.
1808 * in case the device is already in error.
1815 /* Move the device states to detached and avoid sending any more
1834 /* L2 driver may invoke this callback during device recovery, resume.
1835 * reset. Current RoCE driver doesn't recover the device in case of
1841 ibdev_info(&rdev->ibdev, "Handle device resume call");