Lines Matching refs:menu_mask
387 if (!test_bit(idx, &mapping->menu_mask)) in uvc_mapping_get_menu_value()
399 if (!test_bit(idx, &mapping->menu_mask)) in uvc_mapping_get_menu_name()
556 .menu_mask = GENMASK(V4L2_EXPOSURE_APERTURE_PRIORITY,
761 .menu_mask = GENMASK(V4L2_CID_POWER_LINE_FREQUENCY_60HZ,
773 .menu_mask = GENMASK(V4L2_CID_POWER_LINE_FREQUENCY_60HZ,
790 .menu_mask = GENMASK(V4L2_CID_POWER_LINE_FREQUENCY_AUTO,
1024 for (i = 0; BIT(i) <= mapping->menu_mask; ++i) { in __uvc_ctrl_get_value()
1027 if (!test_bit(i, &mapping->menu_mask)) in __uvc_ctrl_get_value()
1283 v4l2_ctrl->minimum = ffs(mapping->menu_mask) - 1; in __uvc_query_v4l2_ctrl()
1284 v4l2_ctrl->maximum = fls(mapping->menu_mask) - 1; in __uvc_query_v4l2_ctrl()
1287 for (i = 0; BIT(i) <= mapping->menu_mask; ++i) { in __uvc_query_v4l2_ctrl()
1290 if (!test_bit(i, &mapping->menu_mask)) in __uvc_query_v4l2_ctrl()
1405 if (index >= BITS_PER_TYPE(mapping->menu_mask)) in uvc_query_v4l2_menu()
1418 if (!test_bit(query_menu->index, &mapping->menu_mask)) { in uvc_query_v4l2_menu()
1948 if (xctrl->value < (ffs(mapping->menu_mask) - 1) || in uvc_ctrl_set()
1949 xctrl->value > (fls(mapping->menu_mask) - 1)) in uvc_ctrl_set()
1952 if (!test_bit(xctrl->value, &mapping->menu_mask)) in uvc_ctrl_set()
2392 if (mapping->menu_mapping && mapping->menu_mask) { in __uvc_ctrl_add_mapping()
2394 * fls(mapping->menu_mask); in __uvc_ctrl_add_mapping()
2400 if (mapping->menu_names && mapping->menu_mask) { in __uvc_ctrl_add_mapping()
2402 * fls(mapping->menu_mask); in __uvc_ctrl_add_mapping()