Home
last modified time | relevance | path

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

12345678910>>...94

/linux/drivers/greybus/
H A 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/include/sound/
H A 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras_eeprom.c172 struct amdgpu_ras_eeprom_control *control) in __get_eeprom_i2c_addr() argument
177 if (!control) in __get_eeprom_i2c_addr()
190 control->i2c_address = ((u32) i2c_addr) << 16; in __get_eeprom_i2c_addr()
199 control->i2c_address = EEPROM_I2C_MADDR_0; in __get_eeprom_i2c_addr()
203 control->i2c_address = EEPROM_I2C_MADDR_0; in __get_eeprom_i2c_addr()
205 control->i2c_address = EEPROM_I2C_MADDR_4; in __get_eeprom_i2c_addr()
208 control->i2c_address = EEPROM_I2C_MADDR_0; in __get_eeprom_i2c_addr()
213 control->i2c_address = EEPROM_I2C_MADDR_4; in __get_eeprom_i2c_addr()
215 control->i2c_address = EEPROM_I2C_MADDR_0; in __get_eeprom_i2c_addr()
220 control->i2c_address = EEPROM_I2C_MADDR_0; in __get_eeprom_i2c_addr()
[all …]
H A 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/include/linux/greybus/
H A 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/sound/core/seq/
H A 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/sound/soc/sof/
H A Dcontrol.c27 if (tplg_ops && tplg_ops->control && 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 && tplg_ops->control && 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 && tplg_ops->control && 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 && tplg_ops->control && 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 && tplg_ops->control && 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/drivers/tty/vt/
H A 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/drivers/reset/
H A 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 …]
H A 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/drivers/pinctrl/renesas/
H A 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/drivers/spi/
H A Dspi-microchip-core.c129 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable() local
131 control &= ~CONTROL_ENABLE; in mchp_corespi_disable()
133 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_disable()
159 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_enable_ints() local
161 control |= INT_ENABLE_MASK; in mchp_corespi_enable_ints()
162 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_enable_ints()
167 u32 control = mchp_corespi_read(spi, REG_CONTROL); in mchp_corespi_disable_ints() local
169 control &= ~INT_ENABLE_MASK; in mchp_corespi_disable_ints()
170 mchp_corespi_write(spi, REG_CONTROL, control); in mchp_corespi_disable_ints()
175 u32 control; in mchp_corespi_set_xfer_size() local
[all …]
H A 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/drivers/s390/char/
H A 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/Documentation/userspace-api/media/drivers/
H A 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/arch/x86/include/asm/
H A Dmshyperv.h53 u64 hv_tdx_hypercall(u64 control, u64 param1, u64 param2);
70 static inline u64 hv_do_hypercall(u64 control, void *input, void *output) in hv_do_hypercall() argument
78 return hv_tdx_hypercall(control, input_address, output_address); in hv_do_hypercall()
84 "+c" (control), "+d" (input_address) in hv_do_hypercall()
96 "+c" (control), "+d" (input_address) in hv_do_hypercall()
112 : "A" (control), in hv_do_hypercall()
122 static inline u64 hv_do_nested_hypercall(u64 control, void *input, void *output) in hv_do_nested_hypercall() argument
124 return hv_do_hypercall(control | HV_HYPERCALL_NESTED, input, output); in hv_do_nested_hypercall()
128 static inline u64 _hv_do_fast_hypercall8(u64 control, u64 input1) in _hv_do_fast_hypercall8() argument
134 return hv_tdx_hypercall(control, input1, 0); in _hv_do_fast_hypercall8()
[all …]
/linux/arch/arm/mach-rpc/include/mach/
H A 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/arch/x86/kvm/svm/
H A Dnested.c42 if (vmcb->control.exit_code != SVM_EXIT_NPF) { in nested_svm_inject_npf_exit()
47 vmcb->control.exit_code = SVM_EXIT_NPF; in nested_svm_inject_npf_exit()
48 vmcb->control.exit_code_hi = 0; in nested_svm_inject_npf_exit()
49 vmcb->control.exit_info_1 = (1ULL << 32); in nested_svm_inject_npf_exit()
50 vmcb->control.exit_info_2 = fault->address; in nested_svm_inject_npf_exit()
53 vmcb->control.exit_info_1 &= ~0xffffffffULL; in nested_svm_inject_npf_exit()
54 vmcb->control.exit_info_1 |= fault->error_code; in nested_svm_inject_npf_exit()
133 c = &svm->vmcb->control; in recalc_intercepts()
134 h = &svm->vmcb01.ptr->control; in recalc_intercepts()
240 svm->vmcb->control.msrpm_base_pa = __sme_set(__pa(svm->nested.msrpm)); in nested_svm_vmrun_msrpm()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A 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/arch/arm/boot/dts/ti/keystone/
H A 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 …]
H A 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/drivers/pinctrl/mediatek/
H A DKconfig51 bool "MediaTek MT7620 pin control"
58 bool "MediaTek MT7621 pin control"
65 bool "MediaTek MT76X8 pin control"
72 bool "Ralink RT2880 pin control"
79 bool "Ralink RT305X pin control"
86 bool "Ralink RT3883 pin control"
94 bool "MediaTek MT2701 pin control"
101 bool "MediaTek MT7623 pin control with generic binding"
108 bool "MediaTek MT7629 pin control"
115 bool "MediaTek MT8135 pin control"
[all …]
/linux/drivers/staging/iio/frequency/
H A 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/tools/testing/selftests/kvm/x86_64/
H A Dsvm_nested_soft_inject_test.c93 vmcb->control.intercept_exceptions |= BIT(PF_VECTOR) | BIT(UD_VECTOR); in l1_guest_code()
94 vmcb->control.intercept |= BIT(INTERCEPT_NMI) | BIT(INTERCEPT_HLT); in l1_guest_code()
97 vmcb->control.event_inj = SVM_EVTINJ_VALID | SVM_EVTINJ_TYPE_NMI; in l1_guest_code()
99 vmcb->control.event_inj = INT_NR | SVM_EVTINJ_VALID | SVM_EVTINJ_TYPE_SOFT; in l1_guest_code()
101 vmcb->control.next_rip = vmcb->save.rip; in l1_guest_code()
105 __GUEST_ASSERT(vmcb->control.exit_code == SVM_EXIT_VMMCALL, in l1_guest_code()
107 vmcb->control.exit_code, in l1_guest_code()
108 vmcb->control.exit_info_1, vmcb->control.exit_info_2); in l1_guest_code()
128 vmcb->control.clean = 0; /* &= ~BIT(VMCB_DT) would be enough */ in l1_guest_code()
130 vmcb->control.event_inj = BP_VECTOR | SVM_EVTINJ_VALID | SVM_EVTINJ_TYPE_EXEPT; in l1_guest_code()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dextended-controls.rst13 The control mechanism as originally designed was meant to be used for
19 implementing this extended control mechanism: the MPEG standard is quite
27 Unfortunately, the original control API lacked some features needed for
29 named) extended control API.
48 control). This is needed since it is often required to atomically change
53 contains a pointer to the control array, a count of the number of
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
61 All controls in the control array must belong to the specified control
64 It is also possible to use an empty control array (``count`` == 0) to check
[all …]

12345678910>>...94