Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-xilinx.txt2 -------------------------------------------------
5 - compatible : Should be "xlnx,xps-spi-2.00.a", "xlnx,xps-spi-2.00.b" or "xlnx,axi-quad-spi-1.00.a"
6 - reg : Physical base address and size of SPI registers map.
7 - interrupts : Property with a value describing the interrupt
11 - xlnx,num-ss-bits : Number of chip selects used.
12 - xlnx,num-transfer-bits : Number of bits per transfer. This will be 8 if not specified
16 compatible = "xlnx,xps-spi-2.00.a";
17 interrupt-parent = <&intc>;
20 xlnx,num-ss-bits = <0x1>;
21 xlnx,num-transfer-bits = <32>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
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 …]
/kernel/linux/linux-6.6/drivers/pci/
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 …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
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 …]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/
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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dverbs.h2 * Copyright(c) 2015 - 2018 Intel Corporation.
24 * - Redistributions of source code must retain the above copyright
26 * - Redistributions in binary form must reproduce the above copyright
30 * - Neither the name of Intel Corporation nor the names of its
115 /* 24Bits for qpn, upper 8Bits reserved */
196 u32 pending_tid_w_segs; /* Num of pending tid write segments */
197 u32 pending_tid_w_resp; /* Num of pending tid write responses */
202 u32 tid_r_reqs; /* Num of tid reads requested */
203 u32 tid_r_comp; /* Num of tid reads completed */
204 u32 pending_tid_r_segs; /* Num of pending tid read segments */
[all …]
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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Duvc_configfs.c1 // SPDX-License-Identifier: GPL-2.0
18 /* -----------------------------------------------------------------------------
49 return li < ri ? -1 : li == ri ? 0 : 1; in uvcg_config_compare_u32()
85 if (type->create_children) in uvcg_config_create_children()
86 return type->create_children(group); in uvcg_config_create_children()
88 for (child = type->children; child && *child; ++child) { in uvcg_config_create_children()
104 return -ENOMEM; in uvcg_config_create_group()
106 config_group_init_type_name(group, type->name, &type->type); in uvcg_config_create_group()
116 list_for_each_entry_safe(child, n, &group->default_groups, group_entry) { in uvcg_config_remove_children()
117 list_del(&child->group_entry); in uvcg_config_remove_children()
[all …]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
Duvc_configfs.c1 // SPDX-License-Identifier: GPL-2.0
19 /* -----------------------------------------------------------------------------
48 return li < ri ? -1 : li == ri ? 0 : 1; in uvcg_config_compare_u32()
59 unsigned int num; in __uvcg_fill_item_entries() local
63 ret = kstrtouint(buf, 0, &num); in __uvcg_fill_item_entries()
67 if (num != (num & GENMASK((size * 8) - 1, 0))) in __uvcg_fill_item_entries()
68 return -ERANGE; in __uvcg_fill_item_entries()
71 memcpy(*values, &num, size); in __uvcg_fill_item_entries()
88 return -EINVAL; in __uvcg_iter_item_entries()
92 return -ENOMEM; in __uvcg_iter_item_entries()
[all …]
/kernel/linux/linux-6.6/drivers/usb/cdns3/
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 …]
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dgadget.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2018-2019 Cadence.
6 * Copyright (C) 2017-2018 NXP
17 * USBSS-DEV register interface.
22 * struct cdns3_usb_regs - device controller registers.
52 * @buf_addr: Address for On-chip Buffer operations.
53 * @buf_data: Data for On-chip Buffer operations.
54 * @buf_ctrl: On-chip Buffer Access Control.
122 /* USB_CONF - bitmasks */
131 /* Little Endian access - default */
[all …]
/kernel/linux/linux-6.6/drivers/tty/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Duniphier-pro5.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Copyright (C) 2015-2016 Socionext Inc.
9 compatible = "socionext,uniphier-pro5";
10 #address-cells = <1>;
11 #size-cells = <1>;
14 #address-cells = <1>;
15 #size-cells = <0>;
19 compatible = "arm,cortex-a9";
22 enable-method = "psci";
23 next-level-cache = <&l2>;
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
Damx.c1 // SPDX-License-Identifier: GPL-2.0
25 # error This test is 64-bit only
144 * components corresponding to bits currently set in XCR0. in check_cpuid_xtiledata()
170 /* XSAVE buffer should be 64B-aligned. */ in alloc_xbuf()
179 memset(&buffer->header, 0, sizeof(buffer->header)); in clear_xstate_header()
185 return *(uint64_t *)&buffer->header; in get_xstatebv()
191 *(uint64_t *)(&buffer->header) = bv; in set_xstatebv()
196 int *ptr = (int *)&xbuf->bytes[xtiledata.xbuf_offset]; in set_rand_tiledata()
246 int left = SIGNAL_BUF_LEN - strlen(signal_message_buffer) - 1; in sig_print()
260 void *xbuf = ctx->uc_mcontext.fpregs; in handle_noperm()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/socionext/
Duniphier-pxs3.dtsi1 // 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/thermal/thermal.h>
13 compatible = "socionext,uniphier-pxs3";
14 #address-cells = <2>;
15 #size-cells = <2>;
16 interrupt-parent = <&gic>;
19 #address-cells = <2>;
20 #size-cells = <0>;
[all …]
/kernel/linux/linux-5.10/drivers/tty/
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 …]
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/
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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
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 …]
/kernel/linux/linux-6.6/drivers/usb/host/
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 …]
/kernel/linux/linux-6.6/drivers/spi/
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 …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sh-msiof.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2014-2017 Glider bvba
14 #include <linux/dma-mapping.h>
90 #define SIMDR1_SYNCAC_SHIFT 25 /* Sync Polarity (1 = Active-low) */
94 #define SIMDR1_FLD_MASK GENMASK(3, 2) /* Frame Sync Signal Interval (0-3) */
103 #define SIMDR2_BITLEN1(i) (((i) - 1) << 24) /* Data Size (8-32 bits) */
104 #define SIMDR2_WDLEN1(i) (((i) - 1) << 16) /* Word Count (1-64/256 (SH, A1))) */
108 #define SISCR_BRPS_MASK GENMASK(12, 8) /* Prescaler Setting (1-32) */
109 #define SISCR_BRPS(i) (((i) - 1) << 8)
130 #define SICTR_TXDIZ_HIZ (2 << 22) /* High-impedance */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dsge.c23 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
179 unsigned int in_use; /* # of in-use command descriptors */
227 unsigned int avail; /* available bits - quota */
237 unsigned int max_avail; /* max bits to be sent to any port */
239 unsigned int num; /* num skbs in per port queues */ member
264 unsigned int intrtimer_nres; /* no-resource interrupt timer */
265 unsigned int fixed_intrtimer;/* non-adaptive interrupt timer */
286 struct sched *s = sge->tx_sched; in tx_sched_stop()
289 tasklet_kill(&s->sched_tsk); in tx_sched_stop()
292 __skb_queue_purge(&s->p[s->port].skbq); in tx_sched_stop()
[all …]

123456