Searched refs:qmenu (Results 1 – 11 of 11) sorted by relevance
/drivers/media/v4l2-core/ |
D | v4l2-common.c | 139 int v4l2_ctrl_query_menu(struct v4l2_querymenu *qmenu, struct v4l2_queryctrl *qctrl, in v4l2_ctrl_query_menu() argument 144 qmenu->reserved = 0; in v4l2_ctrl_query_menu() 146 menu_items = v4l2_ctrl_get_menu(qmenu->id); in v4l2_ctrl_query_menu() 148 (qctrl && (qmenu->index < qctrl->minimum || qmenu->index > qctrl->maximum))) in v4l2_ctrl_query_menu() 150 for (i = 0; i < qmenu->index && menu_items[i]; i++) ; in v4l2_ctrl_query_menu() 153 strlcpy(qmenu->name, menu_items[qmenu->index], sizeof(qmenu->name)); in v4l2_ctrl_query_menu() 161 int v4l2_ctrl_query_menu_valid_items(struct v4l2_querymenu *qmenu, const u32 *ids) in v4l2_ctrl_query_menu_valid_items() argument 163 const char * const *menu_items = v4l2_ctrl_get_menu(qmenu->id); in v4l2_ctrl_query_menu_valid_items() 165 qmenu->reserved = 0; in v4l2_ctrl_query_menu_valid_items() 169 if (*ids++ == qmenu->index) { in v4l2_ctrl_query_menu_valid_items() [all …]
|
D | v4l2-ctrls.c | 1333 ctrl->qmenu[c->value][0] == '\0') in validate_new() 1573 u32 flags, const char * const *qmenu, in v4l2_ctrl_new() argument 1585 (type == V4L2_CTRL_TYPE_MENU && qmenu == NULL) || in v4l2_ctrl_new() 1625 ctrl->qmenu = qmenu; in v4l2_ctrl_new() 1653 const char * const *qmenu = cfg->qmenu; in v4l2_ctrl_new_custom() local 1672 if (cfg->type == V4L2_CTRL_TYPE_MENU && qmenu == NULL) in v4l2_ctrl_new_custom() 1673 qmenu = v4l2_ctrl_get_menu(cfg->id); in v4l2_ctrl_new_custom() 1683 def, flags, qmenu, qmenu_int, priv); in v4l2_ctrl_new_custom() 1715 const char * const *qmenu = v4l2_ctrl_get_menu(id); in v4l2_ctrl_new_std_menu() local 1728 0, max, mask, def, flags, qmenu, NULL, NULL); in v4l2_ctrl_new_std_menu() [all …]
|
/drivers/media/pci/saa7134/ |
D | saa6752hs.c | 629 static int saa6752hs_querymenu(struct v4l2_subdev *sd, struct v4l2_querymenu *qmenu) in saa6752hs_querymenu() argument 654 qctrl.id = qmenu->id; in saa6752hs_querymenu() 658 switch (qmenu->id) { in saa6752hs_querymenu() 660 return v4l2_ctrl_query_menu_valid_items(qmenu, in saa6752hs_querymenu() 665 return v4l2_ctrl_query_menu_valid_items(qmenu, in saa6752hs_querymenu() 668 return v4l2_ctrl_query_menu_valid_items(qmenu, in saa6752hs_querymenu() 672 return v4l2_ctrl_query_menu(qmenu, &qctrl, NULL); in saa6752hs_querymenu()
|
/drivers/media/pci/cx23885/ |
D | cx23885-417.c | 1205 struct v4l2_querymenu *qmenu) in cx23885_querymenu() argument 1209 qctrl.id = qmenu->id; in cx23885_querymenu() 1211 return v4l2_ctrl_query_menu(qmenu, &qctrl, in cx23885_querymenu() 1212 cx2341x_ctrl_get_menu(&dev->mpeg_params, qmenu->id)); in cx23885_querymenu()
|
/drivers/media/platform/ |
D | vivi.c | 661 dev->menu->qmenu[dev->menu->cur.val], in vivi_fillbuff() 1266 .qmenu = vivi_ctrl_menu_strings,
|
/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 69 .qmenu = pwc_auto_whitebal_qmenu,
|
/drivers/media/radio/ |
D | radio-si476x.c | 235 .qmenu = phase_diversity_modes,
|
/drivers/staging/media/solo6x10/ |
D | solo6x10-v4l2-enc.c | 1195 .qmenu = solo_motion_mode_menu,
|
/drivers/media/common/ |
D | cx2341x.c | 1502 cfg.qmenu = cx2341x_get_menu(id); in cx2341x_ctrl_new_custom()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_enc.c | 1922 cfg.qmenu = mfc51_get_menu(cfg.id); in s5p_mfc_enc_ctrls_setup()
|
/drivers/media/usb/gspca/ |
D | cpia1.c | 1825 .qmenu = comp_target_menu, in sd_init_controls()
|