/linux/net/sctp/ |
H A D | sm_statefuns.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2002 Intel Corp. 15 * lksctp developers <linux-sctp@vger.kernel.org> 176 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid() 179 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid() 192 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid() 194 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid() 202 * Process the final SHUTDOWN COMPLETE. [all …]
|
H A D | outqueue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2003 Intel Corp. 15 * lksctp developers <linux-sctp@vger.kernel.org> 65 list_add(&ch->list, &q->out_chunk_list); in sctp_outq_head_data() 66 q->out_qlen += ch->skb->len; in sctp_outq_head_data() 69 oute = SCTP_SO(&q->asoc->stream, stream)->ext; in sctp_outq_head_data() 70 list_add(&ch->stream_list, &oute->outq); in sctp_outq_head_data() 76 return q->sched->dequeue(q); in sctp_outq_dequeue_data() [all …]
|
H A D | sm_sideeffect.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 1999-2001 Motorola, Inc. 15 * lksctp developers <linux-sctp@vger.kernel.org> 69 asoc->last_ecne_tsn = lowest_tsn; in sctp_do_ecn_ce_work() 70 asoc->need_ecne = 1; in sctp_do_ecn_ce_work() 93 * and then ACK our peer that we we've done so by in sctp_do_ecn_ecne_work() 101 if (TSN_lt(asoc->last_cwr_tsn, lowest_tsn)) { in sctp_do_ecn_ecne_work() 113 asoc->last_cwr_tsn = lowest_tsn; in sctp_do_ecn_ecne_work() 119 repl = sctp_make_cwr(asoc, asoc->last_cwr_tsn, chunk); in sctp_do_ecn_ecne_work() 131 /* Turn off ECNE getting auto-prepended to every outgoing in sctp_do_ecn_cwr_work() [all …]
|
/linux/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 1 // SPDX-License-Identifier: GPL-2.0 76 * sysmon_send_event() - send notification of other remote's SSR event 87 len = snprintf(req, sizeof(req), "ssr:%s:%s", event->subsys_name, in sysmon_send_event() 88 sysmon_state_string[event->ssr_event]); in sysmon_send_event() 92 mutex_lock(&sysmon->lock); in sysmon_send_event() 93 reinit_completion(&sysmon->comp); in sysmon_send_event() 94 sysmon->ssr_ack = false; in sysmon_send_event() 96 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event() 98 dev_err(sysmon->dev, "failed to send sysmon event\n"); in sysmon_send_event() 102 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event() [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,sc7280-adsp-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-adsp-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> 19 - qcom,sc7280-adsp-pil 23 - description: qdsp6ss register 24 - description: efuse q6ss register 28 - description: Phandle to apps_smmu node with sid mask 32 - description: Watchdog interrupt [all …]
|
H A D | qcom,sc7180-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7180-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sibi Sankar <quic_sibis@quicinc.com> 19 - qcom,sc7180-mss-pil 23 - description: MSS QDSP6 registers 24 - description: RMB registers 26 reg-names: 28 - const: qdsp6 [all …]
|
H A D | qcom,sc7280-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sibi Sankar <quic_sibis@quicinc.com> 19 - qcom,sc7280-mss-pil 23 - description: MSS QDSP6 registers 24 - description: RMB registers 26 reg-names: 28 - const: qdsp6 [all …]
|
H A D | qcom,pas-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 20 clock-names: 30 - description: Watchdog interrupt 31 - description: Fatal interrupt 32 - description: Ready interrupt 33 - description: Handover interrupt [all …]
|
H A D | st,stm32-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/st,stm32-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Fabien Dessenne <fabien.dessenne@foss.st.com> 15 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 19 const: st,stm32mp1-m4 31 reset-names: 33 - const: mcu_rst 34 - const: hold_boot [all …]
|
H A D | qcom,sdx55-pas.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sdx55-pas.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 19 - qcom,sdx55-mpss-pas 26 - description: XO clock 28 clock-names: 30 - const: xo 35 interrupt-names: [all …]
|
H A D | qcom,sc8280xp-pas.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc8280xp-pas.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 19 - qcom,sc8280xp-adsp-pas 20 - qcom,sc8280xp-nsp0-pas 21 - qcom,sc8280xp-nsp1-pas 28 - description: XO clock 30 clock-names: [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_tcp_skb.c | 1 // SPDX-License-Identifier: GPL-2.0 24 skel->bss->g_sock_state = 0; in install_filters() 25 skel->bss->g_unexpected = 0; in install_filters() 30 return -1; in install_filters() 35 return -1; in install_filters() 56 return -1; in create_client_sock_v6() 73 return -1; in talk_to_cgroup() 76 return -1; in talk_to_cgroup() 79 return -1; in talk_to_cgroup() 82 return -1; in talk_to_cgroup() [all …]
|
H A D | migrate_reuseport.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * 5. call shutdown() for first 4 server sockets 14 * 7. call shutdown() for the last server 18 * 9. call shutdown() for the second server 41 #define MIGRATED_TO (NR_SERVERS - 1) 43 /* fastopenq->max_qlen and sk->sk_max_ack_backlog */ 133 fds[i] = -1; in init_fds() 141 if (fds[i] != -1) { in close_fds() 143 fds[i] = -1; in close_fds() 153 if (!ASSERT_NEQ(fd, -1, "open")) in setup_fastopen() [all …]
|
/linux/drivers/net/dsa/realtek/ |
H A D | realtek-smi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The SMI protocol piggy-backs the MDIO MDC and MDIO signals levels 7 * pecularity that need to bit-bang the lines in a special way to 12 * RTL8366 - The original version, apparently 13 * RTL8369 - Similar enough to have the same datsheet as RTL8366 14 * RTL8366RB - Probably reads out "RTL8366 revision B", has a quite 16 * RTL8366S - Is this "RTL8366 super"? 17 * RTL8367 - Has an OpenWRT driver as well 18 * RTL8368S - Seems to be an alternative name for RTL8366RB 19 * RTL8370 - Also uses SMI [all …]
|
/linux/fs/dlm/ |
H A D | midcomms.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2021 Red Hat, Inc. All rights reserved. 15 * This is the appallingly named "mid-level" comms layer. It takes care about 29 * Due the fact that dlm has pre-configured node addresses on every side 33 * compatibility these messages are not covered by the midcomms re-transmission 34 * layer. These messages have their own re-transmission handling in the dlm 43 * like TCP supports it with half-closed socket support. SCTP doesn't support 44 * half-closed socket, so we do it on DLM layer. Also socket shutdown() can be 61 * +---------+ [all …]
|
/linux/include/net/sctp/ |
H A D | command.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 1999-2001 Cisco, Motorola 12 * lksctp developers <linux-sctp@vger.kernel.org> 34 SCTP_CMD_GEN_SACK, /* Send a Selective ACK (maybe). */ 36 SCTP_CMD_GEN_INIT_ACK, /* Generate an INIT ACK chunk. */ 55 SCTP_CMD_COOKIEECHO_RESTART, /* High level, do cookie-echo timer work. */ 68 SCTP_CMD_PROCESS_CTSN, /* Sideeffect from shutdown. */ 71 SCTP_CMD_GEN_SHUTDOWN, /* Generate a SHUTDOWN chunk. */ 73 SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */ 79 SCTP_CMD_REPORT_FWDTSN, /* Report new cumulative TSN Ack. */ [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | g84.c | 32 struct nvkm_device *device = therm->subdev.device; in g84_temp_get() 34 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) in g84_temp_get() 37 return -ENODEV; in g84_temp_get() 43 struct nvkm_device *device = therm->subdev.device; in g84_sensor_setup() 46 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) { in g84_sensor_setup() 56 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in g84_therm_program_alarms() 57 struct nvkm_subdev *subdev = &therm->subdev; in g84_therm_program_alarms() 58 struct nvkm_device *device = subdev->device; in g84_therm_program_alarms() 61 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags); in g84_therm_program_alarms() 63 /* enable RISING and FALLING IRQs for shutdown, THRS 0, 1, 2 and 4 */ in g84_therm_program_alarms() [all …]
|
/linux/drivers/firmware/xilinx/ |
H A D | zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2022 Xilinx, Inc. 6 * Copyright (C) 2022 - 2023, Advanced Micro Devices, Inc. 14 #include <linux/arm-smccc.h> 27 #include <linux/firmware/xlnx-zynqmp.h> 28 #include <linux/firmware/xlnx-event-manager.h> 29 #include "zynqmp-debug.h" 36 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */ 38 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */ 52 * struct zynqmp_devinfo - Structure for Zynqmp device instance [all …]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_proto_sctp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2004-2012 Patrick McHardy <kaber@trash.net> 77 point. Please note the subtleties. -Kiran 79 NONE - Nothing so far. 80 COOKIE WAIT - We have seen an INIT chunk in the original direction, or also 82 COOKIE ECHOED - We have seen a COOKIE_ECHO chunk in the original direction. 83 ESTABLISHED - We have seen a COOKIE_ACK in the reply direction. 84 SHUTDOWN_SENT - We have seen a SHUTDOWN chunk in the original direction. 85 SHUTDOWN_RECD - We have seen a SHUTDOWN chunk in the reply direction. 86 SHUTDOWN_ACK_SENT - We have seen a SHUTDOWN_ACK chunk in the direction opposite [all …]
|
/linux/include/linux/ |
H A D | kvm_irqfd.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 17 * trigger. On acknowledgment through the irq ack notifier, the 18 * interrupt is de-asserted and userspace is notified through the 19 * resamplefd. All resamplers on the same gsi are de-asserted 27 * RCU list modified under kvm->irqfds.resampler_lock 32 * Entry in list of kvm->irqfd.resampler_list. Use for sharing 34 * RCU list modified under kvm->irqfds.resampler_lock 40 /* Used for MSI fast-path */ 46 /* Used for level IRQ fast-path */ 49 /* The resampler used by this irqfd (resampler-only) */ [all …]
|
H A D | mailbox_controller.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 * struct mbox_chan_ops - methods to control mailbox channels 18 * data is accepted for transmission, -EBUSY while rejecting 21 * mbox_chan_txdone (if it has some TX ACK irq). It must not 32 * @shutdown: Called when a client relinquishes control of a chan. 40 * mode 'send_data' is expected to return -EBUSY. 50 void (*shutdown)(struct mbox_chan *chan); member 56 * struct mbox_controller - Controller of a class of communication channels 63 * Eg, if it has some TX ACK irq. 106 * struct mbox_chan - s/w representation of a communication chan
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | internal.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 54 internal-api 63 Lower-level packet transport is implemented in the *packet transport layer 68 packet payloads to higher-level layers. 71 around command-type packet payloads, i.e. requests (sent from host to EC), 90 Refer to Documentation/driver-api/surface_aggregator/client.rst for 93 that chapter and the Documentation/driver-api/surface_aggregator/ssh.rst 104 ------- 153 ------------ 163 re-submitted to this queue due to timeouts or NAK packets sent by the EC. [all …]
|
/linux/drivers/soc/qcom/ |
H A D | rpm_master_stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 34 /* Per-subsystem (*not necessarily* SoC-wide) XO shutdown stats */ 43 struct master_stats_data *data = s->private; in master_stats_show() 46 memcpy_fromio(&stat, data->base, sizeof(stat)); in master_stats_show() 48 seq_printf(s, "%s:\n", data->label); in master_stats_show() 50 seq_printf(s, "\tLast shutdown @ %llu\n", stat.shutdown_req); in master_stats_show() 52 seq_printf(s, "\tLast bringup ack @ %llu\n", stat.bringup_ack); in master_stats_show() 54 seq_printf(s, "\tLast XO shutdown enter @ %llu\n", stat.xo_last_enter); in master_stats_show() 55 seq_printf(s, "\tLast XO shutdown exit @ %llu\n", stat.last_exit); in master_stats_show() [all …]
|
/linux/net/batman-adv/ |
H A D | tp_meter.c | 1 // SPDX-License-Identifier: GPL-2.0 45 #include "hard-interface.h" 52 * BATADV_TP_DEF_TEST_LENGTH - Default test length if not specified by the user 58 * BATADV_TP_AWND - Advertised window by the receiver (in bytes) 63 * BATADV_TP_RECV_TIMEOUT - Receiver activity timeout. If the receiver does not 69 * BATADV_TP_MAX_RTO - Maximum sender timeout. If the sender RTO gets beyond 76 * BATADV_TP_FIRST_SEQ - First seqno of each session. The number is rather high 79 #define BATADV_TP_FIRST_SEQ ((u32)-1 - 2000) 82 * BATADV_TP_PLEN - length of the payload (data after the batadv_unicast header) 85 #define BATADV_TP_PLEN (BATADV_TP_PACKET_LEN - ETH_HLEN - \ [all …]
|
/linux/Documentation/i2c/ |
H A D | gpio-fault-injection.rst | 12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually 15 injection. They will be described now along with their intended use-cases. 21 ----- 31 ----- 56 -------------------------- 60 it will stop at the ACK phase after the address of the client has been 61 transmitted. Because the device will ACK its presence, this results in SDA 68 ----------------------- 73 The injector will again stop at one ACK phase, so the device will keep SDA low 78 b) after the address byte, a 0x00 byte will be transferred. Then, stop at ACK. [all …]
|