Home
last modified time | relevance | path

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

12345678910>>...102

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c134 static int __update_table_header(struct amdgpu_ras_eeprom_control *control, in __update_table_header() argument
138 struct amdgpu_device *adev = to_amdgpu_device(control); in __update_table_header()
148 __encode_table_header_to_buff(&control->tbl_hdr, buff + EEPROM_ADDRESS_SIZE); in __update_table_header()
150 msg.addr = control->i2c_address; in __update_table_header()
159 static uint32_t __calc_hdr_byte_sum(struct amdgpu_ras_eeprom_control *control) in __calc_hdr_byte_sum() argument
165 for (i = 0; i < sizeof(control->tbl_hdr) - sizeof(control->tbl_hdr.checksum); i++) in __calc_hdr_byte_sum()
166 tbl_sum += *(((unsigned char *)&control->tbl_hdr) + i); in __calc_hdr_byte_sum()
189 static inline uint32_t __calc_tbl_byte_sum(struct amdgpu_ras_eeprom_control *control, in __calc_tbl_byte_sum() argument
192 return __calc_hdr_byte_sum(control) + __calc_recs_byte_sum(records, num); in __calc_tbl_byte_sum()
196 static void __update_tbl_checksum(struct amdgpu_ras_eeprom_control *control, in __update_tbl_checksum() argument
[all …]
Dsmu_v11_0_i2c.c50 static void smu_v11_0_i2c_set_clock_gating(struct i2c_adapter *control, bool en) in smu_v11_0_i2c_set_clock_gating() argument
52 struct amdgpu_device *adev = to_amdgpu_device(control); in smu_v11_0_i2c_set_clock_gating()
60 static void smu_v11_0_i2c_enable(struct i2c_adapter *control, bool enable) in smu_v11_0_i2c_enable() argument
62 struct amdgpu_device *adev = to_amdgpu_device(control); in smu_v11_0_i2c_enable()
67 static void smu_v11_0_i2c_clear_status(struct i2c_adapter *control) in smu_v11_0_i2c_clear_status() argument
69 struct amdgpu_device *adev = to_amdgpu_device(control); in smu_v11_0_i2c_clear_status()
77 static void smu_v11_0_i2c_configure(struct i2c_adapter *control) in smu_v11_0_i2c_configure() argument
79 struct amdgpu_device *adev = to_amdgpu_device(control); in smu_v11_0_i2c_configure()
93 static void smu_v11_0_i2c_set_clock(struct i2c_adapter *control) in smu_v11_0_i2c_set_clock() argument
95 struct amdgpu_device *adev = to_amdgpu_device(control); in smu_v11_0_i2c_set_clock()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/reset/
Dreset-ti-sci.c76 struct ti_sci_reset_control *control; in ti_sci_reset_set() local
80 control = idr_find(&data->idr, id); in ti_sci_reset_set()
81 if (!control) in ti_sci_reset_set()
84 mutex_lock(&control->lock); in ti_sci_reset_set()
86 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set()
91 reset_state |= control->reset_mask; in ti_sci_reset_set()
93 reset_state &= ~control->reset_mask; in ti_sci_reset_set()
95 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set()
97 mutex_unlock(&control->lock); in ti_sci_reset_set()
157 struct ti_sci_reset_control *control; in ti_sci_reset_status() local
[all …]
Dreset-ti-syscon.c78 struct ti_syscon_reset_control *control; in ti_syscon_reset_assert() local
84 control = &data->controls[id]; in ti_syscon_reset_assert()
86 if (control->flags & ASSERT_NONE) in ti_syscon_reset_assert()
89 mask = BIT(control->assert_bit); in ti_syscon_reset_assert()
90 value = (control->flags & ASSERT_SET) ? mask : 0x0; in ti_syscon_reset_assert()
92 return regmap_update_bits(data->regmap, control->assert_offset, mask, value); in ti_syscon_reset_assert()
109 struct ti_syscon_reset_control *control; in ti_syscon_reset_deassert() local
115 control = &data->controls[id]; in ti_syscon_reset_deassert()
117 if (control->flags & DEASSERT_NONE) in ti_syscon_reset_deassert()
120 mask = BIT(control->deassert_bit); in ti_syscon_reset_deassert()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
DKconfig9 bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH)
53 This enables pin control drivers for Renesas SuperH and ARM platforms
61 This enables common pin control functionality for EMMA Mobile, R-Car,
69 This enables pin control and GPIO drivers for SH/SH Mobile platforms
78 bool "pin control support for Emma Mobile EV2" if COMPILE_TEST
82 bool "pin control support for R-Car D3" if COMPILE_TEST
86 bool "pin control support for R-Car E2" if COMPILE_TEST
90 bool "pin control support for R-Car E3" if COMPILE_TEST
94 bool "pin control support for R-Car H1" if COMPILE_TEST
98 bool "pin control support for R-Car H2" if COMPILE_TEST
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dnested.c37 if (svm->vmcb->control.exit_code != SVM_EXIT_NPF) { in nested_svm_inject_npf_exit()
42 svm->vmcb->control.exit_code = SVM_EXIT_NPF; in nested_svm_inject_npf_exit()
43 svm->vmcb->control.exit_code_hi = 0; in nested_svm_inject_npf_exit()
44 svm->vmcb->control.exit_info_1 = (1ULL << 32); in nested_svm_inject_npf_exit()
45 svm->vmcb->control.exit_info_2 = fault->address; in nested_svm_inject_npf_exit()
48 svm->vmcb->control.exit_info_1 &= ~0xffffffffULL; in nested_svm_inject_npf_exit()
49 svm->vmcb->control.exit_info_1 |= fault->error_code; in nested_svm_inject_npf_exit()
61 svm->vmcb->control.exit_code = SVM_EXIT_EXCP_BASE + PF_VECTOR; in svm_inject_page_fault_nested()
62 svm->vmcb->control.exit_code_hi = 0; in svm_inject_page_fault_nested()
63 svm->vmcb->control.exit_info_1 = fault->error_code; in svm_inject_page_fault_nested()
[all …]
Dsvm.h198 vmcb->control.clean = 0; in vmcb_mark_all_dirty()
203 vmcb->control.clean = ((1 << VMCB_DIRTY_MAX) - 1) in vmcb_mark_all_clean()
209 vmcb->control.clean &= ~(1 << bit); in vmcb_mark_dirty()
225 static inline void vmcb_set_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_set_intercept() argument
228 __set_bit(bit, (unsigned long *)&control->intercepts); in vmcb_set_intercept()
231 static inline void vmcb_clr_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_clr_intercept() argument
234 __clear_bit(bit, (unsigned long *)&control->intercepts); in vmcb_clr_intercept()
237 static inline bool vmcb_is_intercept(struct vmcb_control_area *control, u32 bit) in vmcb_is_intercept() argument
240 return test_bit(bit, (unsigned long *)&control->intercepts); in vmcb_is_intercept()
247 vmcb_set_intercept(&vmcb->control, INTERCEPT_DR0_READ); in set_dr_intercepts()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dposted_intr.c54 old.control = new.control = pi_desc->control; in vmx_vcpu_pi_load()
64 } while (cmpxchg64(&pi_desc->control, old.control, in vmx_vcpu_pi_load()
65 new.control) != old.control); in vmx_vcpu_pi_load()
107 old.control = new.control = pi_desc->control; in __pi_post_block()
120 } while (cmpxchg64(&pi_desc->control, old.control, in __pi_post_block()
121 new.control) != old.control); in __pi_post_block()
165 old.control = new.control = pi_desc->control; in pi_pre_block()
188 } while (cmpxchg64(&pi_desc->control, old.control, in pi_pre_block()
189 new.control) != old.control); in pi_pre_block()
Dposted_intr.h26 u64 control; member
34 (unsigned long *)&pi_desc->control); in pi_test_and_set_on()
40 (unsigned long *)&pi_desc->control); in pi_test_and_clear_on()
56 (unsigned long *)&pi_desc->control); in pi_set_sn()
62 (unsigned long *)&pi_desc->control); in pi_set_on()
68 (unsigned long *)&pi_desc->control); in pi_clear_on()
74 (unsigned long *)&pi_desc->control); in pi_clear_sn()
80 (unsigned long *)&pi_desc->control); in pi_test_on()
86 (unsigned long *)&pi_desc->control); in pi_test_sn()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/iio/frequency/
Dad9834.c75 unsigned short control; member
168 if (st->control & AD9834_MODE) { in ad9834_write()
174 st->control |= AD9834_OPBITEN; in ad9834_write()
176 st->control &= ~AD9834_OPBITEN; in ad9834_write()
178 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
183 st->control |= AD9834_PIN_SW; in ad9834_write()
185 st->control &= ~AD9834_PIN_SW; in ad9834_write()
186 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
192 st->control &= ~(this_attr->address | AD9834_PIN_SW); in ad9834_write()
194 st->control |= this_attr->address; in ad9834_write()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/pci/
Dats.c198 u16 control, status; in pci_enable_pri() local
228 control = PCI_PRI_CTRL_ENABLE; in pci_enable_pri()
229 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_enable_pri()
244 u16 control; in pci_disable_pri() local
257 pci_read_config_word(pdev, pri + PCI_PRI_CTRL, &control); in pci_disable_pri()
258 control &= ~PCI_PRI_CTRL_ENABLE; in pci_disable_pri()
259 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_disable_pri()
271 u16 control = PCI_PRI_CTRL_ENABLE; in pci_restore_pri_state() local
285 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_restore_pri_state()
297 u16 control; in pci_reset_pri() local
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-m48t35.c27 u8 control; member
33 u8 control; member
58 u8 control; in m48t35_read_time() local
67 control = readb(&priv->reg->control); in m48t35_read_time()
68 writeb(control | M48T35_RTC_READ, &priv->reg->control); in m48t35_read_time()
75 writeb(control, &priv->reg->control); in m48t35_read_time()
102 u8 control; in m48t35_set_time() local
132 control = readb(&priv->reg->control); in m48t35_set_time()
133 writeb(control | M48T35_RTC_SET, &priv->reg->control); in m48t35_set_time()
140 writeb(control, &priv->reg->control); in m48t35_set_time()

12345678910>>...102