Home
last modified time | relevance | path

Searched +full:mctp +full:- +full:handling (Results 1 – 11 of 11) sorted by relevance

/linux/Documentation/devicetree/bindings/net/
H A Dmctp-i2c-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/mctp-i2c-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MCTP I2C transport
10 - Matt Johnston <matt@codeconstruct.com.au>
13 An mctp-i2c-controller defines a local MCTP endpoint on an I2C controller.
14 MCTP I2C is specified by DMTF DSP0237.
16 An mctp-i2c-controller must be attached to an I2C adapter which supports
18 busses) are attached to the mctp-i2c-controller with a 'mctp-controller'
[all …]
/linux/net/mctp/
H A Daf_mctp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Management Component Transport Protocol (MCTP)
12 #include <linux/mctp.h>
16 #include <net/mctp.h>
21 #include <trace/events/mctp.h>
29 struct sock *sk = sock->sk; in mctp_release()
32 sock->sk = NULL; in mctp_release()
33 sk->sk_prot->close(sk, 0); in mctp_release()
42 return !addr->__smctp_pad0 && !addr->__smctp_pad1; in mctp_sockaddr_is_ok()
47 return !addr->__smctp_pad0[0] && in mctp_sockaddr_ext_is_ok()
[all …]
H A Droute.c1 // SPDX-License-Identifier: GPL-2.0
3 * Management Component Transport Protocol (MCTP) - routing
15 #include <linux/mctp.h>
22 #include <net/mctp.h>
27 #include <trace/events/mctp.h>
50 /* TODO: look up in skb->cb? */ in mctp_lookup_bind()
56 type = (*(u8 *)skb->data) & 0x7f; in mctp_lookup_bind()
58 sk_for_each_rcu(sk, &net->mctp.binds) { in mctp_lookup_bind()
61 if (msk->bind_net != MCTP_NET_ANY && msk->bind_net != cb->net) in mctp_lookup_bind()
64 if (msk->bind_type != type) in mctp_lookup_bind()
[all …]
H A Ddevice.c1 // SPDX-License-Identifier: GPL-2.0
3 * Management Component Transport Protocol (MCTP) - device implementation.
11 #include <linux/mctp.h>
18 #include <net/mctp.h>
33 struct mctp_dev *mdev = rcu_dereference(dev->mctp_ptr); in __mctp_dev_get()
39 if (!refcount_inc_not_zero(&mdev->refs)) in __mctp_dev_get()
49 return rtnl_dereference(dev->mctp_ptr); in mctp_dev_get_rtnl()
71 return -EMSGSIZE; in mctp_fill_addrinfo()
74 hdr->ifa_family = AF_MCTP; in mctp_fill_addrinfo()
75 hdr->ifa_prefixlen = 0; in mctp_fill_addrinfo()
[all …]
/linux/include/uapi/linux/
H A Dtty.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
21 #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */
22 #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */
38 #define N_NULL 27 /* Null ldisc used for error handling */
39 #define N_MCTP 28 /* MCTP-over-serial */
40 #define N_DEVELOPMENT 29 /* Manual out-of-tree testing */
41 #define N_CAN327 30 /* ELM327 based OBD-II interfaces */
/linux/net/mctp/test/
H A Droute-test.c1 // SPDX-License-Identifier: GPL-2.0
16 skb_queue_tail(&test_rt->pkts, skb); in mctp_test_route_output()
30 INIT_LIST_HEAD(&rt->rt.list); in mctp_route_test_alloc()
31 refcount_set(&rt->rt.refs, 1); in mctp_route_test_alloc()
32 rt->rt.output = mctp_test_route_output; in mctp_route_test_alloc()
34 skb_queue_head_init(&rt->pkts); in mctp_route_test_alloc()
50 rt->rt.min = eid; in mctp_test_create_route()
51 rt->rt.max = eid; in mctp_test_create_route()
52 rt->rt.mtu = mtu; in mctp_test_create_route()
53 rt->rt.type = RTN_UNSPEC; in mctp_test_create_route()
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_def.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (c) 2003-2014 QLogic Corporation
15 #include <linux/dma-mapping.h>
234 /* 83XX: Macros defining 8200 AEN Error-levels */
248 /* 83XX: Macros for defining IDC-Control bits */
257 /* 83XX: Macros for defining class in DEV-Partition Info register */
263 /* 83XX: Macros for IDC Lock-Recovery stages */
265 * lock-recovery
267 #define IDC_LOCK_RECOVERY_STAGE2 0x2 /* Stage2: Perform lock-recovery */
270 #define IDC_AUDIT_TIMESTAMP 0x0 /* IDC-AUDIT: Record timestamp of
[all …]
H A Dqla_init.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2014 QLogic Corporation
43 /* SRB Extensions ---------------------------------------------------------- */
50 scsi_qla_host_t *vha = sp->vha; in qla2x00_sp_timeout()
53 iocb = &sp->u.iocb_cmd; in qla2x00_sp_timeout()
54 iocb->timeout(sp); in qla2x00_sp_timeout()
57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout()
59 if (vha && qla2x00_isp_reg_stat(vha->hw)) { in qla2x00_sp_timeout()
68 struct srb_iocb *iocb = &sp->u.iocb_cmd; in qla2x00_sp_free()
70 del_timer(&iocb->timer); in qla2x00_sp_free()
[all …]
H A Dqla_os.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2014 QLogic Corporation
16 #include <linux/blk-mq-pci.h>
66 "Enable/disable security. 0(Default) - Security disabled. 1 - Security enabled.");
72 "beginning. Default is 0 - class 2 not supported.");
84 "a PORT-DOWN status.");
91 "Default is 0 - no PLOGI. 1 - perform PLOGI.");
103 "vary by ISP type. Default is 1 - allocate memory.");
110 "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n"
111 "\t\t0x20000000 - Mailbox Cmnds. 0x10000000 - Device Discovery.\n"
[all …]
/linux/include/linux/
H A Dnetdevice.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 * Corey Minyard <wf-rch!minyard@relay.EU.net>
54 #include <net/dropreason-core.h>
103 * - qdisc return codes
104 * - driver transmit return codes
105 * - errno values
109 * the driver transmit return codes though - when qdiscs are used, the actual
116 /* qdisc ->enqueue() return codes. */
126 #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0)
146 * - successful transmission (rc == NETDEV_TX_OK) in dev_xmit_complete()
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]