Home
last modified time | relevance | path

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

12345678910>>...41

/linux-6.6.21/drivers/reset/
Dreset-ti-syscon.c49 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()
191 controls[i].assert_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
192 controls[i].deassert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
[all …]
/linux-6.6.21/Documentation/userspace-api/media/v4l/
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
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 …]
Dextended-controls.rst3 .. _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_CODEC`` contains 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 …]
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.rst13 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 …]
Dv4l2.rst190 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-6.6.21/Documentation/userspace-api/media/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 …]
/linux-6.6.21/Documentation/driver-api/media/
Dv4l2-controls.rst10 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-6.6.21/drivers/macintosh/
Dwindfarm_pm121.c236 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()
593 control = controls[param->control_id]; in pm121_sys_fans_tick()
650 fan_cpu = controls[FAN_CPU]; in pm121_create_cpu_fans()
712 if (controls[CPUFREQ]) in pm121_create_cpu_fans()
713 wf_control_set_max(controls[CPUFREQ]); in pm121_create_cpu_fans()
732 fan_cpu = controls[FAN_CPU]; in pm121_cpu_fans_tick()
[all …]
/linux-6.6.21/sound/pci/emu10k1/
Demufx.c1299 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local
1311 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx()
1312 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx()
1313 if (!controls) in _snd_emu10k1_audigy_init_efx()
1341 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1347 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1354 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1360 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1365 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
1374 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx()
[all …]
/linux-6.6.21/Documentation/ABI/testing/
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 …]
/linux-6.6.21/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ampere-mtmitchell.dts73 mux-controls = <&gpioI5mux>;
83 mux-controls = <&gpioI5mux>;
93 mux-controls = <&gpioI5mux>;
103 mux-controls = <&gpioI5mux>;
113 mux-controls = <&gpioI5mux>;
123 mux-controls = <&gpioI5mux>;
133 mux-controls = <&gpioI5mux>;
143 mux-controls = <&gpioI5mux>;
153 mux-controls = <&gpioI5mux>;
163 mux-controls = <&gpioI5mux>;
[all …]
Daspeed-bmc-ampere-mtjade.dts111 mux-controls = <&gpioA0mux>;
120 mux-controls = <&gpioA0mux>;
129 mux-controls = <&gpioA0mux>;
138 mux-controls = <&gpioA0mux>;
147 mux-controls = <&gpioA0mux>;
156 mux-controls = <&gpioA0mux>;
165 mux-controls = <&gpioA0mux>;
174 mux-controls = <&gpioA0mux>;
183 mux-controls = <&gpioA0mux>;
192 mux-controls = <&gpioA0mux>;
[all …]
/linux-6.6.21/Documentation/driver-api/
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-6.6.21/Documentation/devicetree/bindings/mux/
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-6.6.21/Documentation/devicetree/bindings/net/
Dmdio-mux-multiplexer.yaml25 mux-controls:
30 - mux-controls
45 mux-controls = <&mux 0>;
65 mux-controls = <&mux 1>;
/linux-6.6.21/sound/soc/intel/boards/
Dbytcht_nocodec.c25 static const struct snd_kcontrol_new controls[] = { variable
163 .controls = controls,
164 .num_controls = ARRAY_SIZE(controls),
/linux-6.6.21/sound/pci/oxygen/
Doxygen_mixer.c529 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-6.6.21/sound/soc/samsung/
Dlowland.c140 static const struct snd_kcontrol_new controls[] = { variable
178 .controls = controls,
179 .num_controls = ARRAY_SIZE(controls),
Dtobermory.c128 static const struct snd_kcontrol_new controls[] = { variable
213 .controls = controls,
214 .num_controls = ARRAY_SIZE(controls),
/linux-6.6.21/drivers/memory/tegra/
DKconfig22 Tegra20 chips. The EMC controls the external DRAM on the board.
34 Tegra30 chips. The EMC controls the external DRAM on the board.
46 Tegra124 chips. The EMC controls the external DRAM on the board.
60 Tegra210 chips. The EMC controls the external DRAM on the board.
/linux-6.6.21/drivers/staging/greybus/
Daudio_helper.c144 const struct snd_kcontrol_new *controls, in gbaudio_remove_controls() argument
150 const struct snd_kcontrol_new *control = &controls[i]; in gbaudio_remove_controls()
172 const struct snd_kcontrol_new *controls, in gbaudio_remove_component_controls() argument
177 return gbaudio_remove_controls(card, component->dev, controls, in gbaudio_remove_component_controls()
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Daxentia,tse850-pcm5142.txt7 - axentia,add-gpios: gpio specifier that controls the mixer.
8 - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1.
9 - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2.
32 The 'loop1' gpio pin controls two relays, which are either in loop position,
/linux-6.6.21/sound/core/
Dcontrol_led.c38 struct list_head controls; member
156 list_for_each_entry(lctl, &led->controls, list) { in snd_ctl_led_set_state()
168 list_add(&lctl->list, &led->controls); in snd_ctl_led_set_state()
185 struct list_head *controls; in snd_ctl_led_find() local
190 controls = &snd_ctl_leds[group].controls; in snd_ctl_led_find()
191 list_for_each_entry(lctl, controls, list) in snd_ctl_led_find()
305 list_for_each_entry(lctl, &led->controls, list) in snd_ctl_led_clean()
333 list_for_each_entry(lctl, &led->controls, list) in snd_ctl_led_reset()
360 list_for_each_entry(kctl, &card->controls, list) in snd_ctl_led_register()
628 list_for_each_entry(lctl, &led_card->led->controls, list) { in list_show()
[all …]
/linux-6.6.21/drivers/staging/media/av7110/
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

12345678910>>...41