| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-asm.h | 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; \ 19 sm4e b0.4s, v31.4s; \ 20 rev64 b0.4s, b0.4s; \ 29 sm4e b0.4s, v24.4s; \ [all …]
|
| /linux/arch/m68k/ifpsp060/ |
| H A D | MISC | 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 41 x_fsnan.s : 2.12 42 x_finex.s : 2.14 43 x_fdz.s : 2.5 44 x_fline.s : 2.5 [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-interrupt-decodes.c | 61 gmx_rx_int_en.s.hg2cc = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 62 gmx_rx_int_en.s.hg2fld = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 63 gmx_rx_int_en.s.undat = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 64 gmx_rx_int_en.s.uneop = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 65 gmx_rx_int_en.s.unsop = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 66 gmx_rx_int_en.s.bad_term = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 67 gmx_rx_int_en.s.bad_seq = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 68 gmx_rx_int_en.s.rem_fault = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 69 gmx_rx_int_en.s.loc_fault = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() 70 gmx_rx_int_en.s.pause_drp = 1; in __cvmx_interrupt_gmxx_rxx_int_en_enable() [all …]
|
| /linux/drivers/media/pci/tw5864/ |
| H A D | tw5864-h264.c | 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() 44 static void bs_write(struct bs *s, int count, u32 bits) in bs_write() argument 46 if (s->ptr >= s->buf_end - 4) in bs_write() 51 if (count < s->bits_left) { in bs_write() [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | i8259.c | 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() 74 static void pic_clear_isr(struct kvm_kpic_state *s, int irq) in pic_clear_isr() argument [all …]
|
| /linux/lib/zlib_deflate/ |
| H A D | deftree.c | 132 static void init_block (deflate_state *s); 133 static void pqdownheap (deflate_state *s, ct_data *tree, int k); 134 static void gen_bitlen (deflate_state *s, tree_desc *desc); 136 static void build_tree (deflate_state *s, tree_desc *desc); 137 static void scan_tree (deflate_state *s, ct_data *tree, int max_code); 138 static void send_tree (deflate_state *s, ct_data *tree, int max_code); 139 static int build_bl_tree (deflate_state *s); 140 static void send_all_trees (deflate_state *s, int lcodes, int dcodes, 142 static void compress_block (deflate_state *s, ct_data *ltree, 144 static void set_data_type (deflate_state *s); [all …]
|
| H A D | defutil.h | 260 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);} argument 268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD) argument 274 void zlib_tr_init (deflate_state *s); 275 int zlib_tr_tally (deflate_state *s, unsigned dist, unsigned lc); 276 ulg zlib_tr_flush_block (deflate_state *s, char *buf, ulg stored_len, 278 void zlib_tr_align (deflate_state *s); 279 void zlib_tr_stored_block (deflate_state *s, char *buf, ulg stored_len, 288 #define put_short(s, w) { \ argument 289 put_byte(s, (uch)((w) & 0xff)); \ 290 put_byte(s, (uch)((ush)(w) >> 8)); \ [all …]
|
| /linux/include/linux/ |
| H A D | seq_buf.h | 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() 53 seq_buf_has_overflowed(struct seq_buf *s) in seq_buf_has_overflowed() argument 55 return s->len > s->size; in seq_buf_has_overflowed() [all …]
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-streams.c | 108 struct cx18_stream *s = vb2_get_drv_priv(vq); in cx18_queue_setup() local 109 struct cx18 *cx = s->cx; in cx18_queue_setup() 116 if (s->pixelformat == V4L2_PIX_FMT_NV12_16L16) in cx18_queue_setup() 141 struct cx18_stream *s = vb2_get_drv_priv(vb->vb2_queue); in cx18_buf_queue() local 147 spin_lock_irqsave(&s->vb_lock, flags); in cx18_buf_queue() 148 list_add_tail(&buf->list, &s->vb_capture); in cx18_buf_queue() 149 spin_unlock_irqrestore(&s->vb_lock, flags); in cx18_buf_queue() 155 struct cx18_stream *s = vb2_get_drv_priv(vb->vb2_queue); in cx18_buf_prepare() local 156 struct cx18 *cx = s->cx; in cx18_buf_prepare() 163 if (s->pixelformat == V4L2_PIX_FMT_NV12_16L16) in cx18_buf_prepare() [all …]
|
| H A D | cx18-queue.c | 43 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue() argument 47 if (q != &s->q_full) { in _cx18_enqueue() 56 if (q == &s->q_busy && in _cx18_enqueue() 58 q = &s->q_free; in _cx18_enqueue() 73 struct cx18_mdl *cx18_dequeue(struct cx18_stream *s, struct cx18_queue *q) in cx18_dequeue() argument 89 static void _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in _cx18_mdl_update_bufs_for_cpu() argument 93 u32 buf_size = s->buf_size; in _cx18_mdl_update_bufs_for_cpu() 105 cx18_buf_sync_for_cpu(s, buf); in _cx18_mdl_update_bufs_for_cpu() 109 static inline void cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, in cx18_mdl_update_bufs_for_cpu() argument 119 cx18_buf_sync_for_cpu(s, buf); in cx18_mdl_update_bufs_for_cpu() [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | max3100.c | 122 static int max3100_do_parity(struct max3100_port *s, u16 c) in max3100_do_parity() argument 126 if (s->parity & MAX3100_PARITY_ODD) in max3100_do_parity() 131 if (s->parity & MAX3100_7BIT) in max3100_do_parity() 140 static int max3100_check_parity(struct max3100_port *s, u16 c) in max3100_check_parity() argument 142 return max3100_do_parity(s, c) == ((c >> 8) & 1); in max3100_check_parity() 145 static void max3100_calc_parity(struct max3100_port *s, u16 *c) in max3100_calc_parity() argument 147 if (s->parity & MAX3100_7BIT) in max3100_calc_parity() 152 if (s->parity & MAX3100_PARITY_ON) in max3100_calc_parity() 153 *c |= max3100_do_parity(s, *c) << 8; in max3100_calc_parity() 156 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx) in max3100_sr() argument [all …]
|
| /linux/sound/firewire/ |
| H A D | amdtp-stream.c | 92 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init() argument 101 s->protocol = kzalloc(protocol_size, GFP_KERNEL); in amdtp_stream_init() 102 if (!s->protocol) in amdtp_stream_init() 105 s->unit = unit; in amdtp_stream_init() 106 s->direction = dir; in amdtp_stream_init() 107 s->flags = flags; in amdtp_stream_init() 108 s->context = ERR_PTR(-1); in amdtp_stream_init() 109 mutex_init(&s->mutex); in amdtp_stream_init() 110 INIT_WORK(&s->period_work, pcm_period_work); in amdtp_stream_init() 111 s->packet_index = 0; in amdtp_stream_init() [all …]
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-queue.c | 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() 40 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) in ivtv_enqueue() argument 45 if (q == &s->q_free) { in ivtv_enqueue() 51 spin_lock_irqsave(&s->qlock, flags); in ivtv_enqueue() 54 q->length += s->buf_size; in ivtv_enqueue() 56 spin_unlock_irqrestore(&s->qlock, flags); in ivtv_enqueue() 59 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q) in ivtv_dequeue() argument 64 spin_lock_irqsave(&s->qlock, flags); in ivtv_dequeue() [all …]
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 130 "-s|--shrink Shrink slabs\n" in usage() 164 fatal("%s, Try using superuser\n", strerror(errno)); in read_obj() 207 static void set_obj(struct slabinfo *s, const char *name, int n) 212 snprintf(x, 100, "%s/%s", s->name, name); in set_obj() 215 fatal("Cannot write to %s\n", x); in set_obj() 221 static unsigned long read_slab_obj(struct slabinfo *s, const char *name) 227 snprintf(x, 100, "%s/%s", in read_slab_obj() 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/scsi/sym53c8xx_2/ |
| H A D | sym_fw.h | 32 #define SYM_GEN_FW_A(s) \ argument 33 SYM_GEN_A(s, start) SYM_GEN_A(s, getjob_begin) \ 34 SYM_GEN_A(s, getjob_end) \ 35 SYM_GEN_A(s, select) SYM_GEN_A(s, wf_sel_done) \ 36 SYM_GEN_A(s, send_ident) \ 37 SYM_GEN_A(s, dispatch) SYM_GEN_A(s, init) \ 38 SYM_GEN_A(s, clrack) SYM_GEN_A(s, complete_error) \ 39 SYM_GEN_A(s, done) SYM_GEN_A(s, done_end) \ 40 SYM_GEN_A(s, idle) SYM_GEN_A(s, ungetjob) \ 41 SYM_GEN_A(s, reselect) \ [all …]
|
| /linux/arch/arm64/kernel/vdso/ |
| H A D | vgetrandom-chacha.S | 52 ld1 { copy1.4s, copy2.4s }, [x1] 54 ld1 { copy3.2s }, [x2] 56 movi one_v.2s, #1 57 uzp1 one_v.4s, one_v.4s, one_v.4s 76 add state0.4s, state0.4s, state1.4s 81 add state2.4s, state2.4s, state3.4s 83 shl state1.4s, tmp.4s, #12 84 sri state1.4s, tmp.4s, #20 87 add state0.4s, state0.4s, state1.4s 89 shl state3.4s, tmp.4s, #8 [all …]
|
| /linux/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
| H A D | tie.h | 115 #define XCHAL_NCP_SA_LIST(s) \ argument 116 XCHAL_SA_REG(s,1,2,1,1, threadptr, 4, 4, 4,0x03E7, ur,231, 32,0,0,0) \ 117 XCHAL_SA_REG(s,1,0,0,1, acclo, 4, 4, 4,0x0210, sr,16 , 32,0,0,0) \ 118 XCHAL_SA_REG(s,1,0,0,1, acchi, 4, 4, 4,0x0211, sr,17 , 8,0,0,0) \ 119 XCHAL_SA_REG(s,0,0,0,1, m0, 4, 4, 4,0x0220, sr,32 , 32,0,0,0) \ 120 XCHAL_SA_REG(s,0,0,0,1, m1, 4, 4, 4,0x0221, sr,33 , 32,0,0,0) \ 121 XCHAL_SA_REG(s,0,0,0,1, m2, 4, 4, 4,0x0222, sr,34 , 32,0,0,0) \ 122 XCHAL_SA_REG(s,0,0,0,1, m3, 4, 4, 4,0x0223, sr,35 , 32,0,0,0) \ 123 XCHAL_SA_REG(s,0,0,0,1, br, 4, 4, 4,0x0204, sr,4 , 16,0,0,0) \ 124 XCHAL_SA_REG(s,0,0,0,1, scompare1, 4, 4, 4,0x020C, sr,12 , 32,0,0,0) [all …]
|
| /linux/sound/usb/usx2y/ |
| H A D | usb_stream.c | 15 struct usb_stream *s = sk->s; in usb_stream_next_packet_size() local 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 29 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn() 41 s->idle_outsize += lb - s->period_size; in playback_prep_freqn() 86 struct usb_stream *s = sk->s; in init_urbs() local 88 (char *)s + sizeof(*s) + sizeof(struct usb_stream_packet) * s->inpackets; in init_urbs() 129 struct usb_stream *s; in usb_stream_free() local 139 s = sk->s; in usb_stream_free() 140 if (!s) in usb_stream_free() [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | pcmcia_resource.c | 37 int pcmcia_validate_mem(struct pcmcia_socket *s) in pcmcia_validate_mem() argument 39 if (s->resource_ops->validate_mem) in pcmcia_validate_mem() 40 return s->resource_ops->validate_mem(s); in pcmcia_validate_mem() 46 int low, struct pcmcia_socket *s) in pcmcia_find_mem_region() argument 48 if (s->resource_ops->find_mem) in pcmcia_find_mem_region() 49 return s->resource_ops->find_mem(base, num, align, low, s); in pcmcia_find_mem_region() 60 static void release_io_space(struct pcmcia_socket *s, struct resource *res) in release_io_space() argument 65 dev_dbg(&s->dev, "release_io_space for %pR\n", res); in release_io_space() 68 if (!s->io[i].res) in release_io_space() 70 if ((s->io[i].res->start <= res->start) && in release_io_space() [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree-spine.c | 124 void init_ro_spine(struct ro_spine *s, struct dm_btree_info *info) in init_ro_spine() argument 126 s->info = info; in init_ro_spine() 127 s->count = 0; in init_ro_spine() 128 s->nodes[0] = NULL; in init_ro_spine() 129 s->nodes[1] = NULL; in init_ro_spine() 132 void exit_ro_spine(struct ro_spine *s) in exit_ro_spine() argument 136 for (i = 0; i < s->count; i++) in exit_ro_spine() 137 unlock_block(s->info, s->nodes[i]); in exit_ro_spine() 140 int ro_step(struct ro_spine *s, dm_block_t new_child) in ro_step() argument 144 if (s->count == 2) { in ro_step() [all …]
|
| /linux/mm/ |
| H A D | slub.c | 249 static inline bool kmem_cache_debug(struct kmem_cache *s) in kmem_cache_debug() argument 251 return kmem_cache_debug_flags(s, SLAB_DEBUG_FLAGS); in kmem_cache_debug() 254 void *fixup_red_left(struct kmem_cache *s, void *p) in fixup_red_left() argument 256 if (kmem_cache_debug_flags(s, SLAB_RED_ZONE)) in fixup_red_left() 257 p += s->red_left_pad; in fixup_red_left() 345 static inline int sysfs_slab_add(struct kmem_cache *s) { return 0; } in sysfs_slab_add() argument 354 static inline void debugfs_slab_add(struct kmem_cache *s) { } in debugfs_slab_add() argument 399 static inline void stat(const struct kmem_cache *s, enum stat_item si) in stat() argument 406 raw_cpu_inc(s->cpu_stats->stat[si]); in stat() 411 void stat_add(const struct kmem_cache *s, enum stat_item si, int v) in stat_add() argument [all …]
|
| /linux/drivers/dma/qcom/ |
| H A D | hidma_dbg.c | 15 static void hidma_ll_chstats(struct seq_file *s, void *llhndl, u32 tre_ch) in hidma_ll_chstats() argument 29 seq_printf(s, "------Channel %d -----\n", tre_ch); in hidma_ll_chstats() 30 seq_printf(s, "allocated=%d\n", atomic_read(&tre->allocated)); in hidma_ll_chstats() 31 seq_printf(s, "queued = 0x%x\n", tre->queued); in hidma_ll_chstats() 32 seq_printf(s, "err_info = 0x%x\n", tre->err_info); in hidma_ll_chstats() 33 seq_printf(s, "err_code = 0x%x\n", tre->err_code); in hidma_ll_chstats() 34 seq_printf(s, "status = 0x%x\n", tre->status); in hidma_ll_chstats() 35 seq_printf(s, "idx = 0x%x\n", tre->idx); in hidma_ll_chstats() 36 seq_printf(s, "dma_sig = 0x%x\n", tre->dma_sig); in hidma_ll_chstats() 37 seq_printf(s, "dev_name=%s\n", tre->dev_name); in hidma_ll_chstats() [all …]
|
| /linux/arch/alpha/lib/ |
| H A D | memcpy.c | 27 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument 31 *(char *) d = *(char *) s; \ 32 d++; s++; \ 34 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument 38 d--; s--; \ 39 *(char *) d = *(char *) s; \ 46 #define DO_REST_UP(d,s,n) \ argument 49 *(char *) d = *(char *) s; \ 50 d++; s++; \ 52 #define DO_REST_DN(d,s,n) \ argument [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pkey-powerpc.h | 57 dprintf4("%s() changing %016llx to %016llx\n", in __write_pkey_reg() 63 dprintf4("%s() pkey register after changing %016llx to %016llx\n", in __write_pkey_reg() 107 #define REPEAT_8(s) s s s s s s s argument 108 REPEAT_64(s) global() argument 110 REPEAT_512(s) global() argument 112 REPEAT_4096(s) global() argument 114 REPEAT_16384(s) global() argument [all...] |
| /linux/drivers/comedi/ |
| H A D | drivers.c | 98 struct comedi_subdevice *s; in comedi_alloc_subdevices() local 104 s = kzalloc_objs(*s, num_subdevices); in comedi_alloc_subdevices() 105 if (!s) in comedi_alloc_subdevices() 107 dev->subdevices = s; in comedi_alloc_subdevices() 111 s = &dev->subdevices[i]; in comedi_alloc_subdevices() 112 s->device = dev; in comedi_alloc_subdevices() 113 s->index = i; in comedi_alloc_subdevices() 114 s->async_dma_dir = DMA_NONE; in comedi_alloc_subdevices() 115 spin_lock_init(&s->spin_lock); in comedi_alloc_subdevices() 116 s->minor = -1; in comedi_alloc_subdevices() [all …]
|