cls_dev 13 drivers/net/ethernet/hisilicon/hns/hnae.c #define cls_to_ae_dev(dev) container_of(dev, struct hnae_ae_dev, cls_dev) cls_dev 339 drivers/net/ethernet/hisilicon/hns/hnae.c put_device(&dev->cls_dev); cls_dev 364 drivers/net/ethernet/hisilicon/hns/hnae.c put_device(&dev->cls_dev); cls_dev 388 drivers/net/ethernet/hisilicon/hns/hnae.c put_device(&dev->cls_dev); cls_dev 417 drivers/net/ethernet/hisilicon/hns/hnae.c hdev->cls_dev.parent = hdev->dev; cls_dev 418 drivers/net/ethernet/hisilicon/hns/hnae.c hdev->cls_dev.class = hnae_class; cls_dev 419 drivers/net/ethernet/hisilicon/hns/hnae.c hdev->cls_dev.release = hnae_release; cls_dev 420 drivers/net/ethernet/hisilicon/hns/hnae.c (void)dev_set_name(&hdev->cls_dev, "hnae%d", hdev->id); cls_dev 421 drivers/net/ethernet/hisilicon/hns/hnae.c ret = device_register(&hdev->cls_dev); cls_dev 445 drivers/net/ethernet/hisilicon/hns/hnae.c device_unregister(&hdev->cls_dev); cls_dev 537 drivers/net/ethernet/hisilicon/hns/hnae.h struct device cls_dev; /* the class dev */