Lines Matching full:nr

40 #define LP55XX_DEV_ATTR_ENGINE_MODE(nr)					\  argument
41 static ssize_t show_engine##nr##_mode(struct device *dev, \
45 return lp55xx_show_engine_mode(dev, attr, buf, nr); \
47 static ssize_t store_engine##nr##_mode(struct device *dev, \
51 return lp55xx_store_engine_mode(dev, attr, buf, len, nr); \
53 static LP55XX_DEV_ATTR_RW(engine##nr##_mode, show_engine##nr##_mode, \
54 store_engine##nr##_mode)
56 #define LP55XX_DEV_ATTR_ENGINE_LEDS(nr) \ argument
57 static ssize_t show_engine##nr##_leds(struct device *dev, \
61 return lp55xx_show_engine_leds(dev, attr, buf, nr); \
63 static ssize_t store_engine##nr##_leds(struct device *dev, \
67 return lp55xx_store_engine_leds(dev, attr, buf, len, nr); \
69 static LP55XX_DEV_ATTR_RW(engine##nr##_leds, show_engine##nr##_leds, \
70 store_engine##nr##_leds)
72 #define LP55XX_DEV_ATTR_ENGINE_LOAD(nr) \ argument
73 static ssize_t store_engine##nr##_load(struct device *dev, \
77 return lp55xx_store_engine_load(dev, attr, buf, len, nr); \
79 static LP55XX_DEV_ATTR_WO(engine##nr##_load, store_engine##nr##_load)
81 #define LP55XX_DEV_ATTR_MASTER_FADER(nr) \ argument
82 static ssize_t show_master_fader##nr(struct device *dev, \
86 return lp55xx_show_master_fader(dev, attr, buf, nr); \
88 static ssize_t store_master_fader##nr(struct device *dev, \
92 return lp55xx_store_master_fader(dev, attr, buf, len, nr); \
94 static LP55XX_DEV_ATTR_RW(master_fader##nr, show_master_fader##nr, \
95 store_master_fader##nr)
255 char *buf, int nr);
258 const char *buf, size_t len, int nr);
261 const char *buf, size_t len, int nr);
264 char *buf, int nr);
267 const char *buf, size_t len, int nr);
270 char *buf, int nr);
273 const char *buf, size_t len, int nr);