/linux/drivers/watchdog/ |
H A D | wd501p.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 25 #define WDT_BUZZER (io+6) /* PCI only: rd=disable, wr=enable */ 30 #define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */ 32 #define WDT_OPTONOTRST (io+13) /* wr=enable, rd=disable */ 34 #define WDT_OPTORST (io+14) /* wr=enable, rd=disable */ 36 #define WDT_PROGOUT (io+15) /* wr=enable, rd=disable */ 39 #define WDC_SR_WCCR 1 /* Active low */ /* X X X */ 40 #define WDC_SR_TGOOD 2 /* X X - */ 43 #define WDC_SR_FANGOOD 16 /* X - - */ 44 #define WDC_SR_PSUOVER 32 /* Active low */ /* X X - */ [all …]
|
/linux/Documentation/devicetree/bindings/display/samsung/ |
H A D | samsung,fimd.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Inki Dae <inki.dae@samsung.com> 11 - Seung-Woo Kim <sw0312.kim@samsung.com> 12 - Kyungmin Park <kyungmin.park@samsung.com> 13 - Krzysztof Kozlowski <krzk@kernel.org> 18 - samsung,s3c2443-fimd 19 - samsung,s3c6400-fimd 20 - samsung,s5pv210-fimd [all …]
|
/linux/net/smc/ |
H A D | smc_core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 29 * also is the default value for SMC-R v1 and v2.0 32 * SMC-R v2.1 and later negotiation, vendors or 34 * 16-255 as needed. 52 SMC_LNK_ACTIVE, /* link is active */ 95 struct smc_ib_device *smcibdev; /* ib-device */ 96 u8 ibport; /* port - values 1 | 2 */ 103 struct smc_wr_buf *wr_tx_bufs; /* WR send payload buffers */ 104 struct ib_send_wr *wr_tx_ibs; /* WR send meta data */ [all …]
|
H A D | smc_close.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 5 * Socket Closing - normal and abnormal 28 if (smc->listen_smc && current_work() != &smc->smc_listen_work) in smc_clcsock_release() 29 cancel_work_sync(&smc->smc_listen_work); in smc_clcsock_release() 30 mutex_lock(&smc->clcsock_release_lock); in smc_clcsock_release() 31 if (smc->clcsock) { in smc_clcsock_release() 32 tcp = smc->clcsock; in smc_clcsock_release() 33 smc->clcsock = NULL; in smc_clcsock_release() 36 mutex_unlock(&smc->clcsock_release_lock); in smc_clcsock_release() [all …]
|
/linux/drivers/net/ethernet/8390/ |
H A D | 8390.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 6 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G. 21 /* The 8390 specific per-packet-header format. */ 34 /* Without I/O delay - non ISA or later chips */ 70 /* You have one of these per-board */ 85 unsigned word16:1; /* We have the 16-bit (vs 8-bit) 88 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT 91 unsigned txing:1; /* Transmit Active */ 93 unsigned dmaing:1; /* Remote DMA Active */ 98 short tx1, tx2; /* Packet lengths for ping-pong tx. */ [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | mvebu-devbus.txt | 9 - compatible: Armada 370/XP SoC are supported using the 10 "marvell,mvebu-devbus" compatible string. 13 "marvell,orion-devbus" compatible string. 15 - reg: A resource specifier for the register space. 20 - #address-cells: Must be set to 1 21 - #size-cells: Must be set to 1 22 - ranges: Must be set up to reflect the memory layout with four 23 integer values for each chip-select line in use: 28 - devbus,keep-config This property can optionally be used to keep 37 - devbus,turn-off-ps: Defines the time during which the controller does not [all …]
|
H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-nano.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Newflow Ltd - https://www.newflow.co.uk/ 5 /dts-v1/; 15 cpu0-supply = <&dcdc2_reg>; 25 compatible = "gpio-leds"; 30 default-state = "off"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&misc_pins>; 39 misc_pins: misc-pins { 40 pinctrl-single,pins = < [all …]
|
H A D | dra7-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "dra7-evm-common.dtsi" 9 #include "dra74x-mmc-iodelay.dtsi" 13 compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"; 20 evm_12v0: fixedregulator-evm_12v0 { 22 compatible = "regulator-fixed"; 23 regulator-name = "evm_12v0"; 24 regulator-min-microvolt = <12000000>; [all …]
|
H A D | dra72-evm-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "dra7-ipu-dsp-common.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/clock/ti-dra7-atl.h> 13 compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; 20 stdout-path = &uart1; 23 evm_12v0: fixedregulator-evm12v0 { 25 compatible = "regulator-fixed"; [all …]
|
H A D | logicpd-torpedo-baseboard.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 compatible = "gpio-keys"; 6 pinctrl-names = "default"; 7 pinctrl-0 = <&gpio_key_pins &gpio_key_pins_wkup>; 13 wakeup-source; 20 wakeup-source; 27 wakeup-source; 34 wakeup-source; 39 compatible = "ti,omap-twl4030"; 45 compatible = "gpio-leds"; [all …]
|
H A D | omap3-n950-n9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 13 cpu0-supply = <&vcc>; 23 compatible = "regulator-fixed"; 24 regulator-name = "VEMMC"; 25 regulator-min-microvolt = <2900000>; 26 regulator-max-microvolt = <2900000>; 28 startup-delay-us = <150>; 29 enable-active-high; 33 compatible = "regulator-fixed"; [all …]
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 76 * csio_scsi_match_io - Match an ioreq with the given SCSI level data. 88 switch (sld->level) { in csio_scsi_match_io() 93 return ((ioreq->lnode == sld->lnode) && in csio_scsi_match_io() 94 (ioreq->rnode == sld->rnode) && in csio_scsi_match_io() 95 ((uint64_t)scmnd->device->lun == sld->oslun)); in csio_scsi_match_io() 98 return ((ioreq->lnode == sld->lnode) && in csio_scsi_match_io() 99 (ioreq->rnode == sld->rnode)); in csio_scsi_match_io() [all …]
|
H A D | csio_lnode.c | 4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 102 #define csio_ct_rsp(cp) (((struct fc_ct_hdr *)cp)->ct_cmd) 103 #define csio_ct_reason(cp) (((struct fc_ct_hdr *)cp)->ct_reason) 104 #define csio_ct_expl(cp) (((struct fc_ct_hdr *)cp)->ct_explan) 108 * csio_ln_match_by_portid - lookup lnode using given portid. 110 * @portid: port-id. 121 list_for_each(tmp, &hw->sln_head) { in csio_ln_lookup_by_portid() 123 if (ln->portid == portid) in csio_ln_lookup_by_portid() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | wof.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 49 /* On a 7-window Sparc the boot code patches spnwin_* 66 /* Datum current_thread_info->uwinmask contains at all times a bitmask 67 * where if any user windows are active, at least one bit will 68 * be set in to mask. If no user windows are active, the bitmask 82 * newwim = ((%wim>>1) | (%wim<<(nwindows - 1))); 99 /* See if any user windows are active in the set. */ 111 wr %glob_tmp, 0x0, %wim ! set new %wim, this is safe now 122 wr %t_psr, 0x0, %psr ! restore condition codes in %psr 148 wr %glob_tmp, 0x0, %wim ! Now it is safe to set new %wim [all …]
|
H A D | wuf.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 44 /* Datum current_thread_info->uwinmask contains at all times a bitmask 45 * where if any user windows are active, at least one bit will 46 * be set in to mask. If no user windows are active, the bitmask 53 * 1 2 3 4 <-- Window number 54 * ---------- 55 * T O W I <-- Symbolic name 73 /* On 7-window Sparc the boot code patches fnwin_patch1 93 wr %twin_tmp1, 0x0, %wim /* Make window 'I' invalid */ 122 wr %t_psr, 0x0, %psr [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | lpc32xx-mlc.txt | 4 - compatible: "nxp,lpc3220-mlc" 5 - reg: Address and size of the controller 6 - interrupts: The NAND interrupt specification 7 - gpios: GPIO specification for NAND write protect 13 - nxp,tcea_delay: TCEA_DELAY 14 - nxp,busy_delay: BUSY_DELAY 15 - nxp,nand_ta: NAND_TA 16 - nxp,rd_high: RD_HIGH 17 - nxp,rd_low: RD_LOW 18 - nxp,wr_high: WR_HIGH [all …]
|
/linux/arch/mips/boot/dts/cavium-octeon/ |
H A D | octeon_3xxx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 7 compatible = "cavium,octeon-3860"; 8 #address-cells = <2>; 9 #size-cells = <2>; 10 interrupt-parent = <&ciu>; 13 compatible = "simple-bus"; 14 #address-cells = <2>; 15 #size-cells = <2>; 18 ciu: interrupt-controller@1070000000000 { [all …]
|
/linux/Documentation/devicetree/bindings/mips/cavium/ |
H A D | bootbus.txt | 7 - compatible: "cavium,octeon-3860-bootbus" 11 - reg: The base address of the Boot Bus' register bank. 13 - #address-cells: Must be <2>. The first cell is the chip select 16 - #size-cells: Must be <1>. 18 - ranges: There must be one one triplet of (child-bus-address, 19 parent-bus-address, length) for each active chip select. If the 27 - compatible: "cavium,octeon-3860-bootbus-config" 29 - cavium,cs-index: A single cell indicating the chip select that 32 - cavium,t-adr: A cell specifying the ADR timing (in nS). 34 - cavium,t-ce: A cell specifying the CE timing (in nS). [all …]
|
/linux/Documentation/spi/ |
H A D | spidev.rst | 5 SPI devices have a limited userspace API, supporting basic half-duplex 19 * Prototyping in an environment that's not crash-prone; stray pointers 38 - struct spi_device_id spidev_spi_ids[]: list of devices that can be 42 - struct of_device_id spidev_dt_ids[]: list of devices that can be 46 - struct acpi_device_id spidev_acpi_ids[]: list of devices that can 52 post a patch for spidev to the linux-spi@vger.kernel.org mailing list. 101 Since this is a standard Linux device driver -- even though it just happens 102 to expose a low level API to userspace -- it can be associated with any number 112 Standard read() and write() operations are obviously only half-duplex, and 113 the chipselect is deactivated between those operations. Full-duplex access, [all …]
|
/linux/include/linux/platform_data/ |
H A D | video-pxafb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Author: Jean-Frederic Clere 15 * bits 0 - 3: for LCD panel type: 17 * STN - for passive matrix 18 * DSTN - for dual scan passive matrix 19 * TFT - for active matrix 21 * bits 4 - 9 : for bus width 22 * bits 10-17 : for AC Bias Pin Frequency 61 * It is set in linux/arch/arm/mach-pxa/machine_name.c and used in the probe routine 86 /* Smart Panel Mode Timing - see PXA27x DM 7.4.15.0.3 for details [all …]
|
/linux/fs/autofs/ |
H A D | waitq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved 4 * Copyright 2001-2006 Ian Kent <raven@themaw.net> 19 mutex_lock(&sbi->wq_mutex); in autofs_catatonic_mode() 20 if (sbi->flags & AUTOFS_SBI_CATATONIC) { in autofs_catatonic_mode() 21 mutex_unlock(&sbi->wq_mutex); in autofs_catatonic_mode() 27 sbi->flags |= AUTOFS_SBI_CATATONIC; in autofs_catatonic_mode() 28 wq = sbi->queues; in autofs_catatonic_mode() 29 sbi->queues = NULL; /* Erase all wait queues */ in autofs_catatonic_mode() 31 nwq = wq->next; in autofs_catatonic_mode() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_uld.h | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 63 (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_TP_WR) | \ 64 FW_WR_IMMDLEN_V(sizeof(*w) - sizeof(w->wr))); \ 65 (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(sizeof(*w), 16)) | \ 67 (w)->wr.wr_lo = cpu_to_be64(0); \ 76 (w)->wr.wr_hi = htonl(FW_WR_OP_V(FW_ULPTX_WR) | \ 78 (w)->wr.wr_mid = htonl(FW_WR_LEN16_V(DIV_ROUND_UP(wrlen, 16)) | \ 80 (w)->wr.wr_lo = cpu_to_be64(0); \ [all …]
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright(c) 2016 - 2020 Intel Corporation. 66 * completions as per IB 1.2 C10-96. 105 struct rvt_wss *wss = rdi->wss; in rvt_wss_exit() 111 kfree(wss->entries); in rvt_wss_exit() 112 wss->entries = NULL; in rvt_wss_exit() 113 kfree(rdi->wss); in rvt_wss_exit() 114 rdi->wss = NULL; in rvt_wss_exit() 118 * rvt_wss_init - Init wss data structures 124 unsigned int sge_copy_mode = rdi->dparms.sge_copy_mode; in rvt_wss_init() [all …]
|
/linux/net/9p/ |
H A D | trans_rdma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2004-2005 by Latchesar Ionkov <lucho@ionkov.net> 8 * Copyright (C) 2004-2008 by Eric Van Hensbergen <ericvh@gmail.com> 9 * Copyright (C) 1997-2002 by Ron Minnich <rminnich@sarnoff.com> 46 * struct p9_trans_rdma - RDMA transport instance 63 * @req_lock: Protects the active request list 97 * struct p9_rdma_context - Keeps track of in-process WR 100 * @busa: Bus address to unmap when the WR completes 114 * struct p9_rdma_opts - Collection of mount options 152 struct p9_trans_rdma *rdma = clnt->trans; in p9_rdma_show_options() [all …]
|