Home
last modified time | relevance | path

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

12345678910>>...97

/linux/Documentation/userspace-api/media/v4l/
H A Dextended-controls.rst4 .. _extended-controls:
7 Extended Controls API
34 Controls, such as Camera Controls and FM Transmitter Controls. The
35 Extended Controls API as well as all Extended Controls classes are
46 on arrays of controls (as opposed to the
50 several controls at once.
55 controls in that array and a control class. Control classes are used to
56 group similar controls into a single class. For example, control class
57 ``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls
59 ioctl). Control class ``V4L2_CTRL_CLASS_CODEC`` contains controls
[all …]
H A Dvidioc-g-ext-ctrls.rst13 …OC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several controls, try control valu…
42 These ioctls allow the caller to get or set multiple controls
44 :ref:`ctrl-class`) and all controls in the control array must belong
47 Applications must always fill in the ``count``, ``which``, ``controls``
51 by the ``controls`` fields.
53 To get the current value of a set of controls applications initialize
56 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. String controls must also set the
57 ``string`` field. Controls of compound types
61 relevant for pointer-type controls like strings), then the driver will
75 To change the value of a set of controls applications initialize the
[all …]
H A Dcontrol.rst7 User Controls
10 Devices typically have a number of user-settable controls such as
13 different controls available, and furthermore, the range of possible
16 user interface for these controls that will work correctly with any
19 All controls are accessed using an ID value. V4L2 defines several IDs
21 controls using ``V4L2_CID_PRIVATE_BASE`` [#f1]_ and higher values. The
26 Generally applications should present controls to the user without
31 to change a few controls programmatically, for example to mute a device
34 Drivers may enumerate different controls after switching the current
49 V4L2 specifies an event mechanism to notify applications when controls
[all …]
H A Ddev-stateless-decoder.rst46 codec-specific capability controls (such as H.264 profiles) to the set
56 formats may depend on the value of some codec-dependent controls.
57 The client is responsible for making sure that these controls are set
59 default values for these controls being used, and a returned set of formats
67 applicable, may be queried using their respective controls via
97 2. Call :c:func:`VIDIOC_S_EXT_CTRLS` to set all the controls (parsed headers,
138 ``OUTPUT`` format and currently set controls, even if more formats may be
240 controls relevant to the format being decoded.
243 controls that must be set on the request, depend on the active coded pixel
244 format and might be affected by codec-specific extended controls, as stated in
[all …]
/linux/Documentation/driver-api/media/
H A 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
115 2) Add controls:
117 You add non-menu controls by calling :c:func:`v4l2_ctrl_new_std`:
125 Menu and integer menu controls are added by calling
134 Menu controls with a driver specific menu are added by calling
[all …]
/linux/Documentation/userspace-api/media/drivers/
H A 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 …]
/linux/drivers/reset/
H A Dreset-ti-syscon.c43 * @controls: array of reset controls
44 * @nr_controls: number of controls in control array
49 struct ti_syscon_reset_control *controls; member
76 control = &data->controls[id]; in ti_syscon_reset_assert()
107 control = &data->controls[id]; in ti_syscon_reset_deassert()
140 control = &data->controls[id]; in ti_syscon_reset_status()
166 struct ti_syscon_reset_control *controls; in ti_syscon_reset_probe() local
184 controls = devm_kcalloc(dev, nr_controls, sizeof(*controls), in ti_syscon_reset_probe()
186 if (!controls) in ti_syscon_reset_probe()
190 controls[i].assert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
[all …]
/linux/sound/soc/codecs/
H A Dcs-amp-lib.c76 const struct cirrus_amp_cal_controls *controls, in cs_amp_write_cal_coeff()
83 KUNIT_STATIC_STUB_REDIRECT(cs_amp_write_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_write_cal_coeff()
87 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_write_cal_coeff()
103 const struct cirrus_amp_cal_controls *controls, in cs_amp_read_cal_coeff()
110 KUNIT_STATIC_STUB_REDIRECT(cs_amp_read_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_read_cal_coeff()
116 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_read_cal_coeff()
131 const struct cirrus_amp_cal_controls *controls, in _cs_amp_write_cal_coeffs()
140 dev_info(dsp->dev, "Calibration disabled due to missing firmware controls\ in _cs_amp_write_cal_coeffs()
71 cs_amp_write_cal_coeff(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const char * ctl_name,u32 val) cs_amp_write_cal_coeff() argument
98 cs_amp_read_cal_coeff(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const char * ctl_name,u32 * val) cs_amp_read_cal_coeff() argument
126 _cs_amp_write_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const struct cirrus_amp_cal_data * data) _cs_amp_write_cal_coeffs() argument
159 _cs_amp_read_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,struct cirrus_amp_cal_data * data) _cs_amp_read_cal_coeffs() argument
206 cs_amp_write_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,const struct cirrus_amp_cal_data * data) cs_amp_write_cal_coeffs() argument
225 cs_amp_read_cal_coeffs(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,struct cirrus_amp_cal_data * data) cs_amp_read_cal_coeffs() argument
244 cs_amp_write_ambient_temp(struct cs_dsp * dsp,const struct cirrus_amp_cal_controls * controls,u32 temp) cs_amp_write_ambient_temp() argument
[all...]
/linux/include/media/
H A Dv4l2-ctrls.h3 * V4L2 controls support header.
114 * for volatile (and usually read-only) controls such as a control
122 * one else can access controls owned by that handler.
174 * @ncontrols: Number of controls in cluster array.
215 * @step: The control's step value for non-menu controls.
223 * @menu_skip_mask: The control's skip mask for menu controls. This makes it
255 * through a pointer (for compound controls only).
258 * through a pointer (for compound controls only).
261 * through a pointer (for compound controls only).
339 * the control has been applied. This prevents applying controls
[all...]
/linux/Documentation/admin-guide/media/
H A Dvivid.rst25 - Working brightness, contrast, saturation and hue controls
204 select this through controls.
236 select this through controls.
276 if set disable the error injecting controls. This option is
278 exercise all controls including a control like 'Disconnect' which
284 controls that select crop, compose and scale behavior are also
360 controls 'Standard Signal Mode' and 'Standard' determine what
535 The FM receiver supports RDS as well, both using 'Block I/O' and 'Controls'
536 modes. In the 'Controls' mode the RDS information is stored in read-only
537 controls. These controls are updated every time the frequency is changed,
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs4 Description: Controls the maximum sleep time for gc_thread. Time
10 Description: Controls the minimum sleep time for gc_thread. Time
16 Description: Controls the default sleep time for gc_thread. Time
22 Description: Controls the victim selection policy for garbage collection.
34 Description: This parameter controls the number of prefree segments to be
49 Description: Controls the in-place-update policy.
75 Description: Controls the FS utilization condition for the in-place-update
81 Description: Controls the dirty page count condition for the in-place-update
87 Description: Controls the dirty page count condition for batched sequential
93 Description: Controls the dirty page count condition for redefining hot data.
[all …]
H A Dsysfs-driver-toshiba_acpi5 Description: This file controls the keyboard backlight operation mode, valid
24 Description: This file controls the timeout of the keyboard backlight
44 Description: This files controls the status of the touchpad and pointing
83 Description: This file controls the USB Sleep & Charge charging mode, which
102 Description: This file controls the USB Sleep Functions under battery, and
120 Description: This file controls the USB Rapid Charge state, which can be:
133 Description: This file controls the Sleep & Music state, which values can be:
154 Description: This file controls the state of the internal fan, valid
164 Description: This file controls the Special Functions (hotkeys) operation
182 Description: This file controls whether the laptop should turn ON whenever
[all …]
H A Dsysfs-bus-usb-devices-usbsevseg5 Description: Controls whether the device's display will powered.
13 Description: Controls the devices display mode.
26 Description: Controls the way the device interprets its text buffer.
27 raw: each character controls its segment manually
41 Description: Controls the decimal places on the device.
/linux/include/sound/
H A Dcs-amp-lib.h30 * struct cirrus_amp_cal_controls - definition of firmware calibration controls
31 * @alg_id: ID of algorithm containing the controls.
32 * @mem_region: DSP memory region containing the controls.
48 const struct cirrus_amp_cal_controls *controls,
51 const struct cirrus_amp_cal_controls *controls,
54 const struct cirrus_amp_cal_controls *controls,
84 const struct cirrus_amp_cal_controls *controls,
88 const struct cirrus_amp_cal_controls *controls,
H A Dsdca_function.h47 * Sanity check on size of affected controls data, can be expanded if needed.
162 * enum sdca_it_controls - SDCA Controls for Input Terminal
182 * enum sdca_ot_controls - SDCA Controls for Output Terminal
222 * enum sdca_mu_controls - SDCA Controls for Mixer Unit
233 * enum sdca_su_controls - SDCA Controls for Selector Unit
244 * enum sdca_fu_controls - SDCA Controls for Feature Unit
270 * enum sdca_xu_controls - SDCA Controls for Extension Unit
310 * enum sdca_cs_controls - SDCA Controls for Clock Source
330 * enum sdca_cx_controls - SDCA Controls for Clock Selector
340 * enum sdca_pde_controls - SDCA Controls for Power Domain Entity
[all …]
/linux/Documentation/driver-api/
H A Dreset.rst18 controller devices to register their reset controls to provide them to the
41 In more complicated reset controls, a single trigger action can launch a
46 A hardware module that provides a number of reset controls to control a
59 controls.
63 When requesting reset controls, consumers can use symbolic names for their
75 The distinction between shared and exclusive reset controls is made at the time
96 For shared reset controls, calls to the two functions must be balanced.
101 Consumer drivers using shared reset controls should assume that the reset line
115 The reset controller API allows requesting self-deasserting reset controls as
120 For shared reset controls, calls to the two functions must be balanced.
[all …]
/linux/include/sound/sof/
H A 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/drivers/media/pci/tw5864/
H A 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/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c3 * V4L2 controls framework uAPI implementation:
189 * multiple controls have to be set through multiple i2c writes (for example)
196 * error should be returned without actually affecting any controls.
204 * controls were affected. Otherwise all controls before that index were
206 * the given index failed, and you don't know what happened with the controls
217 * tried to set the controls. In all other cases it is a driver/hardware
221 * never modifies controls the error_idx is just set to whatever control
227 * Find the controls in the control array and do some basic checks.
240 struct v4l2_ext_control *c = &cs->controls[i]; in prepare_ext_ctrls()
258 * Old-style private controls are not allowed for in prepare_ext_ctrls()
[all …]
/linux/sound/pci/emu10k1/
H A Demufx.c38 MODULE_PARM_DESC(high_res_gpr_volume, "GPR mixer controls use 31-bit range.");
331 * controls
1281 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1292 controls = kzalloc_objs(*controls, SND_EMU10K1_GPR_CONTROLS); in _snd_emu10k1_audigy_init_efx()
1293 if (!controls) in _snd_emu10k1_audigy_init_efx()
1321 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1327 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1334 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1340 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1345 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
[all …]
/linux/Documentation/devicetree/bindings/mux/
H A Dmux-consumer.yaml22 Mux controller properties should be named "mux-controls". The exact meaning of
25 strings to label each of the mux controllers listed in the "mux-controls"
33 Properties "mux-controls" and "mux-states" can be used depending on how
36 "mux-controls" can be used. If the consumer needs to set the mux
46 mux-controls:
56 controller to an index into the list given by the "mux-controls" property.
/linux/drivers/macintosh/
H A Dwindfarm_pm121.c21 * controls with a tiny difference. The control-ids of hard-drive-fan
26 * controls have a target correction calculated as :
63 * Some controls have a target correction which depends on another
218 /* Controls & sensors */
236 static struct wf_control *controls[N_CONTROLS] = {}; variable
484 controls[control_id]->ops->get_value(controls[control_id], in pm121_connect()
493 controls[control_id]->name, in pm121_connect()
494 controls[pm121_connection->ref_id]->name, in pm121_connect()
531 control = controls[param->control_id]; in pm121_create_sys_fans()
592 control = controls[param->control_id]; in pm121_sys_fans_tick()
[all …]
/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c3 * uvc_ctrl.c -- USB Video Class driver - Controls
36 * Controls
438 * For controls of type UVC_CTRL_DATA_TYPE_BITMASK, the UVC control value is
442 * control, which includes all controls whose type isn't UVC_CTRL_DATA_TYPE_ENUM
1170 * UVC Controls
1185 ctrl = &entity->controls[i]; in __uvc_find_control()
1276 * GET_RES is mandatory for XU controls, but some in uvc_ctrl_populate_cache()
1428 * For set operations on slave controls, check if the master's value is set to
1429 * manual, either in the others controls set in the same ioctl call, or from
1477 if (ctrls->controls[i].id == mapping->master_id) in uvc_ctrl_is_accessible()
[all …]
/linux/include/uapi/linux/
H A Dv4l2-controls.h3 * Video for Linux Two controls header file
19 #define V4L2_CTRL_CLASS_USER 0x00980000 /* Old-style 'user' controls */
20 #define V4L2_CTRL_CLASS_CODEC 0x00990000 /* Stateful codec controls */
21 #define V4L2_CTRL_CLASS_CAMERA 0x009a0000 /* Camera class controls */
22 #define V4L2_CTRL_CLASS_FM_TX 0x009b0000 /* FM Modulator controls */
23 #define V4L2_CTRL_CLASS_FLASH 0x009c0000 /* Camera flash controls */
24 #define V4L2_CTRL_CLASS_JPEG 0x009d0000 /* JPEG-compression controls */
25 #define V4L2_CTRL_CLASS_IMAGE_SOURCE 0x009e0000 /* Image source controls */
26 #define V4L2_CTRL_CLASS_IMAGE_PROC 0x009f0000 /* Image processing controls */
27 #define V4L2_CTRL_CLASS_DV 0x00a00000 /* Digital Video controls */
[all...]
/linux/Documentation/userspace-api/media/mediactl/
H A Drequest-api.rst13 Another is support of stateless codecs, which require controls to be applied
14 to specific frames (aka 'per-frame controls') in order to be used efficiently.
89 Controls can still be set without a request and are applied immediately,
100 associated controls have been updated with the values at the time of completion.
133 to associate specific controls to
136 ability to capture the state of controls when the request completes to read back
139 Put into code, after obtaining a request, user-space can assign controls and one
192 This is particularly useful for volatile controls for which we want to
222 With a simple capture device, requests can be used to specify controls to apply
253 controls and recycle the request as in the M2M example above.

12345678910>>...97