Lines Matching refs:_name
650 #define NATSEMI_ATTR(_name) \
651 static ssize_t natsemi_show_##_name(struct device *dev, \
653 static ssize_t natsemi_set_##_name(struct device *dev, \
656 static DEVICE_ATTR(_name, 0644, natsemi_show_##_name, natsemi_set_##_name)
658 #define NATSEMI_CREATE_FILE(_dev, _name) \
659 device_create_file(&_dev->dev, &dev_attr_##_name)
660 #define NATSEMI_REMOVE_FILE(_dev, _name) \
661 device_remove_file(&_dev->dev, &dev_attr_##_name)