Home
last modified time | relevance | path

Searched +full:addr +full:- +full:mode (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/
Dleds-netxbig.txt5 - compatible: "lacie,netxbig-leds".
6 - gpio-ext: Phandle for the gpio-ext bus.
9 - timers: Timer array. Each timer entry is represented by three integers:
10 Mode (gpio-ext bus), delay_on and delay_off.
12 Each LED is represented as a sub-node of the netxbig-leds device.
14 Required sub-node properties:
15 - mode-addr: Mode register address on gpio-ext bus.
16 - mode-val: Mode to value mapping. Each entry is represented by two integers:
17 A mode and the corresponding value on the gpio-ext bus.
18 - bright-addr: Brightness register address on gpio-ext bus.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-netxbig.txt5 - compatible: "lacie,netxbig-leds".
6 - gpio-ext: Phandle for the gpio-ext bus.
9 - timers: Timer array. Each timer entry is represented by three integers:
10 Mode (gpio-ext bus), delay_on and delay_off.
12 Each LED is represented as a sub-node of the netxbig-leds device.
14 Required sub-node properties:
15 - mode-addr: Mode register address on gpio-ext bus.
16 - mode-val: Mode to value mapping. Each entry is represented by two integers:
17 A mode and the corresponding value on the gpio-ext bus.
18 - bright-addr: Brightness register address on gpio-ext bus.
[all …]
/kernel/linux/linux-5.10/drivers/net/pcs/
Dpcs-lynx.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
8 #include <linux/pcs-lynx.h>
36 struct mii_bus *bus = pcs->bus; in lynx_pcs_get_state_usxgmii()
37 int addr = pcs->addr; in lynx_pcs_get_state_usxgmii() local
40 status = mdiobus_c45_read(bus, addr, MDIO_MMD_VEND2, MII_BMSR); in lynx_pcs_get_state_usxgmii()
44 state->link = !!(status & MDIO_STAT1_LSTATUS); in lynx_pcs_get_state_usxgmii()
45 state->an_complete = !!(status & MDIO_AN_STAT1_COMPLETE); in lynx_pcs_get_state_usxgmii()
46 if (!state->link || !state->an_complete) in lynx_pcs_get_state_usxgmii()
49 lpa = mdiobus_c45_read(bus, addr, MDIO_MMD_VEND2, MII_LPA); in lynx_pcs_get_state_usxgmii()
59 struct mii_bus *bus = pcs->bus; in lynx_pcs_get_state_2500basex()
[all …]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
DmISDNinfineon.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * - ISAC + HSCX
6 * - IPAC and IPAC-X
7 * - ISAC-SX + HSCX
10 * - Dialogic Diva 2.0
11 * - Dialogic Diva 2.0U
12 * - Dialogic Diva 2.01
13 * - Dialogic Diva 2.02
14 * - Sedlbauer Speedwin
15 * - HST Saphir3
[all …]
/kernel/linux/linux-4.19/drivers/isdn/hardware/mISDN/
DmISDNinfineon.c4 * - ISAC + HSCX
5 * - IPAC and IPAC-X
6 * - ISAC-SX + HSCX
9 * - Dialogic Diva 2.0
10 * - Dialogic Diva 2.0U
11 * - Dialogic Diva 2.01
12 * - Dialogic Diva 2.02
13 * - Sedlbauer Speedwin
14 * - HST Saphir3
15 * - Develo (former ELSA) Microlink PCI (Quickstep 1000)
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dkirkwood-net5big.dts1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 /dts-v1/;
17 #include "kirkwood-6281.dtsi"
18 #include "kirkwood-netxbig.dtsi"
22 compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
33 compatible = "regulator-fixed";
35 regulator-name = "hdd1power";
36 regulator-min-microvolt = <5000000>;
37 regulator-max-microvolt = <5000000>;
[all …]
Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
38 mode = <0>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dkirkwood-net5big.dts1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 /dts-v1/;
17 #include "kirkwood-6281.dtsi"
18 #include "kirkwood-netxbig.dtsi"
22 compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
33 compatible = "regulator-fixed";
35 regulator-name = "hdd1power";
36 regulator-min-microvolt = <5000000>;
37 regulator-max-microvolt = <5000000>;
[all …]
Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
38 mode = <0>;
[all …]
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/shmobile/
Dpm.c1 // SPDX-License-Identifier: GPL-2.0
27 * Sleep mode is just plain "sleep" instruction
28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh
29 * Standby Self-Refresh mode is above plus stopped clocks
37 * U-standby mode is unsupported since it needs bootloader hacks
46 void sh_mobile_call_standby(unsigned long mode) in sh_mobile_call_standby() argument
56 mode, NULL); in sh_mobile_call_standby()
59 if (mode & SUSP_SH_MMU) in sh_mobile_call_standby()
62 /* Let assembly snippet in on-chip memory handle the rest */ in sh_mobile_call_standby()
63 standby_onchip_mem(mode, RAM_BASE); in sh_mobile_call_standby()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dslic_ds26522.c1 // SPDX-License-Identifier: GPL-2.0-or-later
37 static void slic_write(struct spi_device *spi, u16 addr, in slic_write() argument
42 addr = bitrev16(addr) >> 1; in slic_write()
44 temp[0] = (u8)((addr >> 8) & 0x7f); in slic_write()
45 temp[1] = (u8)(addr & 0xfe); in slic_write()
48 /* write spi addr and value */ in slic_write()
52 static u8 slic_read(struct spi_device *spi, u16 addr) in slic_read() argument
57 addr = bitrev16(addr) >> 1; in slic_read()
58 temp[0] = (u8)(((addr >> 8) & 0x7f) | 0x80); in slic_read()
59 temp[1] = (u8)(addr & 0xfe); in slic_read()
[all …]
/kernel/linux/linux-4.19/arch/sh/kernel/cpu/shmobile/
Dpm.c30 * Sleep mode is just plain "sleep" instruction
31 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh
32 * Standby Self-Refresh mode is above plus stopped clocks
40 * U-standby mode is unsupported since it needs bootloader hacks
49 void sh_mobile_call_standby(unsigned long mode) in sh_mobile_call_standby() argument
59 mode, NULL); in sh_mobile_call_standby()
62 if (mode & SUSP_SH_MMU) in sh_mobile_call_standby()
65 /* Let assembly snippet in on-chip memory handle the rest */ in sh_mobile_call_standby()
66 standby_onchip_mem(mode, RAM_BASE); in sh_mobile_call_standby()
69 mode, NULL); in sh_mobile_call_standby()
[all …]
/kernel/linux/linux-4.19/drivers/net/wan/
Dslic_ds26522.c43 static void slic_write(struct spi_device *spi, u16 addr, in slic_write() argument
48 addr = bitrev16(addr) >> 1; in slic_write()
50 temp[0] = (u8)((addr >> 8) & 0x7f); in slic_write()
51 temp[1] = (u8)(addr & 0xfe); in slic_write()
54 /* write spi addr and value */ in slic_write()
58 static u8 slic_read(struct spi_device *spi, u16 addr) in slic_read() argument
63 addr = bitrev16(addr) >> 1; in slic_read()
64 temp[0] = (u8)(((addr >> 8) & 0x7f) | 0x80); in slic_read()
65 temp[1] = (u8)(addr & 0xfe); in slic_read()
87 /* Receive E1 Mode, Framer Disabled */ in ds26522_e1_spec_config()
[all …]
/kernel/linux/linux-4.19/drivers/usb/dwc2/
Dcore.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core.c - DesignWare HS OTG Controller common routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
16 * 3. The names of the above-listed copyright holders may not be used
48 #include <linux/dma-mapping.h>
61 * dwc2_backup_global_registers() - Backup global controller registers.
71 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers()
74 gr = &hsotg->gr_backup; in dwc2_backup_global_registers()
76 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
77 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers()
[all …]
/kernel/linux/linux-4.19/drivers/leds/
Dleds-netxbig.c2 * leds-netxbig.c - Driver for the 2Big and 5Big Network series LEDs
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
31 #include <linux/platform_data/leds-kirkwood-netxbig.h>
39 static void gpio_ext_set_addr(struct netxbig_gpio_ext *gpio_ext, int addr) in gpio_ext_set_addr() argument
43 for (pin = 0; pin < gpio_ext->num_addr; pin++) in gpio_ext_set_addr()
44 gpio_set_value(gpio_ext->addr[pin], (addr >> pin) & 1); in gpio_ext_set_addr()
51 for (pin = 0; pin < gpio_ext->num_data; pin++) in gpio_ext_set_data()
52 gpio_set_value(gpio_ext->data[pin], (data >> pin) & 1); in gpio_ext_set_data()
58 gpio_set_value(gpio_ext->enable, 0); in gpio_ext_enable_select()
59 gpio_set_value(gpio_ext->enable, 1); in gpio_ext_enable_select()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt2 ----------------------------
4 (c) 2006-2009 Secret Lab Technologies Ltd
8 ------------------
9 For mpc5200 on-chip devices, the format for each compatible value is
10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver
21 "fsl,mpc5200-<device>".
26 devices have extra functions but still have a backwards compatible mode.
29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>";
34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec";
35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt2 ----------------------------
4 (c) 2006-2009 Secret Lab Technologies Ltd
8 ------------------
9 For mpc5200 on-chip devices, the format for each compatible value is
10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver
21 "fsl,mpc5200-<device>".
26 devices have extra functions but still have a backwards compatible mode.
29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>";
34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec";
35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec";
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-netxbig.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * leds-netxbig.c - Driver for the 2Big and 5Big Network series LEDs
21 struct gpio_desc **addr; member
42 enum netxbig_led_mode mode; member
68 static void gpio_ext_set_addr(struct netxbig_gpio_ext *gpio_ext, int addr) in gpio_ext_set_addr() argument
72 for (pin = 0; pin < gpio_ext->num_addr; pin++) in gpio_ext_set_addr()
73 gpiod_set_value(gpio_ext->addr[pin], (addr >> pin) & 1); in gpio_ext_set_addr()
80 for (pin = 0; pin < gpio_ext->num_data; pin++) in gpio_ext_set_data()
81 gpiod_set_value(gpio_ext->data[pin], (data >> pin) & 1); in gpio_ext_set_data()
87 gpiod_set_value(gpio_ext->enable, 0); in gpio_ext_enable_select()
[all …]
/kernel/linux/linux-4.19/arch/microblaze/kernel/
Dexceptions.c4 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
13 * This file handles the architecture-dependent parts of hardware exceptions
56 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->r16); in sw_exception()
57 flush_dcache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
58 flush_icache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
61 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
64 die("Exception in kernel mode", regs, signr); in _exception()
66 force_sig_fault(signr, code, (void __user *)addr, current); in _exception()
70 int fsr, int addr) in full_exception() argument
73 addr = regs->pc; in full_exception()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dexceptions.c4 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
13 * This file handles the architecture-dependent parts of hardware exceptions
56 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->r16); in sw_exception()
57 flush_dcache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
58 flush_icache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
61 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
64 die("Exception in kernel mode", regs, signr); in _exception()
66 force_sig_fault(signr, code, (void __user *)addr); in _exception()
70 int fsr, int addr) in full_exception() argument
73 addr = regs->pc; in full_exception()
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dcore.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core.c - DesignWare HS OTG Controller common routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
16 * 3. The names of the above-listed copyright holders may not be used
48 #include <linux/dma-mapping.h>
61 * dwc2_backup_global_registers() - Backup global controller registers.
71 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers()
74 gr = &hsotg->gr_backup; in dwc2_backup_global_registers()
76 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
77 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers()
[all …]
/kernel/linux/linux-4.19/drivers/crypto/ccree/
Dcc_hw_queue_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2018 ARM Limited or its affiliates. */
25 CC_DSCRPTR_QUEUE_WORD ## word ## _ ## name ## _BIT_SIZE - 1)
75 DESC_DIRECTION_ILLEGAL = -1,
83 DMA_MODE_NULL = -1,
92 FLOW_MODE_NULL = -1,
208 pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1); in set_queue_last_ind_bit()
215 * @dma_mode: dmaMode The DMA mode: NO_DMA, SRAM, DLLI, MLLI, CONSTANT
216 * @addr: dinAdr DIN address
221 enum cc_dma_mode dma_mode, dma_addr_t addr, in set_din_type() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_target.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
26 * 32-bit or 64-bit words. All others are not listed.
40 return -EINVAL; in target_rw()
51 return -EINVAL; in nfp6000_nbi_dma()
62 return -EINVAL; in nfp6000_nbi_stats()
73 return -EINVAL; in nfp6000_nbi_tm()
84 return -EINVAL; in nfp6000_nbi_ppc()
102 * 32-bit or 64-bit words. All others are not listed.
150 return -EINVAL; in nfp6000_mu_common()
[all …]
/kernel/linux/linux-4.19/Documentation/networking/
Dcops.txt4 This driver has two modes and they are: Dayna mode and Tangent mode.
5 Each mode corresponds with the type of card. It has been found
12 LT-200 cards work in a somewhat more limited capacity than the
15 TANGENT driver mode:
16 Tangent ATB-II, Novell NL-1000, Daystar Digital LT-200
17 DAYNA driver mode:
18 Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95,
20 Other cards possibly supported mode unknown though:
23 The COPS driver defaults to using Dayna mode. To change the driver's
24 mode if you built a driver with dual support use board_type=1 or
[all …]
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_hw_queue_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
21 #define CC_REG_HIGH(name) (CC_REG_LOW(name) + name ## _BIT_SIZE - 1)
75 DESC_DIRECTION_ILLEGAL = -1,
83 DMA_MODE_NULL = -1,
92 FLOW_MODE_NULL = -1,
180 #define CC_LAST_HW_KEY_SLOT (CC_FIRST_HW_KEY_SLOT + CC_NUM_HW_KEY_SLOTS - 1)
185 CC_NUM_CPP_KEY_SLOTS - 1)
208 * hw_desc_init() - Init a HW descriptor struct
217 * set_queue_last_ind_bit() - Indicate the end of current HW descriptors flow
[all …]

12345678910>>...45