Home
last modified time | relevance | path

Searched +full:ulp +full:- +full:0 (Results 1 – 25 of 136) sorted by relevance

123456

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2016-2018 Broadcom Limited
33 struct bnxt_en_dev *edev = bp->edev; in bnxt_fill_msix_vecs()
36 if (!edev->ulp_tbl->msix_requested) { in bnxt_fill_msix_vecs()
37 netdev_warn(bp->dev, "Requested MSI-X vectors insufficient\n"); in bnxt_fill_msix_vecs()
40 num_msix = edev->ulp_tbl->msix_requested; in bnxt_fill_msix_vecs()
41 idx = edev->ulp_tbl->msix_base; in bnxt_fill_msix_vecs()
42 for (i = 0; i < num_msix; i++) { in bnxt_fill_msix_vecs()
43 ent[i].vector = bp->irq_tbl[idx + i].vector; in bnxt_fill_msix_vecs()
45 if (bp->flags & BNXT_FLAG_CHIP_P5) { in bnxt_fill_msix_vecs()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_ulp.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved.
6 * Copyright (c) 2016-2017, Dave Watson <davejwatson@fb.com>. All rights reserved.
27 if (strcmp(e->name, name) == 0) in tcp_ulp_find()
36 const struct tcp_ulp_ops *ulp = NULL; in __tcp_ulp_find_autoload() local
39 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload()
42 if (!ulp && capable(CAP_NET_ADMIN)) { in __tcp_ulp_find_autoload()
44 request_module("tcp-ulp-%s", name); in __tcp_ulp_find_autoload()
46 ulp = tcp_ulp_find(name); in __tcp_ulp_find_autoload()
49 if (!ulp || !try_module_get(ulp->owner)) in __tcp_ulp_find_autoload()
[all …]
/openbmc/qemu/tests/fp/
H A Dfp-test-log2.c2 * fp-test-log2.c - test QEMU's softfloat log2
7 * See the COPYING file in the top-level directory.
28 uint64_t ulp = UINT64_MAX; in compare() local
33 msb = 63 - __builtin_clzll(real.i ^ soft.i); in compare()
37 ulp = real.i - soft.i; in compare()
39 ulp = soft.i - real.i; in compare()
43 /* glibc allows 3 ulp error in its libm-test-ulps; allow 4 here */ in compare()
44 if (!exact && ulp <= 4) { in compare()
57 (int)(soft.i >> 52) - (int)(real.i >> 52)); in compare()
59 printf("Error in fraction: %" PRIu64 " ulp\n\n", ulp); in compare()
[all …]
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_queue.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
18 * - The driver indices are always masked off to q->index_mask
20 * - The user whether user space or kernel is generally
23 * - The driver indices for queues must not be written
26 * - By passing the type in the parameter list separate from q
30 * - These queues are lock free. The user and driver must protect
36 * enum queue_type - type of queue
39 * application or a kernel ulp.
44 * @QUEUE_TYPE_FROM_ULP: Queue is written by kernel ulp and
49 * read by kernel ulp.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Diqs626a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
19 - $ref: touchscreen/touchscreen.yaml#
31 "#address-cells":
34 "#size-cells":
35 const: 0
[all …]
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dich8lan.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
7 #define ICH_FLASH_GFPREG 0x0000
8 #define ICH_FLASH_HSFSTS 0x0004
9 #define ICH_FLASH_HSFCTL 0x0006
10 #define ICH_FLASH_FADDR 0x0008
11 #define ICH_FLASH_FDATA0 0x0010
12 #define ICH_FLASH_PR0 0x0074
18 #define ICH_FLASH_LINEAR_ADDR_MASK 0x00FFFFFF
21 #define ICH_CYCLE_READ 0
[all …]
H A Dich8lan.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
5 * 82562G-2 10/100 Network Connection
7 * 82562GT-2 10/100 Network Connection
9 * 82562V-2 10/100 Network Connection
10 * 82566DC-2 Gigabit Network Connection
12 * 82566DM-2 Gigabit Network Connection
19 * 82567LM-2 Gigabit Network Connection
20 * 82567LF-2 Gigabit Network Connection
21 * 82567V-2 Gigabit Network Connection
[all …]
/openbmc/linux/net/sctp/
H A Dprimitive.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2000 Cisco, Inc.
4 * Copyright (c) 1999-2001 Motorola, Inc.
11 * functions--this file is the functions which populate the struct proto
16 * lksctp developers <linux-sctp@vger.kernel.org>
40 int error = 0; \
47 state = asoc ? asoc->state : SCTP_STATE_CLOSED; \
48 ep = asoc ? asoc->ep : NULL; \
55 /* 10.1 ULP-to-SCTP
60 * -> association id [,destination transport addr list] [,outbound stream
[all …]
H A Dulpqueue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
10 * This abstraction carries sctp events to the ULP (sockets).
14 * lksctp developers <linux-sctp@vger.kernel.org>
40 /* Initialize a ULP queue from a block of memory. */
43 memset(ulpq, 0, sizeof(struct sctp_ulpq)); in sctp_ulpq_init()
45 ulpq->asoc = asoc; in sctp_ulpq_init()
46 skb_queue_head_init(&ulpq->reasm); in sctp_ulpq_init()
47 skb_queue_head_init(&ulpq->reasm_uo); in sctp_ulpq_init()
[all …]
/openbmc/linux/ipc/
H A Dsem.c1 // SPDX-License-Identifier: GPL-2.0
9 * SMP-threaded, sysctl's added
30 * - FIFO ordering for semop() operations (just FIFO, not starvation
32 * - multiple semaphore operations that alter the same semaphore in
34 * - sem_ctime (time of last semctl()) is updated in the IPC_SET, SETVAL and
36 * - two Linux specific semctl() commands: SEM_STAT, SEM_INFO.
37 * - undo adjustments at process exit are limited to 0..SEMVMX.
38 * - namespace are supported.
39 * - SEMMSL, SEMMNS, SEMOPM and SEMMNI can be configured at runtime by writing
41 * - statistics about the usage are reported in /proc/sysvipc/sem.
[all …]
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_cmds.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * linux-drivers@broadcom.com
91 struct be_queue_info *mccq = &phba->ctrl.mcc_obj.q; in alloc_mcc_wrb()
95 spin_lock(&phba->ctrl.mcc_lock); in alloc_mcc_wrb()
96 if (mccq->used == mccq->len) { in alloc_mcc_wrb()
100 mccq->used, phba->ctrl.mcc_tag_available); in alloc_mcc_wrb()
104 if (!phba->ctrl.mcc_tag_available) in alloc_mcc_wrb()
107 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb()
111 "BC_%d : MCC tag 0 allocated: tag avail %u alloc index %u\n", in alloc_mcc_wrb()
112 phba->ctrl.mcc_tag_available, in alloc_mcc_wrb()
[all …]
H A Dbe_main.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * linux-drivers@broadcom.com
30 "Open-iSCSI Driver version" BUILD_STR
33 #define BE_VENDOR_ID 0x19A2
34 #define ELX_VENDOR_ID 0x10DF
36 #define BE_DEVICE_ID1 0x212
37 #define OC_DEVICE_ID1 0x702
38 #define OC_DEVICE_ID2 0x703
41 #define BE_DEVICE_ID2 0x222
42 #define OC_DEVICE_ID3 0x712
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3cdev.h2 * Copyright (C) 2006-2008 Chelsio Communications. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
47 T3A = 0,
66 void *ulp; /* ulp stuff */ member
67 void *ulp_iscsi; /* ulp iscsi */
/openbmc/linux/Documentation/networking/
H A Dtls.rst10 Transport Layer Security (TLS) is a Upper Layer Protocol (ULP) that runs over
11 TCP. TLS provides end-to-end data integrity and confidentiality.
17 -------------------------
19 First create a new TCP socket and set the TLS ULP.
21 .. code-block:: c
23 sock = socket(AF_INET, SOCK_STREAM, 0);
26 Setting the TLS ULP allows us to set/get TLS socket options. Currently
29 data-path to the kernel. There is a separate socket option for moving
32 .. code-block:: c
65 ----------------------------
[all …]
H A Dtls-handshake.rst1 .. SPDX-License-Identifier: GPL-2.0
4 In-Kernel TLS Handshake
10 Transport Layer Security (TLS) is a Upper Layer Protocol (ULP) that runs
11 over TCP. TLS provides end-to-end data integrity and confidentiality in
21 implementations so that in-kernel TLS consumers do not need to be
38 the socket to use the TLS ULP and sets the session information using the
46 A kernel TLS consumer initiates a client-side TLS handshake on an open
50 .. code-block:: c
68 instantiated a struct file in sock->file.
75 The consumer can provide a NUL-terminated hostname in the @ta_peername
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls.h1 /* SPDX-License-Identifier: GPL-2.0-only */
37 #define CHTLS_DRV_VERSION "1.0.0.0-ko"
43 #define TLS_KEYCTX_RXPROT_VER_M 0xf
47 #define TLS_KEYCTX_RXCIPH_MODE_M 0xf
51 #define TLS_KEYCTX_RXAUTH_MODE_M 0xf
58 #define TLS_KEYCTX_RX_SEQCTR_M 0x3
65 #define TLS_KEYCTX_RXCK_SIZE_M 0x7
68 #define TLS_KEYCTX_RXMK_SIZE_S 0
69 #define TLS_KEYCTX_RXMK_SIZE_M 0x7
73 #define KEYCTX_TX_WR_IV_M 0x1ffULL
[all …]
H A Dchtls_cm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 /* 3:0 */
13 #define TCB_ULP_TYPE_W 0
14 #define TCB_ULP_TYPE_S 0
15 #define TCB_ULP_TYPE_M 0xfULL
19 #define TCB_ULP_RAW_W 0
21 #define TCB_ULP_RAW_M 0xffULL
33 #define TF_TLS_ENABLE_S 0
43 #define MAX_RCV_WND ((1U << 27) - 1)
51 #define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000))
[all …]
/openbmc/linux/arch/mips/math-emu/
H A Ddp_sqrt.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 1994-2000 Algorithmics Ltd.
13 0, 1204, 3062, 5746, 9193, 13348, 18162, 23592,
41 /* sqrt(0) = 0 */ in ieee754dp_sqrt()
46 /* sqrt(-Inf) = Nan */ in ieee754dp_sqrt()
58 /* sqrt(-x) = Nan */ in ieee754dp_sqrt()
72 scalx = 0; in ieee754dp_sqrt()
73 if (xe > 512) { /* x > 2**-512? */ in ieee754dp_sqrt()
74 xe -= 512; /* x = x / 2**512 */ in ieee754dp_sqrt()
76 } else if (xe < -512) { /* x < 2**-512? */ in ieee754dp_sqrt()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dfsl,imx7ulp-pinctrl.txt3 i.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7
10 Please refer to fsl,imx-pinctrl.txt in this directory for common binding
14 - compatible: "fsl,imx7ulp-iomuxc1".
15 - fsl,pins: Each entry consists of 5 integers which represents the mux
19 imx7ulp-pinfunc.h in the device tree source folder.
21 pull-up on this pin.
31 PAD_CTL_DSE_STD (0 << 6)
33 PAD_CTL_PUSH_PULL (0 << 5)
35 PAD_CTL_SRE_STD (0 << 2)
36 PAD_CTL_PE (1 << 0)
[all …]
/openbmc/linux/arch/m68k/fpsp040/
H A Dstan.S8 | Input: Double-extended number X in location pointed to
11 | Output: The value tan(X) returned in floating-point register Fp0.
13 | Accuracy and Monotonicity: The returned result is within 3 ulp in
14 | 64 significant bit, i.e. within 0.5001 ulp to 53 bits if the
24 | 1. If |X| >= 15Pi or |X| < 2**(-40), go to 6.
27 | k = N mod 2, so in particular, k = 0 or 1.
37 | 4. (k is odd) Tan(X) = -cot(r). Since tan(r) is approximated by a
41 | -Cot(r) = -V/U. Exit.
45 | 7. (|X|<2**(-40)) Tan(X) = X. Exit.
62 BOUNDS1: .long 0x3FD78000,0x4004BC7E
[all …]
/openbmc/u-boot/post/lib_powerpc/fpu/
H A Dmul-subnormal-single-1.c1 // SPDX-License-Identifier: GPL-2.0+
9 * numbers) are rounded to within 0.5 ulp. PR other/14354.
53 ok = 0; in tstmul()
57 causing the test to fold as constants at compile-time. */
63 {0xfff, 0x3f800400, 0xfff},
64 {0xf, 0x3fc88888, 0x17},
65 {0xf, 0x3f844444, 0xf}
72 for (i = 0; i < ARRAY_SIZE(expected); i++) in fpu_post_test_math7()
80 return -1; in fpu_post_test_math7()
82 return 0; in fpu_post_test_math7()
/openbmc/linux/net/sunrpc/xprtrdma/
H A Dbackchannel.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015-2020, Oracle and/or its affiliates.
5 * Support for reverse-direction RPCs on RPC/RDMA.
19 * xprt_rdma_bc_setup - Pre-allocate resources for handling backchannel requests
23 * Returns 0 on success; otherwise a negative errno
29 r_xprt->rx_buf.rb_bc_srv_max_requests = RPCRDMA_BACKWARD_WRS >> 1; in xprt_rdma_bc_setup()
31 return 0; in xprt_rdma_bc_setup()
35 * xprt_rdma_bc_maxpayload - Return maximum backchannel message size
43 struct rpcrdma_ep *ep = r_xprt->rx_ep; in xprt_rdma_bc_maxpayload()
46 maxmsg = min_t(unsigned int, ep->re_inline_send, ep->re_inline_recv); in xprt_rdma_bc_maxpayload()
[all …]
/openbmc/linux/include/net/
H A Dinet_connection_sock.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
57 /** inet_connection_sock - INET connection oriented sock
68 * @icsk_ulp_ops Pluggable ULP control hook
69 * @icsk_ulp_data ULP private data
76 * @icsk_probes_out: unanswered 0 window probes
80 * @icsk_probes_tstamp: Probe timestamp (cleared by non-zero window ack)
155 return (void *)inet_csk(sk)->icsk_ca_priv; in inet_csk_ca()
180 inet_csk(sk)->icsk_ack.pending |= ICSK_ACK_SCHED; in inet_csk_schedule_ack()
185 return inet_csk(sk)->icsk_ack.pending & ICSK_ACK_SCHED; in inet_csk_ack_scheduled()
190 memset(&inet_csk(sk)->icsk_ack, 0, sizeof(inet_csk(sk)->icsk_ack)); in inet_csk_delack_init()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-mx7ulp/
H A Diomux.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Based on Linux i.MX iomux-v3.h file:
19 * - Each pad has a pad control register (IOMUXC_SW_PAD_CTRL_x) which controls
21 * - Each pad can have but not necessarily does have an output routing register
23 * - Each pad can have but not necessarily does have an input routing register
36 * MUX_CTRL_OFS: 0..15 (16)
41 * reserved: 61-63 (3)
46 #define MUX_CTRL_OFS_SHIFT 0
47 #define MUX_CTRL_OFS_MASK ((iomux_cfg_t)0xffff << MUX_CTRL_OFS_SHIFT)
49 #define MUX_SEL_INPUT_OFS_MASK ((iomux_cfg_t)0xffff << \
[all …]

123456