Home
last modified time | relevance | path

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

12345678910>>...21

/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/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/
H A Dmode_selection.c16 * struct mode_state - State tracking for a specific Type-C alternate mode
17 * @svid: Standard or Vendor ID of the Alternate Mode
30 * struct mode_selection - Manages the selection and state of Alternate Modes
31 * @mode_list: Prioritized list of available Alternate Modes
52 * @svid: Standard or Vendor ID of the Alternate Mode
88 * The port driver may acquire its internal mutex during alternate mode in mode_selection_activate()
113 * mode_selection_work_fn() - Alternate mode activation task
116 * - If the Alternate Mode currently prioritized at the top of the list is already
118 * - If a different Alternate Mode is currently active, the system must exit that
127 * a timeout period. The alternate mode driver is expected to call back with the
/linux/include/linux/gpio/
H A Dgpio-nomadik.h75 /* Alternate functions: function C is set in hw by setting both A and B */
125 * enum prcm_gpiocr_altcx_index - Used to reference an Other alternate-C function.
136 * struct prcm_gpiocr_altcx - Other alternate-C function
137 * @used: other alternate-C function availability
148 * struct prcm_gpiocr_altcx_pin_desc - Other alternate-C pin
150 * @altcx: array of other alternate-C[1-4] functions
197 * @altcx_pins: The pins that support Other alternate-C function on this SoC
198 * @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-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 …]
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
/linux/Documentation/devicetree/bindings/pinctrl/
H A Drenesas,rzn1-pinctrl.yaml50 single) pin in some desired alternate function mode.
58 When a pin has to be configured in alternate function mode, use
60 its alternate function configuration number along with it.
62 same alternate function they shall be specified as members of the
67 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/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/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/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
64 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_enter()
123 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_exit()
214 "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/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/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/Documentation/ABI/obsolete/
H A Dsysfs-class-typec9 alternate mode.
40 with the port alternate modes it can be used for disabling
41 support for specific alternate modes. Entering/exiting modes is
/linux/Documentation/devicetree/bindings/interconnect/
H A Dqcom,osm-l3.yaml58 - description: alternate clock
63 - const: alternate
88 clock-names = "xo", "alternate";
/linux/arch/s390/include/uapi/asm/
H A Dpkey.h315 * of the key matching to the current or alternate mkvp of the apqn.
320 * PKEY_FLAGS_MATCH_CUR_MKVP bit is set, if the alternate mkvp matches to
322 * alternate mkvp is the old master key verification pattern.
326 * the current wkvp of the apqns. There is no alternate for this type of
330 * matches with the current or alternate mkvp to the key's mkvp. If the given
377 * the current mkvp (CCA and EP11) or the alternate mkvp (old mkvp, CCA adapters
382 * alternate mkvp matches. At least one of the matching flags needs to be given.
415 * mkvp. The flags argument controls if the apqns current and/or alternate mkvp
419 * current or the alternate mkvp matches. If no match flag is given
437 __u8 alt_mkvp[32]; /* in: alternate mkvp */
/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-abx500.h13 /* pins alternate function */
79 * alternate function
81 * alternate function
154 * @alternate_functions: array describing pins which supports alternate and
/linux/tools/testing/selftests/mm/
H A Dpkey_sighandler_tests.c6 * using an alternate signal stack, with the default pkey (pkey 0) disabled.
183 * Setup alternate signal stack, which should be pkey_mprotect()ed by in thread_segv_maperr_ptr()
202 * Note that the new thread stack and the alternate signal stack is
240 * Note that the new thread stack and the alternate signal stack is
278 * Verify that the sigsegv handler that uses an alternate signal stack
317 /* Set up alternate signal stack that will use the default MPK */ in test_sigsegv_handler_with_different_pkey_for_stack()
409 * Setup alternate signal stack, which should be pkey_mprotect()ed by in thread_sigusr2_self()
490 /* Set up alternate signal stack that will use the default MPK */ in test_pkru_sigreturn()

12345678910>>...21