Home
last modified time | relevance | path

Searched +full:input +full:- +full:type (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/linux/rust/syn/
H A Dty.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
20 /// This type is a [syntax tree enum].
22 /// [syntax tree enum]: crate::expr::Expr#syntax-tree-enums
25 pub enum Type {
26 /// A fixed size array type: `[T; n]`.
29 /// A bare function type: `fn(usize) -> bool`.
32 /// A type contained within invisible delimiters.
35 /// An `impl Bound1 + Bound2 + Bound3` type where `Bound` is a trait or
39 /// Indication that a type should be inferred by the compiler: `_`.
42 /// A macro in the type position.
[all …]
H A Dgenerics.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
10 use crate::ty::Type;
12 #[cfg(all(feature = "printing", feature = "extra-traits"))]
14 #[cfg(all(feature = "printing", feature = "extra-traits"))]
18 /// Lifetimes and type parameters attached to a declaration of a function,
25 …/// [generic parameters]: https://doc.rust-lang.org/stable/reference/items/generics.html#generic-p…
26 /// [where clause]: https://doc.rust-lang.org/stable/reference/items/generics.html#where-clauses
37 /// A generic type parameter, lifetime, or const generic: `T: Into<String>`,
42 /// This type is a [syntax tree enum].
44 /// [syntax tree enum]: crate::expr::Expr#syntax-tree-enums
[all …]
H A Ditem.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
17 use crate::ty::{Abi, ReturnType, Type};
27 /// This type is a [syntax tree enum].
29 /// [syntax tree enum]: crate::expr::Expr#syntax-tree-enums
42 /// A free-standing function: `fn process(n: usize) -> Result<()> { ...
71 /// A type alias: `type Result<T> = std::result::Result<T, MyError>`.
72 Type(ItemType),
113 pub ty: Box<Type>,
149 /// A free-standing function: `fn process(n: usize) -> Result<()> { ... }`.
183 /// The Self type of the impl.
[all …]
H A Dparse_quote.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
3 /// Quasi-quotation macro that accepts input like the [`quote!`] macro but uses
4 /// type inference to figure out a return type for those tokens.
8 /// The return type can be any syntax tree node that implements the [`Parse`]
34 /// The following helper function adds a bound `T: HeapSize` to every type
35 /// parameter `T` in the input generics.
40 /// // Add a bound `T: HeapSize` to every type parameter T.
41 /// fn add_trait_bounds(mut generics: Generics) -> Generics {
43 /// if let GenericParam::Type(type_param) = param {
56 /// - [`Attribute`] — parses one attribute, allowing either outer like `#[...]`
[all …]
H A Dpath.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
11 use crate::ty::{ReturnType, Type};
26 fn from(segment: T) -> Self { in from()
42 /// - the path has no leading colon,
43 /// - the number of path segments is 1,
44 /// - the first path segment has no angle bracketed or parenthesized
46 /// - the ident of the first path segment is equal to the given one.
54 /// fn get_serde_meta_item(attr: &Attribute) -> Result<Option<&TokenStream>> {
65 pub fn is_ident<I>(&self, ident: &I) -> bool in is_ident()
80 /// - the path has no leading colon,
[all …]
H A Ddata.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
9 use crate::ty::Type;
33 /// This type is a [syntax tree enum].
35 /// [syntax tree enum]: crate::expr::Expr#syntax-tree-enums
73 pub fn iter(&self) -> punctuated::Iter<Field> { in iter()
84 pub fn iter_mut(&mut self) -> punctuated::IterMut<Field> { in iter_mut()
93 pub fn len(&self) -> usize { in len()
102 pub fn is_empty(&self) -> bool { in is_empty()
119 /// the generic type parameters.)
124 /// fn derive_clone(input: &syn::ItemStruct) -> proc_macro2::TokenStream {
[all …]
/linux/drivers/hv/
H A Dmshv_root_hv_call.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #define HV_PAGE_COUNT_2M_ALIGNED(pg_count) (!((pg_count) & (0x200 - 1)))
26 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_input_map_gpa_pages)) \
29 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_input_get_vp_state)) \
32 ((HV_HYP_PAGE_SIZE - sizeof(struct hv_input_set_vp_state)) \
35 ((HV_HYP_PAGE_SIZE - sizeof(union hv_gpa_page_access_state)) \
38 ((HV_HYP_PAGE_SIZE - \
54 return -ENOMEM; in hv_call_withdraw_memory()
63 input_page->partition_id = partition_id; in hv_call_withdraw_memory()
65 min(count - withdrawn, HV_WITHDRAW_BATCH_SIZE), in hv_call_withdraw_memory()
[all …]
/linux/Documentation/devicetree/bindings/iio/addac/
H A Dadi,ad74115.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74115H is a single-channel software configurable input/output
15 analog output, analog input, digital output, digital input, resistance
17 chip solution with an SPI interface. The device features a 16-bit ADC and a
18 14-bit DAC.
25 - adi,ad74115h
30 spi-max-frequency:
[all …]
/linux/Documentation/netlink/specs/
H A Dovpn.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 # Copyright (c) 2024-2025, OpenVPN Inc.
7 ---
15 -
16 type: const
17 name: nonce-tail-size
19 -
20 type: enum
21 name: cipher-alg
22 entries: [none, aes-gcm, chacha20-poly1305]
[all …]
H A Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
8 -
9 type: enum
16 -
18 doc: input can be only selected by sending a request to dpll
20 -
22 doc: highest prio input pin auto selected by dpll
23 render-max: true
24 -
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enuminput.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_ENUMINPUT - Enumerate video inputs
29 Pointer to struct :c:type:`v4l2_input`.
34 To query the attributes of a video input applications initialize the
35 ``index`` field of struct :c:type:`v4l2_input` and call the
43 .. c:type:: v4l2_input
45 .. flat-table:: struct v4l2_input
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
[all …]
H A Daudio.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
21 more than one video input or output. Assumed two composite video inputs
25 :c:type:`v4l2_input` or struct
26 :c:type:`v4l2_output`, where each bit represents the index
27 number, starting at zero, of one audio input or output.
33 The struct :c:type:`v4l2_audio` returned by the
35 status information applicable when the current audio input is queried.
39 audio input and output, respectively.
48 To select an audio input and change its properties applications call the
53 Drivers must implement all audio input ioctls when the device has
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 chassis-type = "handset";
18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
[all …]
/linux/drivers/media/pci/cx88/
H A Dcx88-cards.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * card-specific stuff.
19 static unsigned int tuner[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
20 static unsigned int radio[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
21 static unsigned int card[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET };
27 MODULE_PARM_DESC(tuner, "tuner type");
28 MODULE_PARM_DESC(radio, "radio tuner type");
29 MODULE_PARM_DESC(card, "card type");
45 /* ------------------------------------------------------------------ */
58 .input = { {
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun4i-a10-inet9f-rev03.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "iNet-9F Rev 03";
52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10";
59 stdout-path = "serial0:115200n8";
[all …]
/linux/tools/testing/selftests/damon/
H A Dsysfs.sh2 # SPDX-License-Identifier: GPL-2.0
6 # Kselftest framework requirement - SKIP code is 4.
41 if [ "$to_ensure" = "exist" ] && [ ! -d "$dir" ]
45 elif [ "$to_ensure" = "not_exist" ] && [ -d "$dir" ]
59 if [ ! -f "$file" ]
64 perm=$(stat -c "%a" "$file")
70 elif [ "$to_ensure" = "not_exist" ] && [ -f "$file" ]
113 ensure_write_succ "$dests_dir/nr_dests" "1" "valid input"
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs48l32.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
13 The CS48L32 is a high-performance low-power audio DSP for smartphones and
15 DSP with a variety of power-efficient fixed-function audio processors.
19 include/dt-bindings/sound/cs48l32.yaml
22 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - $ref: dai-common.yaml#
28 - cirrus,cs48l32
[all …]
/linux/drivers/input/misc/
H A Dmax77650-onkey.c1 // SPDX-License-Identifier: GPL-2.0
6 // ONKEY driver for MAXIM 77650/77651 charger/power-supply.
9 #include <linux/input.h>
21 struct input_dev *input; member
29 input_report_key(onkey->input, onkey->code, 0); in max77650_onkey_falling()
30 input_sync(onkey->input); in max77650_onkey_falling()
39 input_report_key(onkey->input, onkey->code, 1); in max77650_onkey_rising()
40 input_sync(onkey->input); in max77650_onkey_rising()
51 unsigned int type; in max77650_onkey_probe() local
53 dev = &pdev->dev; in max77650_onkey_probe()
[all …]
H A Dcs40l50-vibra.c1 // SPDX-License-Identifier: GPL-2.0
4 * integrated DSP, and closed-loop algorithms
12 #include <linux/input.h>
52 enum cs40l50_bank_type type; member
58 enum cs40l50_bank_type type; member
82 struct input_dev *input; member
100 .type = CS40L50_WVFRM_BANK_RAM,
105 .type = CS40L50_WVFRM_BANK_ROM,
110 .type = CS40L50_WVFRM_BANK_OWT,
133 if (effect->id == id) in cs40l50_find_effect()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_model.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
12 int (*val)(struct ixgbe_fdir_filter *input,
15 unsigned int type; member
20 struct ixgbe_fdir_filter *input; member
28 static inline int ixgbe_mat_prgm_sip(struct ixgbe_fdir_filter *input, in ixgbe_mat_prgm_sip() argument
32 input->filter.formatted.src_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_sip()
33 mask->formatted.src_ip[0] = (__force __be32)m; in ixgbe_mat_prgm_sip()
37 static inline int ixgbe_mat_prgm_dip(struct ixgbe_fdir_filter *input, in ixgbe_mat_prgm_dip() argument
41 input->filter.formatted.dst_ip[0] = (__force __be32)val; in ixgbe_mat_prgm_dip()
[all …]
/linux/drivers/input/
H A Dff-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Force feedback support for Linux input subsystem
12 #include <linux/input.h>
26 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()
27 !ff->effect_owners[effect_id]) in check_effect_access()
28 return -EINVAL; in check_effect_access()
30 if (file && ff->effect_owners[effect_id] != file) in check_effect_access()
31 return -EACCES; in check_effect_access()
42 return e1->type == e2->type && in check_effects_compatible()
43 (e1->type != FF_PERIODIC || in check_effects_compatible()
[all …]
H A Dinput.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * The input core
5 * Copyright (c) 1999-2002 Vojtech Pavlik
15 #include <linux/input/mt.h>
29 #include "input-compat.h"
30 #include "input-core-private.h"
31 #include "input-poller.h"
34 MODULE_DESCRIPTION("Input core");
48 * input handlers.
74 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event()
[all …]
/linux/sound/pci/ctxfi/
H A Dctdaio.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * This file contains the implementation of Digital Audio Input Output
56 * For DAO, it is the input mapper index. And, for DAI, in daio_master()
57 * it is the output time-slot index. */ in daio_master()
58 rsc->conj = rsc->idx; in daio_master()
63 return rsc->conj; in daio_index()
68 rsc->conj += 2; in daio_out_next_conj()
73 rsc->conj += 0x200; in daio_in_next_conj_20k1()
78 rsc->conj += 0x100; in daio_in_next_conj_20k2()
102 static int daio_device_index(enum DAIOTYP type, struct hw *hw) in daio_device_index() argument
[all …]
/linux/Documentation/input/
H A Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
8 The input protocol uses a map of types and codes to express input device values
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
14 used to separate input events into packets of input data changes occurring at
16 input event encompassing a type, code, and value.
18 The input protocol is a stateful protocol. Events are emitted only when values
20 input subsystem; drivers do not need to maintain the state and may attempt to
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsprd,sc9860-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/sprd,sc9860-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Baolin Wang <baolin.wang@linux.alibaba.com>
26 of them, so we can not make every Spreadtrum-special configuration
45 - input-enable
46 - input-disable
47 - output-high
48 - output-low
[all …]

12345678910>>...43