qctrl 537 drivers/media/common/cx2341x.c static int cx2341x_ctrl_query_fill(struct v4l2_queryctrl *qctrl, qctrl 542 drivers/media/common/cx2341x.c switch (qctrl->id) { qctrl 556 drivers/media/common/cx2341x.c cx2341x_ctrl_fill(qctrl->id, &name, &qctrl->type, qctrl 557 drivers/media/common/cx2341x.c &min, &max, &step, &def, &qctrl->flags); qctrl 558 drivers/media/common/cx2341x.c qctrl->minimum = min; qctrl 559 drivers/media/common/cx2341x.c qctrl->maximum = max; qctrl 560 drivers/media/common/cx2341x.c qctrl->step = step; qctrl 561 drivers/media/common/cx2341x.c qctrl->default_value = def; qctrl 562 drivers/media/common/cx2341x.c qctrl->reserved[0] = qctrl->reserved[1] = 0; qctrl 563 drivers/media/common/cx2341x.c strscpy(qctrl->name, name, sizeof(qctrl->name)); qctrl 567 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, min, max, step, def); qctrl 572 drivers/media/common/cx2341x.c struct v4l2_queryctrl *qctrl) qctrl 576 drivers/media/common/cx2341x.c switch (qctrl->id) { qctrl 578 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 0, 0, 0); qctrl 580 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 587 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 591 drivers/media/common/cx2341x.c return cx2341x_ctrl_query_fill(qctrl, qctrl 597 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 610 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 616 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 622 drivers/media/common/cx2341x.c err = v4l2_ctrl_query_fill(qctrl, qctrl 630 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 634 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 640 drivers/media/common/cx2341x.c err = v4l2_ctrl_query_fill(qctrl, qctrl 646 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 650 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 656 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 662 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 1, 1, 0); qctrl 665 drivers/media/common/cx2341x.c err = v4l2_ctrl_query_fill(qctrl, qctrl 674 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 676 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_DISABLED; qctrl 683 drivers/media/common/cx2341x.c err = v4l2_ctrl_query_fill(qctrl, qctrl 688 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_READ_ONLY; qctrl 692 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, qctrl 698 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 33, 1, 2); qctrl 701 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 1, 34, 1, qctrl 705 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 1, 1, 1); qctrl 708 drivers/media/common/cx2341x.c err = v4l2_ctrl_query_fill(qctrl, qctrl 714 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 718 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 27000000, 1, 6000000); qctrl 721 drivers/media/common/cx2341x.c err = v4l2_ctrl_query_fill(qctrl, 0, 27000000, 1, 8000000); qctrl 725 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 729 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 255, 1, 0); qctrl 732 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 1, 1, 0); qctrl 735 drivers/media/common/cx2341x.c return v4l2_ctrl_query_fill(qctrl, 0, 0xffffff, 1, 0x008080); qctrl 739 drivers/media/common/cx2341x.c return cx2341x_ctrl_query_fill(qctrl, qctrl 745 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, 0, 15, 1, qctrl 747 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_SLIDER; qctrl 750 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 754 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, qctrl 761 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 765 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, qctrl 772 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 776 drivers/media/common/cx2341x.c return cx2341x_ctrl_query_fill(qctrl, qctrl 782 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, 0, 31, 1, qctrl 784 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_SLIDER; qctrl 787 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 791 drivers/media/common/cx2341x.c return cx2341x_ctrl_query_fill(qctrl, qctrl 797 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, 0, 255, 1, qctrl 799 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_SLIDER; qctrl 802 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 806 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, 0, 255, 1, qctrl 808 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_SLIDER; qctrl 811 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 815 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, 0, 255, 1, qctrl 817 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_SLIDER; qctrl 820 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 824 drivers/media/common/cx2341x.c cx2341x_ctrl_query_fill(qctrl, 0, 255, 1, qctrl 826 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_SLIDER; qctrl 829 drivers/media/common/cx2341x.c qctrl->flags |= V4L2_CTRL_FLAG_INACTIVE; qctrl 833 drivers/media/common/cx2341x.c return cx2341x_ctrl_query_fill(qctrl, 0, 1, 1, qctrl 924 drivers/media/common/cx2341x.c static int v4l2_ctrl_check(struct v4l2_ext_control *ctrl, struct v4l2_queryctrl *qctrl, qctrl 927 drivers/media/common/cx2341x.c if (qctrl->flags & V4L2_CTRL_FLAG_DISABLED) qctrl 929 drivers/media/common/cx2341x.c if (qctrl->flags & V4L2_CTRL_FLAG_GRABBED) qctrl 931 drivers/media/common/cx2341x.c if (qctrl->type == V4L2_CTRL_TYPE_STRING) qctrl 933 drivers/media/common/cx2341x.c if (qctrl->type == V4L2_CTRL_TYPE_BUTTON || qctrl 934 drivers/media/common/cx2341x.c qctrl->type == V4L2_CTRL_TYPE_INTEGER64 || qctrl 935 drivers/media/common/cx2341x.c qctrl->type == V4L2_CTRL_TYPE_CTRL_CLASS) qctrl 937 drivers/media/common/cx2341x.c if (ctrl->value < qctrl->minimum || ctrl->value > qctrl->maximum) qctrl 939 drivers/media/common/cx2341x.c if (qctrl->type == V4L2_CTRL_TYPE_MENU && menu_items != NULL) { qctrl 944 drivers/media/common/cx2341x.c if (qctrl->type == V4L2_CTRL_TYPE_BITMASK && qctrl 945 drivers/media/common/cx2341x.c (ctrl->value & ~qctrl->maximum)) qctrl 970 drivers/media/common/cx2341x.c struct v4l2_queryctrl qctrl; qctrl 973 drivers/media/common/cx2341x.c qctrl.id = ctrl->id; qctrl 974 drivers/media/common/cx2341x.c err = cx2341x_ctrl_query(params, &qctrl); qctrl 977 drivers/media/common/cx2341x.c if (qctrl.type == V4L2_CTRL_TYPE_MENU) qctrl 978 drivers/media/common/cx2341x.c menu_items = cx2341x_ctrl_get_menu(params, qctrl.id); qctrl 979 drivers/media/common/cx2341x.c err = v4l2_ctrl_check(ctrl, &qctrl, menu_items); qctrl 787 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_queryctrl qctrl = {}; qctrl 789 drivers/media/usb/pvrusb2/pvrusb2-hdw.c qctrl.id = cptr->info->v4l_id; qctrl 790 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cx2341x_ctrl_query(&cptr->hdw->enc_ctl_state,&qctrl); qctrl 798 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY) { qctrl 807 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return qctrl.flags; qctrl 2357 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_queryctrl qctrl; qctrl 2469 drivers/media/usb/pvrusb2/pvrusb2-hdw.c qctrl.id = ciptr->v4l_id; qctrl 2470 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cx2341x_ctrl_query(&hdw->enc_ctl_state,&qctrl); qctrl 2471 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!(qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY)) { qctrl 2474 drivers/media/usb/pvrusb2/pvrusb2-hdw.c strscpy(hdw->mpeg_ctrl_info[idx].desc, qctrl.name, qctrl 2476 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ciptr->default_value = qctrl.default_value; qctrl 2477 drivers/media/usb/pvrusb2/pvrusb2-hdw.c switch (qctrl.type) { qctrl 2481 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ciptr->def.type_int.min_value = qctrl.minimum; qctrl 2482 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ciptr->def.type_int.max_value = qctrl.maximum; qctrl 66 drivers/media/v4l2-core/v4l2-common.c int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 _min, s32 _max, s32 _step, s32 _def) qctrl 74 drivers/media/v4l2-core/v4l2-common.c v4l2_ctrl_fill(qctrl->id, &name, &qctrl->type, qctrl 75 drivers/media/v4l2-core/v4l2-common.c &min, &max, &step, &def, &qctrl->flags); qctrl 80 drivers/media/v4l2-core/v4l2-common.c qctrl->minimum = min; qctrl 81 drivers/media/v4l2-core/v4l2-common.c qctrl->maximum = max; qctrl 82 drivers/media/v4l2-core/v4l2-common.c qctrl->step = step; qctrl 83 drivers/media/v4l2-core/v4l2-common.c qctrl->default_value = def; qctrl 84 drivers/media/v4l2-core/v4l2-common.c qctrl->reserved[0] = qctrl->reserved[1] = 0; qctrl 85 drivers/media/v4l2-core/v4l2-common.c strscpy(qctrl->name, name, sizeof(qctrl->name)); qctrl 1104 drivers/video/fbdev/matrox/matroxfb_base.c struct v4l2_queryctrl qctrl; qctrl 1107 drivers/video/fbdev/matrox/matroxfb_base.c if (copy_from_user(&qctrl, argp, sizeof(qctrl))) qctrl 1114 drivers/video/fbdev/matrox/matroxfb_base.c err = minfo->outputs[1].output->getqueryctrl(minfo->outputs[1].data, &qctrl); qctrl 1120 drivers/video/fbdev/matrox/matroxfb_base.c copy_to_user(argp, &qctrl, sizeof(qctrl))) qctrl 85 include/media/drv-intf/cx2341x.h struct v4l2_queryctrl *qctrl); qctrl 94 include/media/v4l2-common.h int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl,