/Linux-v6.1/drivers/net/ethernet/ibm/emac/ |
D | zmii.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Driver for PowerPC 4xx on-chip ethernet controller, ZMII bridge support. 45 static inline int zmii_valid_mode(int mode) in zmii_valid_mode() argument 47 return mode == PHY_INTERFACE_MODE_MII || in zmii_valid_mode() 48 mode == PHY_INTERFACE_MODE_RMII || in zmii_valid_mode() 49 mode == PHY_INTERFACE_MODE_SMII || in zmii_valid_mode() 50 mode == PHY_INTERFACE_MODE_NA; in zmii_valid_mode() 53 static inline const char *zmii_mode_name(int mode) in zmii_mode_name() argument 55 switch (mode) { in zmii_mode_name() 67 static inline u32 zmii_mode_mask(int mode, int input) in zmii_mode_mask() argument [all …]
|
D | rgmii.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Driver for PowerPC 4xx on-chip ethernet controller, RGMII bridge support. 57 static inline u32 rgmii_mode_mask(int mode, int input) in rgmii_mode_mask() argument 59 switch (mode) { in rgmii_mode_mask() 64 return RGMII_FER_RGMII(input); in rgmii_mode_mask() 66 return RGMII_FER_TBI(input); in rgmii_mode_mask() 68 return RGMII_FER_GMII(input); in rgmii_mode_mask() 70 return RGMII_FER_MII(input); in rgmii_mode_mask() 72 return RGMII_FER_RTBI(input); in rgmii_mode_mask() 78 int rgmii_attach(struct platform_device *ofdev, int input, int mode) in rgmii_attach() argument [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
D | sprd,pinctrl.txt | 16 of them, so we can not make every Spreadtrum-special configuration 29 to configure the pin sleep mode, function select and sleep related 32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system, 35 - input-enable 36 - input-disable 37 - output-high 38 - output-low 39 - bias-pull-up 40 - bias-pull-down 42 In some situation we need set the pin sleep mode and pin sleep related [all …]
|
D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") 29 bias-bus-hold: 33 bias-pull-up: [all …]
|
D | brcm,bcm11351-pinctrl.txt | 10 - compatible: Must be "brcm,bcm11351-pinctrl" 11 - reg: Base address of the PAD Controller register block and the size 17 compatible = "brcm,bcm11351-pinctrl"; 27 Each pin configuration node is a sub-node of the pin controller node and is a 31 Please refer to the pinctrl-bindings.txt in this directory for details of the 45 details generic pin config properties, please refer to pinctrl-bindings.txt 46 and <include/linux/pinctrl/pinconfig-generic.h>. 54 - pins: Multiple strings. Specifies the name(s) of one or more pins to 59 - function: String. Specifies the pin mux selection. Values 61 - input-schmitt-enable: No arguments. Enable schmitt-trigger mode. [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes 38 To query the current audio input applications zero out the ``reserved`` 42 has no audio inputs, or none which combine with the current video input. 44 Audio inputs have one writable property, the audio mode. To select the 45 current audio input *and* change the audio mode, applications initialize 46 the ``index`` and ``mode`` fields, and the ``reserved`` array of a 48 ioctl. Drivers may switch to a different audio mode if the request 49 cannot be satisfied. However, this is a write-only ioctl, it does not 50 return the actual new audio mode. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | act8865-regulator.txt | 2 ------------------- 5 - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600" 6 - reg: I2C slave address 9 - system-power-controller: Telling whether or not this pmic is controlling 10 the system power. See Documentation/devicetree/bindings/power/power-controller.txt . 11 - active-semi,vsel-high: Indicates the VSEL pin is high. 14 Optional input supply properties: 15 - for act8600: 16 - vp1-supply: The input supply for DCDC_REG1 17 - vp2-supply: The input supply for DCDC_REG2 [all …]
|
/Linux-v6.1/include/video/ |
D | imx-ipu-image-convert.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2012-2016 Mentor Graphics Inc. 10 #include <video/imx-ipu-v3.h> 15 * struct ipu_image_convert_run - image conversion run request struct 18 * @in_phys: dma addr of input image buffer for this run 35 * ipu_image_convert_cb_t - conversion callback function prototype 44 * ipu_image_convert_enum_format() - enumerate the image converter's 45 * supported input and output pixel formats. 50 * Returns 0 with a valid index and fills in v4l2 fourcc, -EINVAL otherwise. 57 * ipu_image_convert_adjust() - adjust input/output images to IPU restrictions. [all …]
|
/Linux-v6.1/include/linux/ |
D | xz.h | 5 * Igor Pavlov <https://7-zip.org/> 28 * enum xz_mode - Operation mode 30 * @XZ_SINGLE: Single-call mode. This uses less RAM than 31 * multi-call modes, because the LZMA2 36 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2 40 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is 59 * enum xz_ret - Return codes 60 * @XZ_OK: Everything is OK so far. More input or more 62 * return code is possible only in multi-call mode 66 * is still possible in multi-call mode by simply [all …]
|
D | led-lm3530.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2011 ST-Ericsson SA. 9 * based on leds-lm3530.c by Dan Murphy <D.Murphy@motorola.com> 66 /* ALS input select */ 68 LM3530_INPUT_AVRG = 0, /* ALS1 and ALS2 input average */ 69 LM3530_INPUT_ALS1, /* ALS1 Input */ 70 LM3530_INPUT_ALS2, /* ALS2 Input */ 82 * @mode: mode of operation i.e. Manual, ALS or PWM 83 * @als_input_mode: select source of ALS input - ALS1/2 or average 85 * @pwm_pol_hi: PWM input polarity - active high/active low [all …]
|
/Linux-v6.1/arch/mips/include/uapi/asm/ |
D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 #include <asm-generic/termbits-common.h> 24 tcflag_t c_iflag; /* input mode flags */ 25 tcflag_t c_oflag; /* output mode flags */ 26 tcflag_t c_cflag; /* control mode flags */ 27 tcflag_t c_lflag; /* local mode flags */ 33 tcflag_t c_iflag; /* input mode flags */ 34 tcflag_t c_oflag; /* output mode flags */ 35 tcflag_t c_cflag; /* control mode flags */ 36 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | pixcir_i2c_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Pixcir, Inc. 12 #include <linux/input.h> 13 #include <linux/input/mt.h> 14 #include <linux/input/touchscreen.h> 33 * clocks are cut and it can only be brought out of this mode 65 * struct pixcir_i2c_chip_data - chip related data 77 struct input_dev *input; member 102 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse() 106 i = chip->has_hw_ids ? 1 : 0; in pixcir_ts_parse() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | tegra30-pegatron-chagall.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra30-cpu-opp.dtsi" 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 #include "tegra30-asus-lvds-display.dtsi" 16 chassis-type = "tablet"; 35 * pre-existing /chosen node to be available to insert the [all …]
|
/Linux-v6.1/drivers/input/mouse/ |
D | cypress_ps2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <linux/input.h> 21 #include <linux/input/mt.h> 31 struct cytp_data *cytp = psmouse->private; in cypress_set_packet_size() 32 cytp->pkt_size = n; in cypress_set_packet_size() 40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte() 45 value & 0xff, ps2dev->nak); in cypress_ps2_sendbyte() 46 if (ps2dev->nak == CYTP_PS2_RETRY) in cypress_ps2_sendbyte() 63 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd() 91 } while (--tries > 0); in cypress_ps2_ext_cmd() [all …]
|
D | elan_i2c_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * copyright (c) 2011-2012 Cypress Semiconductor, Inc. 13 * copyright (c) 2011-2012 Google, Inc. 24 #include <linux/input/mt.h> 31 #include <linux/input.h> 55 struct input_dev *input; member 56 struct input_dev *tp_input; /* trackpoint input node */ 83 u8 mode; member 170 return -ENXIO; in elan_get_fwinfo() 174 (*validpage_count * ETP_FW_PAGE_SIZE) - ETP_FW_SIGNATURE_SIZE; in elan_get_fwinfo() [all …]
|
D | hgpk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver 5 * Copyright (c) 2006-2008 One Laptop Per Child 13 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> 24 * was removed. After that, the device used the Advanced Mode GS/PT streaming 26 * switched to Mouse Mode (which utilizes only the center 1/3 of the touchpad). 31 #include <linux/input.h> 80 "default hgpk mode: mouse, glidesensor or pentablet"); 126 struct hgpk_data *priv = psmouse->private; in hgpk_discard_decay_hack() 135 (avx > recalib_delta / 2 && ((avx / 4) > priv->xlast))) { in hgpk_discard_decay_hack() [all …]
|
/Linux-v6.1/include/media/i2c/ |
D | upd64083.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * upd6408x - NEC Electronics 3-Dimensional Y/C separation input defines 12 to select the correct routing: the operating mode and the selection 13 of the Y input (external or internal). 15 The first two operating modes expect a composite signal on the Y input, 19 YCNR mode is used for S-Video inputs. 21 The external Y-ADC is selected when the composite input comes from a 23 the input is a S-Video signal, then the internal Y-ADC input should 28 /* YCS mode: Y/C separation (burst locked clocking) */ 30 /* YCS+ mode: 2D Y/C separation and YCNR (burst locked clocking) */ [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-class-backlight-driver-lm3533 | 6 Get the ALS output channel used as input in 7 ALS-current-control mode (0, 1), where: 19 Enable ALS-current-control mode (0, 1). 33 Set the brightness-mapping mode (0, 1), where: 36 0 exponential mode 37 1 linear mode 45 Set the PWM-input control mask (5 bits), where: 48 bit 5 PWM-input enabled in Zone 4 49 bit 4 PWM-input enabled in Zone 3 50 bit 3 PWM-input enabled in Zone 2 [all …]
|
D | sysfs-class-led-driver-lm3533 | 6 Set the ALS output channel to use as input in 7 ALS-current-control mode (1, 2), where: 19 Enable ALS-current-control mode (0, 1). 52 Set the brightness-mapping mode (0, 1), where: 55 0 exponential mode 56 1 linear mode 64 Set the PWM-input control mask (5 bits), where: 67 bit 5 PWM-input enabled in Zone 4 68 bit 4 PWM-input enabled in Zone 3 69 bit 3 PWM-input enabled in Zone 2 [all …]
|
/Linux-v6.1/Documentation/sound/cards/ |
D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 29 * Single Speed -- 1..64 channels 32 (Note: Choosing the 56channel mode for transmission or as 37 * Double Speed -- 1..32 channels 40 Note: Choosing the 56-channel mode for [all …]
|
/Linux-v6.1/arch/parisc/include/uapi/asm/ |
D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 #include <asm-generic/termbits-common.h> 11 tcflag_t c_iflag; /* input mode flags */ 12 tcflag_t c_oflag; /* output mode flags */ 13 tcflag_t c_cflag; /* control mode flags */ 14 tcflag_t c_lflag; /* local mode flags */ 20 tcflag_t c_iflag; /* input mode flags */ 21 tcflag_t c_oflag; /* output mode flags */ 22 tcflag_t c_cflag; /* control mode flags */ 23 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/Linux-v6.1/Documentation/input/devices/ |
D | cma3000_d0x.rst | 1 CMA3000-D0x Accelerometer 5 * VTI CMA3000-D0x 8 CMA3000-D0X Product Family Specification 8281000A.02.pdf 15 ----------- 17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and 20 Motion Detect Mode: 21 Its the low power mode where interrupts are generated only 24 Measurement Mode: 25 This mode is used to read the acceleration data on X,Y,Z 28 Free fall Mode: [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/bridge/ |
D | thine,thc63lvd1024.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 15 streams to parallel data outputs. The chip supports single/dual input/output 16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL 19 Single or dual operation mode, output data mapping and DDR output modes are 20 configured through input signals and the chip does not expose any control 30 The device can operate in single or dual input and output modes. [all …]
|
/Linux-v6.1/include/uapi/asm-generic/ |
D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 #include <asm-generic/termbits-common.h> 11 tcflag_t c_iflag; /* input mode flags */ 12 tcflag_t c_oflag; /* output mode flags */ 13 tcflag_t c_cflag; /* control mode flags */ 14 tcflag_t c_lflag; /* local mode flags */ 20 tcflag_t c_iflag; /* input mode flags */ 21 tcflag_t c_oflag; /* output mode flags */ 22 tcflag_t c_cflag; /* control mode flags */ 23 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/Linux-v6.1/drivers/input/misc/ |
D | max77650-onkey.c | 1 // 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() 47 int irq_r, irq_f, error, mode; in max77650_onkey_probe() local 53 dev = &pdev->dev; in max77650_onkey_probe() [all …]
|