/linux/Documentation/devicetree/bindings/memory-controllers/ |
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 | omap2420-n8x0-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 stdout-path = &uart3; 16 compatible = "i2c-cbus-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 25 interrupt-parent = <&gpio4>; 34 clock-frequency = <400000>; 44 clock-frequency = <400000>; 50 /* gpio-irq for dma: 26 */ 53 #address-cells = <1>; [all …]
|
H A D | omap3-gta04a5one.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com> 6 #include "omap3-gta04a5.dts" 13 gpmc_pins: gpmc-pins { 14 pinctrl-single,pins = < 45 pinctrl-names = "default"; 46 pinctrl-0 = <&gpmc_pins>; 48 /delete-node/ nand@0,0; 52 #address-cells = <1>; 53 #size-cells = <1>; [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 …]
|
H A D | omap3-n900.dts | 1 // 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> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/video-interfaces.h> 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; [all …]
|
/linux/include/linux/platform_data/ |
H A D | gpmc-omap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2014 Texas Instruments, Inc. - https://www.ti.com 34 /* Chip-select signal timings corresponding to GPMC_CS_CONFIG2 */ 59 u32 access; /* Start-cycle to first data valid delay */ 105 u32 t_bacc; /* burst access valid clock to output delay */ 131 #define GPMC_BURST_4 4 /* 4 word burst */ 132 #define GPMC_BURST_8 8 /* 8 word burst */ 133 #define GPMC_BURST_16 16 /* 16 word burst */ 134 #define GPMC_DEVWIDTH_8BIT 1 /* 8-bit device width */ 135 #define GPMC_DEVWIDTH_16BIT 2 /* 16-bit device width */ [all …]
|
/linux/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 22 #include "../sof-audio.h" 27 #define SDnFMT_MULT(x) (((x) - 1) << 11) 28 #define SDnFMT_DIV(x) (((x) - 1) << 8) 68 dev_warn(sdev->dev, "can't find div rate %d using 48kHz\n", in hda_dsp_get_mult_div() 88 dev_warn(sdev->dev, "can't find %d bits using 16bit\n", in hda_dsp_get_bits() 99 struct hdac_stream *hstream = substream->runtime->private_data; in hda_dsp_pcm_hw_params() 101 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_pcm_hw_params() 105 hstream->substream = substream; in hda_dsp_pcm_hw_params() 107 dmab = substream->runtime->dma_buffer_p; in hda_dsp_pcm_hw_params() [all …]
|
/linux/arch/arm/boot/dts/axis/ |
H A D | artpec6.dtsi | 2 * Device Tree Source for the Axis ARTPEC-6 SoC 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 #include <dt-bindings/dma/nbpfaxi.h> 45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h> 48 #address-cells = <1>; 49 #size-cells = <1>; 51 interrupt-parent = <&intc>; 54 #address-cells = <1>; 55 #size-cells = <0>; [all …]
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_eth_com.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 13 #define ENA_LLQ_HEADER (128UL - ENA_LLQ_ENTRY_DESC_CHUNK_SIZE) 14 #define ENA_LLQ_LARGE_HEADER (256UL - ENA_LLQ_ENTRY_DESC_CHUNK_SIZE) 19 /* For LLQ, header buffer - pushed to the device mem space */ 71 writel(intr_reg->intr_control, io_cq->unmask_reg); in ena_com_unmask_intr() 78 next_to_comp = io_sq->next_to_comp; in ena_com_free_q_entries() 79 tail = io_sq->tail; in ena_com_free_q_entries() 80 cnt = tail - next_to_comp; in ena_com_free_q_entries() 82 return io_sq->q_depth - 1 - cnt; in ena_com_free_q_entries() [all …]
|
H A D | ena_eth_com.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 15 head_masked = io_cq->head & (io_cq->q_depth - 1); in ena_com_get_next_rx_cdesc() 16 expected_phase = io_cq->phase; in ena_com_get_next_rx_cdesc() 18 cdesc = (struct ena_eth_io_rx_cdesc_base *)(io_cq->cdesc_addr.virt_addr in ena_com_get_next_rx_cdesc() 19 + (head_masked * io_cq->cdesc_entry_size_in_bytes)); in ena_com_get_next_rx_cdesc() 21 desc_phase = (READ_ONCE(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_PHASE_MASK) >> in ena_com_get_next_rx_cdesc() 40 tail_masked = io_sq->tail & (io_sq->q_depth - 1); in get_sq_desc_regular_queue() 42 offset = tail_masked * io_sq->desc_entry_size; in get_sq_desc_regular_queue() 44 return (void *)((uintptr_t)io_sq->desc_addr.virt_addr + offset); in get_sq_desc_regular_queue() [all …]
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 61 return "Stopped - Length Invalid"; in cdnsp_trb_comp_code_string() 63 return "Stopped - Short Packet"; in cdnsp_trb_comp_code_string() 97 return "No-Op"; in cdnsp_trb_type_string() 119 return "No-Op Command"; in cdnsp_trb_type_string() 129 return "MFINDEX Wrap Event"; in cdnsp_trb_type_string() 180 int ep_id = TRB_TO_EP_INDEX(field3) - 1; in cdnsp_decode_trb() 379 "type '%s' -> raw %08x %08x %08x %08x", in cdnsp_decode_trb() 384 if (ret == size - 1) in cdnsp_decode_trb() 402 s = "full-speed"; in cdnsp_decode_slot_context() [all …]
|
/linux/net/dccp/ |
H A D | ackvec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 av->av_buf_head = av->av_buf_tail = DCCPAV_MAX_ACKVEC_LEN - 1; in dccp_ackvec_alloc() 23 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_alloc() 32 list_for_each_entry_safe(cur, next, &av->av_records, avr_node) in dccp_ackvec_purge_records() 34 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_purge_records() 46 * dccp_ackvec_update_records - Record information about sent Ack Vectors 57 return -ENOBUFS; in dccp_ackvec_update_records() 59 avr->avr_ack_seqno = seqno; in dccp_ackvec_update_records() 60 avr->avr_ack_ptr = av->av_buf_head; in dccp_ackvec_update_records() 61 avr->avr_ack_ackno = av->av_buf_ackno; in dccp_ackvec_update_records() [all …]
|
H A D | dccp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (c) 2005-6 Ian McDonald <ian.mcdonald@jandi.co.nz> 20 * DCCP - specific warning and debugging macros. 59 * - DCCP-Response with ACK Subheader and 4 bytes of Service code OR 60 * - DCCP-Reset with ACK Subheader and 4 bytes of Reset Code fields 61 * Hence a safe upper bound for the maximum option length is 1020-28 = 992 65 #define DCCP_MAX_OPT_LEN (MAX_DCCP_SPECIFIC_HEADER - DCCP_MAX_PACKET_HDR) 68 /* Upper bound for initial feature-negotiation overhead (padded to 32 bits) */ 71 #define DCCP_TIMEWAIT_LEN (60 * HZ) /* how long to wait to destroy TIME-WAIT 78 * The maximum back-off value for retransmissions. This is needed for [all …]
|
/linux/sound/soc/codecs/ |
H A D | rt5677-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677-spi.c -- RT5677 ALSA SoC audio codec driver 30 #include "rt5677-spi.h" 39 * DataPhase word size of 16-bit commands is 2 bytes. 40 * DataPhase word size of 32-bit commands is 4 bytes. 41 * DataPhase word size of burst commands is 8 bytes. 42 * The DSP CPU is little-endian. 54 #define RT5677_MIC_BUF_BYTES ((u32)(RT5677_BUF_BYTES_TOTAL - \ 66 size_t dma_offset; /* zero-based offset into runtime->dma_area */ 68 u32 mic_read_offset; /* zero-based offset into DSP's mic buffer */ [all …]
|
/linux/drivers/ata/ |
H A D | pata_cs5530.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata-cs5530.c - CS5530 PATA for new ATA layer 28 unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; in cs5530_port_base() 30 return (void __iomem *)((bmdma & ~0x0F) + 0x20 + 0x10 * ap->port_no); in cs5530_port_base() 34 * cs5530_set_piomode - PIO setup 57 if (adev->devno) in cs5530_set_piomode() 60 iowrite32(cs5530_pio_timings[format][adev->pio_mode - XFER_PIO_0], base); in cs5530_set_piomode() 64 * cs5530_set_dmamode - DMA timing setup 82 switch(adev->dma_mode) { in cs5530_set_dmamode() 100 if (adev->devno == 0) /* Master */ in cs5530_set_dmamode() [all …]
|
/linux/block/ |
H A D | bfq-iosched.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * BFQ is a proportional-share I/O scheduler, with some extra 17 * low-latency capabilities. BFQ also supports full hierarchical 20 * limitations can be found in Documentation/block/bfq-iosched.rst. 22 * BFQ is a proportional-share storage-I/O scheduling algorithm based 23 * on the slice-by-slice service scheme of CFQ. But BFQ assigns 25 * time slices. The device is not granted to the in-service process 31 * B-WF2Q+, to schedule processes according to their budgets. More 33 * process/queue is assigned a user-configurable weight, and B-WF2Q+ 36 * B-WF2Q+, BFQ can afford to assign high budgets to I/O-bound [all …]
|
/linux/drivers/hwtracing/intel_th/ |
H A D | msu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2015 Intel Corporation. 21 #include <linux/dma-mapping.h> 31 #define msc_dev(x) (&(x)->thdev->dev) 35 * READY -> INUSE -+-> LOCKED -+-> READY -> etc. 36 * \-----------/ 42 * All state transitions happen automatically, except for the LOCKED->READY, 57 * struct msc_window - multiblock mode window descriptor 81 * struct msc_iter - iterator for msc buffer 107 * struct msc - MSC device representation [all …]
|
/linux/drivers/memory/ |
H A D | omap-gpmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2005-2006 Nokia Corporation 10 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 33 #include <linux/omap-gpmc.h> 37 #include <linux/platform_data/mtd-nand-omap2.h> 39 #define DEVICE_NAME "omap-gpmc" 258 /* Define chip-selects as reserved by default until probe completes */ 306 * gpmc_get_clk_period - get period of selected clock domain in ps 343 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks() 358 return (time_ps + tick_ps - 1) / tick_ps; in gpmc_ps_to_ticks() [all …]
|
/linux/drivers/net/ethernet/sun/ |
H A D | sungem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 #define GREG_CFG_IBURST 0x00000001 /* Infinite Burst */ 33 * after infinite burst (Apple) */ 39 * This auto-clearing does not occur when the alias at GREG_STAT2 69 * signalled to the cpu. GREG_IACK can be used to clear specific top-level 91 #define GREG_BIFDIAG_BURSTSM 0x007f0000 /* PCI Burst state machine */ 130 * This 13-bit register is programmed by the driver to hold the descriptor 136 * This 13-bit register is updated by GEM to hold to descriptor entry index 171 * them later. -DaveM 220 #define RXDMA_CFG_RINGSZ_32 0x00000000 /* - 32 entries */ [all …]
|
/linux/net/smc/ |
H A D | smc_tx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 43 struct socket *sock = sk->sk_socket; in smc_tx_write_space() 48 if (atomic_read(&smc->conn.sndbuf_space) && sock) { in smc_tx_write_space() 49 if (test_bit(SOCK_NOSPACE, &sock->flags)) in smc_tx_write_space() 50 SMC_STAT_RMB_TX_FULL(smc, !smc->conn.lnk); in smc_tx_write_space() 51 clear_bit(SOCK_NOSPACE, &sock->flags); in smc_tx_write_space() 53 wq = rcu_dereference(sk->sk_wq); in smc_tx_write_space() 55 wake_up_interruptible_poll(&wq->wait, in smc_tx_write_space() 58 if (wq && wq->fasync_list && !(sk->sk_shutdown & SEND_SHUTDOWN)) in smc_tx_write_space() [all …]
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos5433_drm_decon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #include "regs-decon5433.h" 99 val = (val & mask) | (readl(ctx->addr + reg) & ~mask); in decon_set_bits() 100 writel(val, ctx->addr + reg); in decon_set_bits() 105 struct decon_context *ctx = crtc->ctx; in decon_enable_vblank() 109 if (crtc->i80_mode) in decon_enable_vblank() 114 writel(val, ctx->addr + DECON_VIDINTCON0); in decon_enable_vblank() 116 enable_irq(ctx->irq); in decon_enable_vblank() 117 if (!(ctx->out_type & I80_HW_TRG)) in decon_enable_vblank() 118 enable_irq(ctx->te_irq); in decon_enable_vblank() [all …]
|
/linux/drivers/usb/host/ |
H A D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/io-64-nonatomic-lo-hi.h> 20 #include <linux/io-64-nonatomic-hi-lo.h> 22 /* Code sharing between pci-quirks and xhci hcd */ 23 #include "xhci-ext-caps.h" 24 #include "pci-quirks.h" 26 #include "xhci-port.h" 27 #include "xhci-caps.h" 35 /* Max number of USB devices for any host controller - limit in section 6.1 */ 37 /* Section 5.3.3 - MaxPorts */ [all …]
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright 2018-2019 NXP 15 #include <linux/pcs-lynx.h> 663 /* Layer-3 Information */ 669 /* Layer-4 Information */ 900 /* soft-reset the switch core */ in vsc9959_reset() 906 dev_err(ocelot->dev, "timeout: switch core reset\n"); in vsc9959_reset() 916 dev_err(ocelot->dev, "timeout: switch sram init\n"); in vsc9959_reset() 928 * Bit 7-0: Value to be multiplied with unit 958 struct pci_dev *pdev = to_pci_dev(ocelot->dev); in vsc9959_mdio_bus_alloc() [all …]
|
/linux/drivers/gpu/drm/meson/ |
H A D | meson_viu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 * - OSD1 RGB565/RGB888/xRGB8888 scanout 25 * - RGB conversion to x/cb/cr 26 * - Progressive or Interlace buffer scanout 27 * - OSD1 Commit on Vsync 28 * - HDR OSD matrix for GXL/GXM 32 * - BGR888/xBGR8888/BGRx8888/BGRx8888 modes 33 * - YUV4:2:2 Y0CbY1Cr scanout 34 * - Conversion to YUV 4:4:4 from 4:2:2 input 35 * - Colorkey Alpha matching [all …]
|
/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 4 * Copyright 2016-2019 NXP 12 #include <soc/fsl/dpaa2-global.h> 14 #include "qbman-portal.h" 54 /* CENA register offsets in memory-backed mode */ 178 return readl_relaxed(p->addr_cinh + offset); in qbman_read_register() 184 writel_relaxed(value, p->addr_cinh + offset); in qbman_write_register() 189 return p->addr_cena + offset; in qbman_get_cmd() 234 return last - first; in qm_cyc_diff() [all …]
|