/Linux-v5.10/drivers/reset/ |
D | reset-ti-syscon.c | 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() 199 controls[i].assert_bit = be32_to_cpup(list++); in ti_syscon_reset_probe() 200 controls[i].deassert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe() [all …]
|
/Linux-v5.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 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 78 the :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. The controls will only be set if *all* [all …]
|
D | extended-controls.rst | 3 .. _extended-controls: 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 61 All controls in the control array must belong to the specified control 74 pointers it is now also possible to have controls with compound types 76 ``V4L2_CTRL_FLAG_NEXT_COMPOUND`` when enumerating controls to actually [all …]
|
D | control.rst | 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 54 All controls use machine endianness. [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 | v4l2.rst | 190 V4L2_CID_COLORFX_CBCR control. Added camera controls 204 Added :ref:`JPEG compression control class. <jpeg-controls>` 248 Added documentation for string controls and for FM Transmitter controls. 265 capabilities. Added support for string controls. 272 controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE, 278 Added pixel formats Y16 and SBGGR16, new controls and a camera controls 290 Added the Video Output Overlay interface, new MPEG controls, 317 Added the description of extended controls by Hans Verkuil. Linked
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.10/Documentation/driver-api/media/ |
D | v4l2-controls.rst | 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 143 Standard compound controls can be added by calling [all …]
|
/Linux-v5.10/drivers/macintosh/ |
D | windfarm_pm121.c | 235 static struct wf_control *controls[N_CONTROLS] = {}; variable 483 controls[control_id]->ops->get_value(controls[control_id], in pm121_connect() 492 controls[control_id]->name, in pm121_connect() 493 controls[pm121_connection->ref_id]->name, in pm121_connect() 530 control = controls[param->control_id]; in pm121_create_sys_fans() 592 control = controls[param->control_id]; in pm121_sys_fans_tick() 649 fan_cpu = controls[FAN_CPU]; in pm121_create_cpu_fans() 711 if (controls[CPUFREQ]) in pm121_create_cpu_fans() 712 wf_control_set_max(controls[CPUFREQ]); in pm121_create_cpu_fans() 731 fan_cpu = controls[FAN_CPU]; in pm121_cpu_fans_tick() [all …]
|
/Linux-v5.10/sound/pci/emu10k1/ |
D | emufx.c | 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() 1296 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1305 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
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 …]
|
/Linux-v5.10/sound/soc/generic/ |
D | simple-card-utils.c | 489 struct snd_kcontrol_new *controls; in asoc_simple_parse_pin_switches() local 515 controls = devm_kcalloc(dev, nb_controls, in asoc_simple_parse_pin_switches() 516 sizeof(*controls), GFP_KERNEL); in asoc_simple_parse_pin_switches() 517 if (!controls) in asoc_simple_parse_pin_switches() 526 controls[i].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in asoc_simple_parse_pin_switches() 527 controls[i].name = control_name; in asoc_simple_parse_pin_switches() 528 controls[i].info = snd_soc_dapm_info_pin_switch; in asoc_simple_parse_pin_switches() 529 controls[i].get = snd_soc_dapm_get_pin_switch; in asoc_simple_parse_pin_switches() 530 controls[i].put = snd_soc_dapm_put_pin_switch; in asoc_simple_parse_pin_switches() 531 controls[i].private_value = (unsigned long)strings[i]; in asoc_simple_parse_pin_switches() [all …]
|
/Linux-v5.10/sound/soc/intel/boards/ |
D | bytcht_nocodec.c | 25 static const struct snd_kcontrol_new controls[] = { variable 164 .controls = controls, 165 .num_controls = ARRAY_SIZE(controls),
|
D | bytcht_da7213.c | 25 static const struct snd_kcontrol_new controls[] = { variable 224 .controls = controls, 225 .num_controls = ARRAY_SIZE(controls),
|
/Linux-v5.10/sound/soc/samsung/ |
D | lowland.c | 134 static const struct snd_kcontrol_new controls[] = { variable 170 .controls = controls, 171 .num_controls = ARRAY_SIZE(controls),
|
D | tobermory.c | 128 static const struct snd_kcontrol_new controls[] = { variable 213 .controls = controls, 214 .num_controls = ARRAY_SIZE(controls),
|
/Linux-v5.10/drivers/memory/tegra/ |
D | Kconfig | 16 Tegra20 chips. The EMC controls the external DRAM on the board. 26 Tegra30 chips. The EMC controls the external DRAM on the board. 36 Tegra124 chips. The EMC controls the external DRAM on the board. 50 Tegra210 chips. The EMC controls the external DRAM on the board.
|
/Linux-v5.10/sound/pci/oxygen/ |
D | oxygen_mixer.c | 529 if (!chip->controls[control]) in mute_ac97_ctl() 531 priv_idx = chip->controls[control]->private_value & 0xff; in mute_ac97_ctl() 538 &chip->controls[control]->id); in mute_ac97_ctl() 754 static const struct snd_kcontrol_new controls[] = { variable 852 struct snd_kcontrol_new controls[2]; member 856 .controls = { 881 .controls = { 906 .controls = { 933 .controls = { 960 .controls = { [all …]
|
/Linux-v5.10/drivers/staging/greybus/ |
D | audio_helper.c | 154 const struct snd_kcontrol_new *controls, in gbaudio_remove_controls() argument 160 const struct snd_kcontrol_new *control = &controls[i]; in gbaudio_remove_controls() 190 const struct snd_kcontrol_new *controls, in gbaudio_remove_component_controls() argument 195 return gbaudio_remove_controls(card, component->dev, controls, in gbaudio_remove_component_controls()
|
/Linux-v5.10/Documentation/userspace-api/media/dvb/ |
D | video.rst | 9 The Digital TV video device controls the MPEG2 video decoder of the Digital 14 Note that the Digital TV video device only controls decoding of the MPEG video 28 and proper V4L2 ioctls or controls have been created to replace that
|
/Linux-v5.10/Documentation/devicetree/bindings/mtd/ |
D | ti,am654-hbmc.txt | 13 - mux-controls : phandle to the multiplexer that controls selection of 44 mux-controls = <&hbmc_mux 0>;
|