/linux/drivers/greybus/ |
H A D | control.c | 18 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 D | seq_midi_emul.h | 35 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 D | amdgpu_ras_eeprom.c | 172 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 D | smu_v11_0_i2c.c | 47 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 D | control.h | 33 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 D | seq_midi_emul.c | 39 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 D | control.c | 27 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 D | defkeymap.map | 7 # 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 D | reset-ti-sci.c | 68 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 D | reset-ti-syscon.c | 70 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 D | Kconfig | 9 bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH) 59 This enables pin control drivers for Renesas SuperH and ARM platforms 67 This enables common pin control functionality for EMMA Mobile, R-Car, 75 This enables pin control and GPIO drivers for SH/SH Mobile platforms 84 bool "pin control support for Emma Mobile EV2" if COMPILE_TEST 88 bool "pin control support for R-Car D3" if COMPILE_TEST 92 bool "pin control support for R-Car E2" if COMPILE_TEST 96 bool "pin control support for R-Car E3" if COMPILE_TEST 100 bool "pin control support for R-Car H1" if COMPILE_TEST 104 bool "pin control support for R-Car H2" if COMPILE_TEST [all …]
|
/linux/drivers/s390/char/ |
H A D | defkeymap.map | 135 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 D | uvcvideo.rst | 28 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 D | mshyperv.h | 53 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 D | acornfb.h | 95 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/Documentation/devicetree/bindings/net/ |
H A D | micrel-ksz90x1.txt | 14 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 D | keystone-k2hk-clocks.dtsi | 15 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 D | keystone-k2l-clocks.dtsi | 15 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/staging/iio/frequency/ |
H A D | ad9834.c | 74 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 D | svm_nested_soft_inject_test.c | 93 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/drivers/pinctrl/mediatek/ |
H A D | Kconfig | 51 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/Documentation/userspace-api/media/v4l/ |
H A D | extended-controls.rst | 13 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 …]
|
H A D | vidioc-queryctrl.rst | 13 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 …]
|
/linux/drivers/rtc/ |
H A D | rtc-m48t35.c | 27 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()
|
/linux/drivers/pci/ |
H A D | ats.c | 232 u16 control, status; in pci_enable_pri() local 262 control = PCI_PRI_CTRL_ENABLE; in pci_enable_pri() 263 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_enable_pri() 278 u16 control; in pci_disable_pri() local 291 pci_read_config_word(pdev, pri + PCI_PRI_CTRL, &control); in pci_disable_pri() 292 control &= ~PCI_PRI_CTRL_ENABLE; in pci_disable_pri() 293 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_disable_pri() 305 u16 control = PCI_PRI_CTRL_ENABLE; in pci_restore_pri_state() local 319 pci_write_config_word(pdev, pri + PCI_PRI_CTRL, control); in pci_restore_pri_state() 331 u16 control; in pci_reset_pri() local [all …]
|