Home
last modified time | relevance | path

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

12345678910>>...29

/linux/Documentation/driver-api/usb/
H A 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 …]
H A 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 …]
/linux/include/linux/usb/
H A Dtypec_altmode.h15 * struct typec_altmode - USB Type-C alternate mode device
17 * @svid: Standard or Vendor ID (SVID) of the alternate mode
51 * struct typec_altmode_ops - Alternate mode specific operations vector
56 * @notify: Communication channel for platform and the alternate mode
81 * struct typec_cable_ops - Cable alternate mode operations vector
100 * @altmode: Handle to the alternate mode
116 TYPEC_STATE_MODAL, /* Alternate Modes */
120 * For the muxes there is no difference between Accessory Modes and Alternate
122 * here. Unlike with Alternate Modes, where the mux will be linked with the
123 * alternate mode device, the mux for Accessory Modes will be linked with the
[all …]
/linux/drivers/usb/typec/
H A Dbus.c3 * Bus for USB Type-C Alternate Modes
74 * typec_altmode_notify - Communication between the OS and alternate mode driver
75 * @adev: Handle to the alternate mode
76 * @conf: Alternate mode specific configuration value
77 * @data: Alternate mode specific data
79 * The primary purpose for this function is to allow the alternate mode drivers
83 * drivers can also send notifications to the alternate mode drivers. The actual
118 * @adev: The alternate mode
121 * The alternate mode drivers use this function to enter mode. The port drivers
122 * use this to inform the alternate mode drivers that the partner has initiated
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A 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.
78 single) pin in some desired alternate function mode.
80 A few alternate function require special pin configuration flags to be
81 supplied along with the alternate function configuration number.
98 When a pin has to be configured in alternate function mode, use
100 its alternate function configuration number along with it.
102 same alternate function they shall be specified as members of the
105 (port where it sits on and pin number) and alternate function
146 * Pin #0 on port #3 is configured as alternate function #6.
[all …]
H A Drenesas,rzn1-pinctrl.yaml52 single) pin in some desired alternate function mode.
60 When a pin has to be configured in alternate function mode, use
62 its alternate function configuration number along with it.
64 same alternate function they shall be specified as members of the
69 MUX_FUNC is one of the alternate function identifiers defined in:
H A Drenesas,rza2-pinctrl.yaml18 (port mode) or in alternate function mode.
19 Up to 8 different alternate function modes exist for each single pin.
52 (or a single) pin in some desired alternate function mode.
64 alternate function configuration number using the RZA2_PINMUX()
/linux/arch/powerpc/perf/
H A 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 …]
H A Dpower9-events-list.h23 /* Alternate event code for PM_LD_MISS_L1 */
53 /* Alternate event code for PM_RUN_INST_CMPL */
57 /* Alternate event code for Run_cycles */
64 /* ALternate branch event that are not strongly biased */
/linux/Documentation/ABI/testing/
H A 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.
H A Dsysfs-class-watchdog100 system has booted from the alternate flash chip due to
102 alternate boot function was enabled with 'aspeed,alt-boot'
106 At alternate flash the 'access_cs0' sysfs node provides:
110 chip at CS0 after booting from the alternate
121 For alternate boot mode (booted from CS1 due to wdt2
/linux/drivers/usb/typec/altmodes/
H A DKconfig3 menu "USB Type-C Alternate Mode drivers"
6 tristate "DisplayPort Alternate Mode driver"
9 DisplayPort USB Type-C Alternate Mode allows DisplayPort
17 tristate "NVIDIA Alternate Mode driver"
/linux/include/linux/gpio/
H A Dgpio-nomadik.h75 /* Alternate functions: function C is set in hw by setting both A and B */
127 * Used to reference an Other alternate-C function.
138 * struct prcm_gpio_altcx - Other alternate-C function
139 * @used: other alternate-C function availability
150 * struct prcm_gpio_altcx_pin_desc - Other alternate-C pin
152 * @altcx: array of other alternate-C[1-4] functions
199 * @altcx_pins: The pins that support Other alternate-C function on this SoC
200 * @npins_altcx: The number of Other alternate-C pins
/linux/Documentation/arch/arm/pxa/
H A 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 …]
/linux/drivers/media/usb/pwc/
H A 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
H A 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 …]
/linux/drivers/clk/rockchip/
H A Dclk-cpu.c28 * alternate clock source. If required, the alternate clock source is divided
42 * @alt_parent: alternate parent clock to use when switching the speed
103 /* alternate parent is active now. set the dividers */ in rockchip_cpuclk_set_dividers()
121 /* alternate parent is active now. set the pre_muxs */ in rockchip_cpuclk_set_pre_muxs()
139 /* alternate parent is active now. set the muxs */ in rockchip_cpuclk_set_post_muxs()
175 * of the alternate parent, then it should be ensured that at no point in rockchip_cpuclk_pre_rate_change()
207 /* select alternate parent */ in rockchip_cpuclk_pre_rate_change()
341 pr_err("%s: could not lookup alternate parent: (%d)\n", in rockchip_clk_register_cpuclk()
349 pr_err("%s: could not enable alternate parent\n", in rockchip_clk_register_cpuclk()
/linux/include/sound/
H A Dcs4231-regs.h37 #define CS4231_ALT_FEATURE_1 0x10 /* alternate #1 feature enable */
38 #define AD1845_AF1_MIC_LEFT 0x10 /* alternate #1 feature + MIC left */
39 #define CS4231_ALT_FEATURE_2 0x11 /* alternate #2 feature enable */
40 #define AD1845_AF2_MIC_RIGHT 0x11 /* alternate #2 feature + MIC right */
133 /* definitions for alternate feature 1 register - CS4231_ALT_FEATURE_1 */
144 #define CS4236_LEFT_LINE 0x08 /* left LINE alternate volume */
145 #define CS4236_RIGHT_LINE 0x18 /* right LINE alternate volume */
H A Dminors.h78 #define SNDRV_MINOR_OSS_MIXER1 11 /* alternate mixer */
79 #define SNDRV_MINOR_OSS_PCM1 12 /* alternate PCM (GF-A-1) */
80 #define SNDRV_MINOR_OSS_MIDI1 13 /* alternate midi - SYNTH */
81 #define SNDRV_MINOR_OSS_DMMIDI1 14 /* alternate dmmidi - SYNTH */
/linux/drivers/clk/samsung/
H A Dclk-cpu.c28 * alternate clock source. If required, the alternate clock source is divided
85 * @alt_parent: alternate parent clock to use when switching the speed
230 * the alternate parent, then it should be ensured that at no point in exynos_cpuclk_pre_rate_change()
255 /* select sclk_mpll as the alternate parent */ in exynos_cpuclk_pre_rate_change()
260 /* alternate parent is active now. set the dividers */ in exynos_cpuclk_pre_rate_change()
296 /* select mout_apll as the alternate parent */ in exynos_cpuclk_post_rate_change()
351 * the alternate parent, then it should be ensured that at no point in exynos5433_cpuclk_pre_rate_change()
368 /* select the alternate parent */ in exynos5433_cpuclk_pre_rate_change()
373 /* alternate parent is active now. set the dividers */ in exynos5433_cpuclk_pre_rate_change()
396 /* select apll as the alternate parent */ in exynos5433_cpuclk_post_rate_change()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c3 * UCSI DisplayPort Alternate Mode Support
34 * Note. Alternate mode control is optional feature in UCSI. It means that even
35 * if the system supports alternate modes, the OS may not be aware of them.
37 * In most cases however, the OS will be able to see the supported alternate
63 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_enter()
121 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_exit()
211 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_vdm()
/linux/drivers/hid/
H A Dhid-pxrc.c17 bool alternate; member
58 if (priv->alternate) in pxrc_raw_event()
66 priv->alternate = !priv->alternate; in pxrc_raw_event()
/linux/Documentation/devicetree/bindings/interconnect/
H A Dqcom,osm-l3.yaml44 - description: alternate clock
49 - const: alternate
74 clock-names = "xo", "alternate";
/linux/include/linux/soc/pxa/
H A Dmfp.h328 * bit 10..12 - Alternate Function Selection
337 * alternate function = 0,
342 * MFP_CFG - default MFPR value with alternate function
343 * MFP_CFG_DRV - default MFPR value with alternate function and
345 * MFP_CFG_LPM - default MFPR value with alternate function and
347 * MFP_CFG_X - default MFPR value with alternate function,
/linux/drivers/input/misc/
H A Drb532_button.c22 * pin is also used for uart input as alternate function, the
25 * 2) turn off alternate function implicitly through
28 * 4) undo step 2 by enabling alternate function (in this

12345678910>>...29