Home
last modified time | relevance | path

Searched refs:g450_controls (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c34 static const struct mctl g450_controls[] = variable
62 #define G450CTRLS ARRAY_SIZE(g450_controls)
71 if (v4l2_id < g450_controls[i].desc.id) { in get_ctrl_id()
72 if (g450_controls[i].desc.id == 0x08000000) { in get_ctrl_id()
77 if (v4l2_id == g450_controls[i].desc.id) { in get_ctrl_id()
86 return (int*)((char*)minfo + g450_controls[idx].control); in get_ctrl_ptr()
94 *get_ctrl_ptr(minfo, i) = g450_controls[i].desc.default_value; in tvo_fill_defaults()
147 *p = g450_controls[i].desc; in g450_query_ctrl()
178 if (p->value > g450_controls[i].desc.maximum) return -EINVAL; in g450_set_ctrl()
179 if (p->value < g450_controls[i].desc.minimum) return -EINVAL; in g450_set_ctrl()