/Linux-v6.1/Documentation/devicetree/bindings/spi/ |
D | spi-xilinx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-xilinx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@xilinx.com> 13 - $ref: "spi-controller.yaml#" 18 - xlnx,xps-spi-2.00.a 19 - xlnx,xps-spi-2.00.b 20 - xlnx,axi-quad-spi-1.00.a 28 xlnx,num-ss-bits: [all …]
|
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | verbs.h | 1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */ 3 * Copyright(c) 2015 - 2018 Intel Corporation. 73 /* 24Bits for qpn, upper 8Bits reserved */ 154 u32 pending_tid_w_segs; /* Num of pending tid write segments */ 155 u32 pending_tid_w_resp; /* Num of pending tid write responses */ 160 u32 tid_r_reqs; /* Num of tid reads requested */ 161 u32 tid_r_comp; /* Num of tid reads completed */ 162 u32 pending_tid_r_segs; /* Num of pending tid read segments */ 173 #define HFI1_QP_WQE_INVALID ((u32)-1) 177 struct rvt_sge_state ss; /* Used for TID RDMA READ Request */ member [all …]
|
D | tid_rdma.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 13 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1)) 15 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size) 23 * Bit definitions for priv->s_flags. 28 * HFI1_S_TID_WAIT_INTERLCK - QP is waiting for requester interlock 29 * HFI1_R_TID_WAIT_INTERLCK - QP is waiting for responder interlock 38 /* BIT(7) - BIT(15) reserved for RVT_S_WAIT_*. */ 106 struct rvt_sge_state ss; /* SGE state for TID RDMA requests */ member 126 u32 ack_pending; /* num acks pending for this request */ 133 * relevant (and not the PSNs maintained by verbs). Track per-flow [all …]
|
D | sdma.c | 1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 3 * Copyright(c) 2015 - 2018 Intel Corporation. 212 * sdma_state_name() - return state string from enum 220 static void sdma_get(struct sdma_state *ss) in sdma_get() argument 222 kref_get(&ss->kref); in sdma_get() 227 struct sdma_state *ss = in sdma_complete() local 230 complete(&ss->comp); in sdma_complete() 233 static void sdma_put(struct sdma_state *ss) in sdma_put() argument 235 kref_put(&ss->kref, sdma_complete); in sdma_put() 238 static void sdma_finalput(struct sdma_state *ss) in sdma_finalput() argument [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/ |
D | net2280.h | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * Copyright (C) 2014 Ricardo Ribalda - Qtechnology/AS 16 /*-------------------------------------------------------------------------*/ 26 writel(index, ®s->idxaddr); in get_idx_reg() 28 return readl(®s->idxdata); in get_idx_reg() 34 writel(index, ®s->idxaddr); in set_idx_reg() 35 writel(value, ®s->idxdata); in set_idx_reg() 74 /*-------------------------------------------------------------------------*/ 86 /*-------------------------------------------------------------------------*/ 100 /* analogous to a host-side qh */ [all …]
|
D | net2280.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 * Copyright (C) 2003-2005 PLX Technology, Inc. 28 * Copyright (C) 2014 Ricardo Ribalda - Qtechnology/AS 39 #include <linux/dma-mapping.h> 87 EP_INFO("ep-a", 89 EP_INFO("ep-b", 91 EP_INFO("ep-c", 93 EP_INFO("ep-d", 95 EP_INFO("ep-e", 97 EP_INFO("ep-f", [all …]
|
/Linux-v6.1/drivers/usb/gadget/function/ |
D | uvc_configfs.c | 1 // SPDX-License-Identifier: GPL-2.0 17 /* ----------------------------------------------------------------------------- 46 return li < ri ? -1 : li == ri ? 0 : 1; in uvcg_config_compare_u32() 76 if (type->create_children) in uvcg_config_create_children() 77 return type->create_children(group); in uvcg_config_create_children() 79 for (child = type->children; child && *child; ++child) { in uvcg_config_create_children() 95 return -ENOMEM; in uvcg_config_create_group() 97 config_group_init_type_name(group, type->name, &type->type); in uvcg_config_create_group() 107 list_for_each_entry_safe(child, n, &group->default_groups, group_entry) { in uvcg_config_remove_children() 108 list_del(&child->group_entry); in uvcg_config_remove_children() [all …]
|
/Linux-v6.1/tools/testing/selftests/x86/ |
D | amx.c | 1 // SPDX-License-Identifier: GPL-2.0 23 # error This test is 64-bit only 142 * components corresponding to bits currently set in XCR0. in check_cpuid_xtiledata() 168 /* XSAVE buffer should be 64B-aligned. */ in alloc_xbuf() 177 memset(&buffer->header, 0, sizeof(buffer->header)); in clear_xstate_header() 183 return *(uint64_t *)&buffer->header; in get_xstatebv() 189 *(uint64_t *)(&buffer->header) = bv; in set_xstatebv() 194 int *ptr = (int *)&xbuf->bytes[xtiledata.xbuf_offset]; in set_rand_tiledata() 244 int left = SIGNAL_BUF_LEN - strlen(signal_message_buffer) - 1; in sig_print() 258 void *xbuf = ctx->uc_mcontext.fpregs; in handle_noperm() [all …]
|
/Linux-v6.1/drivers/usb/cdns3/ |
D | cdns3-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2019 Cadence. 6 * Copyright (C) 2017-2018 NXP 15 #include <linux/dma-direction.h> 18 * USBSS-DEV register interface. 23 * struct cdns3_usb_regs - device controller registers. 53 * @buf_addr: Address for On-chip Buffer operations. 54 * @buf_data: Data for On-chip Buffer operations. 55 * @buf_ctrl: On-chip Buffer Access Control. 123 /* USB_CONF - bitmasks */ [all …]
|
/Linux-v6.1/drivers/tty/ |
D | tty_io.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * or rs-channels. It also implements echoing, cooked mode etc. 10 * Kill-line thanks to John T Kohl, who also corrected VMIN = VTIME = 0. 19 * between the high-level tty routines (tty_io.c and tty_ioctl.c) and 20 * the low-level tty routines (serial.c, pty.c, console.c). This 21 * makes for cleaner and more compact code. -TYT, 9/17/92 24 * which can be dynamically activated and de-activated by the line 29 * -- TYT, 1/31/92 32 * other bits should be there. 33 * -- Nick Holloway <alfie@dcs.warwick.ac.uk>, 27th May 1993. [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | uniphier-pro5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "socionext,uniphier-pro5"; 12 #address-cells = <1>; 13 #size-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 21 compatible = "arm,cortex-a9"; 24 enable-method = "psci"; [all …]
|
/Linux-v6.1/drivers/usb/host/ |
D | xhci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 11 #include <linux/dma-mapping.h> 170 unsigned int num; member 283 return readl(tegra->fpci_base + offset); in fpci_readl() 289 writel(value, tegra->fpci_base + offset); in fpci_writel() 294 return readl(tegra->ipfs_base + offset); in ipfs_readl() 300 writel(value, tegra->ipfs_base + offset); in ipfs_writel() 327 struct clk *clk = tegra->ss_src_clk; in tegra_xusb_set_ss_clk() 341 new_parent_rate = clk_get_rate(tegra->pll_u_480m); in tegra_xusb_set_ss_clk() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/socionext/ |
D | uniphier-pxs3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/uniphier-gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/thermal/thermal.h> 14 compatible = "socionext,uniphier-pxs3"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; 20 #address-cells = <2>; [all …]
|
D | uniphier-ld20.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/uniphier-gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/thermal/thermal.h> 14 compatible = "socionext,uniphier-ld20"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/bdc/ |
D | bdc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * bdc.h - header for the BRCM BDC USB3.0 device controller 18 #include <linux/dma-mapping.h> 40 /* Start with SS as default */ 46 /* Num of bds per table */ 49 /* Num of tables in bd list for control,bulk and Int ep */ 52 /* Num of tables in bd list for Isoch ep */ 274 /* On disconnect, preserve these bits and clear rest */ 306 /* Max_bdi = num_tabs * num_bds_table - 1 */ 414 /* num of endpoints for a particular instantiation of IP */ [all …]
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. * 170 unsigned int in_use; /* # of in-use command descriptors */ 218 unsigned int avail; /* available bits - quota */ 228 unsigned int max_avail; /* max bits to be sent to any port */ 230 unsigned int num; /* num skbs in per port queues */ member 255 unsigned int intrtimer_nres; /* no-resource interrupt timer */ 256 unsigned int fixed_intrtimer;/* non-adaptive interrupt timer */ 277 struct sched *s = sge->tx_sched; in tx_sched_stop() 280 tasklet_kill(&s->sched_tsk); in tx_sched_stop() [all …]
|
/Linux-v6.1/drivers/spi/ |
D | spi-sh-msiof.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2014-2017 Glider bvba 14 #include <linux/dma-mapping.h> 87 #define SIMDR1_SYNCAC_SHIFT 25 /* Sync Polarity (1 = Active-low) */ 91 #define SIMDR1_FLD_MASK GENMASK(3, 2) /* Frame Sync Signal Interval (0-3) */ 100 #define SIMDR2_BITLEN1(i) (((i) - 1) << 24) /* Data Size (8-32 bits) */ 101 #define SIMDR2_WDLEN1(i) (((i) - 1) << 16) /* Word Count (1-64/256 (SH, A1))) */ 105 #define SISCR_BRPS_MASK GENMASK(12, 8) /* Prescaler Setting (1-32) */ 106 #define SISCR_BRPS(i) (((i) - 1) << 8) 127 #define SICTR_TXDIZ_HIZ (2 << 22) /* High-impedance */ [all …]
|
D | spi-xilinx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * 2002-2007 (c) MontaVista Software, Inc. 56 #define XSPI_SSR_OFFSET 0x70 /* 32-bit Slave Select Register */ 120 if (!xspi->tx_ptr) { in xilinx_spi_tx() 121 xspi->write_fn(0, xspi->regs + XSPI_TXD_OFFSET); in xilinx_spi_tx() 125 switch (xspi->bytes_per_word) { in xilinx_spi_tx() 127 data = *(u8 *)(xspi->tx_ptr); in xilinx_spi_tx() 130 data = *(u16 *)(xspi->tx_ptr); in xilinx_spi_tx() 133 data = *(u32 *)(xspi->tx_ptr); in xilinx_spi_tx() 137 xspi->write_fn(data, xspi->regs + XSPI_TXD_OFFSET); in xilinx_spi_tx() [all …]
|
/Linux-v6.1/arch/x86/boot/compressed/ |
D | kaslr.c | 1 // SPDX-License-Identifier: GPL-2.0 41 /* Simplified build-specific string for starting entropy. */ 52 /* Rotate by odd number of bits and XOR. */ in rotate_xor() 53 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7); in rotate_xor() 82 * Store memory limit: MAXMEM on 64-bit and KERNEL_IMAGE_SIZE on 32-bit. 96 MEM_AVOID_MEMMAP_END = MEM_AVOID_MEMMAP_BEGIN + MAX_MEMMAP_REGIONS - 1, 105 if (one->start + one->size <= two->start) in mem_overlaps() 108 if (one->start >= two->start + two->size) in mem_overlaps() 133 return -EINVAL; in parse_memmap() 137 return -EINVAL; in parse_memmap() [all …]
|
/Linux-v6.1/drivers/usb/misc/ |
D | usbtest.c | 1 // SPDX-License-Identifier: GPL-2.0 16 /*-------------------------------------------------------------------------*/ 18 static int override_alt = -1; 23 /*-------------------------------------------------------------------------*/ 30 __u32 test_num; /* 0..(TEST_CASES-1) */ 47 __u32 test_num; /* 0..(TEST_CASES-1) */ 63 /*-------------------------------------------------------------------------*/ 72 //#define KEYSPAN_19Qi /* grab un-renumerated serial adapter */ 74 /*-------------------------------------------------------------------------*/ 112 return interface_to_usbdev(test->intf); in testdev_to_usbdev() [all …]
|
/Linux-v6.1/drivers/iommu/ |
D | msm_iommu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 13 #include <linux/io-pgtable.h> 25 #include "msm_iommu_hw-8xxx.h" 58 ret = clk_enable(iommu->pclk); in __enable_clocks() 62 if (iommu->clk) { in __enable_clocks() 63 ret = clk_enable(iommu->clk); in __enable_clocks() 65 clk_disable(iommu->pclk); in __enable_clocks() 73 if (iommu->clk) in __disable_clocks() 74 clk_disable(iommu->clk); in __disable_clocks() [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | packet_mmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es> 23 - Johann Baudy 67 [setup] socket() -------> creation of the capture socket 68 setsockopt() ---> allocation of the circular buffer (ring) 70 mmap() ---------> mapping of the allocated buffer to the 73 [capture] poll() ---------> to wait for incoming packets 75 [shutdown] close() --------> destruction of the capture socket and 88 supported and a link level pseudo-header is provided 107 [setup] socket() -------> creation of the transmission socket [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath10k/ |
D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 28 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 44 * variable is already 4-byte aligned by virtue of being a u32 526 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 527 * wmi_service word. Extending this to make use of remaining unused bits 532 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ 533 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4)) [all …]
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 regs->rax, regs->rbx, regs->rcx, regs->rdx); in regs_dump() 32 regs->rsi, regs->rdi, regs->rsp, regs->rbp); in regs_dump() 36 regs->r8, regs->r9, regs->r10, regs->r11); in regs_dump() 40 regs->r12, regs->r13, regs->r14, regs->r15); in regs_dump() 43 regs->rip, regs->rflags); in regs_dump() 51 indent, "", segment->base, segment->limit, in segment_dump() 52 segment->selector, segment->type); in segment_dump() 55 indent, "", segment->present, segment->dpl, in segment_dump() 56 segment->db, segment->s, segment->l); in segment_dump() [all …]
|
/Linux-v6.1/drivers/pcmcia/ |
D | rsrc_nonstatic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rsrc_nonstatic.c -- Resource management routines for !SS_CAP_STATIC_MAP sockets 28 #include <pcmcia/ss.h> 49 u_long base, num; member 83 if (s && s->cb_dev) in claim_region() 84 parent = pci_find_parent_resource(s->cb_dev, res); in claim_region() 108 static int add_interval(struct resource_map *map, u_long base, u_long num) in add_interval() argument 112 for (p = map; ; p = p->next) { in add_interval() 113 if ((p != map) && (p->base+p->num >= base)) { in add_interval() 114 p->num = max(num + base - p->base, p->num); in add_interval() [all …]
|