Home
last modified time | relevance | path

Searched +full:num +full:- +full:ss +full:- +full:bits (Results 1 – 25 of 70) sorted by relevance

123

/linux/Documentation/devicetree/bindings/spi/
H A Dspi-xilinx.yaml1 # 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@amd.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/drivers/pci/
H A Dof_property.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
10 #include <linux/bits.h>
57 prop[0] = FIELD_PREP(OF_PCI_ADDR_FIELD_BUS, pdev->bus->number) | in of_pci_set_address()
58 FIELD_PREP(OF_PCI_ADDR_FIELD_DEV, PCI_SLOT(pdev->devfn)) | in of_pci_set_address()
59 FIELD_PREP(OF_PCI_ADDR_FIELD_FUNC, PCI_FUNC(pdev->devfn)); in of_pci_set_address()
70 u32 ss; in of_pci_get_addr_flags() local
72 if (res->flags & IORESOURCE_IO) in of_pci_get_addr_flags()
73 ss = OF_PCI_ADDR_SPACE_IO; in of_pci_get_addr_flags()
74 else if (res->flags & IORESOURCE_MEM_64) in of_pci_get_addr_flags()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dverbs.h1 /* 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 …]
H A Dtid_rdma.h1 /* 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 …]
H A Dsdma.c1 // 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/drivers/usb/gadget/udc/
H A Dnet2280.h1 // SPDX-License-Identifier: GPL-2.0+
10 * Copyright (C) 2014 Ricardo Ribalda - Qtechnology/AS
16 /*-------------------------------------------------------------------------*/
26 writel(index, &regs->idxaddr); in get_idx_reg()
28 return readl(&regs->idxdata); in get_idx_reg()
34 writel(index, &regs->idxaddr); in set_idx_reg()
35 writel(value, &regs->idxdata); in set_idx_reg()
74 /*-------------------------------------------------------------------------*/
86 /*-------------------------------------------------------------------------*/
100 /* analogous to a host-side qh */
[all …]
H A Dnet2280.c1 // 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 …]
H A Ddummy_hcd.c1 // SPDX-License-Identifier: GPL-2.0+
3 * dummy_hcd.c -- Dummy/Loopback USB host and device emulator driver.
8 * Copyright (C) 2003-2005 Alan Stern
14 * Linux-USB host controller driver. USB traffic is simulated; there's
17 * - Gadget driver, responding to requests (device);
18 * - Host-side device driver, as already familiar in Linux.
50 #define POWER_BUDGET 500 /* in mA; use 8 for low-power port testing */
67 unsigned int num; member
73 .num = 1,
79 module_param_named(num, mod_data.num, uint, S_IRUGO);
[all …]
/linux/tools/testing/selftests/x86/
H A Damx.c1 // SPDX-License-Identifier: GPL-2.0
25 # error This test is 64-bit only
119 * components corresponding to bits currently set in XCR0. in check_cpuid_xtiledata()
145 /* XSAVE buffer should be 64B-aligned. */ in alloc_xbuf()
154 memset(&buffer->header, 0, sizeof(buffer->header)); in clear_xstate_header()
160 *(uint64_t *)(&buffer->header) = bv; in set_xstatebv()
165 int *ptr = (int *)&xbuf->bytes[xtiledata.xbuf_offset]; in set_rand_tiledata()
215 int left = SIGNAL_BUF_LEN - strlen(signal_message_buffer) - 1; in sig_print()
229 void *xbuf = ctx->uc_mcontext.fpregs; in handle_noperm()
237 if (si->si_code != ILL_ILLOPC) { in handle_noperm()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.h1 /* 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/drivers/tty/
H A Dtty_io.c1 // 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/drivers/usb/gadget/udc/bdc/
H A Dbdc.h1 /* 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/drivers/usb/host/
H A Dxhci-tegra.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
11 #include <linux/dma-mapping.h>
193 unsigned int num; member
321 return readl(tegra->fpci_base + offset); in fpci_readl()
327 writel(value, tegra->fpci_base + offset); in fpci_writel()
332 return readl(tegra->ipfs_base + offset); in ipfs_readl()
338 writel(value, tegra->ipfs_base + offset); in ipfs_writel()
343 return readl(tegra->bar2_base + offset); in bar2_readl()
349 writel(value, tegra->bar2_base + offset); in bar2_writel()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c1 // 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/drivers/spi/
H A Dspi-sh-msiof.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2014-2017 Glider bvba
14 #include <linux/dma-mapping.h>
89 #define SIMDR1_SYNCAC_SHIFT 25 /* Sync Polarity (1 = Active-low) */
93 #define SIMDR1_FLD_MASK GENMASK(3, 2) /* Frame Sync Signal Interval (0-3) */
102 #define SIMDR2_BITLEN1(i) (((i) - 1) << 24) /* Data Size (8-32 bits) */
103 #define SIMDR2_WDLEN1(i) (((i) - 1) << 16) /* Word Count (1-64/256 (SH, A1))) */
107 #define SISCR_BRPS_MASK GENMASK(12, 8) /* Prescaler Setting (1-32) */
108 #define SISCR_BRPS(i) (((i) - 1) << 8)
129 #define SICTR_TXDIZ_HIZ (2 << 22) /* High-impedance */
[all …]
H A Dspi-xilinx.c1 // 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/drivers/usb/misc/
H A Dusbtest.c1 // 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/drivers/iommu/
H A Dmsm_iommu.c1 // 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/Documentation/networking/
H A Dpacket_mmap.rst1 .. 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/drivers/net/wireless/ath/ath10k/
H A Dwmi.h1 /* 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.
6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff
45 * variable is already 4-byte aligned by virtue of being a u32
527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit
528 * wmi_service word. Extending this to make use of remaining unused bits
533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \
[all …]
/linux/drivers/pcmcia/
H A Drsrc_nonstatic.c1 // 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 …]
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c1 // SPDX-License-Identifier: GPL-2.0-only
33 regs->rax, regs->rbx, regs->rcx, regs->rdx); in regs_dump()
37 regs->rsi, regs->rdi, regs->rsp, regs->rbp); in regs_dump()
41 regs->r8, regs->r9, regs->r10, regs->r11); in regs_dump()
45 regs->r12, regs->r13, regs->r14, regs->r15); in regs_dump()
48 regs->rip, regs->rflags); in regs_dump()
56 indent, "", segment->base, segment->limit, in segment_dump()
57 segment->selector, segment->type); in segment_dump()
60 indent, "", segment->present, segment->dpl, in segment_dump()
61 segment->db, segment->s, segment->l); in segment_dump()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de>
7 #include <dt-bindings/clock/imx8mq-clock.h>
8 #include <dt-bindings/power/imx8mq-power.h>
9 #include <dt-bindings/reset/imx8mq-reset.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include "dt-bindings/input/input.h"
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/thermal/thermal.h>
14 #include <dt-bindings/interconnect/imx8mq.h>
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dipq8074.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-ipq8074.h>
10 #address-cells = <2>;
11 #size-cells = <2>;
15 interrupt-parent = <&intc>;
19 compatible = "fixed-clock";
20 clock-frequency = <32768>;
21 #clock-cells = <0>;
25 compatible = "fixed-clock";
[all …]
/linux/Documentation/input/devices/
H A Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
67 ---------------------------
72 settable threshold of motion. Regardless of the threshold, all bits of
89 Note that the value of the button state bits should be valid even if the
92 +127...-128 range, the motion is broken into multiple packets.
97 ---------------------------
[all …]

123