Lines Matching refs:cname
24 #define UVC_ATTR(prefix, cname, aname) \ argument
25 static struct configfs_attribute prefix##attr_##cname = { \
29 .show = prefix##cname##_show, \
30 .store = prefix##cname##_store, \
33 #define UVC_ATTR_RO(prefix, cname, aname) \ argument
34 static struct configfs_attribute prefix##attr_##cname = { \
38 .show = prefix##cname##_show, \
141 #define UVCG_CTRL_HDR_ATTR(cname, aname, bits, limit) \ argument
142 static ssize_t uvcg_control_header_##cname##_show( \
165 uvcg_control_header_##cname##_store(struct config_item *item, \
202 UVC_ATTR(uvcg_control_header_, cname, aname)
259 #define UVCG_DEFAULT_PROCESSING_ATTR(cname, aname, bits) \ argument
260 static ssize_t uvcg_default_processing_##cname##_show( \
284 UVC_ATTR_RO(uvcg_default_processing_, cname, aname)
362 #define UVCG_DEFAULT_CAMERA_ATTR(cname, aname, bits) \ argument
363 static ssize_t uvcg_default_camera_##cname##_show( \
389 UVC_ATTR_RO(uvcg_default_camera_, cname, aname)
476 #define UVCG_DEFAULT_OUTPUT_ATTR(cname, aname, bits) \ argument
477 static ssize_t uvcg_default_output_##cname##_show( \
503 UVC_ATTR_RO(uvcg_default_output_, cname, aname)
977 #define UVCG_STREAMING_HEADER_ATTR(cname, aname, bits) \ argument
978 static ssize_t uvcg_streaming_header_##cname##_show( \
1000 UVC_ATTR_RO(uvcg_streaming_header_, cname, aname)
1087 #define UVCG_FRAME_ATTR(cname, aname, bits) \ argument
1088 static ssize_t uvcg_frame_##cname##_show(struct config_item *item, char *page)\
1102 result = sprintf(page, "%u\n", f->frame.cname); \
1109 static ssize_t uvcg_frame_##cname##_store(struct config_item *item, \
1117 typeof(f->frame.cname) num; \
1136 f->frame.cname = num; \
1144 UVC_ATTR(uvcg_frame_, cname, aname);
1494 #define UVCG_UNCOMPRESSED_ATTR_RO(cname, aname, bits) \ argument
1495 static ssize_t uvcg_uncompressed_##cname##_show( \
1517 UVC_ATTR_RO(uvcg_uncompressed_, cname, aname);
1519 #define UVCG_UNCOMPRESSED_ATTR(cname, aname, bits) \ argument
1520 static ssize_t uvcg_uncompressed_##cname##_show( \
1543 uvcg_uncompressed_##cname##_store(struct config_item *item, \
1576 UVC_ATTR(uvcg_uncompressed_, cname, aname);
1689 #define UVCG_MJPEG_ATTR_RO(cname, aname, bits) \ argument
1690 static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\
1711 UVC_ATTR_RO(uvcg_mjpeg_, cname, aname)
1713 #define UVCG_MJPEG_ATTR(cname, aname, bits) \ argument
1714 static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\
1736 uvcg_mjpeg_##cname##_store(struct config_item *item, \
1769 UVC_ATTR(uvcg_mjpeg_, cname, aname)
1858 #define UVCG_DEFAULT_COLOR_MATCHING_ATTR(cname, aname, bits) \ argument
1859 static ssize_t uvcg_default_color_matching_##cname##_show( \
1883 UVC_ATTR_RO(uvcg_default_color_matching_, cname, aname)
2377 #define UVCG_OPTS_ATTR(cname, aname, limit) \ argument
2378 static ssize_t f_uvc_opts_##cname##_show( \
2385 result = sprintf(page, "%u\n", opts->cname); \
2392 f_uvc_opts_##cname##_store(struct config_item *item, \
2413 opts->cname = num; \
2420 UVC_ATTR(f_uvc_opts_, cname, cname)