Lines Matching refs:cname
23 #define UVC_ATTR(prefix, cname, aname) \ argument
24 static struct configfs_attribute prefix##attr_##cname = { \
28 .show = prefix##cname##_show, \
29 .store = prefix##cname##_store, \
32 #define UVC_ATTR_RO(prefix, cname, aname) \ argument
33 static struct configfs_attribute prefix##attr_##cname = { \
37 .show = prefix##cname##_show, \
186 #define UVCG_CTRL_HDR_ATTR(cname, aname, bits, limit) \ argument
187 static ssize_t uvcg_control_header_##cname##_show( \
210 uvcg_control_header_##cname##_store(struct config_item *item, \
247 UVC_ATTR(uvcg_control_header_, cname, aname)
304 #define UVCG_DEFAULT_PROCESSING_ATTR(cname, aname, bits) \ argument
305 static ssize_t uvcg_default_processing_##cname##_show( \
329 UVC_ATTR_RO(uvcg_default_processing_, cname, aname)
465 #define UVCG_DEFAULT_CAMERA_ATTR(cname, aname, bits) \ argument
466 static ssize_t uvcg_default_camera_##cname##_show( \
492 UVC_ATTR_RO(uvcg_default_camera_, cname, aname)
638 #define UVCG_DEFAULT_OUTPUT_ATTR(cname, aname, bits) \ argument
639 static ssize_t uvcg_default_output_##cname##_show( \
665 UVC_ATTR_RO(uvcg_default_output_, cname, aname)
787 #define UVCG_EXTENSION_ATTR(cname, aname, ro...) \ argument
788 static ssize_t uvcg_extension_##cname##_show(struct config_item *item, \
811 UVC_ATTR##ro(uvcg_extension_, cname, aname)
1839 #define UVCG_STREAMING_HEADER_ATTR(cname, aname, bits) \ argument
1840 static ssize_t uvcg_streaming_header_##cname##_show( \
1862 UVC_ATTR_RO(uvcg_streaming_header_, cname, aname)
1924 #define UVCG_FRAME_ATTR(cname, aname, bits) \ argument
1925 static ssize_t uvcg_frame_##cname##_show(struct config_item *item, char *page)\
1939 result = sprintf(page, "%u\n", f->frame.cname); \
1946 static ssize_t uvcg_frame_##cname##_store(struct config_item *item, \
1954 typeof(f->frame.cname) num; \
1973 f->frame.cname = num; \
1981 UVC_ATTR(uvcg_frame_, cname, aname);
2300 #define UVCG_UNCOMPRESSED_ATTR_RO(cname, aname, bits) \ argument
2301 static ssize_t uvcg_uncompressed_##cname##_show( \
2323 UVC_ATTR_RO(uvcg_uncompressed_, cname, aname);
2325 #define UVCG_UNCOMPRESSED_ATTR(cname, aname, bits) \ argument
2326 static ssize_t uvcg_uncompressed_##cname##_show( \
2349 uvcg_uncompressed_##cname##_store(struct config_item *item, \
2388 UVC_ATTR(uvcg_uncompressed_, cname, aname);
2499 #define UVCG_MJPEG_ATTR_RO(cname, aname, bits) \ argument
2500 static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\
2521 UVC_ATTR_RO(uvcg_mjpeg_, cname, aname)
2523 #define UVCG_MJPEG_ATTR(cname, aname, bits) \ argument
2524 static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\
2546 uvcg_mjpeg_##cname##_store(struct config_item *item, \
2585 UVC_ATTR(uvcg_mjpeg_, cname, aname)
2684 #define UVCG_COLOR_MATCHING_ATTR(cname, aname, bits) \ argument
2685 static ssize_t uvcg_color_matching_##cname##_show( \
2710 static ssize_t uvcg_color_matching_##cname##_store( \
2747 UVC_ATTR(uvcg_color_matching_, cname, aname)
3370 #define UVCG_OPTS_ATTR(cname, aname, limit) \ argument
3371 static ssize_t f_uvc_opts_##cname##_show( \
3378 result = sprintf(page, "%u\n", opts->cname); \
3385 f_uvc_opts_##cname##_store(struct config_item *item, \
3406 opts->cname = num; \
3413 UVC_ATTR(f_uvc_opts_, cname, cname)
3421 #define UVCG_OPTS_STRING_ATTR(cname, aname) \ argument
3422 static ssize_t f_uvc_opts_string_##cname##_show(struct config_item *item,\
3435 static ssize_t f_uvc_opts_string_##cname##_store(struct config_item *item,\
3457 UVC_ATTR(f_uvc_opts_string_, cname, aname)