Lines Matching refs:_name
214 #define CXACRU__ATTR_INIT(_name) \
215 static DEVICE_ATTR(_name, S_IRUGO, cxacru_sysfs_show_##_name, NULL)
217 #define CXACRU_CMD_INIT(_name) \
218 static DEVICE_ATTR(_name, S_IWUSR | S_IRUGO, \
219 cxacru_sysfs_show_##_name, cxacru_sysfs_store_##_name)
221 #define CXACRU_SET_INIT(_name) \
222 static DEVICE_ATTR(_name, S_IWUSR, \
223 NULL, cxacru_sysfs_store_##_name)
225 #define CXACRU_ATTR_INIT(_value, _type, _name) \
226 static ssize_t cxacru_sysfs_show_##_name(struct device *dev, \
237 CXACRU__ATTR_INIT(_name)
239 #define CXACRU_ATTR_CREATE(_v, _t, _name) CXACRU_DEVICE_CREATE_FILE(_name)
240 #define CXACRU_CMD_CREATE(_name) CXACRU_DEVICE_CREATE_FILE(_name)
241 #define CXACRU_SET_CREATE(_name) CXACRU_DEVICE_CREATE_FILE(_name)
242 #define CXACRU__ATTR_CREATE(_name) CXACRU_DEVICE_CREATE_FILE(_name)
244 #define CXACRU_ATTR_REMOVE(_v, _t, _name) CXACRU_DEVICE_REMOVE_FILE(_name)
245 #define CXACRU_CMD_REMOVE(_name) CXACRU_DEVICE_REMOVE_FILE(_name)
246 #define CXACRU_SET_REMOVE(_name) CXACRU_DEVICE_REMOVE_FILE(_name)
247 #define CXACRU__ATTR_REMOVE(_name) CXACRU_DEVICE_REMOVE_FILE(_name)
747 #define CXACRU_DEVICE_REMOVE_FILE(_name) \
748 device_remove_file(&intf->dev, &dev_attr_##_name);
771 #define CXACRU_DEVICE_CREATE_FILE(_name) \
772 ret = device_create_file(&intf->dev, &dev_attr_##_name); \