Home
last modified time | relevance | path

Searched refs:control (Results 1 – 25 of 2158) sorted by relevance

12345678910>>...87

/linux-6.1.9/include/sound/
Dseq_midi_emul.h35 unsigned char control[128]; /* Current value of all controls */ member
73 void (*control)(void *private_data, int type, struct snd_midi_channel *chan); member
94 #define gm_bank_select control[0]
95 #define gm_modulation control[1]
96 #define gm_breath control[2]
97 #define gm_foot_pedal control[4]
98 #define gm_portamento_time control[5]
99 #define gm_data_entry control[6]
100 #define gm_volume control[7]
101 #define gm_balance control[8]
[all …]
/linux-6.1.9/drivers/greybus/
Dcontrol.c18 static int gb_control_get_version(struct gb_control *control) in gb_control_get_version() argument
20 struct gb_interface *intf = control->connection->intf; in gb_control_get_version()
28 ret = gb_operation_sync(control->connection, in gb_control_get_version()
46 control->protocol_major = response.major; in gb_control_get_version()
47 control->protocol_minor = response.minor; in gb_control_get_version()
55 static int gb_control_get_bundle_version(struct gb_control *control, in gb_control_get_bundle_version() argument
58 struct gb_interface *intf = control->connection->intf; in gb_control_get_bundle_version()
65 ret = gb_operation_sync(control->connection, in gb_control_get_bundle_version()
85 int gb_control_get_bundle_versions(struct gb_control *control) in gb_control_get_bundle_versions() argument
87 struct gb_interface *intf = control->connection->intf; in gb_control_get_bundle_versions()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c100 struct amdgpu_ras_eeprom_control *control) in __get_eeprom_i2c_addr_arct() argument
104 if (!control || !atom_ctx) in __get_eeprom_i2c_addr_arct()
110 control->i2c_address = EEPROM_I2C_MADDR_ARCTURUS_D342; in __get_eeprom_i2c_addr_arct()
112 control->i2c_address = EEPROM_I2C_MADDR_ARCTURUS; in __get_eeprom_i2c_addr_arct()
118 struct amdgpu_ras_eeprom_control *control) in __get_eeprom_i2c_addr() argument
122 if (!control) in __get_eeprom_i2c_addr()
135 control->i2c_address = ((u32) i2c_addr) << 16; in __get_eeprom_i2c_addr()
142 control->i2c_address = EEPROM_I2C_MADDR_VEGA20; in __get_eeprom_i2c_addr()
146 return __get_eeprom_i2c_addr_arct(adev, control); in __get_eeprom_i2c_addr()
149 control->i2c_address = EEPROM_I2C_MADDR_SIENNA_CICHLID; in __get_eeprom_i2c_addr()
[all …]
Dsmu_v11_0_i2c.c47 static void smu_v11_0_i2c_set_clock_gating(struct i2c_adapter *control, bool en) in smu_v11_0_i2c_set_clock_gating() argument
49 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_clock_gating()
76 static int smu_v11_0_i2c_enable(struct i2c_adapter *control, bool enable) in smu_v11_0_i2c_enable() argument
78 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_enable()
102 static void smu_v11_0_i2c_clear_status(struct i2c_adapter *control) in smu_v11_0_i2c_clear_status() argument
104 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_clear_status()
113 static void smu_v11_0_i2c_configure(struct i2c_adapter *control) in smu_v11_0_i2c_configure() argument
115 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_configure()
135 static void smu_v11_0_i2c_set_clock(struct i2c_adapter *control) in smu_v11_0_i2c_set_clock() argument
137 struct amdgpu_smu_i2c_bus *smu_i2c = i2c_get_adapdata(control); in smu_v11_0_i2c_set_clock()
[all …]
/linux-6.1.9/include/linux/greybus/
Dcontrol.h33 int gb_control_enable(struct gb_control *control);
34 void gb_control_disable(struct gb_control *control);
35 int gb_control_suspend(struct gb_control *control);
36 int gb_control_resume(struct gb_control *control);
37 int gb_control_add(struct gb_control *control);
38 void gb_control_del(struct gb_control *control);
39 struct gb_control *gb_control_get(struct gb_control *control);
40 void gb_control_put(struct gb_control *control);
42 int gb_control_get_bundle_versions(struct gb_control *control);
43 int gb_control_connected_operation(struct gb_control *control, u16 cport_id);
[all …]
/linux-6.1.9/sound/core/seq/
Dseq_midi_emul.c39 int control, int value);
138 ev->data.control.param, ev->data.control.value); in snd_midi_process_event()
141 chan->midi_program = ev->data.control.value; in snd_midi_process_event()
144 chan->midi_pitchbend = ev->data.control.value; in snd_midi_process_event()
145 if (ops->control) in snd_midi_process_event()
146 ops->control(drv, MIDI_CTL_PITCHBEND, chan); in snd_midi_process_event()
149 chan->midi_pressure = ev->data.control.value; in snd_midi_process_event()
150 if (ops->control) in snd_midi_process_event()
151 ops->control(drv, MIDI_CTL_CHAN_PRESSURE, chan); in snd_midi_process_event()
155 if (ev->data.control.param < 32) { in snd_midi_process_event()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-microchip-core.c124 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_enable() local
126 control |= CONTROL_ENABLE; in mchp_corespi_enable()
128 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_enable()
133 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable() local
135 control &= ~CONTROL_ENABLE; in mchp_corespi_disable()
137 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_disable()
160 u32 control, mask = INT_ENABLE_MASK; in mchp_corespi_enable_ints() local
164 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_enable_ints()
166 control |= mask; in mchp_corespi_enable_ints()
167 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_enable_ints()
[all …]
Dspi-microchip-core-qspi.c128 u32 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode() local
142 control &= ~CONTROL_MODE12_MASK; in mchp_coreqspi_set_mode()
144 control |= CONTROL_MODE12_EX_RO; in mchp_coreqspi_set_mode()
146 control |= CONTROL_MODE12_EX_RW; in mchp_coreqspi_set_mode()
148 control |= CONTROL_MODE12_FULL; in mchp_coreqspi_set_mode()
150 control |= CONTROL_MODE0; in mchp_coreqspi_set_mode()
152 control &= ~(CONTROL_MODE12_MASK | in mchp_coreqspi_set_mode()
156 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode()
163 u32 control, data; in mchp_coreqspi_read_op() local
168 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op()
[all …]
/linux-6.1.9/drivers/reset/
Dreset-ti-sci.c68 struct ti_sci_reset_control *control; in ti_sci_reset_set() local
72 control = idr_find(&data->idr, id); in ti_sci_reset_set()
73 if (!control) in ti_sci_reset_set()
76 mutex_lock(&control->lock); in ti_sci_reset_set()
78 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set()
83 reset_state |= control->reset_mask; in ti_sci_reset_set()
85 reset_state &= ~control->reset_mask; in ti_sci_reset_set()
87 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set()
89 mutex_unlock(&control->lock); in ti_sci_reset_set()
149 struct ti_sci_reset_control *control; in ti_sci_reset_status() local
[all …]
Dreset-ti-syscon.c70 struct ti_syscon_reset_control *control; in ti_syscon_reset_assert() local
76 control = &data->controls[id]; in ti_syscon_reset_assert()
78 if (control->flags & ASSERT_NONE) in ti_syscon_reset_assert()
81 mask = BIT(control->assert_bit); in ti_syscon_reset_assert()
82 value = (control->flags & ASSERT_SET) ? mask : 0x0; in ti_syscon_reset_assert()
84 return regmap_write_bits(data->regmap, control->assert_offset, mask, value); in ti_syscon_reset_assert()
101 struct ti_syscon_reset_control *control; in ti_syscon_reset_deassert() local
107 control = &data->controls[id]; in ti_syscon_reset_deassert()
109 if (control->flags & DEASSERT_NONE) in ti_syscon_reset_deassert()
112 mask = BIT(control->deassert_bit); in ti_syscon_reset_deassert()
[all …]
/linux-6.1.9/drivers/tty/vt/
Ddefkeymap.map7 # altgr control keycode 83 = Boot
8 # altgr control keycode 111 = Boot
20 control keycode 3 = nul
21 shift control keycode 3 = nul
24 control keycode 4 = Escape
27 control keycode 5 = Control_backslash
30 control keycode 6 = Control_bracketright
33 control keycode 7 = Control_asciicircum
36 control keycode 8 = Control_underscore
39 control keycode 9 = Delete
[all …]
/linux-6.1.9/drivers/pinctrl/renesas/
DKconfig9 bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH)
58 This enables pin control drivers for Renesas SuperH and ARM platforms
66 This enables common pin control functionality for EMMA Mobile, R-Car,
74 This enables pin control and GPIO drivers for SH/SH Mobile platforms
83 bool "pin control support for Emma Mobile EV2" if COMPILE_TEST
87 bool "pin control support for R-Car D3" if COMPILE_TEST
91 bool "pin control support for R-Car E2" if COMPILE_TEST
95 bool "pin control support for R-Car E3" if COMPILE_TEST
99 bool "pin control support for R-Car H1" if COMPILE_TEST
103 bool "pin control support for R-Car H2" if COMPILE_TEST
[all …]
/linux-6.1.9/drivers/s390/char/
Ddefkeymap.map135 control keycode 74 = F22
136 control keycode 75 = F23
137 control keycode 76 = F24
138 control keycode 107 = Control_z # PA3
139 control keycode 108 = Control_c # PA1
140 control keycode 109 = KeyboardSignal # Clear
141 control keycode 110 = Control_d # PA2
142 control keycode 122 = F10
143 control keycode 123 = F11 # F11
144 control keycode 124 = Last_Console # F12
[all …]
/linux-6.1.9/arch/arm/mach-rpc/include/mach/
Dacornfb.h95 case 1: vidc->control |= VIDC20_CTRL_PIX_CK; break; in acornfb_vidc20_find_rates()
96 case 2: vidc->control |= VIDC20_CTRL_PIX_CK2; break; in acornfb_vidc20_find_rates()
97 case 3: vidc->control |= VIDC20_CTRL_PIX_CK3; break; in acornfb_vidc20_find_rates()
98 case 4: vidc->control |= VIDC20_CTRL_PIX_CK4; break; in acornfb_vidc20_find_rates()
99 case 5: vidc->control |= VIDC20_CTRL_PIX_CK5; break; in acornfb_vidc20_find_rates()
100 case 6: vidc->control |= VIDC20_CTRL_PIX_CK6; break; in acornfb_vidc20_find_rates()
101 case 7: vidc->control |= VIDC20_CTRL_PIX_CK7; break; in acornfb_vidc20_find_rates()
102 case 8: vidc->control |= VIDC20_CTRL_PIX_CK8; break; in acornfb_vidc20_find_rates()
115 vidc->control |= VIDC20_CTRL_FIFO_24; in acornfb_vidc20_find_rates()
117 vidc->control |= VIDC20_CTRL_FIFO_28; in acornfb_vidc20_find_rates()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/drivers/
Duvcvideo.rst28 control enumeration.
41 control mappings at runtime. These allow for individual XU controls or byte
45 triggers a read or write of the associated XU control.
47 The ioctl used to create these control mappings is called UVCIOC_CTRL_MAP.
49 beforehand (UVCIOC_CTRL_ADD) to pass XU control information to the UVC driver.
57 3. Driver specific XU control interface
65 directly map to the low-level UVC control requests.
67 In order to make such a request the UVC unit ID of the control's extension unit
68 and the control selector need to be known. This information either needs to be
73 Unless the control size is already known it is necessary to first make a
[all …]
/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c41 if (vmcb->control.exit_code != SVM_EXIT_NPF) { in nested_svm_inject_npf_exit()
46 vmcb->control.exit_code = SVM_EXIT_NPF; in nested_svm_inject_npf_exit()
47 vmcb->control.exit_code_hi = 0; in nested_svm_inject_npf_exit()
48 vmcb->control.exit_info_1 = (1ULL << 32); in nested_svm_inject_npf_exit()
49 vmcb->control.exit_info_2 = fault->address; in nested_svm_inject_npf_exit()
52 vmcb->control.exit_info_1 &= ~0xffffffffULL; in nested_svm_inject_npf_exit()
53 vmcb->control.exit_info_1 |= fault->error_code; in nested_svm_inject_npf_exit()
132 c = &svm->vmcb->control; in recalc_intercepts()
133 h = &svm->vmcb01.ptr->control; in recalc_intercepts()
227 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
[all …]
Dsvm.h331 vmcb->control.clean = 0; in vmcb_mark_all_dirty()
336 vmcb->control.clean = VMCB_ALL_CLEAN_MASK in vmcb_mark_all_clean()
342 vmcb->control.clean &= ~(1 << bit); in vmcb_mark_dirty()
347 return !test_bit(bit, (unsigned long *)&vmcb->control.clean); in vmcb_is_dirty()
365 static inline void vmcb_set_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_set_intercept() argument
368 __set_bit(bit, (unsigned long *)&control->intercepts); in vmcb_set_intercept()
371 static inline void vmcb_clr_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_clr_intercept() argument
374 __clear_bit(bit, (unsigned long *)&control->intercepts); in vmcb_clr_intercept()
377 static inline bool vmcb_is_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_is_intercept() argument
380 return test_bit(bit, (unsigned long *)&control->intercepts); in vmcb_is_intercept()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt14 All skew control options are specified in picoseconds. The minimum
48 - rxc-skew-ps : Skew control of RXC pad
49 - rxdv-skew-ps : Skew control of RX CTL pad
50 - txc-skew-ps : Skew control of TXC pad
51 - txen-skew-ps : Skew control of TX CTL pad
52 - rxd0-skew-ps : Skew control of RX data 0 pad
53 - rxd1-skew-ps : Skew control of RX data 1 pad
54 - rxd2-skew-ps : Skew control of RX data 2 pad
55 - rxd3-skew-ps : Skew control of RX data 3 pad
56 - txd0-skew-ps : Skew control of TX data 0 pad
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dkeystone-k2hk-clocks.dtsi15 reg-names = "control";
23 reg-names = "control", "multiplier", "post-divider";
32 reg-names = "control";
41 reg-names = "control";
50 reg-names = "control";
59 reg-names = "control", "domain";
69 reg-names = "control", "domain";
79 reg-names = "control", "domain";
89 reg-names = "control", "domain";
99 reg-names = "control", "domain";
[all …]
Dkeystone-k2l-clocks.dtsi15 reg-names = "control";
23 reg-names = "control", "multiplier", "post-divider";
32 reg-names = "control";
41 reg-names = "control";
49 reg-names = "control", "domain";
60 reg-names = "control", "domain";
70 reg-names = "control", "domain";
80 reg-names = "control", "domain";
90 reg-names = "control", "domain";
100 reg-names = "control", "domain";
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dsvm_nested_soft_inject_test.c86 vmcb->control.intercept_exceptions |= BIT(PF_VECTOR) | BIT(UD_VECTOR); in l1_guest_code()
87 vmcb->control.intercept |= BIT(INTERCEPT_NMI) | BIT(INTERCEPT_HLT); in l1_guest_code()
90 vmcb->control.event_inj = SVM_EVTINJ_VALID | SVM_EVTINJ_TYPE_NMI; in l1_guest_code()
92 vmcb->control.event_inj = INT_NR | SVM_EVTINJ_VALID | SVM_EVTINJ_TYPE_SOFT; in l1_guest_code()
94 vmcb->control.next_rip = vmcb->save.rip; in l1_guest_code()
98 GUEST_ASSERT_3(vmcb->control.exit_code == SVM_EXIT_VMMCALL, in l1_guest_code()
99 vmcb->control.exit_code, in l1_guest_code()
100 vmcb->control.exit_info_1, vmcb->control.exit_info_2); in l1_guest_code()
120 vmcb->control.clean = 0; /* &= ~BIT(VMCB_DT) would be enough */ in l1_guest_code()
122 vmcb->control.event_inj = BP_VECTOR | SVM_EVTINJ_VALID | SVM_EVTINJ_TYPE_EXEPT; in l1_guest_code()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/sram/
Dallwinner,sun4i-a10-system-control.yaml4 $id: http://devicetree.org/schemas/sram/allwinner,sun4i-a10-system-control.yaml#
32 - allwinner,sun4i-a10-system-control
33 - allwinner,sun5i-a13-system-control
34 - allwinner,sun8i-a23-system-control
35 - allwinner,sun8i-h3-system-control
36 - allwinner,sun20i-d1-system-control
37 - allwinner,sun50i-a64-system-control
38 - allwinner,sun50i-h5-system-control
39 - allwinner,sun50i-h616-system-control
42 - allwinner,suniv-f1c100s-system-control
[all …]
/linux-6.1.9/sound/soc/sof/
Dcontrol.c27 if (tplg_ops->control->volume_get) in snd_sof_volume_get()
28 return tplg_ops->control->volume_get(scontrol, ucontrol); in snd_sof_volume_get()
42 if (tplg_ops->control->volume_put) in snd_sof_volume_put()
43 return tplg_ops->control->volume_put(scontrol, ucontrol); in snd_sof_volume_put()
79 if (tplg_ops->control->switch_get) in snd_sof_switch_get()
80 return tplg_ops->control->switch_get(scontrol, ucontrol); in snd_sof_switch_get()
94 if (tplg_ops->control->switch_put) in snd_sof_switch_put()
95 return tplg_ops->control->switch_put(scontrol, ucontrol); in snd_sof_switch_put()
109 if (tplg_ops->control->enum_get) in snd_sof_enum_get()
110 return tplg_ops->control->enum_get(scontrol, ucontrol); in snd_sof_enum_get()
[all …]
/linux-6.1.9/drivers/staging/iio/frequency/
Dad9834.c74 unsigned short control; member
167 if (st->control & AD9834_MODE) { in ad9834_write()
173 st->control |= AD9834_OPBITEN; in ad9834_write()
175 st->control &= ~AD9834_OPBITEN; in ad9834_write()
177 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
182 st->control |= AD9834_PIN_SW; in ad9834_write()
184 st->control &= ~AD9834_PIN_SW; in ad9834_write()
185 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
191 st->control &= ~(this_attr->address | AD9834_PIN_SW); in ad9834_write()
193 st->control |= this_attr->address; in ad9834_write()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dvidioc-queryctrl.rst13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
41 To query the attributes of a control applications set the ``id`` field
49 exclusive ``V4L2_CID_LASTP1``. Drivers may return ``EINVAL`` if a control in
56 in the ``flags`` field this control is permanently disabled and should
60 driver returns the next supported non-compound control, or ``EINVAL`` if
63 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words
71 control information that cannot be returned in struct
95 See also the examples in :ref:`control`.
110 - Identifies the control, set by the application. See
111 :ref:`control-id` for predefined IDs. When the ID is ORed with
[all …]

12345678910>>...87