/linux/arch/m68k/ifpsp060/ |
H A D | MISC | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 ----------------------- 33 ---------- 34 freal.s : 2.4 36 x_fovfl.s : 2.16 37 x_funfl.s : 2.19 38 x_funsupp.s : 2.27 39 x_effadd.s : 2.21 40 x_foperr.s : 2.9 [all …]
|
/linux/lib/xz/ |
H A D | xz_dec_stream.c | 1 // SPDX-License-Identifier: 0BSD 34 /* Position in variable-length integers and Check fields */ 37 /* Variable-length integer decoded by dec_vli() */ 151 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller 152 * must have set s->temp.pos to indicate how much data we are supposed 153 * to copy into s->temp.buf. Return true once s->temp.pos has reached 154 * s->temp.size. 156 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp() argument 159 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 161 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp() [all …]
|
H A D | xz_dec_lzma2.c | 1 // SPDX-License-Identifier: 0BSD 7 * Igor Pavlov <https://7-zip.org/> 34 * In multi-call mode, also these are true: 39 * Most of these variables are size_t to support single-call mode, 63 * End of the dictionary buffer. In multi-call mode, this is 64 * the same as the dictionary size. In single-call mode, this 77 * Maximum allowed dictionary size in multi-call mode. 78 * This is ignored in single-call mode. 106 * temp.buf or the caller-provided input buffer. 121 /* Probabilities for match lengths 2-9 */ [all …]
|
/linux/drivers/tty/serial/ |
H A D | max3100.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * The initial minor number is 209 in the low-density serial port: 89 * (bits 0-7, bits 8-11 are irqs) */ 123 static int max3100_do_parity(struct max3100_port *s, u16 c) in max3100_do_parity() argument 127 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity() 132 if (s->parity & MAX3100_7BIT) in max3100_do_parity() 141 static int max3100_check_parity(struct max3100_port *s, u16 c) in max3100_check_parity() argument 143 return max3100_do_parity(s, c) == ((c >> 8) & 1); in max3100_check_parity() 146 static void max3100_calc_parity(struct max3100_port *s, u16 *c) in max3100_calc_parity() argument 148 if (s->parity & MAX3100_7BIT) in max3100_calc_parity() [all …]
|
H A D | mxs-auart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 11 * Copyright 2008-2010 Freescale Semiconductor, Inc. 34 #include <linux/dma-mapping.h> 90 #define AUART_LINECTRL_WLEN(v) ((((v) - 5) & 0x3) << 5) 138 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before 140 * input is idle, then the watchdog counter will decrement each bit-time. Note 141 * 7-bit-time is added to the programmed value, so a value of zero will set 142 * the counter to 7-bit-time, a value of 0x1 gives 15-bit-time and so on. Also 146 * value is 0x3 (31 bit-time). [all …]
|
/linux/ |
H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 15 D: One of assisting postmasters for vger.kernel.org's lists 16 S: (ask for current address) 17 S: Finland 31 S: C. Negri 6, bl. D3 32 S: Iasi 6600 33 S: Romania [all …]
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-h264.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TW5864 driver - H.264 headers generation functions 15 * Exponential-Golomb coding functions 31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument 33 s->buf = buf; in bs_init() 34 s->ptr = buf; in bs_init() 35 s->buf_end = s->ptr + size; in bs_init() 36 s->bits_left = 8; in bs_init() 39 static int bs_len(struct bs *s) in bs_len() argument 41 return s->ptr - s->buf; in bs_len() [all …]
|
/linux/arch/arm64/crypto/ |
H A D | sm4-ce-asm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 ld1 {v24.16b-v27.16b}, [ptr], #64; \ 9 ld1 {v28.16b-v31.16b}, [ptr]; 12 sm4e b0.4s, v24.4s; \ 13 sm4e b0.4s, v25.4s; \ 14 sm4e b0.4s, v26.4s; \ 15 sm4e b0.4s, v27.4s; \ 16 sm4e b0.4s, v28.4s; \ 17 sm4e b0.4s, v29.4s; \ 18 sm4e b0.4s, v30.4s; \ [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-interrupt-decodes.c | 7 * Copyright (c) 2003-2009 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 37 #include <asm/octeon/cvmx-gmxx-defs.h> 38 #include <asm/octeon/cvmx-pcsx-defs.h> 39 #include <asm/octeon/cvmx-pcsxx-defs.h> 40 #include <asm/octeon/cvmx-spxx-defs.h> 41 #include <asm/octeon/cvmx-stxx-defs.h> 49 * __cvmx_interrupt_gmxx_rxx_int_en_enable - enable all interrupt bits in cvmx_gmxx_rxx_int_en_t 60 /* Skipping gmx_rx_int_en.s.reserved_29_63 */ in __cvmx_interrupt_gmxx_rxx_int_en_enable() [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 9 #include "ivtv-driver.h" 10 #include "ivtv-queue.h" 11 #include "ivtv-udma.h" 12 #include "ivtv-irq.h" 13 #include "ivtv-mailbox.h" 14 #include "ivtv-vbi.h" 15 #include "ivtv-yuv.h" [all …]
|
H A D | ivtv-queue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 6 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 10 #include "ivtv-driver.h" 11 #include "ivtv-queue.h" 13 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… in ivtv_buf_copy_from_user() argument 15 if (s->buf_size - buf->bytesused < copybytes) in ivtv_buf_copy_from_user() 16 copybytes = s->buf_size - buf->bytesused; in ivtv_buf_copy_from_user() 17 if (copy_from_user(buf->buf + buf->bytesused, src, copybytes)) { in ivtv_buf_copy_from_user() 18 return -EFAULT; in ivtv_buf_copy_from_user() [all …]
|
/linux/drivers/media/test-drivers/visl/ |
H A D | visl-trace-hevc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 TP_PROTO(const struct v4l2_ctrl_hevc_sps *s), 13 TP_ARGS(s), 14 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_hevc_sps, s)), 15 TP_fast_assign(__entry->s = *s), 40 "flags %s", 41 __entry->s.video_parameter_set_id, 42 __entry->s.seq_parameter_set_id, 43 __entry->s.pic_width_in_luma_samples, 44 __entry->s.pic_height_in_luma_samples, [all …]
|
/linux/sound/usb/usx2y/ |
H A D | usb_stream.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 struct usb_stream *s = sk->s; in usb_stream_next_packet_size() local 17 sk->out_phase_peeked = (sk->out_phase & 0xffff) + sk->freqn; in usb_stream_next_packet_size() 18 return (sk->out_phase_peeked >> 16) * s->cfg.frame_size; in usb_stream_next_packet_size() 23 struct usb_stream *s = sk->s; in playback_prep_freqn() local 26 for (pack = 0; pack < sk->n_o_ps; pack++) { in playback_prep_freqn() 29 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn() 32 sk->out_phase = sk->out_phase_peeked; in playback_prep_freqn() 33 urb->iso_frame_desc[pack].offset = lb; in playback_prep_freqn() 34 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn() [all …]
|
/linux/sound/firewire/ |
H A D | amdtp-stream.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Audio and Music Data Transmission Protocol (IEC 61883-6) streams 4 * with Common Isochronous Packet (IEC 61883-1) headers 12 #include <linux/firewire-constants.h> 17 #include "amdtp-stream.h" 27 #include "amdtp-stream-trace.h" 83 * amdtp_stream_init - initialize an AMDTP stream structure 84 * @s: the AMDTP stream to initialize 87 * @flags: the details of the streaming protocol consist of cip_flags enumeration-constants. 92 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init() argument [all …]
|
/linux/Documentation/sphinx/ |
H A D | parse-headers.pl | 18 pod2usage(-exitstatus => 0, -verbose => 2) if $man; 45 $ln =~ s,/\*.*(\*/),,g; 47 $is_comment = 1 if ($ln =~ s,/\*.*,,); 49 if ($ln =~ s,^(.*\*/),,) { 56 if ($is_enum && $ln =~ m/^\s*([_\w][\w\d_]+)\s*[\,=]?/) { 57 my $s = $1; 59 $n =~ tr/A-Z/a-z/; 60 $n =~ tr/_/-/; 62 $enum_symbols{$s} = "\\ :ref:`$s <$n>`\\ "; 69 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+_IO/) { [all …]
|
/linux/drivers/net/hamradio/ |
H A D | hdlcdrv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * hdlcdrv.c -- HDLC packet radio network driver. 7 * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) 14 * Written 1993-94 by Donald Becker. 51 #include <linux/crc-ccitt.h> 53 /* --------------------------------------------------------------------- */ 57 /* --------------------------------------------------------------------- */ 67 /* --------------------------------------------------------------------- */ 74 /*---------------------------------------------------------------------------*/ 84 /*---------------------------------------------------------------------------*/ [all …]
|
/linux/kernel/trace/ |
H A D | trace_seq.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2014 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 28 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) argument 31 * trace_seq should work with being initialized with 0s. 33 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init() argument 35 if (unlikely(!s->seq.size)) in __trace_seq_init() 36 trace_seq_init(s); in __trace_seq_init() 40 * trace_print_seq - move the contents of trace_seq into a seq_file 42 * @s: the trace_seq descriptor that is the source. 48 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq() argument [all …]
|
/linux/drivers/watchdog/ |
H A D | sbc8360.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl> 25 * "AS-IS" and at no charge. 29 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 76 * MOV AX,000nH (set multiplier n, from 1-4) 79 * MOV AX,000mH (set base timer m, from 0-F) 96 * --|---------------------------------- 97 * 0 | 0.5s 5s 50s 100s 98 * 1 | 1s 10s 100s 200s 99 * 2 | 1.5s 15s 150s 300s [all …]
|
/linux/drivers/mtd/spi-nor/ |
H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/mtd/spi-nor.h> 6 #include <linux/spi/spi-mem.h> 10 #define SPI_NOR_DEBUGFS_ROOT "spi-nor" 37 case SNOR_PROTO_1_1_1: return "1S-1S-1S"; in spi_nor_protocol_name() 38 case SNOR_PROTO_1_1_2: return "1S-1S-2S"; in spi_nor_protocol_name() 39 case SNOR_PROTO_1_1_4: return "1S-1S-4S"; in spi_nor_protocol_name() 40 case SNOR_PROTO_1_1_8: return "1S-1S-8S"; in spi_nor_protocol_name() 41 case SNOR_PROTO_1_2_2: return "1S-2S-2S"; in spi_nor_protocol_name() 42 case SNOR_PROTO_1_4_4: return "1S-4S-4S"; in spi_nor_protocol_name() [all …]
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-queue.c 11 #include "cx18-driver.h" 12 #include "cx18-queue.h" 13 #include "cx18-streams.h" 14 #include "cx18-scb.h" 15 #include "cx18-io.h" 21 for (i = 0; i < buf->bytesused; i += 4) in cx18_buf_swap() 22 swab32s((u32 *)(buf->buf + i)); in cx18_buf_swap() 29 list_for_each_entry(buf, &mdl->buf_list, list) { in _cx18_mdl_swap() [all …]
|
/linux/drivers/misc/sgi-gru/ |
H A D | gruprocfs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #define printstat(s, f) printstat_val(s, &gru_stats.f, #f) argument 22 static void printstat_val(struct seq_file *s, atomic_long_t *v, char *id) in printstat_val() argument 26 seq_printf(s, "%16lu %s\n", val, id); in printstat_val() 29 static int statistics_show(struct seq_file *s, void *p) in statistics_show() argument 31 printstat(s, vdata_alloc); in statistics_show() 32 printstat(s, vdata_free); in statistics_show() 33 printstat(s, gts_alloc); in statistics_show() 34 printstat(s, gts_free); in statistics_show() 35 printstat(s, gms_alloc); in statistics_show() [all …]
|
/linux/tools/arch/x86/intel_sdsi/ |
H A D | intel_sdsi.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * See https://github.com/intel/intel-sdsi/blob/master/os-interface.rst 48 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) 49 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1) 174 ((METER_CERT_MAX_SIZE - sizeof(struct meter_certificate)) / \ 202 fprintf(stderr, "Cannot open directory %s\n", AUX_DEV_PATH); in sdsi_list_devices() 207 if (!strncmp(SDSI_DEV, entry->d_name, strlen(SDSI_DEV))) { in sdsi_list_devices() 209 printf("%s\n", entry->d_name); in sdsi_list_devices() 217 static int sdsi_update_registers(struct sdsi_dev *s) in sdsi_update_registers() argument 222 memset(&s->regs, 0, sizeof(s->regs)); in sdsi_update_registers() [all …]
|
/linux/scripts/ |
H A D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 69 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; 72 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 74 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 88 -q, --quiet quiet 89 -v, --verbose verbose mode 90 --no-tree run without a kernel tree 91 --no-signoff do not check for 'Signed-off-by' line [all …]
|
/linux/mm/ |
H A D | slub.c | 1 // SPDX-License-Identifier: GPL-2.0 37 #include <linux/fault-inject.h> 44 #include <kunit/test-bug.h> 55 * 2. node->list_lock (Spinlock) 56 * 3. kmem_cache->cpu_slab->lock (Local lock) 74 * A. slab->freelist -> List of free objects in a slab 75 * B. slab->inuse -> Number of objects in use 76 * C. slab->objects -> Number of objects in slab 77 * D. slab->frozen -> frozen state 87 * slab's freelist. [all …]
|
/linux/drivers/net/ethernet/meta/fbnic/ |
H A D | fbnic_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 13 static void fbnic_dbg_desc_break(struct seq_file *s, int i) in fbnic_dbg_desc_break() argument 15 while (i--) in fbnic_dbg_desc_break() 16 seq_putc(s, '-'); in fbnic_dbg_desc_break() 18 seq_putc(s, '\n'); in fbnic_dbg_desc_break() 21 static int fbnic_dbg_mac_addr_show(struct seq_file *s, void *v) in fbnic_dbg_mac_addr_show() argument 23 struct fbnic_dev *fbd = s->private; in fbnic_dbg_mac_addr_show() 28 snprintf(hdr, sizeof(hdr), "%3s %s %-17s %s\n", in fbnic_dbg_mac_addr_show() 29 "Idx", "S", "TCAM Bitmap", "Addr/Mask"); in fbnic_dbg_mac_addr_show() 30 seq_puts(s, hdr); in fbnic_dbg_mac_addr_show() [all …]
|