| /Linux-v5.4/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.4/Documentation/media/uapi/v4l/ |
| D | vidioc-g-ext-ctrls.rst | 19 …OC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several controls, try control valu… 50 These ioctls allow the caller to get or set multiple controls 52 :ref:`ctrl-class`) and all controls in the control array must belong 55 Applications must always fill in the ``count``, ``which``, ``controls`` 59 by the ``controls`` fields. 61 To get the current value of a set of controls applications initialize 64 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. String controls controls must also set the 69 relevant for pointer-type controls like strings), then the driver will 83 To change the value of a set of controls applications initialize the 86 the :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. The controls will only be set if *all* [all …]
|
| D | extended-controls.rst | 10 .. _extended-controls: 52 on arrays of controls (as opposed to the 56 several controls at once. 61 controls in that array and a control class. Control classes are used to 62 group similar controls into a single class. For example, control class 63 ``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls 65 ioctl). Control class ``V4L2_CTRL_CLASS_MPEG`` contains all controls 68 All controls in the control array must belong to the specified control 81 pointers it is now also possible to have controls with compound types 83 ``V4L2_CTRL_FLAG_NEXT_COMPOUND`` when enumerating controls to actually [all …]
|
| D | control.rst | 16 Devices typically have a number of user-settable controls such as 19 different controls available, and furthermore, the range of possible 22 user interface for these controls that will work correctly with any 25 All controls are accessed using an ID value. V4L2 defines several IDs 27 controls using ``V4L2_CID_PRIVATE_BASE`` [#f1]_ and higher values. The 32 Generally applications should present controls to the user without 37 to change a few controls programmatically, for example to mute a device 40 Drivers may enumerate different controls after switching the current 55 V4L2 specifies an event mechanism to notify applications when controls 61 All controls use machine endianness. [all …]
|
| D | vidioc-queryctrl.rst | 19 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i… 55 It is possible to enumerate controls by calling ``VIDIOC_QUERYCTRL`` 59 controls, which are not defined in this specification, by starting at 70 can be specified to enumerate all compound controls (i.e. controls with 72 controls that contain more than one value). Specify both 74 order to enumerate all controls, compound or not. Drivers which do not 78 support controls that can use compound types, and to expose additional 86 Additional information is required for menu controls: the names of the 159 the user can change controls by keyboard or GUI buttons, rather 169 for other types of controls. [all …]
|
| D | v4l2.rst | 195 V4L2_CID_COLORFX_CBCR control. Added camera controls 209 Added :ref:`JPEG compression control class. <jpeg-controls>` 253 Added documentation for string controls and for FM Transmitter controls. 270 capabilities. Added support for string controls. 277 controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE, 283 Added pixel formats Y16 and SBGGR16, new controls and a camera controls 295 Added the Video Output Overlay interface, new MPEG controls, 322 Added the description of extended controls by Hans Verkuil. Linked
|
| /Linux-v5.4/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.4/Documentation/media/v4l-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.4/Documentation/media/kapi/ |
| 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 Integer menu controls with a driver specific menu can be added by calling [all …]
|
| /Linux-v5.4/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.4/sound/pci/emu10k1/ |
| D | emufx.c | 1197 struct snd_emu10k1_fx8010_control_gpr *controls = NULL, *ctl; in _snd_emu10k1_audigy_init_efx() local 1209 controls = kcalloc(SND_EMU10K1_GPR_CONTROLS, in _snd_emu10k1_audigy_init_efx() 1210 sizeof(*controls), GFP_KERNEL); in _snd_emu10k1_audigy_init_efx() 1211 if (!controls) in _snd_emu10k1_audigy_init_efx() 1248 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Front Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1254 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Surround Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1261 snd_emu10k1_init_stereo_control(&controls[nctl++], "PCM Side Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1267 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM Center Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1272 snd_emu10k1_init_mono_control(&controls[nctl++], "PCM LFE Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() 1281 snd_emu10k1_init_stereo_control(&controls[nctl++], "Wave Playback Volume", gpr, 100); in _snd_emu10k1_audigy_init_efx() [all …]
|
| /Linux-v5.4/sound/soc/generic/ |
| D | simple-card-utils.c | 441 struct snd_kcontrol_new *controls; in asoc_simple_parse_pin_switches() local 467 controls = devm_kcalloc(dev, nb_controls, in asoc_simple_parse_pin_switches() 468 sizeof(*controls), GFP_KERNEL); in asoc_simple_parse_pin_switches() 469 if (!controls) in asoc_simple_parse_pin_switches() 478 controls[i].iface = SNDRV_CTL_ELEM_IFACE_MIXER; in asoc_simple_parse_pin_switches() 479 controls[i].name = control_name; in asoc_simple_parse_pin_switches() 480 controls[i].info = snd_soc_dapm_info_pin_switch; in asoc_simple_parse_pin_switches() 481 controls[i].get = snd_soc_dapm_get_pin_switch; in asoc_simple_parse_pin_switches() 482 controls[i].put = snd_soc_dapm_put_pin_switch; in asoc_simple_parse_pin_switches() 483 controls[i].private_value = (unsigned long)strings[i]; in asoc_simple_parse_pin_switches() [all …]
|
| /Linux-v5.4/Documentation/ABI/testing/ |
| D | sysfs-driver-toshiba_acpi | 5 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 …]
|
| D | sysfs-class-backlight | 11 controls like sliders need to apply a logarithmic mapping for 21 controls should apply a logarithmic mapping for a linear 26 controls should use a linear mapping for a linear perception.
|
| /Linux-v5.4/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 214 .controls = controls, 215 .num_controls = ARRAY_SIZE(controls),
|
| /Linux-v5.4/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.4/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.4/drivers/rtc/ |
| D | rtc-rv3029c2.c | 334 u8 flags, controls; in rv3029_handle_irq() local 339 ret = rv3029_read_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_handle_irq() 355 controls &= ~RV3029_IRQ_CTRL_AIE; in rv3029_handle_irq() 362 rv3029_write_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_handle_irq() 416 u8 regs[8], controls, flags; in rv3029_read_alarm() local 432 ret = rv3029_read_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_read_alarm() 451 alarm->enabled = !!(controls & RV3029_IRQ_CTRL_AIE); in rv3029_read_alarm() 460 u8 controls; in rv3029_alarm_irq_enable() local 462 ret = rv3029_read_regs(dev, RV3029_IRQ_CTRL, &controls, 1); in rv3029_alarm_irq_enable() 470 controls |= RV3029_IRQ_CTRL_AIE; in rv3029_alarm_irq_enable() [all …]
|
| /Linux-v5.4/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>;
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | at91-natte.dtsi | 24 mux-controls = <&mux>; 35 mux-controls = <&mux>; 46 mux-controls = <&mux>; 57 mux-controls = <&mux>;
|