Home
last modified time | relevance | path

Searched full:alternate (Results 1 – 25 of 1328) sorted by relevance

12345678910>>...54

/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dtypec_bus.rst2 API for USB Type-C Alternate Mode drivers
8 Alternate modes require communication with the partner using Vendor Defined
11 every alternate mode, so every alternate mode will need a custom driver.
13 USB Type-C bus allows binding a driver to the discovered partner alternate
16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate
17 mode a port supports, and separate device for every alternate mode the partner
18 supports. The drivers for the alternate modes are bound to the partner alternate
19 mode devices, and the port alternate mode devices must be handled by the port
22 When a new partner alternate mode device is registered, it is linked to the
23 alternate mode device of the port that the partner is attached to, that has
[all …]
Dtypec.rst22 the roles and alternate modes of ports, partners and cable plugs when the port
46 If the port, partner or cable plug supports Alternate Modes, every supported
47 Alternate Mode SVID will have their own device describing them. Note that the
48 Alternate Mode devices will not be attached to the typec class. The parent of an
49 alternate mode will be the device that supports it, so for example an alternate
51 Every mode that is supported will have its own group under the Alternate Mode
52 device named "mode<index>", for example /sys/class/typec/port0/<alternate
142 Alternate Modes
145 USB Type-C ports, partners and cable plugs may support Alternate Modes. Each
146 Alternate Mode will have identifier called SVID, which is either a Standard ID
[all …]
/kernel/linux/linux-4.19/Documentation/driver-api/usb/
Dtypec_bus.rst2 API for USB Type-C Alternate Mode drivers
8 Alternate modes require communication with the partner using Vendor Defined
11 every alternate mode, so every alternate mode will need a custom driver.
13 USB Type-C bus allows binding a driver to the discovered partner alternate
16 USB Type-C Connector Class provides a device for every alternate mode a port
17 supports, and separate device for every alternate mode the partner supports.
18 The drivers for the alternate modes are bound to the partner alternate mode
19 devices, and the port alternate mode devices must be handled by the port
22 When a new partner alternate mode device is registered, it is linked to the
23 alternate mode device of the port that the partner is attached to, that has
[all …]
Dtypec.rst21 the roles and alternate modes of ports, partners and cable plugs when the port
45 If the port, partner or cable plug supports Alternate Modes, every supported
46 Alternate Mode SVID will have their own device describing them. Note that the
47 Alternate Mode devices will not be attached to the typec class. The parent of an
48 alternate mode will be the device that supports it, so for example an alternate
50 Every mode that is supported will have its own group under the Alternate Mode
51 device named "mode<index>", for example /sys/class/typec/port0/<alternate
141 Alternate Modes
144 USB Type-C ports, partners and cable plugs may support Alternate Modes. Each
145 Alternate Mode will have identifier called SVID, which is either a Standard ID
[all …]
/kernel/linux/linux-5.10/include/linux/usb/
Dtypec_altmode.h15 * struct typec_altmode - USB Type-C alternate mode device
17 * @svid: Standard or Vendor ID (SVID) of the alternate mode
49 * struct typec_altmode_ops - Alternate mode specific operations vector
54 * @notify: Communication channel for platform and the alternate mode
86 TYPEC_STATE_MODAL, /* Alternate Modes */
90 * For the muxes there is no difference between Accessory Modes and Alternate
92 * here. Unlike with Alternate Modes, where the mux will be linked with the
93 * alternate mode device, the mux for Accessory Modes will be linked with the
100 * Alternate Modes. USB4 mode is however not entered with the Enter Mode Command
101 * like the Alternate Modes are, but instead with a special Enter_USB Message.
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/
Dbus.c3 * Bus for USB Type-C Alternate Modes
43 * typec_altmode_notify - Communication between the OS and alternate mode driver
44 * @adev: Handle to the alternate mode
45 * @conf: Alternate mode specific configuration value
46 * @data: Alternate mode specific data
48 * The primary purpose for this function is to allow the alternate mode drivers
52 * drivers can also send notifications to the alternate mode drivers. The actual
87 * @adev: The alternate mode
90 * The alternate mode drivers use this function to enter mode. The port drivers
91 * use this to inform the alternate mode drivers that the partner has initiated
[all …]
/kernel/linux/linux-4.19/drivers/usb/typec/
Dbus.c3 * Bus for USB Type-C Alternate Modes
39 * typec_altmode_notify - Communication between the OS and alternate mode driver
40 * @adev: Handle to the alternate mode
41 * @conf: Alternate mode specific configuration value
42 * @data: Alternate mode specific data
44 * The primary purpose for this function is to allow the alternate mode drivers
48 * drivers can also send notifications to the alternate mode drivers. The actual
86 * @adev: The alternate mode
88 * The alternate mode drivers use this function to enter mode. The port drivers
89 * use this to inform the alternate mode drivers that the partner has initiated
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Drenesas,rza1-ports.yaml19 function (port mode) or in alternate function mode.
20 Up to 8 different alternate function modes exist for each single pin.
74 single) pin in some desired alternate function mode.
76 A few alternate function require special pin configuration flags to be
77 supplied along with the alternate function configuration number.
94 When a pin has to be configured in alternate function mode, use
96 its alternate function configuration number along with it.
98 same alternate function they shall be specified as members of the
101 (port where it sits on and pin number) and alternate function
146 * Pin #0 on port #3 is configured as alternate function #6.
[all …]
Drenesas,rzn1-pinctrl.yaml49 single) pin in some desired alternate function mode.
57 When a pin has to be configured in alternate function mode, use
59 its alternate function configuration number along with it.
61 same alternate function they shall be specified as members of the
66 MUX_FUNC is one of the alternate function identifiers defined in:
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dpower8-events-list.h50 /* Alternate event code for PM_RUN_INST_CMPL */
54 /* Alternate event code for Run_cycles */
58 /* Alternate event code for Marked store completed */
62 /* Alternate event code for PM_BR_MRK_2PATH */
66 /* Alternate event code for PM_L3_CO_MEPF */
70 /* Alternate event code for PM_MRK_DATA_FROM_L2MISS */
72 /* Alternate event code for PM_CMPLU_STALL */
76 /* Alternate event code for PM_BR_2PATH */
80 /* Alternate event code for PM_INST_DISP */
84 /* Alternate event code for PM_MRK_FILT_MATCH */
[all …]
/kernel/linux/linux-4.19/arch/powerpc/perf/
Dpower8-events-list.h54 /* Alternate event code for PM_RUN_INST_CMPL */
58 /* Alternate event code for Run_cycles */
62 /* Alternate event code for Marked store completed */
66 /* Alternate event code for PM_BR_MRK_2PATH */
70 /* Alternate event code for PM_L3_CO_MEPF */
74 /* Alternate event code for PM_MRK_DATA_FROM_L2MISS */
76 /* Alternate event code for PM_CMPLU_STALL */
80 /* Alternate event code for PM_BR_2PATH */
84 /* Alternate event code for PM_INST_DISP */
88 /* Alternate event code for PM_MRK_FILT_MATCH */
[all …]
Dpower9-events-list.h27 /* Alternate event code for PM_LD_MISS_L1 */
57 /* Alternate event code for PM_RUN_INST_CMPL */
61 /* Alternate event code for Run_cycles */
66 /* Alternate Branch event code */
70 /* ALternate branch event that are not strongly biased */
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/
Drenesas,rza1-pinctrl.txt8 function (port mode) or in alternate function mode.
9 Up to 8 different alternate function modes exist for each single pin.
41 (or a single) pin in some desired alternate function mode.
43 A few alternate function require special pin configuration flags to be
44 supplied along with the alternate function configuration number.
103 When a pin has to be configured in alternate function mode, use this
105 alternate function configuration number along with it.
107 alternate function they shall be specified as members of the same
110 (port where it sits on and pin number) and alternate function identifier
140 Pin #0 on port #3 is configured as alternate function #6.
[all …]
/kernel/linux/linux-4.19/include/linux/usb/
Dtypec_altmode.h15 * struct typec_altmode - USB Type-C alternate mode device
17 * @svid: Standard or Vendor ID (SVID) of the alternate mode
49 * struct typec_altmode_ops - Alternate mode specific operations vector
54 * @notify: Communication channel for platform and the alternate mode
86 TYPEC_STATE_MODAL, /* Alternate Modes */
90 * For the muxes there is no difference between Accessory Modes and Alternate
92 * here. Unlike with Alternate Modes, where the mux will be linked with the
93 * alternate mode device, the mux for Accessory Modes will be linked with the
122 * altmode: Handle to the alternate mode
131 * struct typec_altmode_driver - USB Type-C alternate mode device driver
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-typec27 Power Delivery command. Depending on the alternate mode, the
30 With some alternate modes (SVIDs), the mode index is assigned
32 alternate mode.
34 With other alternate modes, the mode index values are not
36 the mode index is not assigned, identifying the alternate mode
44 alternate mode.
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-bus-typec27 Power Delivery command. Depending on the alternate mode, the
30 With some alternate modes (SVIDs), the mode index is assigned
32 alternate mode.
34 With other alternate modes, the mode index values are not
36 the mode index is not assigned, identifying the alternate mode
44 alternate mode.
/kernel/linux/linux-4.19/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.h10 /* Alternate functions: function C is set in hw by setting both A and B */
62 * Used to reference an Other alternate-C function.
73 * struct prcm_gpio_altcx - Other alternate-C function
74 * @used: other alternate-C function availability
85 * struct prcm_gpio_altcx_pin_desc - Other alternate-C pin
87 * @altcx: array of other alternate-C[1-4] functions
134 * @altcx_pins: The pins that support Other alternate-C function on this SoC
135 * @npins_altcx: The number of Other alternate-C pins
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.h10 /* Alternate functions: function C is set in hw by setting both A and B */
62 * Used to reference an Other alternate-C function.
73 * struct prcm_gpio_altcx - Other alternate-C function
74 * @used: other alternate-C function availability
85 * struct prcm_gpio_altcx_pin_desc - Other alternate-C pin
87 * @altcx: array of other alternate-C[1-4] functions
134 * @altcx_pins: The pins that support Other alternate-C function on this SoC
135 * @npins_altcx: The number of Other alternate-C pins
/kernel/linux/linux-5.10/drivers/usb/typec/altmodes/
DKconfig3 menu "USB Type-C Alternate Mode drivers"
6 tristate "DisplayPort Alternate Mode driver"
8 DisplayPort USB Type-C Alternate Mode allows DisplayPort
16 tristate "NVIDIA Alternate Mode driver"
/kernel/linux/linux-4.19/Documentation/arm/pxa/
Dmfp.txt12 Unlike the GPIO alternate function settings on PXA25x and PXA27x, a new MFP
45 To better understand the change from PXA25x/PXA27x GPIO alternate function
54 2. Alternate function configuration is removed from this GPIO controller,
172 Bit 15: PULL_SEL - pull state controlled by selected alternate function
175 Bit 0 - 2: AF_SEL - alternate function selection, 8 possibilities, from 0-7
239 * bit 10..12 - Alternate Function Selection
248 * alternate function = 0,
253 * MFP_CFG - default MFPR value with alternate function
254 * MFP_CFG_DRV - default MFPR value with alternate function and
256 * MFP_CFG_LPM - default MFPR value with alternate function and
[all …]
/kernel/linux/linux-5.10/Documentation/arm/pxa/
Dmfp.rst14 Unlike the GPIO alternate function settings on PXA25x and PXA27x, a new MFP
47 To better understand the change from PXA25x/PXA27x GPIO alternate function
56 2. Alternate function configuration is removed from this GPIO controller,
174 Bit 15: PULL_SEL - pull state controlled by selected alternate function
177 Bit 0 - 2: AF_SEL - alternate function selection, 8 possibilities, from 0-7
241 * bit 10..12 - Alternate Function Selection
250 * alternate function = 0,
255 * MFP_CFG - default MFPR value with alternate function
256 * MFP_CFG_DRV - default MFPR value with alternate function and
258 * MFP_CFG_LPM - default MFPR value with alternate function and
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc-timon.h17 It lists the bandwidth requirements for said mode by its alternate interface
18 number. An alternate of 0 means that the mode is unavailable.
39 char alternate; /* USB alternate interface */ member
Dpwc-ctrl.c74 An alternate value of 0 means this mode is not available at all.
80 char alternate; /* USB alternate setting */ member
177 if (pEntry->alternate == 0) in set_video_mode_Nala()
192 pdev->valternate = pEntry->alternate; in set_video_mode_Nala()
235 if (pChoose->alternate != 0) in set_video_mode_Timon()
240 if (pChoose->alternate == 0) in set_video_mode_Timon()
255 pdev->valternate = pChoose->alternate; in set_video_mode_Timon()
286 if (pChoose->alternate != 0) in set_video_mode_Kiara()
291 if (pChoose->alternate == 0) in set_video_mode_Kiara()
306 pdev->valternate = pChoose->alternate; in set_video_mode_Kiara()
[all …]
/kernel/linux/linux-4.19/drivers/usb/typec/altmodes/
DKconfig2 menu "USB Type-C Alternate Mode drivers"
5 tristate "DisplayPort Alternate Mode driver"
7 DisplayPort USB Type-C Alternate Mode allows DisplayPort
/kernel/linux/linux-4.19/drivers/media/usb/pwc/
Dpwc-ctrl.c86 An alternate value of 0 means this mode is not available at all.
92 char alternate; /* USB alternate setting */ member
189 if (pEntry->alternate == 0) in set_video_mode_Nala()
204 pdev->valternate = pEntry->alternate; in set_video_mode_Nala()
248 if (pChoose->alternate != 0) in set_video_mode_Timon()
252 if (pChoose == NULL || pChoose->alternate == 0) in set_video_mode_Timon()
267 pdev->valternate = pChoose->alternate; in set_video_mode_Timon()
298 if (pChoose->alternate != 0) in set_video_mode_Kiara()
302 if (pChoose == NULL || pChoose->alternate == 0) in set_video_mode_Kiara()
317 pdev->valternate = pChoose->alternate; in set_video_mode_Kiara()
[all …]

12345678910>>...54