Home
last modified time | relevance | path

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

12345678910>>...39

/linux-6.12.1/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.12.1/sound/soc/codecs/
Dcs-amp-lib.c24 const struct cirrus_amp_cal_controls *controls, in cs_amp_write_cal_coeff() argument
31 KUNIT_STATIC_STUB_REDIRECT(cs_amp_write_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_write_cal_coeff()
35 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_write_cal_coeff()
51 const struct cirrus_amp_cal_controls *controls, in _cs_amp_write_cal_coeffs() argument
64 ret = cs_amp_write_cal_coeff(dsp, controls, controls->ambient, data->calAmbient); in _cs_amp_write_cal_coeffs()
68 ret = cs_amp_write_cal_coeff(dsp, controls, controls->calr, data->calR); in _cs_amp_write_cal_coeffs()
72 ret = cs_amp_write_cal_coeff(dsp, controls, controls->status, data->calStatus); in _cs_amp_write_cal_coeffs()
76 ret = cs_amp_write_cal_coeff(dsp, controls, controls->checksum, data->calR + 1); in _cs_amp_write_cal_coeffs()
92 const struct cirrus_amp_cal_controls *controls, in cs_amp_write_cal_coeffs() argument
96 return _cs_amp_write_cal_coeffs(dsp, controls, data); in cs_amp_write_cal_coeffs()
/linux-6.12.1/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.rst185 V4L2_CID_COLORFX_CBCR control. Added camera controls
199 Added :ref:`JPEG compression control class. <jpeg-controls>`
243 Added documentation for string controls and for FM Transmitter controls.
260 capabilities. Added support for string controls.
267 controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE,
273 Added pixel formats Y16 and SBGGR16, new controls and a camera controls
285 Added the Video Output Overlay interface, new MPEG controls,
312 Added the description of extended controls by Hans Verkuil. Linked
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/sound/soc/sdw_utils/
Dsoc_sdw_utils.c69 .controls = rt700_controls,
89 .controls = generic_jack_controls,
109 .controls = generic_jack_controls,
129 .controls = generic_jack_controls,
142 .controls = generic_spk_controls,
176 .controls = generic_jack_controls,
210 .controls = generic_spk_controls,
230 .controls = generic_spk_controls,
249 .controls = generic_spk_controls,
268 .controls = generic_spk_controls,
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ampere-mtjade.dts116 mux-controls = <&gpioA0mux>;
125 mux-controls = <&gpioA0mux>;
134 mux-controls = <&gpioA0mux>;
143 mux-controls = <&gpioA0mux>;
152 mux-controls = <&gpioA0mux>;
161 mux-controls = <&gpioA0mux>;
170 mux-controls = <&gpioA0mux>;
179 mux-controls = <&gpioA0mux>;
188 mux-controls = <&gpioA0mux>;
197 mux-controls = <&gpioA0mux>;
[all …]
Daspeed-bmc-ampere-mtmitchell.dts166 mux-controls = <&gpioI5mux>;
176 mux-controls = <&gpioI5mux>;
186 mux-controls = <&gpioI5mux>;
196 mux-controls = <&gpioI5mux>;
206 mux-controls = <&gpioI5mux>;
216 mux-controls = <&gpioI5mux>;
226 mux-controls = <&gpioI5mux>;
236 mux-controls = <&gpioI5mux>;
246 mux-controls = <&gpioI5mux>;
256 mux-controls = <&gpioI5mux>;
[all …]
/linux-6.12.1/sound/core/
Dcontrol_led.c38 struct list_head controls; member
155 list_for_each_entry(lctl, &led->controls, list) { in snd_ctl_led_set_state()
167 list_add(&lctl->list, &led->controls); in snd_ctl_led_set_state()
187 struct list_head *controls; in snd_ctl_led_find() local
192 controls = &snd_ctl_leds[group].controls; in snd_ctl_led_find()
193 list_for_each_entry(lctl, controls, list) in snd_ctl_led_find()
297 list_for_each_entry_safe(lctl, _lctl, &led->controls, list) in snd_ctl_led_clean()
319 list_for_each_entry_safe(lctl, _lctl, &led->controls, list) in snd_ctl_led_reset()
343 list_for_each_entry(kctl, &card->controls, list) in snd_ctl_led_register()
611 list_for_each_entry(lctl, &led_card->led->controls, list) { in list_show()
[all …]
/linux-6.12.1/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.12.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c192 static struct mfc_control controls[] = { variable
256 #define NUM_CTRLS ARRAY_SIZE(controls)
1202 if (IS_MFC51_PRIV(controls[i].id)) { in s5p_mfc_dec_ctrls_setup()
1205 cfg.id = controls[i].id; in s5p_mfc_dec_ctrls_setup()
1206 cfg.min = controls[i].minimum; in s5p_mfc_dec_ctrls_setup()
1207 cfg.max = controls[i].maximum; in s5p_mfc_dec_ctrls_setup()
1208 cfg.def = controls[i].default_value; in s5p_mfc_dec_ctrls_setup()
1209 cfg.name = controls[i].name; in s5p_mfc_dec_ctrls_setup()
1210 cfg.type = controls[i].type; in s5p_mfc_dec_ctrls_setup()
1212 cfg.step = controls[i].step; in s5p_mfc_dec_ctrls_setup()
[all …]

12345678910>>...39