/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-ext-ctrls.rst | 13 …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 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 …]
|
D | extended-controls.rst | 3 .. _extended-controls: 6 Extended Controls API 33 Controls, such as Camera Controls and FM Transmitter Controls. The 34 Extended Controls API as well as all Extended Controls classes are 45 on arrays of controls (as opposed to the 49 several controls at once. 54 controls in that array and a control class. Control classes are used to 55 group similar controls into a single class. For example, control class 56 ``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls 58 ioctl). Control class ``V4L2_CTRL_CLASS_MPEG`` contains all controls [all …]
|
D | control.rst | 6 User Controls 9 Devices typically have a number of user-settable controls such as 12 different controls available, and furthermore, the range of possible 15 user interface for these controls that will work correctly with any 18 All controls are accessed using an ID value. V4L2 defines several IDs 20 controls using ``V4L2_CID_PRIVATE_BASE`` [#f1]_ and higher values. The 25 Generally applications should present controls to the user without 30 to change a few controls programmatically, for example to mute a device 33 Drivers may enumerate different controls after switching the current 48 V4L2 specifies an event mechanism to notify applications when controls [all …]
|
D | vidioc-queryctrl.rst | 13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i… 47 It is possible to enumerate controls by calling ``VIDIOC_QUERYCTRL`` 51 controls, which are not defined in this specification, by starting at 62 can be specified to enumerate all compound controls (i.e. controls with 64 controls that contain more than one value). Specify both 66 order to enumerate all controls, compound or not. Drivers which do not 70 support controls that can use compound types, and to expose additional 78 Additional information is required for menu controls: the names of the 150 the user can change controls by keyboard or GUI buttons, rather 160 for other types of controls. [all …]
|
D | dev-stateless-decoder.rst | 45 codec-specific capability controls (such as H.264 profiles) to the set 55 formats may depend on the value of some codec-dependent controls. 56 The client is responsible for making sure that these controls are set 58 default values for these controls being used, and a returned set of formats 66 applicable, may be queried using their respective controls via 96 2. Call :c:func:`VIDIOC_S_EXT_CTRLS` to set all the controls (parsed headers, 137 ``OUTPUT`` format and currently set controls, even if more formats may be 239 controls relevant to the format being decoded. 242 controls that must be set on the request, depend on the active coded pixel 243 format and might be affected by codec-specific extended controls, as stated in [all …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/media/ |
D | v4l2-controls.rst | 3 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 …]
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/drivers/ |
D | uvcvideo.rst | 20 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 …]
|
/kernel/linux/linux-5.10/drivers/reset/ |
D | reset-ti-syscon.c | 51 * @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 …]
|
/kernel/linux/linux-5.10/include/media/ |
D | v4l2-ctrls.h | 3 * V4L2 controls support header. 104 * for volatile (and usually read-only) controls such as a control 112 * one else can access controls owned by that handler. 160 * @ncontrols: Number of controls in cluster array. 199 * @step: The control's step value for non-menu controls. 204 * @menu_skip_mask: The control's skip mask for menu controls. This makes it 231 * through a pointer (for compound controls only). 303 * the control has been applied. This prevents applying controls 304 * from a cluster with multiple controls twice (when the first 316 * keep a sorted-by-control-ID list of all controls, while the next pointer [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-fs-f2fs | 4 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 50 Description: Controls the in-place-update policy. 68 Description: Controls the FS utilization condition for the in-place-update 74 Description: Controls the dirty page count condition for the in-place-update 80 Description: Controls the dirty page count condition for batched sequential 86 Description: Controls the dirty page count condition for redefining hot data. [all …]
|
D | sysfs-driver-toshiba_acpi | 5 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 …]
|
D | sysfs-bus-usb-devices-usbsevseg | 5 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.
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | v4l2-controls.h | 3 * 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 …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | vivid.rst | 25 - 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 351 controls 'Standard Signal Mode' and 'Standard' determine what 526 The FM receiver supports RDS as well, both using 'Block I/O' and 'Controls' 527 modes. In the 'Controls' mode the RDS information is stored in read-only 528 controls. These controls are updated every time the frequency is changed, [all …]
|
/kernel/linux/linux-5.10/include/sound/sof/ |
D | control.h | 16 * 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 */
|
/kernel/linux/linux-5.10/arch/x86/oprofile/ |
D | op_model_ppro.c | 58 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()
|
D | op_model_p4.c | 402 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 …]
|
D | nmi_int.c | 78 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 …]
|
D | op_model_amd.c | 279 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 …]
|
/kernel/linux/linux-5.10/drivers/media/pci/tw5864/ |
D | tw5864-reg.h | 16 /* 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 …]
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-ctrls.c | 3 V4L2 controls framework implementation. 785 /* USER controls */ in v4l2_ctrl_get_name() 786 /* Keep the order of the 'case's the same as in v4l2-controls.h! */ in v4l2_ctrl_get_name() 787 case V4L2_CID_USER_CLASS: return "User Controls"; in v4l2_ctrl_get_name() 829 /* Codec controls */ in v4l2_ctrl_get_name() 830 /* The MPEG controls are applicable to all codec controls in v4l2_ctrl_get_name() 833 case V4L2_CID_MPEG_CLASS: return "Codec Controls"; in v4l2_ctrl_get_name() 958 /* VPX controls */ in v4l2_ctrl_get_name() 975 /* HEVC controls */ in v4l2_ctrl_get_name() 1027 /* CAMERA controls */ in v4l2_ctrl_get_name() [all …]
|
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/ |
D | controls.rst | 2 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
|
/kernel/linux/linux-5.10/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 3 * uvc_ctrl.c -- USB Video Class driver - Controls 33 * Controls 857 * UVC Controls 872 ctrl = &entity->controls[i]; in __uvc_find_control() 958 /* GET_RES is mandatory for XU controls, but some in uvc_ctrl_populate_cache() 1136 * Mapping V4L2 controls to UVC controls can be straightforward if done well. 1137 * Most of the UVC controls exist in V4L2, and can be mapped directly. Some 1139 * Balance V4L2 controls use the White Balance Component UVC control) or 1141 * table for the controls that can be mapped directly, and handle the others 1231 * @handle can be NULL for asynchronous events related to auto-update controls, [all …]
|
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
D | emufx.c | 43 MODULE_PARM_DESC(high_res_gpr_volume, "GPR mixer controls use 31-bit range."); 301 * controls 1221 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local 1233 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx() 1234 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx() 1235 if (!controls) in _snd_emu10k1_audigy_init_efx() 1272 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1278 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1285 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1291 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() [all …]
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
D | request-api.rst | 13 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.
|