Home
last modified time | relevance | path

Searched full:control (Results 1 – 25 of 7774) sorted by relevance

12345678910>>...311

/kernel/linux/linux-5.10/drivers/greybus/
Dcontrol.c3 * Greybus CPort control protocol.
14 /* Highest control-protocol version supported */
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()
34 "failed to get control-protocol version: %d\n", in gb_control_get_version()
41 "unsupported major control-protocol version (%u > %u)\n", 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
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
Dcontrol.c3 * Greybus CPort control protocol.
14 /* Highest control-protocol version supported */
19 static int gb_control_get_version(struct gb_control *control) in gb_control_get_version() argument
21 struct gb_interface *intf = control->connection->intf; in gb_control_get_version()
29 ret = gb_operation_sync(control->connection, in gb_control_get_version()
35 "failed to get control-protocol version: %d\n", in gb_control_get_version()
42 "unsupported major control-protocol version (%u > %u)\n", in gb_control_get_version()
47 control->protocol_major = response.major; in gb_control_get_version()
48 control->protocol_minor = response.minor; in gb_control_get_version()
56 static int gb_control_get_bundle_version(struct gb_control *control, in gb_control_get_bundle_version() argument
[all …]
Dcontrol.h3 * Greybus CPort control protocol
30 int gb_control_enable(struct gb_control *control);
31 void gb_control_disable(struct gb_control *control);
32 int gb_control_suspend(struct gb_control *control);
33 int gb_control_resume(struct gb_control *control);
34 int gb_control_add(struct gb_control *control);
35 void gb_control_del(struct gb_control *control);
36 struct gb_control *gb_control_get(struct gb_control *control);
37 void gb_control_put(struct gb_control *control);
39 int gb_control_get_bundle_versions(struct gb_control *control);
[all …]
/kernel/linux/linux-4.19/arch/sh/include/mach-common/mach/
Dhighlander.h13 #define PA_IRLMSK (PA_BCR+0x0000) /* Interrupt Mask control */
14 #define PA_IRLMON (PA_BCR+0x0002) /* Interrupt Status control */
19 #define PA_RSTCTL (PA_BCR+0x000c) /* Reset Control */
20 #define PA_PCIBD (PA_BCR+0x000e) /* PCI Board detect control */
21 #define PA_PCICD (PA_BCR+0x0010) /* PCI Conector detect control */
22 #define PA_EXTGIO (PA_BCR+0x0016) /* Extension GPIO Control */
23 #define PA_IVDRMON (PA_BCR+0x0018) /* iVDR Moniter control */
24 #define PA_IVDRCTL (PA_BCR+0x001a) /* iVDR control */
25 #define PA_OBLED (PA_BCR+0x001c) /* On Board LED control */
26 #define PA_OBSW (PA_BCR+0x001e) /* On Board Switch control */
[all …]
/kernel/linux/linux-5.10/arch/sh/include/mach-common/mach/
Dhighlander.h13 #define PA_IRLMSK (PA_BCR+0x0000) /* Interrupt Mask control */
14 #define PA_IRLMON (PA_BCR+0x0002) /* Interrupt Status control */
19 #define PA_RSTCTL (PA_BCR+0x000c) /* Reset Control */
20 #define PA_PCIBD (PA_BCR+0x000e) /* PCI Board detect control */
21 #define PA_PCICD (PA_BCR+0x0010) /* PCI Connector detect control */
22 #define PA_EXTGIO (PA_BCR+0x0016) /* Extension GPIO Control */
23 #define PA_IVDRMON (PA_BCR+0x0018) /* iVDR Moniter control */
24 #define PA_IVDRCTL (PA_BCR+0x001a) /* iVDR control */
25 #define PA_OBLED (PA_BCR+0x001c) /* On Board LED control */
26 #define PA_OBSW (PA_BCR+0x001e) /* On Board Switch control */
[all …]
/kernel/linux/linux-5.10/include/media/
Dv4l2-ctrls.h17 * Include the stateless codec compound control definitions.
39 * union v4l2_ctrl_ptr - A pointer to a control value.
101 * struct v4l2_ctrl_ops - The control operations that the driver has to provide.
103 * @g_volatile_ctrl: Get a new value for this control. Generally only relevant
104 * for volatile (and usually read-only) controls such as a control
108 * @try_ctrl: Test whether the control's value is valid. Only relevant when
110 * @s_ctrl: Actually set the new control value. s_ctrl is compulsory. The
121 * struct v4l2_ctrl_type_ops - The control type operations that the driver
143 * that should be called when a control value has changed.
146 * @priv: control private data
[all …]
/kernel/linux/linux-4.19/include/media/
Dv4l2-ctrls.h36 * union v4l2_ctrl_ptr - A pointer to a control value.
56 * struct v4l2_ctrl_ops - The control operations that the driver has to provide.
58 * @g_volatile_ctrl: Get a new value for this control. Generally only relevant
59 * for volatile (and usually read-only) controls such as a control
63 * @try_ctrl: Test whether the control's value is valid. Only relevant when
65 * @s_ctrl: Actually set the new control value. s_ctrl is compulsory. The
76 * struct v4l2_ctrl_type_ops - The control type operations that the driver
98 * that should be called when a control value has changed.
101 * @priv: control private data
109 * struct v4l2_ctrl - The control structure.
[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/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-4.19/include/sound/
Dseq_midi_emul.h49 unsigned char control[128]; /* Current value of all controls */ member
87 void (*control)(void *private_data, int type, struct snd_midi_channel *chan); member
108 #define gm_bank_select control[0]
109 #define gm_modulation control[1]
110 #define gm_breath control[2]
111 #define gm_foot_pedal control[4]
112 #define gm_portamento_time control[5]
113 #define gm_data_entry control[6]
114 #define gm_volume control[7]
115 #define gm_balance control[8]
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/drivers/
Duvcvideo.rst28 control enumeration.
37 Control mappings
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
[all …]
/kernel/linux/linux-4.19/Documentation/media/v4l-drivers/
Duvcvideo.rst26 control enumeration.
35 Control mappings
39 control mappings at runtime. These allow for individual XU controls or byte
43 triggers a read or write of the associated XU control.
45 The ioctl used to create these control mappings is called UVCIOC_CTRL_MAP.
47 beforehand (UVCIOC_CTRL_ADD) to pass XU control information to the UVC driver.
55 3. Driver specific XU control interface
63 directly map to the low-level UVC control requests.
65 In order to make such a request the UVC unit ID of the control's extension unit
66 and the control selector need to be known. This information either needs to be
[all …]
/kernel/linux/linux-4.19/include/linux/mfd/
Dmotorola-cpcap.h50 #define CPCAP_REG_VERSC1 0x0048 /* Version Control 1 */
51 #define CPCAP_REG_VERSC2 0x004c /* Version Control 2 */
57 #define CPCAP_REG_UCC1 0x0210 /* UC Control 1 */
58 #define CPCAP_REG_UCC2 0x0214 /* UC Control 2 */
63 #define CPCAP_REG_PGC 0x0228 /* Power Gate and Control */
69 #define CPCAP_REG_SCC 0x0400 /* System Clock Control */
83 #define CPCAP_REG_SI2CC1 0x0604 /* Switcher I2C Control 1 */
84 #define CPCAP_REG_Si2CC2 0x0608 /* Switcher I2C Control 2 */
85 #define CPCAP_REG_S1C1 0x060c /* Switcher 1 Control 1 */
86 #define CPCAP_REG_S1C2 0x0610 /* Switcher 1 Control 2 */
[all …]
/kernel/linux/linux-5.10/include/linux/mfd/
Dmotorola-cpcap.h47 #define CPCAP_REG_VERSC1 0x0048 /* Version Control 1 */
48 #define CPCAP_REG_VERSC2 0x004c /* Version Control 2 */
54 #define CPCAP_REG_UCC1 0x0210 /* UC Control 1 */
55 #define CPCAP_REG_UCC2 0x0214 /* UC Control 2 */
60 #define CPCAP_REG_PGC 0x0228 /* Power Gate and Control */
66 #define CPCAP_REG_SCC 0x0400 /* System Clock Control */
80 #define CPCAP_REG_SI2CC1 0x0604 /* Switcher I2C Control 1 */
81 #define CPCAP_REG_Si2CC2 0x0608 /* Switcher I2C Control 2 */
82 #define CPCAP_REG_S1C1 0x060c /* Switcher 1 Control 1 */
83 #define CPCAP_REG_S1C2 0x0610 /* Switcher 1 Control 2 */
[all …]
/kernel/linux/linux-4.19/drivers/tty/vt/
Ddefkeymap.map6 # altgr control keycode 83 = Boot
7 # altgr control keycode 111 = Boot
19 control keycode 3 = nul
20 shift control keycode 3 = nul
23 control keycode 4 = Escape
26 control keycode 5 = Control_backslash
29 control keycode 6 = Control_bracketright
32 control keycode 7 = Control_asciicircum
35 control keycode 8 = Control_underscore
38 control keycode 9 = Delete
[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-4.19/Documentation/media/uapi/v4l/
Dvidioc-queryctrl.rst12 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
42 To query the attributes of a control applications set the ``id`` field
50 exclusive ``V4L2_CID_LASTP1``. Drivers may return ``EINVAL`` if a control in
57 in the ``flags`` field this control is permanently disabled and should
61 driver returns the next supported non-compound control, or ``EINVAL`` if
64 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words
72 control information that cannot be returned in struct
96 See also the examples in :ref:`control`.
112 - Identifies the control, set by the application. See
113 :ref:`control-id` for predefined IDs. When the ID is ORed with
[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/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dphy_lp.h36 #define B43_LPPHY_TSSI_CTL B43_PHY_CCK(0x28) /* TSSI Control */
80 #define B43_LPPHY_FINEDIGIGAIN_CTL B43_PHY_CCK(0x67) /* FineDigiGain Control */
106 #define B43_LPPHY_CRSGAIN_CTL B43_PHY_OFDM(0x10) /* crsgain Control */
117 #define B43_LPPHY_LTRN_CTL B43_PHY_OFDM(0x1B) /* LTRN Control */
123 #define B43_LPPHY_OFDMSYNCTIMER_CTL B43_PHY_OFDM(0x21) /* ofdmSyncTimer Control */
141 #define B43_LPPHY_PHASE_SHIFT_CTL B43_PHY_OFDM(0x33) /* phase shift Control */
143 #define B43_LPPHY_OFDM_SYNC_CTL B43_PHY_OFDM(0x35) /* ofdm sync Control */
144 #define B43_LPPHY_AFE_ADC_CTL_0 B43_PHY_OFDM(0x36) /* Afe ADC Control 0 */
145 #define B43_LPPHY_AFE_ADC_CTL_1 B43_PHY_OFDM(0x37) /* Afe ADC Control 1 */
146 #define B43_LPPHY_AFE_ADC_CTL_2 B43_PHY_OFDM(0x38) /* Afe ADC Control 2 */
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/broadcom/b43/
Dphy_lp.h36 #define B43_LPPHY_TSSI_CTL B43_PHY_CCK(0x28) /* TSSI Control */
80 #define B43_LPPHY_FINEDIGIGAIN_CTL B43_PHY_CCK(0x67) /* FineDigiGain Control */
106 #define B43_LPPHY_CRSGAIN_CTL B43_PHY_OFDM(0x10) /* crsgain Control */
117 #define B43_LPPHY_LTRN_CTL B43_PHY_OFDM(0x1B) /* LTRN Control */
123 #define B43_LPPHY_OFDMSYNCTIMER_CTL B43_PHY_OFDM(0x21) /* ofdmSyncTimer Control */
141 #define B43_LPPHY_PHASE_SHIFT_CTL B43_PHY_OFDM(0x33) /* phase shift Control */
143 #define B43_LPPHY_OFDM_SYNC_CTL B43_PHY_OFDM(0x35) /* ofdm sync Control */
144 #define B43_LPPHY_AFE_ADC_CTL_0 B43_PHY_OFDM(0x36) /* Afe ADC Control 0 */
145 #define B43_LPPHY_AFE_ADC_CTL_1 B43_PHY_OFDM(0x37) /* Afe ADC Control 1 */
146 #define B43_LPPHY_AFE_ADC_CTL_2 B43_PHY_OFDM(0x38) /* Afe ADC Control 2 */
[all …]
/kernel/linux/linux-5.10/include/linux/greybus/
Dcontrol.h3 * Greybus CPort control protocol
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);
[all …]
/kernel/linux/linux-5.10/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 …]
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.
32 Extended Control API, nowadays there are also other classes of Extended
38 The 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
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dadv7183_regs.h11 #define ADV7183_IN_CTRL 0x00 /* Input control */
13 #define ADV7183_OUT_CTRL 0x03 /* Output control */
14 #define ADV7183_EXT_OUT_CTRL 0x04 /* Extended output control */
21 #define ADV7183_ADI_CTRL 0x0E /* ADI control */
27 #define ADV7183_ANAL_CLAMP_CTRL 0x14 /* Analog clamp control */
28 #define ADV7183_DIGI_CLAMP_CTRL_1 0x15 /* Digital clamp control 1 */
29 #define ADV7183_SHAP_FILT_CTRL 0x17 /* Shaping filter control */
30 #define ADV7183_SHAP_FILT_CTRL_2 0x18 /* Shaping filter control 2 */
31 #define ADV7183_COMB_FILT_CTRL 0x19 /* Comb filter control */
32 #define ADV7183_ADI_CTRL_2 0x1D /* ADI control 2 */
[all …]

12345678910>>...311