Lines Matching refs:dev
574 const struct device *dev, const char *fmt, ...) in __dynamic_dev_dbg() argument
587 if (!dev) { in __dynamic_dev_dbg()
592 dev_printk_emit(LOGLEVEL_DEBUG, dev, "%s%s %s: %pV", in __dynamic_dev_dbg()
594 dev_driver_string(dev), dev_name(dev), in __dynamic_dev_dbg()
605 const struct net_device *dev, const char *fmt, ...) in __dynamic_netdev_dbg() argument
618 if (dev && dev->dev.parent) { in __dynamic_netdev_dbg()
621 dev_printk_emit(LOGLEVEL_DEBUG, dev->dev.parent, in __dynamic_netdev_dbg()
624 dev_driver_string(dev->dev.parent), in __dynamic_netdev_dbg()
625 dev_name(dev->dev.parent), in __dynamic_netdev_dbg()
626 netdev_name(dev), netdev_reg_state(dev), in __dynamic_netdev_dbg()
628 } else if (dev) { in __dynamic_netdev_dbg()
629 printk(KERN_DEBUG "%s%s: %pV", netdev_name(dev), in __dynamic_netdev_dbg()
630 netdev_reg_state(dev), &vaf); in __dynamic_netdev_dbg()
654 if (ibdev && ibdev->dev.parent) { in __dynamic_ibdev_dbg()
657 dev_printk_emit(LOGLEVEL_DEBUG, ibdev->dev.parent, in __dynamic_ibdev_dbg()
660 dev_driver_string(ibdev->dev.parent), in __dynamic_ibdev_dbg()
661 dev_name(ibdev->dev.parent), in __dynamic_ibdev_dbg()
662 dev_name(&ibdev->dev), in __dynamic_ibdev_dbg()
665 printk(KERN_DEBUG "%s: %pV", dev_name(&ibdev->dev), &vaf); in __dynamic_ibdev_dbg()