Home
last modified time | relevance | path

Searched full:controls (Results 1 – 25 of 1763) sorted by relevance

12345678910>>...71

/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-g-ext-ctrls.rst19 …OC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several controls, try control valu…
50 These ioctls allow the caller to get or set multiple controls
52 :ref:`ctrl-class`) and all controls in the control array must belong
55 Applications must always fill in the ``count``, ``which``, ``controls``
59 by the ``controls`` fields.
61 To get the current value of a set of controls applications initialize
64 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. String controls controls must also set the
65 ``string`` field. Controls of compound types
69 relevant for pointer-type controls like strings), then the driver will
83 To change the value of a set of controls applications initialize the
[all …]
Dextended-controls.rst10 .. _extended-controls:
13 Extended Controls API
40 Controls, such as Camera Controls and FM Transmitter Controls. The
41 Extended Controls API as well as all Extended Controls classes are
52 on arrays of controls (as opposed to the
56 several controls at once.
61 controls in that array and a control class. Control classes are used to
62 group similar controls into a single class. For example, control class
63 ``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls
65 ioctl). Control class ``V4L2_CTRL_CLASS_MPEG`` contains all controls
[all …]
Dcontrol.rst13 User Controls
16 Devices typically have a number of user-settable controls such as
19 different controls available, and furthermore, the range of possible
22 user interface for these controls that will work correctly with any
25 All controls are accessed using an ID value. V4L2 defines several IDs
27 controls using ``V4L2_CID_PRIVATE_BASE`` [#f1]_ and higher values. The
32 Generally applications should present controls to the user without
37 to change a few controls programmatically, for example to mute a device
40 Drivers may enumerate different controls after switching the current
55 V4L2 specifies an event mechanism to notify applications when controls
[all …]
Dvidioc-queryctrl.rst19 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
55 It is possible to enumerate controls by calling ``VIDIOC_QUERYCTRL``
59 controls, which are not defined in this specification, by starting at
70 can be specified to enumerate all compound controls (i.e. controls with
72 controls that contain more than one value). Specify both
74 order to enumerate all controls, compound or not. Drivers which do not
78 support controls that can use compound types, and to expose additional
86 Additional information is required for menu controls: the names of the
159 the user can change controls by keyboard or GUI buttons, rather
169 for other types of controls.
[all …]
/Linux-v5.4/Documentation/media/kapi/
Dv4l2-controls.rst3 V4L2 Controls
10 implement correctly in drivers. But much of the code needed to handle controls
26 V4L2 specification with respect to controls in a central place. And to make
43 :c:type:`v4l2_ctrl_handler` is the object that keeps track of controls. It
45 references to controls, possibly to controls owned by other handlers.
89 The second argument is a hint telling the function how many controls this
114 2) Add controls:
116 You add non-menu controls by calling :c:func:`v4l2_ctrl_new_std`:
124 Menu and integer menu controls are added by calling
133 Menu controls with a driver specific menu are added by calling
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-fs-f2fs5 Controls the maximun sleep time for gc_thread. Time
12 Controls the minimum sleep time for gc_thread. Time
19 Controls the default sleep time for gc_thread. Time
26 Controls the victim selection policy for garbage collection.
32 Controls the issue rate of segment discard commands.
38 Controls the in-place-update policy.
44 Controls the FS utilization condition for the in-place-update
51 Controls the dirty page count condition for the in-place-update
58 Controls the dirty page count condition for batched sequential
66 Controls the dirty page count condition for redefining hot data.
[all …]
Dsysfs-driver-toshiba_acpi5 Description: This file controls the keyboard backlight operation mode, valid
22 Description: This file controls the timeout of the keyboard backlight
42 Description: This files controls the status of the touchpad and pointing
76 Description: This file controls the USB Sleep & Charge charging mode, which
93 Description: This file controls the USB Sleep Functions under battery, and
109 Description: This file controls the USB Rapid Charge state, which can be:
120 Description: This file controls the Sleep & Music state, which values can be:
139 Description: This file controls the state of the internal fan, valid
148 Description: This file controls the Special Functions (hotkeys) operation
164 Description: This file controls whether the laptop should turn ON whenever
[all …]
Dsysfs-bus-usb-devices-usbsevseg5 Description: Controls whether the device's display will powered.
13 Description: Controls the devices display mode.
23 Description: Controls the way the device interprets its text buffer.
24 raw: each character controls its segment manually
38 Description: Controls the decimal places on the device.
/Linux-v5.4/Documentation/media/v4l-drivers/
Duvcvideo.rst20 units (XUs). The Linux UVC driver supports extension unit controls (XU controls)
23 - through mappings of XU controls to V4L2 controls
26 The first one allows generic V4L2 applications to use XU controls by mapping
27 certain XU controls onto V4L2 controls, which then show up during ordinary
31 access XU controls but exposes the entire UVC XU concept to user space for
41 control mappings at runtime. These allow for individual XU controls or byte
42 ranges thereof to be mapped to new V4L2 controls. Such controls appear and
43 function exactly like normal V4L2 controls (i.e. the stock controls, such as
44 brightness, contrast, etc.). However, reading or writing of such a V4L2 controls
59 For applications that need to access XU controls directly, e.g. for testing
[all …]
Dvivid.rst25 - Working brightness, contrast, saturation and hue controls
184 select this through controls.
216 select this through controls.
256 if set disable the error injecting controls. This option is
258 exercise all controls including a control like 'Disconnect' which
264 controls that select crop, compose and scale behavior are also
322 controls 'Standard Signal Mode' and 'Standard' determine what
497 The FM receiver supports RDS as well, both using 'Block I/O' and 'Controls'
498 modes. In the 'Controls' mode the RDS information is stored in read-only
499 controls. These controls are updated every time the frequency is changed,
[all …]
/Linux-v5.4/drivers/reset/
Dreset-ti-syscon.c51 * @controls: array of reset controls
52 * @nr_controls: number of controls in control array
57 struct ti_syscon_reset_control *controls; member
84 control = &data->controls[id]; in ti_syscon_reset_assert()
115 control = &data->controls[id]; in ti_syscon_reset_deassert()
148 control = &data->controls[id]; in ti_syscon_reset_status()
174 struct ti_syscon_reset_control *controls; in ti_syscon_reset_probe() local
192 controls = devm_kcalloc(dev, nr_controls, sizeof(*controls), in ti_syscon_reset_probe()
194 if (!controls) in ti_syscon_reset_probe()
198 controls[i].assert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
[all …]
/Linux-v5.4/include/media/
Dv4l2-ctrls.h3 * V4L2 controls support header.
78 * for volatile (and usually read-only) controls such as a control
86 * one else can access controls owned by that handler.
134 * @ncontrols: Number of controls in cluster array.
173 * @step: The control's step value for non-menu controls.
178 * @menu_skip_mask: The control's skip mask for menu controls. This makes it
273 * the control has been applied. This prevents applying controls
274 * from a cluster with multiple controls twice (when the first
284 * keep a sorted-by-control-ID list of all controls, while the next pointer
300 * controls: both the controls owned by the handler and those inherited
[all …]
/Linux-v5.4/include/uapi/linux/
Dv4l2-controls.h3 * Video for Linux Two controls header file
56 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
57 #define V4L2_CTRL_CLASS_MPEG 0x00990000 /* MPEG-compression controls */
58 #define V4L2_CTRL_CLASS_CAMERA 0x009a0000 /* Camera class controls */
59 #define V4L2_CTRL_CLASS_FM_TX 0x009b0000 /* FM Modulator controls */
60 #define V4L2_CTRL_CLASS_FLASH 0x009c0000 /* Camera flash controls */
61 #define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */
62 #define V4L2_CTRL_CLASS_IMAGE_SOURCE 0x009e0000 /* Image source controls */
63 #define V4L2_CTRL_CLASS_IMAGE_PROC 0x009f0000 /* Image processing controls */
64 #define V4L2_CTRL_CLASS_DV 0x00a00000 /* Digital Video controls */
[all …]
/Linux-v5.4/include/sound/sof/
Dcontrol.h16 * Component Mixers and Controls
76 SOF_CTRL_CMD_VOLUME = 0, /**< maps to ALSA volume style controls */
77 SOF_CTRL_CMD_ENUM, /**< maps to ALSA enum style controls */
78 SOF_CTRL_CMD_SWITCH, /**< maps to ALSA switch style controls */
79 SOF_CTRL_CMD_BINARY, /**< maps to ALSA binary style controls */
119 /* channel values can be used by volume type controls */
121 /* component values used by routing controls like mux, mixer */
123 /* data can be used by binary controls */
151 /* data can be used by binary controls */
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-ctrls.c3 V4L2 controls framework implementation.
728 /* USER controls */ in v4l2_ctrl_get_name()
729 /* Keep the order of the 'case's the same as in v4l2-controls.h! */ in v4l2_ctrl_get_name()
730 case V4L2_CID_USER_CLASS: return "User Controls"; in v4l2_ctrl_get_name()
772 /* Codec controls */ in v4l2_ctrl_get_name()
773 /* The MPEG controls are applicable to all codec controls in v4l2_ctrl_get_name()
776 case V4L2_CID_MPEG_CLASS: return "Codec Controls"; in v4l2_ctrl_get_name()
898 /* VPX controls */ in v4l2_ctrl_get_name()
914 /* HEVC controls */ in v4l2_ctrl_get_name()
961 /* CAMERA controls */ in v4l2_ctrl_get_name()
[all …]
/Linux-v5.4/arch/x86/oprofile/
Dop_model_ppro.c58 msrs->controls[i].addr = MSR_P6_EVNTSEL0 + i; in ppro_fill_in_addresses()
97 if (!msrs->controls[i].addr) in ppro_setup_ctrs()
99 rdmsrl(msrs->controls[i].addr, val); in ppro_setup_ctrs()
103 wrmsrl(msrs->controls[i].addr, val); in ppro_setup_ctrs()
116 rdmsrl(msrs->controls[i].addr, val); in ppro_setup_ctrs()
119 wrmsrl(msrs->controls[i].addr, val); in ppro_setup_ctrs()
165 rdmsrl(msrs->controls[i].addr, val); in ppro_start()
167 wrmsrl(msrs->controls[i].addr, val); in ppro_start()
181 rdmsrl(msrs->controls[i].addr, val); in ppro_stop()
183 wrmsrl(msrs->controls[i].addr, val); in ppro_stop()
Dop_model_p4.c402 if (msrs->controls[i].addr) in p4_shutdown()
403 release_evntsel_nmi(msrs->controls[i].addr); in p4_shutdown()
421 msrs->controls[i].addr = cccraddr; in p4_fill_in_addresses()
429 msrs->controls[i].addr = addr; in p4_fill_in_addresses()
438 msrs->controls[i].addr = addr; in p4_fill_in_addresses()
444 msrs->controls[i].addr = addr; in p4_fill_in_addresses()
451 msrs->controls[i].addr = addr; in p4_fill_in_addresses()
457 msrs->controls[i].addr = addr; in p4_fill_in_addresses()
463 msrs->controls[i].addr = addr; in p4_fill_in_addresses()
471 msrs->controls[i++].addr = MSR_P4_CRU_ESCR5; in p4_fill_in_addresses()
[all …]
Dnmi_int.c78 struct op_msr *controls = msrs->controls; in nmi_cpu_save_registers() local
87 if (controls[i].addr) in nmi_cpu_save_registers()
88 rdmsrl(controls[i].addr, controls[i].saved); in nmi_cpu_save_registers()
95 if (!msrs->controls) in nmi_cpu_start()
115 if (!msrs->controls) in nmi_cpu_stop()
309 kfree(per_cpu(cpu_msrs, i).controls); in free_msrs()
310 per_cpu(cpu_msrs, i).controls = NULL; in free_msrs()
326 per_cpu(cpu_msrs, i).controls = kzalloc(controls_size, in allocate_msrs()
328 if (!per_cpu(cpu_msrs, i).controls) in allocate_msrs()
359 struct op_msr *controls = msrs->controls; in nmi_cpu_restore_registers() local
[all …]
Dop_model_amd.c279 rdmsrl(msrs->controls[i].addr, val); in op_mux_switch_ctrl()
282 wrmsrl(msrs->controls[i].addr, val); in op_mux_switch_ctrl()
316 msrs->controls[i].addr = MSR_F15H_PERF_CTL + (i << 1); in op_amd_fill_in_addresses()
318 msrs->controls[i].addr = MSR_K7_EVNTSEL0 + i; in op_amd_fill_in_addresses()
350 if (!msrs->controls[i].addr) in op_amd_setup_ctrs()
352 rdmsrl(msrs->controls[i].addr, val); in op_amd_setup_ctrs()
356 wrmsrl(msrs->controls[i].addr, val); in op_amd_setup_ctrs()
374 rdmsrl(msrs->controls[i].addr, val); in op_amd_setup_ctrs()
377 wrmsrl(msrs->controls[i].addr, val); in op_amd_setup_ctrs()
413 rdmsrl(msrs->controls[i].addr, val); in op_amd_start()
[all …]
/Linux-v5.4/drivers/media/pci/tw5864/
Dtw5864-reg.h16 /* Define controls in register TW5864_EMU */
43 /* Define controls in register TW5864_SLICE */
59 /* Define controls in register TW5864_DSP_QP */
69 /* Define controls in register TW5864_DSP_CODEC */
98 /* Define controls in register TW5864_DSP_SEN */
112 /* Define controls in register TW5864_DSP_REF_PIC */
124 /* Define controls in register TW5864_DSP */
144 /* Define controls in register TW5864_DDR */
169 /* Define controls in register TW5864_DSP_SEN_MODE */
194 /* Define controls in register TW5864_INTERLACING */
[all …]
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_ctrl.c3 * uvc_ctrl.c -- USB Video Class driver - Controls
33 * Controls
853 * UVC Controls
868 ctrl = &entity->controls[i]; in __uvc_find_control()
954 /* GET_RES is mandatory for XU controls, but some in uvc_ctrl_populate_cache()
1132 * Mapping V4L2 controls to UVC controls can be straightforward if done well.
1133 * Most of the UVC controls exist in V4L2, and can be mapped directly. Some
1135 * Balance V4L2 controls use the White Balance Component UVC control) or
1137 * table for the controls that can be mapped directly, and handle the others
1227 * @handle can be NULL for asynchronous events related to auto-update controls,
[all …]
/Linux-v5.4/Documentation/sound/hd-audio/
Dcontrols.rst2 HD-Audio Codec-Specific Mixer Controls
6 This file explains the codec-specific mixer controls.
15 and "8ch". According to the configuration, this also controls the
21 and/or line-out jacks are available on a machine, this controls
56 These enum controls the direction and the bias of the input jack
82 individual volume controls will be no longer available for
115 According to the configuration, this also controls the
/Linux-v5.4/sound/pci/emu10k1/
Demufx.c43 MODULE_PARM_DESC(high_res_gpr_volume, "GPR mixer controls use 31-bit range.");
301 * controls
1197 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1209 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx()
1210 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx()
1211 if (!controls) in _snd_emu10k1_audigy_init_efx()
1248 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1254 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1261 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1267 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
[all …]
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-etm4x.h196 * @mode: Controls various modes supported by this ETM.
197 * @pe_sel: Controls which PE to trace.
198 * @cfg: Controls the tracing options.
199 * @eventctrl0: Controls the tracing of arbitrary events.
200 * @eventctrl1: Controls the behavior of the events that @event_ctrl0 selects.
203 * @ts_ctrl: Controls the insertion of global timestamps in the
205 * @syncfreq: Controls how often trace synchronization requests occur.
208 * @vinst_ctrl: Controls instruction trace filtering.
220 * @cntr_ctrl: Controls the operation of a counter.
223 * @res_ctrl: Controls the selection of the resources in the trace unit.
[all …]
/Linux-v5.4/sound/soc/sunxi/
DKconfig25 tristate "Allwinner sun8i Codec Analog Controls Support"
29 Say Y or M if you want to add support for the analog controls for
33 tristate "Allwinner sun50i Codec Analog Controls Support"
37 Say Y or M if you want to add support for the analog controls for

12345678910>>...71