| /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/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/fs/xfs/scrub/ |
| H A D | bitmap.c | 125 struct xbitmap64_node *left; in xbitmap64_set() local 131 left = xbitmap64_tree_iter_first(&bitmap->xb_root, start, last); in xbitmap64_set() 132 if (left && left->bn_start <= start && left->bn_last >= last) in xbitmap64_set() 141 left = xbitmap64_tree_iter_first(&bitmap->xb_root, start - 1, start - 1); in xbitmap64_set() 142 ASSERT(!left || left->bn_last + 1 == start); in xbitmap64_set() 148 if (left && right) { in xbitmap64_set() 150 xbitmap64_tree_remove(left, &bitmap->xb_root); in xbitmap64_set() 152 left->bn_last = right->bn_last; in xbitmap64_set() 153 xbitmap64_tree_insert(left, &bitmap->xb_root); in xbitmap64_set() 155 } else if (left) { in xbitmap64_set() [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/kernel/ |
| H A D | sysctl.c | 581 size_t left; in do_proc_dointvec() local 592 left = *lenp; in do_proc_dointvec() 601 if (left > PAGE_SIZE - 1) in do_proc_dointvec() 602 left = PAGE_SIZE - 1; in do_proc_dointvec() 606 for (; left && vleft--; i++, first=0) { in do_proc_dointvec() 611 proc_skip_spaces(&p, &left); in do_proc_dointvec() 613 if (!left) in do_proc_dointvec() 615 err = proc_get_long(&p, &left, &lval, &neg, in do_proc_dointvec() 630 proc_put_char(&buffer, &left, '\t'); in do_proc_dointvec() 631 proc_put_long(&buffer, &left, lval, neg); in do_proc_dointvec() [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 | 113 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() 115 return thread__tid(right->thread) - thread__tid(left->thread); 149 sort__tgid_cmp(struct hist_entry *left, struct hist_entry *right) in sort__tgid_cmp() 151 return thread__pid(right->thread) - thread__pid(left->thread); 186 sort__simd_cmp(struct hist_entry *left, struct hist_entry *right) in sort__simd_cmp() 188 if (left->simd_flags.arch != right->simd_flags.arch) in sort__simd_cmp() 189 return (int64_t) left->simd_flags.arch - right->simd_flags.arch; in sort__simd_cmp() 191 return (int64_t) left->simd_flags.pred - right->simd_flags.pred; 246 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) 248 return strcmp(comm__str(right->comm), comm__str(left in sort__comm_sort() 111 sort__thread_cmp(struct hist_entry * left,struct hist_entry * right) sort__thread_cmp() argument 147 sort__tgid_cmp(struct hist_entry * left,struct hist_entry * right) sort__tgid_cmp() argument 184 sort__simd_cmp(struct hist_entry * left,struct hist_entry * right) sort__simd_cmp() argument 235 sort__comm_cmp(struct hist_entry * left,struct hist_entry * right) sort__comm_cmp() argument 241 sort__comm_collapse(struct hist_entry * left,struct hist_entry * right) sort__comm_collapse() argument 247 sort__comm_sort(struct hist_entry * left,struct hist_entry * right) sort__comm_sort() argument 291 sort__dso_cmp(struct hist_entry * left,struct hist_entry * right) sort__dso_cmp() argument 363 sort__sym_cmp(struct hist_entry * left,struct hist_entry * right) sort__sym_cmp() argument 384 sort__sym_sort(struct hist_entry * left,struct hist_entry * right) sort__sym_sort() argument 463 sort__symoff_cmp(struct hist_entry * left,struct hist_entry * right) sort__symoff_cmp() argument 475 sort__symoff_sort(struct hist_entry * left,struct hist_entry * right) sort__symoff_sort() argument 514 sort__srcline_cmp(struct hist_entry * left,struct hist_entry * right) sort__srcline_cmp() argument 526 sort__srcline_collapse(struct hist_entry * left,struct hist_entry * right) sort__srcline_collapse() argument 537 sort__srcline_sort(struct hist_entry * left,struct hist_entry * right) sort__srcline_sort() argument 573 sort__srcline_from_cmp(struct hist_entry * left,struct hist_entry * right) sort__srcline_from_cmp() argument 579 sort__srcline_from_collapse(struct hist_entry * left,struct hist_entry * right) sort__srcline_from_collapse() argument 591 sort__srcline_from_sort(struct hist_entry * left,struct hist_entry * right) sort__srcline_from_sort() argument 621 sort__srcline_to_cmp(struct hist_entry * left,struct hist_entry * right) sort__srcline_to_cmp() argument 627 sort__srcline_to_collapse(struct hist_entry * left,struct hist_entry * right) sort__srcline_to_collapse() argument 639 sort__srcline_to_sort(struct hist_entry * left,struct hist_entry * right) sort__srcline_to_sort() argument 839 sort__srcfile_cmp(struct hist_entry * left,struct hist_entry * right) sort__srcfile_cmp() argument 845 sort__srcfile_collapse(struct hist_entry * left,struct hist_entry * right) sort__srcfile_collapse() argument 856 sort__srcfile_sort(struct hist_entry * left,struct hist_entry * right) sort__srcfile_sort() argument 886 sort__parent_cmp(struct hist_entry * left,struct hist_entry * right) sort__parent_cmp() argument 914 sort__cpu_cmp(struct hist_entry * left,struct hist_entry * right) sort__cpu_cmp() argument 935 sort__parallelism_cmp(struct hist_entry * left,struct hist_entry * right) sort__parallelism_cmp() argument 977 sort__cgroup_id_cmp(struct hist_entry * left,struct hist_entry * right) sort__cgroup_id_cmp() argument 1007 sort__cgroup_cmp(struct hist_entry * left,struct hist_entry * right) sort__cgroup_cmp() argument 1040 sort__socket_cmp(struct hist_entry * left,struct hist_entry * right) sort__socket_cmp() argument 1072 sort__time_cmp(struct hist_entry * left,struct hist_entry * right) sort__time_cmp() argument 1131 sort__trace_cmp(struct hist_entry * left,struct hist_entry * right) sort__trace_cmp() argument 1172 sort__dso_from_cmp(struct hist_entry * left,struct hist_entry * right) sort__dso_from_cmp() argument 1204 sort__dso_to_cmp(struct hist_entry * left,struct hist_entry * right) sort__dso_to_cmp() argument 1236 sort__sym_from_cmp(struct hist_entry * left,struct hist_entry * right) sort__sym_from_cmp() argument 1253 sort__sym_to_cmp(struct hist_entry * left,struct hist_entry * right) sort__sym_to_cmp() argument 1409 sort__addr_from_cmp(struct hist_entry * left,struct hist_entry * right) sort__addr_from_cmp() argument 1433 sort__addr_to_cmp(struct hist_entry * left,struct hist_entry * right) sort__addr_to_cmp() argument 1474 sort__mispredict_cmp(struct hist_entry * left,struct hist_entry * right) sort__mispredict_cmp() argument 1501 sort__cycles_cmp(struct hist_entry * left,struct hist_entry * right) sort__cycles_cmp() argument 1530 sort__daddr_cmp(struct hist_entry * left,struct hist_entry * right) sort__daddr_cmp() argument 1556 sort__iaddr_cmp(struct hist_entry * left,struct hist_entry * right) sort__iaddr_cmp() argument 1582 sort__dso_daddr_cmp(struct hist_entry * left,struct hist_entry * right) sort__dso_daddr_cmp() argument 1607 sort__locked_cmp(struct hist_entry * left,struct hist_entry * right) sort__locked_cmp() argument 1635 sort__tlb_cmp(struct hist_entry * left,struct hist_entry * right) sort__tlb_cmp() argument 1663 sort__lvl_cmp(struct hist_entry * left,struct hist_entry * right) sort__lvl_cmp() argument 1691 sort__snoop_cmp(struct hist_entry * left,struct hist_entry * right) sort__snoop_cmp() argument 1719 sort__dcacheline_cmp(struct hist_entry * left,struct hist_entry * right) sort__dcacheline_cmp() argument 1819 sort__weight_cmp(struct hist_entry * left,struct hist_entry * right) sort__weight_cmp() argument 1852 sort__ins_lat_cmp(struct hist_entry * left,struct hist_entry * right) sort__ins_lat_cmp() argument 1885 sort__p_stage_cyc_cmp(struct hist_entry * left,struct hist_entry * right) sort__p_stage_cyc_cmp() argument 1974 sort__blocked_cmp(struct hist_entry * left,struct hist_entry * right) sort__blocked_cmp() argument 2009 sort__phys_daddr_cmp(struct hist_entry * left,struct hist_entry * right) sort__phys_daddr_cmp() argument 2050 sort__data_page_size_cmp(struct hist_entry * left,struct hist_entry * right) sort__data_page_size_cmp() argument 2079 sort__code_page_size_cmp(struct hist_entry * left,struct hist_entry * right) sort__code_page_size_cmp() argument 2104 sort__abort_cmp(struct hist_entry * left,struct hist_entry * right) sort__abort_cmp() argument 2136 sort__in_tx_cmp(struct hist_entry * left,struct hist_entry * right) sort__in_tx_cmp() argument 2168 sort__transaction_cmp(struct hist_entry * left,struct hist_entry * right) sort__transaction_cmp() argument 2251 sort__sym_size_cmp(struct hist_entry * left,struct hist_entry * right) sort__sym_size_cmp() argument 2290 sort__dso_size_cmp(struct hist_entry * left,struct hist_entry * right) sort__dso_size_cmp() argument 2320 sort__addr_cmp(struct hist_entry * left,struct hist_entry * right) sort__addr_cmp() argument 2364 sort__type_cmp(struct hist_entry * left,struct hist_entry * right) sort__type_cmp() argument 2382 sort__type_collapse(struct hist_entry * left,struct hist_entry * right) sort__type_collapse() argument 2401 sort__type_sort(struct hist_entry * left,struct hist_entry * right) sort__type_sort() argument 2425 sort__typeoff_sort(struct hist_entry * left,struct hist_entry * right) sort__typeoff_sort() argument 2480 sort__typecln_sort(struct hist_entry * left,struct hist_entry * right) sort__typecln_sort() argument [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 …]
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | sparsebit.c | 170 struct node *left; member 209 for (nodep = s->root; nodep && nodep->left; nodep = nodep->left) in node_first() 228 for (nodep = nodep->right; nodep->left; nodep = nodep->left) in node_next() 255 if (nodep->left) { in node_prev() 256 for (nodep = nodep->left; nodep->right; nodep = nodep->right) in node_prev() 265 while (nodep->parent && nodep == nodep->parent->left) in node_prev() 292 if (subtree->left) { in node_copy_subtree() 293 root->left = node_copy_subtree(subtree->left); in node_copy_subtree() 294 root->left->parent = root; in node_copy_subtree() 316 nodep = nodep->idx > idx ? nodep->left : nodep->right) { in node_find() [all …]
|