| /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/media/usb/airspy/ |
| H A D | airspy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-ioctl.h> 13 #include <media/v4l2-ctrls.h> 14 #include <media/v4l2-event.h> 15 #include <media/videobuf2-v4l2.h> 16 #include <media/videobuf2-vmalloc.h> 90 /* common v4l buffer stuff -- must be first */ 154 dev_dbg(_dev, "%02x %02x %02x %02x %02x %02x %02x %02x %s %*ph\n", \ 160 static int airspy_ctrl_msg(struct airspy *s, u8 request, u16 value, u16 index, in airspy_ctrl_msg() argument [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | i8259.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 46 static void pic_lock(struct kvm_pic *s) in pic_lock() argument 47 __acquires(&s->lock) in pic_lock() 49 spin_lock(&s->lock); in pic_lock() 52 static void pic_unlock(struct kvm_pic *s) in pic_unlock() argument 53 __releases(&s->lock) in pic_unlock() 55 bool wakeup = s->wakeup_needed; in pic_unlock() 59 s->wakeup_needed = false; in pic_unlock() 61 spin_unlock(&s->lock); in pic_unlock() 64 kvm_for_each_vcpu(i, vcpu, s->kvm) { in pic_unlock() [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 …]
|
| /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 35 S: C. Negri 6, bl. D3 36 S: Iasi 6600 37 S: Romania [all …]
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * gcc -o slabinfo slabinfo.c 84 int output_lines = -1; 114 "slabinfo [-aABDefhilLnoPrsStTUvXz1] [N=K] [-dafzput] [slab-regexp]\n" in usage() 115 "-a|- in usage() 208 set_obj(struct slabinfo * s,const char * name,int n) set_obj() argument 222 read_slab_obj(struct slabinfo * s,const char * name) read_slab_obj() argument 241 read_debug_slab_obj(struct slabinfo * s,const char * name) read_debug_slab_obj() argument 322 slab_validate(struct slabinfo * s) slab_validate() argument 330 slab_shrink(struct slabinfo * s) slab_shrink() argument 370 slab_size(struct slabinfo * s) slab_size() argument 375 slab_activity(struct slabinfo * s) slab_activity() argument 381 slab_waste(struct slabinfo * s) slab_waste() argument 386 slab_numa(struct slabinfo * s,int mode) slab_numa() argument 431 show_tracking(struct slabinfo * s) show_tracking() argument 453 ops(struct slabinfo * s) ops() argument 473 slab_stats(struct slabinfo * s) slab_stats() argument 557 report(struct slabinfo * s) report() argument 598 slabcache(struct slabinfo * s) slabcache() argument 729 slab_empty(struct slabinfo * s) slab_empty() argument 744 slab_debug(struct slabinfo * s) slab_debug() argument 806 struct slabinfo *s; totals() local 1140 struct slabinfo *s; link_slabs() local 1188 struct slabinfo *s; rename_slabs() local [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/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/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/drivers/media/pci/ivtv/ |
| 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@kernel.org> 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/pci/cx18/ |
| H A D | cx18-streams.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-streams.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-fileops.h" 14 #include "cx18-mailbox.h" 15 #include "cx18-i2c.h" 16 #include "cx18-queue.h" 17 #include "cx18-ioctl.h" 18 #include "cx18-streams.h" [all …]
|
| 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/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/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 5 #include <linux/mtd/spi-nor.h> 7 #include <linux/spi/spi-mem.h> 11 #define SPI_NOR_DEBUGFS_ROOT "spi-nor" 38 case SNOR_PROTO_1_1_1: return "1S-1S-1S"; in spi_nor_protocol_name() 39 case SNOR_PROTO_1_1_2: return "1S-1S-2S"; in spi_nor_protocol_name() 40 case SNOR_PROTO_1_1_4: return "1S-1S-4S"; in spi_nor_protocol_name() 41 case SNOR_PROTO_1_1_8: return "1S-1S-8S"; in spi_nor_protocol_name() 42 case SNOR_PROTO_1_2_2: return "1S-2S-2S"; in spi_nor_protocol_name() 43 case SNOR_PROTO_1_4_4: return "1S-4S-4S"; in spi_nor_protocol_name() [all …]
|
| /linux/include/linux/ |
| H A D | seq_buf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * struct seq_buf - seq buffer structure 33 static inline void seq_buf_clear(struct seq_buf *s) in seq_buf_clear() argument 35 s->len = 0; in seq_buf_clear() 36 if (s->size) in seq_buf_clear() 37 s->buffer[0] = '\0'; in seq_buf_clear() 41 seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) in seq_buf_init() argument 43 s->buffer = buf; in seq_buf_init() 44 s->size = size; in seq_buf_init() 45 seq_buf_clear(s); in seq_buf_init() [all …]
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 16 static void fbnic_dbg_desc_break(struct seq_file *s, int i) in fbnic_dbg_desc_break() argument 18 while (i--) in fbnic_dbg_desc_break() 19 seq_putc(s, '-'); in fbnic_dbg_desc_break() 21 seq_putc(s, '\n'); in fbnic_dbg_desc_break() 24 static void fbnic_dbg_ring_show(struct seq_file *s) in fbnic_dbg_ring_show() argument 26 struct fbnic_ring *ring = s->private; in fbnic_dbg_ring_show() 32 doorbell_offset = ring->doorbell - csr_base; in fbnic_dbg_ring_show() 34 seq_printf(s, "doorbell CSR: %#05lx q_idx: %d\n", in fbnic_dbg_ring_show() 35 doorbell_offset, ring->q_idx); in fbnic_dbg_ring_show() [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/drivers/md/bcache/ |
| H A D | request.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Main bcache entry point - handle a read or a write request and decide what to 19 #include <linux/backing-dev.h> 32 return BDEV_CACHE_MODE(&dc->sb); in cache_mode() 37 return dc->verify; in verify() 53 k->ptr[KEY_PTRS(k)] = csum & (~0ULL >> 1); in bio_csum() 62 struct bkey *replace_key = op->replace ? &op->replace_key : NULL; in CLOSURE_CALLBACK() 65 if (!op->replace) in CLOSURE_CALLBACK() 66 journal_ref = bch_journal(op->c, &op->insert_keys, in CLOSURE_CALLBACK() 67 op->flush_journal ? cl : NULL); in CLOSURE_CALLBACK() [all …]
|
| /linux/net/ceph/ |
| H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * /sys/kernel/debug/ceph/client* - an instance of the ceph client 22 * .../osdmap - current osdmap 23 * .../monmap - current monmap 24 * .../osdc - active osd requests 25 * .../monc - mon client state 26 * .../client_options - libceph-only (i.e. not rbd or cephfs) options 27 * .../dentry_lru - dump contents of dentry lru 28 * .../caps - expose cap (reservation) stats 29 * .../bdi - symlink to ../../bdi/something [all …]
|