Home
last modified time | relevance | path

Searched refs:controls (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/Linux-v4.19/drivers/reset/
Dreset-ti-syscon.c57 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-v4.19/Documentation/media/uapi/v4l/
Dvidioc-g-ext-ctrls.rst12 …OC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several controls, try control valu…
43 These ioctls allow the caller to get or set multiple controls
45 :ref:`ctrl-class`) and all controls in the control array must belong
48 Applications must always fill in the ``count``, ``which``, ``controls``
52 by the ``controls`` fields.
54 To get the current value of a set of controls applications initialize
57 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. String controls controls must also set the
62 relevant for pointer-type controls like strings), then the driver will
76 To change the value of a set of controls applications initialize the
79 the :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. The controls will only be set if *all*
[all …]
Dcontrol.rst9 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 …]
Dvidioc-queryctrl.rst12 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
48 It is possible to enumerate controls by calling ``VIDIOC_QUERYCTRL``
52 controls, which are not defined in this specification, by starting at
63 can be specified to enumerate all compound controls (i.e. controls with
65 controls that contain more than one value). Specify both
67 order to enumerate all controls, compound or not. Drivers which do not
71 support controls that can use compound types, and to expose additional
79 Additional information is required for menu controls: the names of the
152 the user can change controls by keyboard or GUI buttons, rather
162 for other types of controls.
[all …]
Dv4l2.rst180 V4L2_CID_COLORFX_CBCR control. Added camera controls
194 Added :ref:`JPEG compression control class. <jpeg-controls>`
238 Added documentation for string controls and for FM Transmitter controls.
255 capabilities. Added support for string controls.
262 controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE,
268 Added pixel formats Y16 and SBGGR16, new controls and a camera controls
280 Added the Video Output Overlay interface, new MPEG controls,
307 Added the description of extended controls by Hans Verkuil. Linked
Ddev-radio.rst31 Radio devices can support :ref:`controls <control>`, and must support
43 Radio devices may have a couple audio controls (as discussed in
44 :ref:`control`) such as a volume control, possibly custom controls.
/Linux-v4.19/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-v4.19/Documentation/media/v4l-drivers/
Duvcvideo.rst18 units (XUs). The Linux UVC driver supports extension unit controls (XU controls)
21 - through mappings of XU controls to V4L2 controls
24 The first one allows generic V4L2 applications to use XU controls by mapping
25 certain XU controls onto V4L2 controls, which then show up during ordinary
29 access XU controls but exposes the entire UVC XU concept to user space for
39 control mappings at runtime. These allow for individual XU controls or byte
40 ranges thereof to be mapped to new V4L2 controls. Such controls appear and
41 function exactly like normal V4L2 controls (i.e. the stock controls, such as
42 brightness, contrast, etc.). However, reading or writing of such a V4L2 controls
57 For applications that need to access XU controls directly, e.g. for testing
[all …]
/Linux-v4.19/Documentation/media/kapi/
Dv4l2-controls.rst8 implement correctly in drivers. But much of the code needed to handle controls
24 V4L2 specification with respect to controls in a central place. And to make
39 v4l2_ctrl_handler is the object that keeps track of controls. It maintains a
41 controls, possibly to controls owned by other handlers.
67 The second argument is a hint telling the function how many controls this
117 2) Add controls:
119 You add non-menu controls by calling v4l2_ctrl_new_std:
127 Menu and integer menu controls are added by calling v4l2_ctrl_new_std_menu:
135 Menu controls with a driver specific menu are added by calling
145 Integer menu controls with a driver specific menu can be added by calling
[all …]
/Linux-v4.19/drivers/macintosh/
Dwindfarm_pm121.c246 static struct wf_control *controls[N_CONTROLS] = {}; variable
494 controls[control_id]->ops->get_value(controls[control_id], in pm121_connect()
503 controls[control_id]->name, in pm121_connect()
504 controls[pm121_connection->ref_id]->name, in pm121_connect()
541 control = controls[param->control_id]; in pm121_create_sys_fans()
603 control = controls[param->control_id]; in pm121_sys_fans_tick()
660 fan_cpu = controls[FAN_CPU]; in pm121_create_cpu_fans()
722 if (controls[CPUFREQ]) in pm121_create_cpu_fans()
723 wf_control_set_max(controls[CPUFREQ]); in pm121_create_cpu_fans()
742 fan_cpu = controls[FAN_CPU]; in pm121_cpu_fans_tick()
[all …]
/Linux-v4.19/sound/pci/emu10k1/
Demufx.c1206 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1218 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx()
1219 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx()
1220 if (!controls) in _snd_emu10k1_audigy_init_efx()
1257 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1263 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1270 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1276 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1281 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1290 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
[all …]
/Linux-v4.19/drivers/staging/media/bcm2048/
DTODO5 The main thing you need to do is to implement all the controls using the
6 control framework (see Documentation/media/kapi/v4l2-controls.rst).
10 The sysfs stuff should be replaced by controls as well. A lot of the RDS
11 support is now available as controls (although there may well be some
14 properties/controls should be there at all.
/Linux-v4.19/Documentation/ABI/testing/
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 …]
/Linux-v4.19/sound/soc/intel/boards/
Dbytcht_nocodec.c33 static const struct snd_kcontrol_new controls[] = { variable
166 .controls = controls,
167 .num_controls = ARRAY_SIZE(controls),
Dbytcht_da7213.c34 static const struct snd_kcontrol_new controls[] = { variable
214 .controls = controls,
215 .num_controls = ARRAY_SIZE(controls),
/Linux-v4.19/sound/soc/samsung/
Dlowland.c133 static const struct snd_kcontrol_new controls[] = { variable
169 .controls = controls,
170 .num_controls = ARRAY_SIZE(controls),
Dtobermory.c131 static const struct snd_kcontrol_new controls[] = { variable
216 .controls = controls,
217 .num_controls = ARRAY_SIZE(controls),
/Linux-v4.19/sound/pci/oxygen/
Doxygen_mixer.c541 if (!chip->controls[control]) in mute_ac97_ctl()
543 priv_idx = chip->controls[control]->private_value & 0xff; in mute_ac97_ctl()
550 &chip->controls[control]->id); in mute_ac97_ctl()
766 static const struct snd_kcontrol_new controls[] = { variable
864 struct snd_kcontrol_new controls[2]; member
868 .controls = {
893 .controls = {
918 .controls = {
945 .controls = {
972 .controls = {
[all …]
/Linux-v4.19/sound/soc/intel/
DKconfig19 # This option controls the IPC core for HiFi2 platforms
24 # This option controls the PCI-based IPC for HiFi2 platforms
30 # This option controls the ACPI-based IPC for HiFi2 platforms
35 # This option controls ACPI-based probing on
45 # This option controls firmware download on
123 # this option controls the compilation of ACPI matching tables and
/Linux-v4.19/drivers/rtc/
Drtc-rv3029c2.c338 u8 flags, controls; in rv3029_handle_irq() local
343 ret = rv3029_read_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_handle_irq()
359 controls &= ~RV3029_IRQ_CTRL_AIE; in rv3029_handle_irq()
366 rv3029_write_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_handle_irq()
420 u8 regs[8], controls, flags; in rv3029_read_alarm() local
436 ret = rv3029_read_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_read_alarm()
455 alarm->enabled = !!(controls & RV3029_IRQ_CTRL_AIE); in rv3029_read_alarm()
464 u8 controls; in rv3029_alarm_irq_enable() local
466 ret = rv3029_read_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_alarm_irq_enable()
474 controls |= RV3029_IRQ_CTRL_AIE; in rv3029_alarm_irq_enable()
[all …]
/Linux-v4.19/Documentation/media/uapi/dvb/
Dvideo.rst9 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-v4.19/arch/arm/boot/dts/
Dat91-natte.dtsi24 mux-controls = <&mux>;
35 mux-controls = <&mux>;
46 mux-controls = <&mux>;
57 mux-controls = <&mux>;

12345678910>>...28