| /linux/scripts/kconfig/ |
| H A D | expr.c | 41 if (e->type == type && e->left._initdata == l && in expr_lookup() 48 e->left._initdata = l; in expr_lookup() 108 l = (*ep1)->left.expr; in __expr_eliminate_eq() 116 l = (*ep2)->left.expr; in __expr_eliminate_eq() 127 (*ep1)->left.sym == (*ep2)->left.sym && in __expr_eliminate_eq() 128 ((*ep1)->left.sym == &symbol_yes || (*ep1)->left.sym == &symbol_no)) in __expr_eliminate_eq() 228 return e1->left.sym == e2->left.sym && e1->right.sym == e2->right.sym; in expr_eq() 230 return e1->left.sym == e2->left.sym; in expr_eq() 232 return expr_eq(e1->left.expr, e2->left.expr); in expr_eq() 238 e1->left.sym == e2->left.sym); in expr_eq() [all …]
|
| /linux/include/media/ |
| H A D | v4l2-rect.h | 62 if (r->left < boundary->left) in v4l2_rect_map_inside() 63 r->left = boundary->left; in v4l2_rect_map_inside() 66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside() 67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside() 95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position() 124 r->left = max(r1->left, r2->left); in v4l2_rect_intersect() 126 right = min(r1->left + r1->width, r2->left + r2->width); in v4l2_rect_intersect() 128 r->width = max(0, right - r->left); in v4l2_rect_intersect() 149 r->left = r->top = r->width = r->height = 0; in v4l2_rect_scale() 152 r->left = (((r->left - from->left) * to->width) / from->width) & ~1; in v4l2_rect_scale() [all …]
|
| /linux/arch/parisc/math-emu/ |
| H A D | sfsub.c | 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() 89 if (Sgl_isone_signaling(left)) in sgl_fsub() 95 Sgl_set_quiet(left); in sgl_fsub() 113 *dstptr = left; in sgl_fsub() 150 Sgl_copytoint_exponentmantissa(left,signless_upper_left); in sgl_fsub() [all …]
|
| H A D | sfadd.c | 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() 91 if (Sgl_isone_signaling(left)) in sgl_fadd() 97 Sgl_set_quiet(left); in sgl_fadd() 115 *dstptr = left; in sgl_fadd() 151 Sgl_copytoint_exponentmantissa(left,signless_upper_left); in sgl_fadd() [all …]
|
| H A D | sfcmp.c | 42 register unsigned int left, right; in sgl_fcmp() local 46 left = *leftptr; in sgl_fcmp() 52 if( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 58 if( ( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 59 && Sgl_isnotzero_mantissa(left) in sgl_fcmp() 60 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp() 76 else if( ((Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 77 && Sgl_isnotzero_mantissa(left)) in sgl_fcmp() 90 Sgl_xortointp1(left,right,xorresult); in sgl_fcmp() 95 if( Sgl_iszero_exponentmantissa(left) in sgl_fcmp() [all …]
|
| H A D | hppa.h | 15 #define Shiftdouble(left,right,amount,dest) \ argument 17 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount)) 20 #define Variableshiftdouble(left,right,amount,dest) \ argument 23 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \ 27 #define Variable_shift_double(left,right,amount,dest) \ argument 29 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
|
| /linux/kernel/ |
| H A D | sysctl.c | 389 size_t left; in do_proc_dointvec() local 400 left = *lenp; in do_proc_dointvec() 409 if (left > PAGE_SIZE - 1) in do_proc_dointvec() 410 left = PAGE_SIZE - 1; in do_proc_dointvec() 414 for (; left && vleft--; i++, first=0) { in do_proc_dointvec() 419 proc_skip_spaces(&p, &left); in do_proc_dointvec() 421 if (!left) in do_proc_dointvec() 423 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_dointvec() 438 proc_put_char(&buffer, &left, '\t'); in do_proc_dointvec() 439 proc_put_long(&buffer, &left, lval, neg); in do_proc_dointvec() [all …]
|
| /linux/net/sunrpc/ |
| H A D | sysctl.c | 71 size_t left, len; in proc_dodebug() local 78 left = *lenp; in proc_dodebug() 82 while (left && isspace(*p)) { in proc_dodebug() 83 left--; in proc_dodebug() 86 if (!left) in proc_dodebug() 89 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 91 memcpy(tmpbuf, p, left); in proc_dodebug() 92 tmpbuf[left] = '\0'; in proc_dodebug() 96 left -= (s - tmpbuf); in proc_dodebug() 97 if (left && !isspace(*s)) in proc_dodebug() [all …]
|
| /linux/kernel/bpf/ |
| H A D | range_tree.c | 159 /* Overlaps with the left side of the clearing range */ in range_tree_clear() 182 struct range_node *left; 185 left = range_it_iter_first(rt, start, last); in is_range_tree_set() 186 if (left && left->rn_start <= start && left->rn_last >= last) in is_range_tree_set() 196 struct range_node *left; 200 left = range_it_iter_first(rt, start, last); in range_tree_set() 201 if (left && left in range_tree_set() local 187 struct range_node *left; is_range_tree_set() local [all...] |
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-y8i.rst | 19 word. E.g. the R200 RealSense camera stores pixel from the left sensor 33 - Y'\ :sub:`00left` 35 - Y'\ :sub:`01left` 37 - Y'\ :sub:`02left` 39 - Y'\ :sub:`03left` 42 - Y'\ :sub:`10left` 44 - Y'\ :sub:`11left` 46 - Y'\ :sub:`12left` 48 - Y'\ :sub:`13left` 51 - Y'\ :sub:`20left` [all …]
|
| /linux/arch/x86/crypto/ |
| H A D | des3_ede-asm_64.S | 92 #define initial_permutation(left, right) \ argument 93 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 94 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 95 do_permutation(right##d, left##d, 2, 0x33333333); \ 96 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 98 movl left##d, RW0d; \ 102 xorl RW0d, left##d; \ 104 roll $1, left##d; \ 106 expand_to_64bits(left, RT3); 108 #define final_permutation(left, right) \ argument [all …]
|
| /linux/include/linux/ |
| H A D | regset.h | 22 size_t left; member 27 if (s->left) { in membuf_zero() 28 if (size > s->left) in membuf_zero() 29 size = s->left; in membuf_zero() 32 s->left -= size; in membuf_zero() 34 return s->left; in membuf_zero() 39 if (s->left) { in membuf_write() 40 if (size > s->left) in membuf_write() 41 size = s->left; in membuf_write() 44 s->left -= size; in membuf_write() [all …]
|
| /linux/fs/quota/ |
| H A D | kqid.c | 13 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() argument 15 if (left.type != right.type) in qid_eq() 17 switch(left.type) { in qid_eq() 19 return uid_eq(left.uid, right.uid); in qid_eq() 21 return gid_eq(left.gid, right.gid); in qid_eq() 23 return projid_eq(left.projid, right.projid); in qid_eq() 37 bool qid_lt(struct kqid left, struct kqid right) in qid_lt() argument 39 if (left.type < right.type) in qid_lt() 41 if (left.type > right.type) in qid_lt() 43 switch (left.type) { in qid_lt() [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree-remove.c | 86 static int node_copy(struct btree_node *left, struct btree_node *right, int shift) in node_copy() argument 88 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in node_copy() 89 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy() 99 if (nr_left + shift > le32_to_cpu(left->header.max_entries)) { in node_copy() 104 memcpy(key_ptr(left, nr_left), in node_copy() 107 memcpy(value_ptr(left, nr_left), in node_copy() 117 key_ptr(left, nr_left - shift), in node_copy() 120 value_ptr(left, nr_left - shift), in node_copy() 192 static int shift(struct btree_node *left, struct btree_node *right, int count) in shift() argument 195 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in shift() [all …]
|
| /linux/tools/perf/util/ |
| H A D | sort.c | 111 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument 113 return thread__tid(right->thread) - thread__tid(left->thread); in sort__thread_cmp() 147 sort__tgid_cmp(struct hist_entry *left, struct hist_entry *right) in sort__tgid_cmp() argument 149 return thread__pid(right->thread) - thread__pid(left->thread); in sort__tgid_cmp() 184 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp() argument 186 if (left->simd_flags.arch != right->simd_flags.arch) in sort__simd_cmp() 187 return (int64_t) left->simd_flags.arch - right->simd_flags.arch; in sort__simd_cmp() 189 return (int64_t) left->simd_flags.pred - right->simd_flags.pred; in sort__simd_cmp() 235 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() argument 237 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp() [all …]
|
| /linux/drivers/firmware/ |
| H A D | edd.c | 45 #define left (PAGE_SIZE - (p - buf) - 1) macro 135 p += scnprintf(p, left, "%c", info->params.host_bus_type[i]); in edd_show_host_bus() 137 p += scnprintf(p, left, " "); in edd_show_host_bus() 142 p += scnprintf(p, left, "\tbase_address: %x\n", in edd_show_host_bus() 147 p += scnprintf(p, left, in edd_show_host_bus() 155 p += scnprintf(p, left, in edd_show_host_bus() 160 p += scnprintf(p, left, "\tunknown: %llx\n", in edd_show_host_bus() 181 p += scnprintf(p, left, "%c", info->params.interface_type[i]); in edd_show_interface() 183 p += scnprintf(p, left, " "); in edd_show_interface() 187 p += scnprintf(p, left, "\tdevice: %u lun: %u\n", in edd_show_interface() [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | base_gamepad.py | 64 self.left = (127, 127) 83 left=(None, None), argument 128 left = replace_none_in_tuple(left, self.left) 129 self.left = left 142 self.store_axes("left_stick", gamepad, left) 150 self, *, left=(None, None), right=(None, None), hat_switch=None, buttons=None argument 165 left=left, right=right, hat_switch=hat_switch, buttons=buttons 205 left=(None, None), argument 229 left=left,
|
| /linux/tools/lib/perf/ |
| H A D | lib.c | 13 size_t left = n; in ion() local 15 while (left) { in ion() 17 ssize_t ret = is_read ? read(fd, buf, left) : in ion() 18 write(fd, buf, left); in ion() 25 left -= ret; in ion() 43 size_t left = n; in preadn() local 45 while (left) { in preadn() 46 ssize_t ret = pread(fd, buf, left, offs); in preadn() 53 left -= ret; in preadn()
|
| /linux/drivers/soc/samsung/ |
| H A D | s3c-pm-check.c | 106 unsigned long addr, left; in s3c_pm_makecheck() local 110 left = res->end - addr; in s3c_pm_makecheck() 112 if (left > CHECK_CHUNKSIZE) in s3c_pm_makecheck() 113 left = CHECK_CHUNKSIZE; in s3c_pm_makecheck() 115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 164 unsigned long left; in s3c_pm_runcheck() local 173 left = res->end - addr; in s3c_pm_runcheck() 175 if (left > CHECK_CHUNKSIZE) in s3c_pm_runcheck() 176 left = CHECK_CHUNKSIZE; in s3c_pm_runcheck() 180 if (in_region(ptr, left, stkpage, 4096)) { in s3c_pm_runcheck() [all …]
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_debugfs.c | 73 int left; in flowinfo_read() local 79 left = count; in flowinfo_read() 85 n = scnprintf(ptr, left, in flowinfo_read() 89 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 91 n = scnprintf(ptr, left, "Port_Num:%hu\n", in flowinfo_read() 93 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 95 n = usnic_transport_sock_to_str(ptr, left, in flowinfo_read() 97 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 98 n = scnprintf(ptr, left, "\n"); in flowinfo_read() 99 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
|
| /linux/Documentation/sound/cards/ |
| H A D | audigy-mixer.rst | 49 This control is used to attenuate samples from left and right front PCM FX-bus 50 accumulators. ALSA uses accumulators 8 and 9 for left and right front PCM 55 This control is used to attenuate samples from left and right surround PCM FX-bus 56 accumulators. ALSA uses accumulators 2 and 3 for left and right surround PCM 62 This control is used to attenuate samples from left and right side PCM FX-bus 63 accumulators. ALSA uses accumulators 14 and 15 for left and right side PCM 80 This control is used to attenuate samples from left and right PCM FX-bus 81 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for 86 This control is used to attenuate samples from left and right PCM FX-bus 87 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for [all …]
|
| /linux/scripts/gendwarfksyms/ |
| H A D | kabi.c | 103 static inline const char *get_rule_field(const char **pos, ssize_t *left) in get_rule_field() argument 108 if (*left <= 0) in get_rule_field() 111 len = strnlen(start, *left) + 1; in get_rule_field() 113 *left -= len; in get_rule_field() 127 ssize_t left; in kabi_read_rules() local 199 left = shdr->sh_size; in kabi_read_rules() 201 if (left < KABI_RULE_MIN_ENTRY_SIZE) in kabi_read_rules() 202 error("kABI rule section too small: %zd bytes", left); in kabi_read_rules() 204 if (rule_str[left - 1] != '\0') in kabi_read_rules() 207 while (left > KABI_RULE_MIN_ENTRY_SIZE) { in kabi_read_rules() [all …]
|
| /linux/fs/unicode/ |
| H A D | mkutf8data.c | 367 void *left; member 401 node = node->left; in lookup() 403 leaf = node->left; in lookup() 442 node->left, node->right, in tree_walk() 445 if (!(node->left && node->right)) in tree_walk() 453 assert(node->left); in tree_walk() 454 tree->leaf_print(node->left, in tree_walk() 457 } else if (node->left) { in tree_walk() 460 node = node->left; in tree_walk() 498 node->left = node->right = NULL; in alloc_node() [all …]
|
| /linux/drivers/misc/cb710/ |
| H A D | sgbuf2.c | 27 size_t len, left = 4; in sg_dwiter_read_buffer() local 32 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer() 35 left -= len; in sg_dwiter_read_buffer() 36 if (!left) in sg_dwiter_read_buffer() 41 memset(addr, 0, left); in sg_dwiter_read_buffer() 103 size_t len, left = 4; in sg_dwiter_write_slow() local 107 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow() 110 left -= len; in sg_dwiter_write_slow() 111 if (!left) in sg_dwiter_write_slow()
|
| /linux/sound/core/oss/ |
| H A D | mixer_oss.c | 255 int result = 0, left, right; in snd_mixer_oss_get_volume() local 261 left = pslot->volume[0]; in snd_mixer_oss_get_volume() 264 result = pslot->get_volume(fmixer, pslot, &left, &right); in snd_mixer_oss_get_volume() 266 right = left; in snd_mixer_oss_get_volume() 267 if (snd_BUG_ON(left < 0 || left > 100)) in snd_mixer_oss_get_volume() 272 pslot->volume[0] = left; in snd_mixer_oss_get_volume() 274 result = (left & 0xff) | ((right & 0xff) << 8); in snd_mixer_oss_get_volume() 284 int result = 0, left = volume & 0xff, right = (volume >> 8) & 0xff; in snd_mixer_oss_set_volume() local 290 if (left > 100) in snd_mixer_oss_set_volume() 291 left = 100; in snd_mixer_oss_set_volume() [all …]
|