Home
last modified time | relevance | path

Searched +full:termination +full:- +full:gpios (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/net/can/
Dcan-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/can/can-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marc Kleine-Budde <mkl@pengutronix.de>
16 termination-gpios:
17 description: GPIO pin to enable CAN bus termination.
20 termination-ohms:
21 description: The resistance value of the CAN bus termination resistor.
Dfsl,flexcan.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC).
11 - Marc Kleine-Budde <mkl@pengutronix.de>
14 - $ref: can-controller.yaml#
19 - enum:
20 - fsl,imx8qm-flexcan
21 - fsl,imx8mp-flexcan
22 - fsl,imx6q-flexcan
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/power/supply/
Dbq24257.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Binding for bq24250, bq24251 and bq24257 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24250
20 - ti,bq24251
21 - ti,bq24257
29 ti,battery-regulation-voltage:
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/serial/
Drs485.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 direction for the built-in half-duplex mode. The properties described
11 hereafter shall be given to a half-duplex capable UART node.
14 - Rob Herring <robh@kernel.org>
17 rs485-rts-delay:
18 description: prop-encoded-array <a b>
19 $ref: /schemas/types.yaml#/definitions/uint32-array
22 - description: Delay between rts signal and beginning of data sent in
[all …]
/Linux-v5.15/drivers/net/can/dev/
Ddev.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (C) 2005 Marc Kleine-Budde, Pengutronix
4 * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com>
14 #include <linux/can/can-ml.h>
32 if (new_state <= priv->state) in can_update_state_error_stats()
37 priv->can_stats.error_warning++; in can_update_state_error_stats()
40 priv->can_stats.error_passive++; in can_update_state_error_stats()
43 priv->can_stats.bus_off++; in can_update_state_error_stats()
107 if (unlikely(new_state == priv->state)) { in can_change_state()
113 can_get_state_str(priv->state), priv->state, in can_change_state()
[all …]
/Linux-v5.15/drivers/pci/controller/dwc/
Dpcie-fu740.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2019-2021 SiFive, Inc.
30 #include "pcie-designware.h"
32 #define to_fu740_pcie(x) dev_get_drvdata((x)->dev)
85 gpiod_set_value_cansleep(afp->reset, 0); in fu740_pcie_assert_reset()
87 writel_relaxed(0x0, afp->mgmt_base + PCIEX8MGMT_PERST_N); in fu740_pcie_assert_reset()
93 writel_relaxed(0x1, afp->mgmt_base + PCIEX8MGMT_PERST_N); in fu740_pcie_deassert_reset()
95 gpiod_set_value_cansleep(afp->reset, 1); in fu740_pcie_deassert_reset()
100 gpiod_set_value_cansleep(afp->pwren, 1); in fu740_pcie_power_on()
119 struct device *dev = afp->pci.dev; in fu740_phyregwrite()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dimx8mq-librem5-devkit.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2019 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dt-bindings/pwm/pwm.h"
11 #include "dt-bindings/usb/pd.h"
16 compatible = "purism,librem5-devkit", "fsl,imx8mq";
18 backlight_dsi: backlight-dsi {
19 compatible = "pwm-backlight";
[all …]
/Linux-v5.15/drivers/gpio/
Dgpio-aggregator.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // Copyright (C) 2019-2020 Glider bv
7 #define DRV_NAME "gpio-aggregator"
45 lookups = krealloc(aggr->lookups, struct_size(lookups, table, *n + 2), in aggr_add_gpio()
48 return -ENOMEM; in aggr_add_gpio()
50 lookups->table[*n] = GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio()
53 memset(&lookups->table[*n], 0, sizeof(lookups->table[*n])); in aggr_add_gpio()
55 aggr->lookups = lookups; in aggr_add_gpio()
61 char *args = skip_spaces(aggr->args); in aggr_parse()
69 return -ENOMEM; in aggr_parse()
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Domap3-n900.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
7 /dts-v1/;
10 #include <dt-bindings/input/input.h>
13 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
15 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch"
16 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no
32 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
45 cpu0-supply = <&vcc>;
50 compatible = "gpio-leds";
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgk104.c99 struct ramfuc_reg r_mr[16]; /* MR0 - MR8, MR15 */
149 for (i = 0; (data & 0x80000000) && i < ram->parts; addr += 0x1000, i++) { in gk104_ram_train()
150 if (ram->pmask & (1 << i)) in gk104_ram_train()
160 const u32 mcoef = ((--ram->P2 << 28) | (ram->N2 << 8) | ram->M2); in r1373f4_init()
161 const u32 rcoef = (( ram->P1 << 16) | (ram->N1 << 8) | ram->M1); in r1373f4_init()
162 const u32 runk0 = ram->fN1 << 16; in r1373f4_init()
163 const u32 runk1 = ram->fN1; in r1373f4_init()
165 if (ram->from == 2) { in r1373f4_init()
191 if (ram->mode == 2) { in r1373f4_init()
210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini()
[all …]
/Linux-v5.15/arch/powerpc/platforms/powermac/
Dfeature.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au)
8 * - Replace mdelay with some schedule loop if possible
9 * - Shorten some obfuscated delays on some routines (like modem
11 * - Refcount some clocks (see darwin)
12 * - Split split split...
38 #include <asm/pci-bridge.h>
80 child = child->parent; in macio_find()
144 return -ENODEV; in simple_feature_tweak()
170 return -ENODEV; in ohare_htw_scc_enable()
[all …]
/Linux-v5.15/drivers/isdn/hardware/mISDN/
Dhfcmulti.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * hfcmulti.c low level driver for hfc-4s/hfc-8s/hfc-e1 based cards
7 * Peter Sprenger (sprengermoving-bytes.de)
9 * inspired by existing hfc-pci driver:
10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de)
22 * Bit 0-7 = 0x00001 = HFC-E1 (1 port)
23 * or Bit 0-7 = 0x00004 = HFC-4S (4 ports)
24 * or Bit 0-7 = 0x00008 = HFC-8S (8 ports)
26 * Bit 9 = 0x00200 = Disable DTMF detect on all B-channels via hardware
38 * example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM
[all …]
/Linux-v5.15/drivers/tty/serial/
Dserial_core.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
38 * lockdep: port->lock is initialized in two places, but we
39 * want only one lock-class:
43 #define HIGH_BITS_OFFSET ((sizeof(long)-sizeof(int))*8)
55 return !!(uport->status & UPSTAT_DCD_ENABLE); in uart_dcd_enabled()
60 if (atomic_add_unless(&state->refcount, 1, 0)) in uart_port_ref()
61 return state->uart_port; in uart_port_ref()
67 if (atomic_dec_and_test(&uport->state->refcount)) in uart_port_deref()
68 wake_up(&uport->state->remove_wait); in uart_port_deref()
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath5k/
Dreg.h2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com>
28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf
30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf
33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal
42 * AR5210-Specific TXDP registers
46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */
47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */
70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */
[all …]
/Linux-v5.15/drivers/net/dsa/sja1105/
Dsja1105_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018, Sensor-Technik Wiedemann GmbH
3 * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com>
19 #include <linux/pcs/pcs-xpcs.h>
62 vlan = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entries; in sja1105_is_vlan_configured()
63 count = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entry_count; in sja1105_is_vlan_configured()
70 return -1; in sja1105_is_vlan_configured()
75 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged()
78 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries; in sja1105_drop_untagged()
93 mac = priv->static_config.tables[BLK_IDX_MAC_CONFIG].entries; in sja1105_pvid_apply()
[all …]