/linux-4.4.14/scripts/kconfig/ |
D | expr.c | 21 e->left.sym = sym; in expr_alloc_symbol() 29 e->left.expr = ce; in expr_alloc_one() 37 e->left.expr = e1; in expr_alloc_two() 46 e->left.sym = s1; in expr_alloc_comp() 76 e->left = org->left; in expr_copy() 79 e->left.expr = expr_copy(org->left.expr); in expr_copy() 87 e->left.sym = org->left.sym; in expr_copy() 93 e->left.expr = expr_copy(org->left.expr); in expr_copy() 115 expr_free(e->left.expr); in expr_free() 126 expr_free(e->left.expr); in expr_free() [all …]
|
D | expr.h | 44 union expr_data left, right; member 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 226 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes() 231 return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no); in expr_is_no()
|
D | menu.c | 89 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 93 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 98 if (e->left.sym == &symbol_mod) in menu_check_dep() 272 if (!menu_validate_number(sym, prop->expr->left.sym) || in sym_check_prop() 410 for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) in menu_finalize()
|
/linux-4.4.14/arch/parisc/math-emu/ |
D | sfsub.c | 55 register unsigned int left, right, result, extent; in sgl_fsub() local 63 left = *leftptr; in sgl_fsub() 68 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 73 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 75 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 93 *dstptr = left; in sgl_fsub() 102 if (Sgl_isone_signaling(left)) in sgl_fsub() 108 Sgl_set_quiet(left); in sgl_fsub() 126 *dstptr = left; in sgl_fsub() 163 Sgl_copytoint_exponentmantissa(left,signless_upper_left); in sgl_fsub() [all …]
|
D | sfadd.c | 55 register unsigned int left, right, result, extent; in sgl_fadd() local 65 left = *leftptr; in sgl_fadd() 70 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 75 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 77 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 95 *dstptr = left; in sgl_fadd() 104 if (Sgl_isone_signaling(left)) in sgl_fadd() 110 Sgl_set_quiet(left); in sgl_fadd() 128 *dstptr = left; in sgl_fadd() 164 Sgl_copytoint_exponentmantissa(left,signless_upper_left); in sgl_fadd() [all …]
|
D | sfcmp.c | 55 register unsigned int left, right; in sgl_fcmp() local 59 left = *leftptr; in sgl_fcmp() 65 if( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 71 if( ( (Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 72 && Sgl_isnotzero_mantissa(left) in sgl_fcmp() 73 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp() 89 else if( ((Sgl_exponent(left) == SGL_INFINITY_EXPONENT) in sgl_fcmp() 90 && Sgl_isnotzero_mantissa(left)) in sgl_fcmp() 103 Sgl_xortointp1(left,right,xorresult); in sgl_fcmp() 108 if( Sgl_iszero_exponentmantissa(left) in sgl_fcmp() [all …]
|
D | hppa.h | 28 #define Shiftdouble(left,right,amount,dest) \ argument 30 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount)) 33 #define Variableshiftdouble(left,right,amount,dest) \ argument 36 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \ 40 #define Variable_shift_double(left,right,amount,dest) \ argument 42 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
|
D | sgl_float.h | 63 #define Sgl_leftshiftby1_withextent(left,right,result) \ argument 64 Shiftdouble(Sall(left),Extall(right),31,Sall(result)) 66 #define Sgl_rightshiftby1_withextent(left,right,dst) \ argument 67 Shiftdouble(Sall(left),Extall(right),1,Extall(right)) 239 #define Sgl_subtract_withextension(left,right,extent,result) \ argument 241 Sgl_subtract(left,right,result); \ 248 #define Sgl_xortointp1(left,right,result) \ argument 249 result = Sall(left) XOR Sall(right); 251 #define Sgl_xorfromintp1(left,right,result) \ argument 252 Sall(result) = left XOR Sall(right) [all …]
|
D | dbl_float.h | 421 #define Dbl_xortointp1(left,right,result) \ argument 422 result = Dallp1(left) XOR Dallp1(right) 424 #define Dbl_xorfromintp1(left,right,result) \ argument 425 Dallp1(result) = left XOR Dallp1(right) 427 #define Dbl_swap_lower(left,right) \ argument 428 Dallp2(left) = Dallp2(left) XOR Dallp2(right); \ 429 Dallp2(right) = Dallp2(left) XOR Dallp2(right); \ 430 Dallp2(left) = Dallp2(left) XOR Dallp2(right) 720 #define Dblext_xortointp1(left,right,result) Dbl_xortointp1(left,right,result) argument 722 #define Dblext_xorfromintp1(left,right,result) \ argument [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | sysctl.c | 82 size_t left, len; in proc_dodebug() local 89 left = *lenp; in proc_dodebug() 92 if (!access_ok(VERIFY_READ, buffer, left)) in proc_dodebug() 95 while (left && __get_user(c, p) >= 0 && isspace(c)) in proc_dodebug() 96 left--, p++; in proc_dodebug() 97 if (!left) in proc_dodebug() 100 if (left > sizeof(tmpbuf) - 1) in proc_dodebug() 102 if (copy_from_user(tmpbuf, p, left)) in proc_dodebug() 104 tmpbuf[left] = '\0'; in proc_dodebug() 108 left -= (s - tmpbuf); in proc_dodebug() [all …]
|
/linux-4.4.14/include/linux/ |
D | uidgid.h | 60 static inline bool uid_eq(kuid_t left, kuid_t right) in uid_eq() argument 62 return __kuid_val(left) == __kuid_val(right); in uid_eq() 65 static inline bool gid_eq(kgid_t left, kgid_t right) in gid_eq() argument 67 return __kgid_val(left) == __kgid_val(right); in gid_eq() 70 static inline bool uid_gt(kuid_t left, kuid_t right) in uid_gt() argument 72 return __kuid_val(left) > __kuid_val(right); in uid_gt() 75 static inline bool gid_gt(kgid_t left, kgid_t right) in gid_gt() argument 77 return __kgid_val(left) > __kgid_val(right); in gid_gt() 80 static inline bool uid_gte(kuid_t left, kuid_t right) in uid_gte() argument 82 return __kuid_val(left) >= __kuid_val(right); in uid_gte() [all …]
|
D | projid.h | 35 static inline bool projid_eq(kprojid_t left, kprojid_t right) in projid_eq() argument 37 return __kprojid_val(left) == __kprojid_val(right); in projid_eq() 40 static inline bool projid_lt(kprojid_t left, kprojid_t right) in projid_lt() argument 42 return __kprojid_val(left) < __kprojid_val(right); in projid_lt()
|
D | interval_tree_generic.h | 113 ITSTRUCT *left = rb_entry(node->ITRB.rb_left, \ 115 if (start <= left->ITSUBTREE) { \ 124 node = left; \
|
D | gpio_mouse.h | 50 int left; member
|
/linux-4.4.14/arch/x86/crypto/ |
D | des3_ede-asm_64.S | 101 #define initial_permutation(left, right) \ argument 102 do_permutation(left##d, right##d, 4, 0x0f0f0f0f); \ 103 do_permutation(left##d, right##d, 16, 0x0000ffff); \ 104 do_permutation(right##d, left##d, 2, 0x33333333); \ 105 do_permutation(right##d, left##d, 8, 0x00ff00ff); \ 107 movl left##d, RW0d; \ 111 xorl RW0d, left##d; \ 113 roll $1, left##d; \ 115 expand_to_64bits(left, RT3); 117 #define final_permutation(left, right) \ argument [all …]
|
/linux-4.4.14/fs/quota/ |
D | kqid.c | 12 bool qid_eq(struct kqid left, struct kqid right) in qid_eq() argument 14 if (left.type != right.type) in qid_eq() 16 switch(left.type) { in qid_eq() 18 return uid_eq(left.uid, right.uid); in qid_eq() 20 return gid_eq(left.gid, right.gid); in qid_eq() 22 return projid_eq(left.projid, right.projid); in qid_eq() 36 bool qid_lt(struct kqid left, struct kqid right) in qid_lt() argument 38 if (left.type < right.type) in qid_lt() 40 if (left.type > right.type) in qid_lt() 42 switch (left.type) { in qid_lt() [all …]
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | btcx-risc.c | 91 if (win->left < 0) { in btcx_screen_clips() 93 clips[n].c.left = 0; in btcx_screen_clips() 95 clips[n].c.width = -win->left; in btcx_screen_clips() 99 if (win->left + win->width > swidth) { in btcx_screen_clips() 101 clips[n].c.left = swidth - win->left; in btcx_screen_clips() 103 clips[n].c.width = win->width - clips[n].c.left; in btcx_screen_clips() 109 clips[n].c.left = 0; in btcx_screen_clips() 117 clips[n].c.left = 0; in btcx_screen_clips() 133 nx = (win->left + mask) & ~mask; in btcx_align() 135 if (nx + nw > win->left + win->width) in btcx_align() [all …]
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_info.c | 14 int left) in prism2_info_commtallies16() argument 18 if (left < sizeof(struct hfa384x_comm_tallies)) { in prism2_info_commtallies16() 20 "info frame\n", local->dev->name, left); in prism2_info_commtallies16() 54 int left) in prism2_info_commtallies32() argument 58 if (left < sizeof(struct hfa384x_comm_tallies32)) { in prism2_info_commtallies32() 60 "info frame\n", local->dev->name, left); in prism2_info_commtallies32() 94 int left) in prism2_info_commtallies() argument 97 prism2_info_commtallies32(local, buf, left); in prism2_info_commtallies() 99 prism2_info_commtallies16(local, buf, left); in prism2_info_commtallies() 129 int left) in prism2_info_linkstatus() argument [all …]
|
D | hostap_ap.c | 1564 int len, left; in handle_assoc() local 1572 left = len = skb->len - IEEE80211_MGMT_HDR_LEN; in handle_assoc() 1596 pos++; left -= 2; in handle_assoc() 1598 pos++; left -= 2; in handle_assoc() 1602 pos++; pos++; pos++; left -= 6; in handle_assoc() 1606 if (left >= 2) { in handle_assoc() 1611 u++; left--; in handle_assoc() 1613 u++; left--; in handle_assoc() 1615 if (ileft > left || ileft > MAX_SSID_LEN) { in handle_assoc() 1629 left -= ileft; in handle_assoc() [all …]
|
D | hostap_proc.c | 308 int start_bytes, left, copy, copied; in prism2_io_debug_proc_read() local 319 left = count; in prism2_io_debug_proc_read() 326 left -= copy; in prism2_io_debug_proc_read() 327 if (left > 0) in prism2_io_debug_proc_read() 328 memcpy(&page[copy], local->io_debug, left); in prism2_io_debug_proc_read() 331 left); in prism2_io_debug_proc_read()
|
/linux-4.4.14/Documentation/sound/oss/ |
D | WaveArtist | 11 0y34 select mono source, y=0 = left, y=1 = right 16 00 | 0 | 0 0 1 1 | left line mixer gain | left aux1 mixer gain |lmute| 18 01 | 0 | 0 1 0 1 | left aux2 mixer gain | right 2 left mic gain |mmute| 20 02 | 0 | 0 1 1 1 | left mic mixer gain | left mic | left mixer gain |dith | 22 03 | 0 | 1 0 0 1 | left mixer input select |lrfg | left ADC gain | 26 05 | 0 | 1 1 0 1 | right aux2 mixer gain | left 2 right mic gain |test | 32 08 | 1 | 0 0 1 1 | mono mixer gain |right ADC mux sel|left ADC mux sel | 34 09 | 1 | 0 1 0 1 |loopb|left linout|loop|ADCch|TxFch|OffCD|test |loopb|loopb|osamp| 36 0a | 0 | left PCM channel volume | 40 0c | 0 | left FM channel volume | [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | port.c | 191 static int link_peers(struct usb_port *left, struct usb_port *right) in link_peers() argument 196 if (left->peer == right && right->peer == left) in link_peers() 199 if (left->peer || right->peer) { in link_peers() 200 struct usb_port *lpeer = left->peer; in link_peers() 204 if (left->location && left->location == right->location) in link_peers() 210 dev_name(&left->dev), dev_name(&right->dev), method, in link_peers() 211 dev_name(&left->dev), in link_peers() 218 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer"); in link_peers() 221 rc = sysfs_create_link(&right->dev.kobj, &left->dev.kobj, "peer"); in link_peers() 223 sysfs_remove_link(&left->dev.kobj, "peer"); in link_peers() [all …]
|
/linux-4.4.14/sound/oss/ |
D | pas2_mixer.c | 80 int left = left_vol * div / 100; in mixer_output() local 86 left |= mixer; in mixer_output() 92 mix_write(left, 0x078B); in mixer_output() 97 mix_write(left, 0x078B); in mixer_output() 117 int left, right, devmask, changed, i, mixer = 0; in pas_mixer_set() local 119 left = level & 0x7f; in pas_mixer_set() 132 levels[whichDev] = mixer_output(right, left, 63, 0x01, 0); in pas_mixer_set() 140 levels[whichDev] = mixer_output(right, left, 12, 0x03, 0); in pas_mixer_set() 143 levels[whichDev] = mixer_output(right, left, 12, 0x04, 0); in pas_mixer_set() 147 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x00, mixer); in pas_mixer_set() [all …]
|
D | sb_mixer.c | 273 int sb_common_mixer_set(sb_devc * devc, int dev, int left, int right) in sb_common_mixer_set() argument 287 oss_change_bits(devc, &val, dev, LEFT_CHN, left); in sb_common_mixer_set() 299 return left | (left << 8); /* in sb_common_mixer_set() 311 return left | (right << 8); in sb_common_mixer_set() 314 static int smw_mixer_set(sb_devc * devc, int dev, int left, int right) in smw_mixer_set() argument 321 sb_setmixer(devc, 0x0b, 96 - (96 * left / 100)); /* 96=mute, 0=max */ in smw_mixer_set() 327 devc->levels[dev] = left | (right << 8); in smw_mixer_set() 347 sb_setmixer(devc, reg, (24 - (24 * left / 100)) | 0x20); /* 24=mute, 0=max */ in smw_mixer_set() 351 devc->levels[dev] = left | (right << 8); in smw_mixer_set() 352 return left | (right << 8); in smw_mixer_set() [all …]
|
D | pss.c | 401 static void set_master_volume(struct pss_confdata *devc, int left, int right) in set_master_volume() argument 415 pss_write(devc, log_scale[left] | 0x0000); in set_master_volume() 463 unsigned int left, volume; in set_volume_mono() local 467 left = volume & 0xff; in set_volume_mono() 468 if (left > 100) in set_volume_mono() 469 left = 100; in set_volume_mono() 470 *aleft = left; in set_volume_mono() 478 unsigned int left, right, volume; in set_volume_stereo() local 482 left = volume & 0xff; in set_volume_stereo() 483 if (left > 100) in set_volume_stereo() [all …]
|
D | sb_ess.c | 1666 int ess_mixer_set(sb_devc *devc, int dev, int left, int right) argument 1669 sb_common_mixer_set (devc, dev + ES_REC_MIXER_RECDIFF, left, right); 1671 return sb_common_mixer_set (devc, dev, left, right); 1681 int left, right, value; local 1684 left = value & 0x000000ff; 1687 sb_common_mixer_set(devc, dev, left, right); 1693 int value, left, right; local 1712 left = value & 0x000000ff; 1715 left = 0; 1718 sb_common_mixer_set(devc, i + ES_REC_MIXER_RECDIFF, left, right);
|
/linux-4.4.14/drivers/video/fbdev/core/ |
D | syscopyarea.c | 33 int left, right; in bitcpy() local 81 left = -shift & (bits - 1); in bitcpy() 89 *dst = comp(*src << left, *dst, first); in bitcpy() 97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy() 112 *dst = comp(d0 << left, *dst, first); in bitcpy() 118 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy() 130 *dst++ = d0 >> right | d1 << left; in bitcpy() 133 *dst++ = d0 >> right | d1 << left; in bitcpy() 136 *dst++ = d0 >> right | d1 << left; in bitcpy() 139 *dst++ = d0 >> right | d1 << left; in bitcpy() [all …]
|
D | sysfillrect.c | 82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument 103 pat = pat << left | pat >> right; in bitfill_unaligned() 111 pat = pat << left | pat >> right; in bitfill_unaligned() 113 pat = pat << left | pat >> right; in bitfill_unaligned() 115 pat = pat << left | pat >> right; in bitfill_unaligned() 117 pat = pat << left | pat >> right; in bitfill_unaligned() 122 pat = pat << left | pat >> right; in bitfill_unaligned() 192 unsigned long pat, int left, int right, unsigned n, in bitfill_unaligned_rev() argument 215 pat = pat << left | pat >> right; in bitfill_unaligned_rev() 223 pat = pat << left | pat >> right; in bitfill_unaligned_rev() [all …]
|
D | cfbfillrect.c | 93 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument 114 pat = pat << left | pat >> right; in bitfill_unaligned() 122 pat = pat << left | pat >> right; in bitfill_unaligned() 124 pat = pat << left | pat >> right; in bitfill_unaligned() 126 pat = pat << left | pat >> right; in bitfill_unaligned() 128 pat = pat << left | pat >> right; in bitfill_unaligned() 133 pat = pat << left | pat >> right; in bitfill_unaligned() 218 int dst_idx, unsigned long pat, int left, int right, in bitfill_unaligned_rev() argument 243 pat = pat << left | pat >> right; in bitfill_unaligned_rev() 252 pat = pat << left | pat >> right; in bitfill_unaligned_rev() [all …]
|
D | cfbcopyarea.c | 110 int const left = shift & (bits - 1); in bitcpy() local 121 d0 <<= left; in bitcpy() 129 d0 = d0 >> right | d1 << left; in bitcpy() 146 d0 <<= left; in bitcpy() 153 d0 = d0 >> right | d1 << left; in bitcpy() 166 FB_WRITEL(d0 >> right | d1 << left, dst++); in bitcpy() 169 FB_WRITEL(d0 >> right | d1 << left, dst++); in bitcpy() 172 FB_WRITEL(d0 >> right | d1 << left, dst++); in bitcpy() 175 FB_WRITEL(d0 >> right | d1 << left, dst++); in bitcpy() 182 d0 = d0 >> right | d1 << left; in bitcpy() [all …]
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.c | 35 return r1->left > r2->left || r1->top > r2->top || in is_inside() 36 r1->left + r1->width < r2->left + r2->width || in is_inside() 75 if (rect->left > subrect->left) in update_subrect() 76 subrect->left = rect->left; in update_subrect() 77 else if (rect->left + rect->width > in update_subrect() 78 subrect->left + subrect->width) in update_subrect() 79 subrect->left = rect->left + rect->width - in update_subrect() 118 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_crop() 126 cam_rect->left, cam_rect->top, in soc_camera_client_s_crop() 127 rect->width, rect->height, rect->left, rect->top); in soc_camera_client_s_crop() [all …]
|
/linux-4.4.14/drivers/md/persistent-data/ |
D | dm-btree-remove.c | 82 static void node_copy(struct btree_node *left, struct btree_node *right, int shift) in node_copy() argument 84 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in node_copy() 85 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy() 90 BUG_ON(nr_left + shift > le32_to_cpu(left->header.max_entries)); in node_copy() 91 memcpy(key_ptr(left, nr_left), in node_copy() 94 memcpy(value_ptr(left, nr_left), in node_copy() 100 key_ptr(left, nr_left - shift), in node_copy() 103 value_ptr(left, nr_left - shift), in node_copy() 173 static void shift(struct btree_node *left, struct btree_node *right, int count) in shift() argument 175 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in shift() [all …]
|
D | dm-btree.c | 526 struct dm_block *left, *right, *parent; in btree_split_sibling() local 530 left = shadow_current(s); in btree_split_sibling() 536 ln = dm_block_data(left); in btree_split_sibling() 561 location = cpu_to_le64(dm_block_location(left)); in btree_split_sibling() 578 s->nodes[1] = left; in btree_split_sibling() 580 unlock_block(s->info, left); in btree_split_sibling() 613 struct dm_block *left, *right, *new_parent; in btree_split_beneath() local 619 r = new_block(s->info, &left); in btree_split_beneath() 625 unlock_block(s->info, left); in btree_split_beneath() 630 ln = dm_block_data(left); in btree_split_beneath() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | sort.c | 65 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp() argument 67 return right->thread->tid - left->thread->tid; in sort__thread_cmp() 90 sort__comm_cmp(struct hist_entry *left, struct hist_entry *right) in sort__comm_cmp() argument 93 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_cmp() 97 sort__comm_collapse(struct hist_entry *left, struct hist_entry *right) in sort__comm_collapse() argument 100 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_collapse() 104 sort__comm_sort(struct hist_entry *left, struct hist_entry *right) in sort__comm_sort() argument 106 return strcmp(comm__str(right->comm), comm__str(left->comm)); in sort__comm_sort() 147 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp() argument 149 return _sort__dso_cmp(right->ms.map, left->ms.map); in sort__dso_cmp() [all …]
|
D | util.c | 252 size_t left = n; in ion() local 254 while (left) { in ion() 255 ssize_t ret = is_read ? read(fd, buf, left) : in ion() 256 write(fd, buf, left); in ion() 263 left -= ret; in ion()
|
/linux-4.4.14/drivers/firmware/ |
D | edd.c | 54 #define left (PAGE_SIZE - (p - buf) - 1) macro 144 p += scnprintf(p, left, "%c", info->params.host_bus_type[i]); in edd_show_host_bus() 146 p += scnprintf(p, left, " "); in edd_show_host_bus() 151 p += scnprintf(p, left, "\tbase_address: %x\n", in edd_show_host_bus() 156 p += scnprintf(p, left, in edd_show_host_bus() 164 p += scnprintf(p, left, in edd_show_host_bus() 169 p += scnprintf(p, left, "\tunknown: %llx\n", in edd_show_host_bus() 190 p += scnprintf(p, left, "%c", info->params.interface_type[i]); in edd_show_interface() 192 p += scnprintf(p, left, " "); in edd_show_interface() 196 p += scnprintf(p, left, "\tdevice: %u lun: %u\n", in edd_show_interface() [all …]
|
D | dmi-id.c | 92 ssize_t l, left; in get_modalias() local 97 p = buffer + 3; left = buffer_size - 4; in get_modalias() 99 for (f = fields; f->prefix && left > 0; f++) { in get_modalias() 111 l = scnprintf(p, left, ":%s%s", f->prefix, t); in get_modalias() 115 left -= l; in get_modalias()
|
/linux-4.4.14/arch/arm/plat-samsung/ |
D | pm-check.c | 110 unsigned long addr, left; in s3c_pm_makecheck() local 114 left = res->end - addr; in s3c_pm_makecheck() 116 if (left > CHECK_CHUNKSIZE) in s3c_pm_makecheck() 117 left = CHECK_CHUNKSIZE; in s3c_pm_makecheck() 119 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 168 unsigned long left; in s3c_pm_runcheck() local 177 left = res->end - addr; in s3c_pm_runcheck() 179 if (left > CHECK_CHUNKSIZE) in s3c_pm_runcheck() 180 left = CHECK_CHUNKSIZE; in s3c_pm_runcheck() 184 if (in_region(ptr, left, stkpage, 4096)) { in s3c_pm_runcheck() [all …]
|
/linux-4.4.14/drivers/misc/cb710/ |
D | sgbuf2.c | 30 size_t len, left = 4; in sg_dwiter_read_buffer() local 35 len = min(miter->length - miter->consumed, left); in sg_dwiter_read_buffer() 38 left -= len; in sg_dwiter_read_buffer() 39 if (!left) in sg_dwiter_read_buffer() 44 memset(addr, 0, left); in sg_dwiter_read_buffer() 106 size_t len, left = 4; in sg_dwiter_write_slow() local 110 len = min(miter->length - miter->consumed, left); in sg_dwiter_write_slow() 113 left -= len; in sg_dwiter_write_slow() 114 if (!left) in sg_dwiter_write_slow()
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_debugfs.c | 74 int left; in flowinfo_read() local 80 left = count; in flowinfo_read() 86 n = scnprintf(ptr, left, in flowinfo_read() 90 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 92 n = scnprintf(ptr, left, "Port_Num:%hu\n", in flowinfo_read() 94 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 96 n = usnic_transport_sock_to_str(ptr, left, in flowinfo_read() 98 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read() 99 n = scnprintf(ptr, left, "\n"); in flowinfo_read() 100 UPDATE_PTR_LEFT(n, ptr, left); in flowinfo_read()
|
D | usnic_ib_sysfs.c | 87 unsigned left; in usnic_ib_show_config() local 95 left = PAGE_SIZE; in usnic_ib_show_config() 109 n = scnprintf(ptr, left, in usnic_ib_show_config() 118 UPDATE_PTR_LEFT(n, ptr, left); in usnic_ib_show_config() 125 n = scnprintf(ptr, left, " %d %s%s", in usnic_ib_show_config() 130 UPDATE_PTR_LEFT(n, ptr, left); in usnic_ib_show_config() 132 n = scnprintf(ptr, left, "\n"); in usnic_ib_show_config() 133 UPDATE_PTR_LEFT(n, ptr, left); in usnic_ib_show_config() 135 n = scnprintf(ptr, left, "%s: no VFs\n", in usnic_ib_show_config() 137 UPDATE_PTR_LEFT(n, ptr, left); in usnic_ib_show_config() [all …]
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | ieee80211.c | 289 int left, count; in r8712_parse_wpa_ie() local 301 left = wpa_ie_len - 8; in r8712_parse_wpa_ie() 303 if (left >= WPA_SELECTOR_LEN) { in r8712_parse_wpa_ie() 306 left -= WPA_SELECTOR_LEN; in r8712_parse_wpa_ie() 307 } else if (left > 0) { in r8712_parse_wpa_ie() 311 if (left >= 2) { in r8712_parse_wpa_ie() 314 left -= 2; in r8712_parse_wpa_ie() 315 if (count == 0 || left < count * WPA_SELECTOR_LEN) in r8712_parse_wpa_ie() 320 left -= WPA_SELECTOR_LEN; in r8712_parse_wpa_ie() 322 } else if (left == 1) { in r8712_parse_wpa_ie() [all …]
|
/linux-4.4.14/net/ceph/ |
D | pagevec.c | 99 int left = len; in ceph_copy_user_to_page_vector() local 102 while (left > 0) { in ceph_copy_user_to_page_vector() 103 l = min_t(int, PAGE_CACHE_SIZE-po, left); in ceph_copy_user_to_page_vector() 108 left -= l - bad; in ceph_copy_user_to_page_vector() 125 size_t left = len; in ceph_copy_to_page_vector() local 127 while (left > 0) { in ceph_copy_to_page_vector() 128 size_t l = min_t(size_t, PAGE_CACHE_SIZE-po, left); in ceph_copy_to_page_vector() 132 left -= l; in ceph_copy_to_page_vector() 148 size_t left = len; in ceph_copy_from_page_vector() local 150 while (left > 0) { in ceph_copy_from_page_vector() [all …]
|
/linux-4.4.14/net/tipc/ |
D | core.h | 126 static inline int less_eq(u16 left, u16 right) in less_eq() argument 128 return mod(right - left) < 32768u; in less_eq() 131 static inline int more(u16 left, u16 right) in more() argument 133 return !less_eq(left, right); in more() 136 static inline int less(u16 left, u16 right) in less() argument 138 return less_eq(left, right) && (mod(right) != mod(left)); in less()
|
/linux-4.4.14/sound/core/oss/ |
D | mixer_oss.c | 263 int result = 0, left, right; in snd_mixer_oss_get_volume() local 268 left = pslot->volume[0]; in snd_mixer_oss_get_volume() 271 result = pslot->get_volume(fmixer, pslot, &left, &right); in snd_mixer_oss_get_volume() 273 right = left; in snd_mixer_oss_get_volume() 274 if (snd_BUG_ON(left < 0 || left > 100)) in snd_mixer_oss_get_volume() 279 pslot->volume[0] = left; in snd_mixer_oss_get_volume() 281 result = (left & 0xff) | ((right & 0xff) << 8); in snd_mixer_oss_get_volume() 291 int result = 0, left = volume & 0xff, right = (volume >> 8) & 0xff; in snd_mixer_oss_set_volume() local 296 if (left > 100) in snd_mixer_oss_set_volume() 297 left = 100; in snd_mixer_oss_set_volume() [all …]
|
/linux-4.4.14/kernel/ |
D | groups.c | 116 int left = base; in groups_sort() local 117 int right = left + stride; in groups_sort() 120 while (left >= 0 && gid_gt(GROUP_AT(group_info, left), tmp)) { in groups_sort() 122 GROUP_AT(group_info, left); in groups_sort() 123 right = left; in groups_sort() 124 left -= stride; in groups_sort() 135 unsigned int left, right; in groups_search() local 140 left = 0; in groups_search() 142 while (left < right) { in groups_search() 143 unsigned int mid = (left+right)/2; in groups_search() [all …]
|
D | sysctl.c | 2065 size_t left; in __do_proc_dointvec() local 2075 left = *lenp; in __do_proc_dointvec() 2093 if (left > PAGE_SIZE - 1) in __do_proc_dointvec() 2094 left = PAGE_SIZE - 1; in __do_proc_dointvec() 2099 if (copy_from_user(kbuf, buffer, left)) { in __do_proc_dointvec() 2103 kbuf[left] = 0; in __do_proc_dointvec() 2106 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec() 2111 left -= proc_skip_spaces(&kbuf); in __do_proc_dointvec() 2113 if (!left) in __do_proc_dointvec() 2115 err = proc_get_long(&kbuf, &left, &lval, &neg, in __do_proc_dointvec() [all …]
|
D | auditfilter.c | 1165 int audit_comparator(u32 left, u32 op, u32 right) in audit_comparator() argument 1169 return (left == right); in audit_comparator() 1171 return (left != right); in audit_comparator() 1173 return (left < right); in audit_comparator() 1175 return (left <= right); in audit_comparator() 1177 return (left > right); in audit_comparator() 1179 return (left >= right); in audit_comparator() 1181 return (left & right); in audit_comparator() 1183 return ((left & right) == right); in audit_comparator() 1190 int audit_uid_comparator(kuid_t left, u32 op, kuid_t right) in audit_uid_comparator() argument [all …]
|
D | audit.h | 231 extern int audit_comparator(const u32 left, const u32 op, const u32 right); 232 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); 233 extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right);
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | Audigy-mixer.txt | 42 This control is used to attenuate samples for left and right front PCM FX-bus 43 accumulators. ALSA uses accumulators 8 and 9 for left and right front PCM 49 This control is used to attenuate samples for left and right surround PCM FX-bus 50 accumulators. ALSA uses accumulators 2 and 3 for left and right surround PCM 68 This control is used to attenuate samples for left and right PCM FX-bus 69 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for 75 This control is used to attenuate samples for left and right PCM FX-bus 76 accumulator. ALSA uses accumulators 0 and 1 for left and right PCM. 82 This control is used to attenuate samples for left and right MIDI FX-bus 83 accumulators. ALSA uses accumulators 4 and 5 for left and right MIDI samples. [all …]
|
D | SB-Live-mixer.txt | 57 This control is used to attenuate samples for left and right PCM FX-bus 58 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples. 63 This control is used to attenuate samples for left and right PCM FX-bus 64 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples. 70 This control is used to attenuate samples for left and right PCM FX-bus 71 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples. 77 This control is used to attenuate samples for left and right PCM FX-bus 78 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM. 80 the ??rear?? left DAC PCM slot of the AC97 codec. 85 These controls are used to attenuate samples for left and right PCM FX-bus [all …]
|
D | Channel-Mapping-API.txt | 16 { front left, front right, rear left, rear right }. 83 SNDRV_CHMAP_FL, /* front left */ 85 SNDRV_CHMAP_RL, /* rear left */ 89 SNDRV_CHMAP_SL, /* side left */ 93 SNDRV_CHMAP_FLC, /* front left center */ 95 SNDRV_CHMAP_RLC, /* rear left center */ 97 SNDRV_CHMAP_FLW, /* front left wide */ 99 SNDRV_CHMAP_FLH, /* front left high */ 103 SNDRV_CHMAP_TFL, /* top front left */ 106 SNDRV_CHMAP_TRL, /* top rear left */ [all …]
|
/linux-4.4.14/lib/zlib_inflate/ |
D | inftrees.c | 32 int left; /* number of prefix codes available */ in zlib_inflate_table() local 117 left = 1; in zlib_inflate_table() 119 left <<= 1; in zlib_inflate_table() 120 left -= count[len]; in zlib_inflate_table() 121 if (left < 0) return -1; /* over-subscribed */ in zlib_inflate_table() 123 if (left > 0 && (type == CODES || max != 1)) in zlib_inflate_table() 256 left = (int)(1 << curr); in zlib_inflate_table() 258 left -= count[curr + drop]; in zlib_inflate_table() 259 if (left <= 0) break; in zlib_inflate_table() 261 left <<= 1; in zlib_inflate_table()
|
D | inflate.c | 169 left = strm->avail_out; \ 180 strm->avail_out = left; \ 322 unsigned have, left; /* available input and output */ in zlib_inflate() local 347 out = left; in zlib_inflate() 435 if (copy > left) copy = left; in zlib_inflate() 440 left -= copy; in zlib_inflate() 558 if (have >= 6 && left >= 258) { in zlib_inflate() 641 if (state->offset > state->whave + out - left) { in zlib_inflate() 648 if (left == 0) goto inf_leave; in zlib_inflate() 649 copy = out - left; in zlib_inflate() [all …]
|
/linux-4.4.14/drivers/hid/ |
D | hid-zpff.c | 42 int left, right; in zpff_play() local 50 left = effect->u.rumble.strong_magnitude; in zpff_play() 52 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in zpff_play() 54 left = left * 0x7f / 0xffff; in zpff_play() 57 zpff->report->field[2]->value[0] = left; in zpff_play() 59 dbg_hid("running with 0x%02x 0x%02x\n", left, right); in zpff_play()
|
D | hid-axff.c | 49 int left, right; in axff_play() local 52 left = effect->u.rumble.strong_magnitude; in axff_play() 55 dbg_hid("called with 0x%04x 0x%04x", left, right); in axff_play() 57 left = left * 0xff / 0xffff; in axff_play() 63 field_count % 2 ? right : left; in axff_play() 68 dbg_hid("running with 0x%02x 0x%02x", left, right); in axff_play()
|
D | hid-sjoy.c | 46 u32 left, right; in hid_sjoyff_play() local 48 left = effect->u.rumble.strong_magnitude; in hid_sjoyff_play() 50 dev_dbg(&dev->dev, "called with 0x%08x 0x%08x\n", left, right); in hid_sjoyff_play() 52 left = left * 0xff / 0xffff; in hid_sjoyff_play() 56 sjoyff->report->field[0]->value[2] = left; in hid_sjoyff_play() 57 dev_dbg(&dev->dev, "running with 0x%02x 0x%02x\n", left, right); in hid_sjoyff_play()
|
D | hid-gaff.c | 47 int left, right; in hid_gaff_play() local 49 left = effect->u.rumble.strong_magnitude; in hid_gaff_play() 52 dbg_hid("called with 0x%04x 0x%04x", left, right); in hid_gaff_play() 54 left = left * 0xfe / 0xffff; in hid_gaff_play() 61 gaff->report->field[0]->value[4] = left; in hid_gaff_play() 63 dbg_hid("running with 0x%02x 0x%02x", left, right); in hid_gaff_play()
|
D | hid-lgff.c | 75 unsigned int left, right; in hid_lgff_play() local 95 left = effect->u.rumble.weak_magnitude; in hid_lgff_play() 97 left = left * 0xff / 0xffff; in hid_lgff_play() 98 CLAMP(left); in hid_lgff_play() 102 report->field[0]->value[2] = left; in hid_lgff_play() 104 dbg_hid("(left, right)=(%04x, %04x)\n", left, right); in hid_lgff_play()
|
D | hid-pl.c | 64 int left, right; in hid_plff_play() local 66 left = effect->u.rumble.strong_magnitude; in hid_plff_play() 68 debug("called with 0x%04x 0x%04x", left, right); in hid_plff_play() 70 left = left * plff->maxval / 0xffff; in hid_plff_play() 73 *plff->strong = left; in hid_plff_play() 75 debug("running with 0x%02x 0x%02x", left, right); in hid_plff_play()
|
D | hid-holtekff.c | 111 int left, right; in holtekff_play() local 116 left = effect->u.rumble.strong_magnitude; in holtekff_play() 118 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in holtekff_play() 120 if (!left && !right) { in holtekff_play() 125 if (left) in holtekff_play() 131 buf[6] = min(0xf, (left >> 12) + (right >> 12)); in holtekff_play()
|
D | hid-betopff.c | 45 __u16 left, right; in hid_betopff_play() local 47 left = effect->u.rumble.strong_magnitude; in hid_betopff_play() 50 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play()
|
D | hid-tmff.c | 90 int left, right; /* Rumbling */ in tmff_play() local 108 left = tmff_scale_u16(effect->u.rumble.weak_magnitude, in tmff_play() 115 dbg_hid("(left,right)=(%08x, %08x)\n", left, right); in tmff_play() 116 ff_field->value[0] = left; in tmff_play()
|
/linux-4.4.14/drivers/media/platform/omap/ |
D | omap_voutlib.c | 52 crop->left = ((pix->width - crop->width) >> 1) & ~1; in omap_vout_default_crop() 74 if (try_win.left < 0) { in omap_vout_try_window() 75 try_win.width += try_win.left; in omap_vout_try_window() 76 try_win.left = 0; in omap_vout_try_window() 86 if (try_win.left + try_win.width > fbuf->fmt.width) in omap_vout_try_window() 87 try_win.width = fbuf->fmt.width - try_win.left; in omap_vout_try_window() 176 if (try_crop.left < 0) { in omap_vout_new_crop() 177 try_crop.width += try_crop.left; in omap_vout_new_crop() 178 try_crop.left = 0; in omap_vout_new_crop() 188 if (try_crop.left + try_crop.width > pix->width) in omap_vout_new_crop() [all …]
|
D | omap_vout_vrfb.c | 330 cleft = (pix->width - crop->width) - crop->left; in omap_vout_calculate_vrfb_offset() 370 temp_ps * crop->left + ctop * ps; in omap_vout_calculate_vrfb_offset() 373 temp_ps * crop->left + ctop * ps + in omap_vout_calculate_vrfb_offset() 381 crop->top + (crop->left / vr_ps) * ps; in omap_vout_calculate_vrfb_offset() 384 crop->top + (crop->left / vr_ps) * ps + in omap_vout_calculate_vrfb_offset() 390 vr_ps + (crop->left * ps) / vr_ps + in omap_vout_calculate_vrfb_offset()
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_ieee80211.c | 451 int left, count; in rtw_parse_wpa_ie23a() local 465 left = wpa_ie_len - 8; in rtw_parse_wpa_ie23a() 468 if (left >= WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie23a() 473 left -= WPA_SELECTOR_LEN; in rtw_parse_wpa_ie23a() 474 } else if (left > 0) { in rtw_parse_wpa_ie23a() 477 __func__, left); in rtw_parse_wpa_ie23a() 483 if (left >= 2) { in rtw_parse_wpa_ie23a() 487 left -= 2; in rtw_parse_wpa_ie23a() 489 if (count == 0 || left < count * WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie23a() 492 __func__, count, left); in rtw_parse_wpa_ie23a() [all …]
|
/linux-4.4.14/security/tomoyo/ |
D | condition.c | 287 static bool tomoyo_parse_argv(char *left, char *right, in tomoyo_parse_argv() argument 290 if (tomoyo_parse_ulong(&argv->index, &left) != in tomoyo_parse_argv() 291 TOMOYO_VALUE_TYPE_DECIMAL || *left++ != ']' || *left) in tomoyo_parse_argv() 306 static bool tomoyo_parse_envp(char *left, char *right, in tomoyo_parse_envp() argument 311 char *cp = left + strlen(left) - 1; in tomoyo_parse_envp() 315 if (!tomoyo_correct_word(left)) in tomoyo_parse_envp() 317 name = tomoyo_get_name(left); in tomoyo_parse_envp() 494 u8 left = -1; in tomoyo_get_condition() local 552 left = TOMOYO_ARGV_ENTRY; in tomoyo_get_condition() 567 left = TOMOYO_ENVP_ENTRY; in tomoyo_get_condition() [all …]
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vid-common.c | 650 if (r->left < boundary->left) in rect_map_inside() 651 r->left = boundary->left; in rect_map_inside() 654 if (r->left + r->width > boundary->width) in rect_map_inside() 655 r->left = boundary->width - r->width; in rect_map_inside() 673 r.left = max(a->left, b->left); in rect_intersect() 675 right = min(a->left + a->width, b->left + b->width); in rect_intersect() 677 r.width = max(0, right - r.left); in rect_intersect() 689 r->left = r->top = r->width = r->height = 0; in rect_scale() 692 r->left = (((r->left - from->left) * to->width) / from->width) & ~1; in rect_scale() 705 if (r1->left >= r2->left + r2->width || in rect_overlap() [all …]
|
D | vivid-kthread-cap.c | 65 int left = dev->overlay_out_left; in copy_pix() local 67 int fb_x = win_x + left; in copy_pix() 77 win_x -= dev->compose_out.left; in copy_pix() 87 fb_x >= r->left && fb_x < r->left + r->width) in copy_pix() 191 dev->loop_vid_out.left += dev->crop_out.left; in vivid_precalc_copy_rects() 200 dev->loop_vid_copy.left, dev->loop_vid_copy.top, in vivid_precalc_copy_rects() 202 dev->loop_vid_out.left, dev->loop_vid_out.top, in vivid_precalc_copy_rects() 204 dev->loop_vid_cap.left, dev->loop_vid_cap.top); in vivid_precalc_copy_rects() 209 r_overlay.left += dev->compose_out.left - dev->overlay_out_left; in vivid_precalc_copy_rects() 216 dev->loop_fb_copy.left -= dev->compose_out.left - dev->overlay_out_left; in vivid_precalc_copy_rects() [all …]
|
D | vivid-tpg.c | 416 tpg->crop.top = tpg->crop.left = 0; in tpg_reset_source() 419 tpg->compose.top = tpg->compose.left = 0; in tpg_reset_source() 1379 tpg->square.left = (w - tpg->square.width) / 2; in tpg_calculate_square_border() 1386 tpg->border.left = 0; in tpg_calculate_square_border() 1398 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border() 1414 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border() 1430 tpg->border.left = (w - tpg->border.width) / 2; in tpg_calculate_square_border() 1668 x += tpg->compose.left; in tpg_gen_text() 1853 tpg->crop.left, tpg->crop.top); in tpg_log_status() 1855 tpg->compose.left, tpg->compose.top); in tpg_log_status() [all …]
|
/linux-4.4.14/drivers/spi/ |
D | spi-bcm53xx.c | 177 size_t left; in bcm53xxspi_transfer_one() local 181 left = t->len; in bcm53xxspi_transfer_one() 182 while (left) { in bcm53xxspi_transfer_one() 183 size_t to_write = min_t(size_t, 16, left); in bcm53xxspi_transfer_one() 184 bool cont = left - to_write > 0; in bcm53xxspi_transfer_one() 187 left -= to_write; in bcm53xxspi_transfer_one() 194 left = t->len; in bcm53xxspi_transfer_one() 195 while (left) { in bcm53xxspi_transfer_one() 197 left); in bcm53xxspi_transfer_one() 198 bool cont = left - to_read > 0; in bcm53xxspi_transfer_one() [all …]
|
/linux-4.4.14/net/mac80211/ |
D | aes_cmac.c | 44 size_t i, e, left, total_len; in aes_cmac_vector() local 51 left = total_len; in aes_cmac_vector() 57 while (left >= AES_BLOCK_SIZE) { in aes_cmac_vector() 66 if (left > AES_BLOCK_SIZE) in aes_cmac_vector() 68 left -= AES_BLOCK_SIZE; in aes_cmac_vector() 75 if (left || total_len == 0) { in aes_cmac_vector() 76 for (i = 0; i < left; i++) { in aes_cmac_vector() 84 cbc[left] ^= 0x80; in aes_cmac_vector()
|
D | michael.c | 60 size_t block, blocks, left; in michael_mic() local 67 left = data_len % 4; in michael_mic() 75 while (left > 0) { in michael_mic() 77 left--; in michael_mic() 78 val |= data[blocks * 4 + left]; in michael_mic()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | arcfb.c | 248 unsigned int left, unsigned int right, unsigned int distance) in arcfb_lcd_update_page() argument 256 xindex = left >> 6; in arcfb_lcd_update_page() 263 src = (unsigned char __force *) par->info->screen_base + (left/8) + in arcfb_lcd_update_page() 265 ks108_set_xaddr(par, chipindex, left); in arcfb_lcd_update_page() 269 while (left <= right) { in arcfb_lcd_update_page() 281 left++; in arcfb_lcd_update_page() 300 unsigned int bottom, unsigned int left, unsigned int right) in arcfb_lcd_update_vert() argument 310 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert() 321 static void arcfb_lcd_update_horiz(struct arcfb_par *par, unsigned int left, in arcfb_lcd_update_horiz() argument 332 arcfb_lcd_update_vert(par, upper, lower, left, right); in arcfb_lcd_update_horiz() [all …]
|
D | macmodes.c | 113 "mac1", 60, 512, 384, pixclock, left, right, upper, lower, hslen, vslen, 117 "mac3", 50, 640, 480, pixclock, left, right, upper, lower, hslen, vslen, 121 "mac4", 60, 640, 480, pixclock, left, right, upper, lower, hslen, vslen, 125 "mac8", 50, 768, 576, pixclock, left, right, upper, lower, hslen, vslen,
|
D | amifb.c | 2604 int shift = dst_idx - src_idx, left, right; in bitcpy() local 2657 left = -shift & (BITS_PER_LONG - 1); in bitcpy() 2668 *dst = comp(*src << left, *dst, first); in bitcpy() 2673 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy() 2688 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy() 2700 *dst++ = d0 << left | d1 >> right; in bitcpy() 2703 *dst++ = d0 << left | d1 >> right; in bitcpy() 2706 *dst++ = d0 << left | d1 >> right; in bitcpy() 2709 *dst++ = d0 << left | d1 >> right; in bitcpy() 2715 *dst++ = d0 << left | d1 >> right; in bitcpy() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | raw3270.h | 250 struct list_head *p, *left; in free_string() local 253 left = free_list; in free_string() 257 left = p; in free_string() 260 if (left->next != free_list) { in free_string() 261 tmp = list_entry(left->next, struct string, list); in free_string() 268 if (left != free_list) { in free_string() 269 tmp = list_entry(left, struct string, list); in free_string() 275 __list_add(&cs->list, left, left->next); in free_string()
|
/linux-4.4.14/net/bluetooth/ |
D | ecc.c | 134 static int vli_cmp(const u64 *left, const u64 *right) in vli_cmp() argument 139 if (left[i] > right[i]) in vli_cmp() 141 else if (left[i] < right[i]) in vli_cmp() 183 static u64 vli_add(u64 *result, const u64 *left, in vli_add() argument 192 sum = left[i] + right[i] + carry; in vli_add() 193 if (sum != left[i]) in vli_add() 194 carry = (sum < left[i]); in vli_add() 203 static u64 vli_sub(u64 *result, const u64 *left, const u64 *right) in vli_sub() argument 211 diff = left[i] - right[i] - borrow; in vli_sub() 212 if (diff != left[i]) in vli_sub() [all …]
|
/linux-4.4.14/net/rds/ |
D | tcp_recv.c | 162 size_t left = len, to_copy; in rds_tcp_data_recv() local 171 while (left) { in rds_tcp_data_recv() 189 if (left && tc->t_tinc_hdr_rem) { in rds_tcp_data_recv() 190 to_copy = min(tc->t_tinc_hdr_rem, left); in rds_tcp_data_recv() 199 left -= to_copy; in rds_tcp_data_recv() 209 if (left && tc->t_tinc_data_rem) { in rds_tcp_data_recv() 216 to_copy = min(tc->t_tinc_data_rem, left); in rds_tcp_data_recv() 221 left, tc->t_tinc_data_rem, skb->len); in rds_tcp_data_recv() 234 left -= to_copy; in rds_tcp_data_recv() 255 len, left, skb->len, in rds_tcp_data_recv() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | idals.h | 198 size_t left; in idal_buffer_to_user() local 203 left = copy_to_user(to, ib->data[i], IDA_BLOCK_SIZE); in idal_buffer_to_user() 204 if (left) in idal_buffer_to_user() 205 return left + count - IDA_BLOCK_SIZE; in idal_buffer_to_user() 218 size_t left; in idal_buffer_from_user() local 223 left = copy_from_user(ib->data[i], from, IDA_BLOCK_SIZE); in idal_buffer_from_user() 224 if (left) in idal_buffer_from_user() 225 return left + count - IDA_BLOCK_SIZE; in idal_buffer_from_user()
|
/linux-4.4.14/sound/pci/ |
D | ak4531_codec.c | 162 int left, right; in snd_ak4531_get_double() local 165 left = (ak4531->regs[left_reg] >> left_shift) & mask; in snd_ak4531_get_double() 169 left = mask - left; in snd_ak4531_get_double() 172 ucontrol->value.integer.value[0] = left; in snd_ak4531_get_double() 187 int left, right; in snd_ak4531_put_double() local 189 left = ucontrol->value.integer.value[0] & mask; in snd_ak4531_put_double() 192 left = mask - left; in snd_ak4531_put_double() 195 left <<= left_shift; in snd_ak4531_put_double() 199 left = (ak4531->regs[left_reg] & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_ak4531_put_double() 200 change = left != ak4531->regs[left_reg]; in snd_ak4531_put_double() [all …]
|
/linux-4.4.14/arch/powerpc/perf/ |
D | core-fsl-emb.c | 327 s64 left = local64_read(&event->hw.period_left); in fsl_emb_pmu_add() local 328 if (left < 0x80000000L) in fsl_emb_pmu_add() 329 val = 0x80000000L - left; in fsl_emb_pmu_add() 395 s64 left; in fsl_emb_pmu_start() local 410 left = local64_read(&event->hw.period_left); in fsl_emb_pmu_start() 412 if (left < 0x80000000L) in fsl_emb_pmu_start() 413 val = 0x80000000L - left; in fsl_emb_pmu_start() 610 s64 prev, delta, left; in record_and_restart() local 628 left = local64_read(&event->hw.period_left) - delta; in record_and_restart() 630 if (left <= 0) { in record_and_restart() [all …]
|
D | core-book3s.c | 1218 s64 left; in power_pmu_enable() local 1332 left = local64_read(&event->hw.period_left); in power_pmu_enable() 1333 if (left < 0x80000000L) in power_pmu_enable() 1334 val = 0x80000000L - left; in power_pmu_enable() 1534 s64 left; in power_pmu_start() local 1550 left = local64_read(&event->hw.period_left); in power_pmu_start() 1553 if (left < 0x80000000L) in power_pmu_start() 1554 val = 0x80000000L - left; in power_pmu_start() 1956 s64 prev, delta, left; in record_and_restart() local 1974 left = local64_read(&event->hw.period_left) - delta; in record_and_restart() [all …]
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | perf_event.c | 161 s64 left; in xtensa_perf_event_set_period() local 164 left = XTENSA_PMU_COUNTER_MAX; in xtensa_perf_event_set_period() 168 left = local64_read(&hwc->period_left); in xtensa_perf_event_set_period() 169 if (left <= -period) { in xtensa_perf_event_set_period() 170 left = period; in xtensa_perf_event_set_period() 171 local64_set(&hwc->period_left, left); in xtensa_perf_event_set_period() 174 } else if (left <= 0) { in xtensa_perf_event_set_period() 175 left += period; in xtensa_perf_event_set_period() 176 local64_set(&hwc->period_left, left); in xtensa_perf_event_set_period() 180 if (left > XTENSA_PMU_COUNTER_MAX) in xtensa_perf_event_set_period() [all …]
|
/linux-4.4.14/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 135 crop->left = 0; in vsp1_rwpf_set_format() 167 sel->r.left = 0; in vsp1_rwpf_get_selection() 205 sel->r.left = ALIGN(sel->r.left, 2); in vsp1_rwpf_set_selection() 211 sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); in vsp1_rwpf_set_selection() 214 sel->r.left = min_t(unsigned int, sel->r.left, 255); in vsp1_rwpf_set_selection() 218 format->width - sel->r.left); in vsp1_rwpf_set_selection()
|
D | vsp1_bru.c | 302 compose->left = 0; in bru_set_format() 333 sel->r.left = 0; in bru_get_selection() 367 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in bru_set_selection()
|
D | vsp1_rpf.c | 106 + crop->left * fmtinfo->bpp[0] / 8; in rpf_s_stream() 115 + crop->left * fmtinfo->bpp[1] / 8; in rpf_s_stream() 147 (rpf->location.left << VI6_RPF_LOC_HCOORD_SHIFT) | in rpf_s_stream()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 523 int left, count; in rtw_parse_wpa_ie() local 540 left = wpa_ie_len - 8; in rtw_parse_wpa_ie() 544 if (left >= WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie() 547 left -= WPA_SELECTOR_LEN; in rtw_parse_wpa_ie() 548 } else if (left > 0) { in rtw_parse_wpa_ie() 549 …TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("%s: ie length mismatch, %u too much", __func__, left)); in rtw_parse_wpa_ie() 554 if (left >= 2) { in rtw_parse_wpa_ie() 557 left -= 2; in rtw_parse_wpa_ie() 559 if (count == 0 || left < count * WPA_SELECTOR_LEN) { in rtw_parse_wpa_ie() 561 "count %u left %u", __func__, count, left)); in rtw_parse_wpa_ie() [all …]
|
/linux-4.4.14/lib/ |
D | iov_iter.c | 9 size_t left; \ 15 left = (STEP); \ 16 __v.iov_len -= left; \ 20 left = 0; \ 22 while (unlikely(!left && n)) { \ 28 left = (STEP); \ 29 __v.iov_len -= left; \ 141 size_t skip, copy, left, wanted; in copy_page_to_iter_iovec() local 163 left = __copy_to_user_inatomic(buf, from, copy); in copy_page_to_iter_iovec() 164 copy -= left; in copy_page_to_iter_iovec() [all …]
|
D | scatterlist.c | 280 unsigned int left; in __sg_alloc_table() local 291 left = nents; in __sg_alloc_table() 294 unsigned int sg_size, alloc_size = left; in __sg_alloc_table() 302 left -= sg_size; in __sg_alloc_table() 338 if (!left) in __sg_alloc_table() 342 } while (left); in __sg_alloc_table()
|
D | btree.c | 521 unsigned long *left, int lfill, in merge() argument 529 setkey(geo, left, lfill + i, bkey(geo, right, i)); in merge() 530 setval(geo, left, lfill + i, bval(geo, right, i)); in merge() 534 setval(geo, parent, lpos + 1, left); in merge() 543 unsigned long *parent, *left = NULL, *right = NULL; in rebalance() local 561 left = bval(geo, parent, i - 1); in rebalance() 562 no_left = getfill(geo, left, 0); in rebalance() 565 left, no_left, in rebalance()
|
/linux-4.4.14/tools/perf/ |
D | builtin-diff.c | 501 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in __hist_entry__cmp_compute() argument 507 double l = left->diff.period_ratio_delta; in __hist_entry__cmp_compute() 514 double l = left->diff.period_ratio; in __hist_entry__cmp_compute() 521 s64 l = left->diff.wdiff; in __hist_entry__cmp_compute() 534 hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, in hist_entry__cmp_compute() argument 537 bool pairs_left = hist_entry__has_pairs(left); in hist_entry__cmp_compute() 547 p_left = get_pair_data(left, &data__files[sort_idx]); in hist_entry__cmp_compute() 564 hist_entry__cmp_compute_idx(struct hist_entry *left, struct hist_entry *right, in hist_entry__cmp_compute_idx() argument 569 p_left = get_pair_data(left, &data__files[sort_idx]); in hist_entry__cmp_compute_idx() 584 if (left->dummy && right->dummy) in hist_entry__cmp_compute_idx() [all …]
|
/linux-4.4.14/drivers/input/mouse/ |
D | vsxxxaa.c | 212 int left, middle, right; in vsxxxaa_handle_REL_packet() local 242 left = buf[0] & 0x04; in vsxxxaa_handle_REL_packet() 250 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet() 255 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet() 268 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local 292 left = buf[0] & 0x02; in vsxxxaa_handle_ABS_packet() 301 left ? "L" : "l", middle ? "M" : "m", in vsxxxaa_handle_ABS_packet() 307 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet() 320 int left, middle, right; in vsxxxaa_handle_POR_packet() local 351 left = buf[0] & 0x04; in vsxxxaa_handle_POR_packet() [all …]
|
D | alps.c | 217 int left, int right, int middle) in alps_report_buttons() argument 227 input_report_key(dev, BTN_LEFT, left); in alps_report_buttons() 249 int x, y, z, ges, fin, left, right, middle; in alps_process_packet_v1_v2() local 253 left = packet[2] & 0x10; in alps_process_packet_v1_v2() 260 left = packet[3] & 1; in alps_process_packet_v1_v2() 287 alps_report_buttons(dev2, dev, left, right, middle); in alps_process_packet_v1_v2() 295 left |= packet[0] & 1; in alps_process_packet_v1_v2() 300 alps_report_buttons(dev, dev2, left, right, middle); in alps_process_packet_v1_v2() 541 input_report_key(dev, BTN_LEFT, f->left); in alps_report_semi_mt_data() 555 int x, y, z, left, right, middle; in alps_process_trackstick_packet_v3() local [all …]
|
D | hgpk.c | 349 int left = !!(packet[3] & 1); in hgpk_process_advanced_packet() local 374 left, right, x, y); in hgpk_process_advanced_packet() 377 input_report_key(idev, BTN_LEFT, left); in hgpk_process_advanced_packet() 416 hgpk_spewing_hack(psmouse, left, right, x_diff, y_diff); in hgpk_process_advanced_packet() 432 int left = packet[0] & 1; in hgpk_process_simple_packet() local 448 hgpk_spewing_hack(psmouse, left, right, x, y); in hgpk_process_simple_packet() 452 left, right, x, y); in hgpk_process_simple_packet() 454 input_report_key(dev, BTN_LEFT, left); in hgpk_process_simple_packet()
|
/linux-4.4.14/tools/lib/traceevent/ |
D | parse-filter.c | 208 free_arg(arg->num.left); in free_arg() 213 free_arg(arg->exp.left); in free_arg() 230 free_arg(arg->op.left); in free_arg() 455 struct filter_arg *left; in add_right() local 510 left = op->num.left; in add_right() 520 if (left->type == FILTER_ARG_BOOLEAN) { in add_right() 521 free_arg(left); in add_right() 529 if (left->type != FILTER_ARG_FIELD) { in add_right() 562 op->str.field = left->field.field; in add_right() 581 free_arg(left); in add_right() [all …]
|
D | event-parse.c | 856 free_arg(arg->op.left); in free_arg() 1725 struct print_arg *arg, *left, *right; in process_cond() local 1730 left = alloc_arg(); in process_cond() 1733 if (!arg || !left || !right) { in process_cond() 1736 free_arg(left); in process_cond() 1742 arg->op.left = left; in process_cond() 1746 type = process_arg(event, left, &token); in process_cond() 1754 type = process_op(event, left, &token); in process_cond() 1871 if (!arg->op.left || arg->op.left->type == PRINT_NULL) in set_op_prio() 1883 struct print_arg *left, *right = NULL; in process_op() local [all …]
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 392 int left, int right, bool force_notify) in snd_saa7134_capsrc_set() argument 405 active = left != 0 || right != 0; in snd_saa7134_capsrc_set() 411 chip->capture_source[0] != left || in snd_saa7134_capsrc_set() 414 chip->capture_source[0] = left; in snd_saa7134_capsrc_set() 469 if (left || right) { in snd_saa7134_capsrc_set() 948 int left, right; in snd_saa7134_volume_put() local 950 left = ucontrol->value.integer.value[0]; in snd_saa7134_volume_put() 951 if (left < 0) in snd_saa7134_volume_put() 952 left = 0; in snd_saa7134_volume_put() 953 if (left > 20) in snd_saa7134_volume_put() [all …]
|
D | saa7134-video.c | 394 dev->crop_bounds.left = norm->h_start; in set_tvnorm() 395 dev->crop_defrect.left = norm->h_start; in set_tvnorm() 559 h_start = dev->crop_current.left; in set_size() 561 h_stop = (dev->crop_current.left + dev->crop_current.width -1); in set_size() 662 col[cols].position = clip_range(clips[i].c.left); in setup_clipping() 665 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping() 738 dev->win.w.left, dev->win.w.top, in start_preview() 755 base += dev->ovfmt->depth/8 * dev->win.w.left; in start_preview() 1646 if (c->left < b->left) in saa7134_s_crop() 1647 c->left = b->left; in saa7134_s_crop() [all …]
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 93 drawable->self_bitmap_area.left = 0; in make_drawable() 197 rect.left = x; in qxl_draw_opaque_fb() 232 drawable->u.copy.src_area.left = 0; in qxl_draw_opaque_fb() 281 int left, right, top, bottom; in qxl_draw_dirty_fb() local 299 left = clips->x1; in qxl_draw_dirty_fb() 307 left = min_t(int, left, (int)clips_ptr->x1); in qxl_draw_dirty_fb() 313 width = right - left; in qxl_draw_dirty_fb() 331 drawable_rect.left = left; in qxl_draw_dirty_fb() 347 left, top, width, height, depth, stride); in qxl_draw_dirty_fb() 364 drawable->u.copy.src_area.left = 0; in qxl_draw_dirty_fb() [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | nsnames.c | 188 char c, *left, *right; in acpi_ns_build_normalized_path() local 238 left = full_path; in acpi_ns_build_normalized_path() 240 while (left < right) { in acpi_ns_build_normalized_path() 241 c = *left; in acpi_ns_build_normalized_path() 242 *left++ = *right; in acpi_ns_build_normalized_path()
|
/linux-4.4.14/drivers/isdn/hardware/avm/ |
D | b1.c | 156 int i, left; in b1_load_t4file() local 160 left = t4file->len; in b1_load_t4file() 161 while (left > FWBUF_SIZE) { in b1_load_t4file() 174 left -= FWBUF_SIZE; in b1_load_t4file() 177 if (left) { in b1_load_t4file() 179 if (copy_from_user(buf, dp, left)) in b1_load_t4file() 182 memcpy(buf, dp, left); in b1_load_t4file() 184 for (i = 0; i < left; i++) in b1_load_t4file() 199 int i, j, left; in b1_load_config() local 202 left = config->len; in b1_load_config() [all …]
|
D | c4.c | 199 u_int left; in c4_load_t4file() local 203 left = t4file->len; in c4_load_t4file() 204 while (left >= sizeof(u32)) { in c4_load_t4file() 216 left -= sizeof(u32); in c4_load_t4file() 220 if (left) { in c4_load_t4file() 223 if (copy_from_user(&val, dp, left)) in c4_load_t4file() 226 memcpy(&val, dp, left); in c4_load_t4file() 818 u_int left; in c4_send_config() local 827 left = config->len; in c4_send_config() 828 while (left >= sizeof(u32)) { in c4_send_config() [all …]
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctdaio.c | 32 unsigned short left; member 37 [LINEO1] = {.left = 0x00, .right = 0x01}, 38 [LINEO2] = {.left = 0x18, .right = 0x19}, 39 [LINEO3] = {.left = 0x08, .right = 0x09}, 40 [LINEO4] = {.left = 0x10, .right = 0x11}, 41 [LINEIM] = {.left = 0x1b5, .right = 0x1bd}, 42 [SPDIFOO] = {.left = 0x20, .right = 0x21}, 43 [SPDIFIO] = {.left = 0x15, .right = 0x1d}, 44 [SPDIFI1] = {.left = 0x95, .right = 0x9d}, 48 [LINEO1] = {.left = 0x40, .right = 0x41}, [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | visemul.c | 250 u16 left, right; member 296 u16 left, right; in edge() local 310 left = edge8_tab[rs1 & 0x7].left; in edge() 315 left = edge8_tab_l[rs1 & 0x7].left; in edge() 321 left = edge16_tab[(rs1 >> 1) & 0x3].left; in edge() 327 left = edge16_tab_l[(rs1 >> 1) & 0x3].left; in edge() 333 left = edge32_tab[(rs1 >> 2) & 0x1].left; in edge() 339 left = edge32_tab_l[(rs1 >> 2) & 0x1].left; in edge() 345 rd_val = right & left; in edge() 347 rd_val = left; in edge()
|
/linux-4.4.14/fs/dlm/ |
D | dir.c | 88 int left; in dlm_recover_directory() local 105 left = ls->ls_recover_buf->rc_header.h_length; in dlm_recover_directory() 106 left -= sizeof(struct dlm_rcom); in dlm_recover_directory() 112 if (left < sizeof(__be16)) in dlm_recover_directory() 118 left -= sizeof(__be16); in dlm_recover_directory() 129 if (namelen > left) in dlm_recover_directory() 180 left -= namelen; in dlm_recover_directory()
|
/linux-4.4.14/drivers/firmware/efi/libstub/ |
D | arm-stub.c | 311 const efi_memory_desc_t *left = l, *right = r; in cmp_mem_desc() local 313 return (left->phys_addr > right->phys_addr) ? 1 : -1; in cmp_mem_desc() 320 static bool regions_are_adjacent(efi_memory_desc_t *left, in regions_are_adjacent() argument 325 if (left == NULL || right == NULL) in regions_are_adjacent() 328 left_end = left->phys_addr + left->num_pages * EFI_PAGE_SIZE; in regions_are_adjacent() 337 static bool regions_have_compatible_memory_type_attrs(efi_memory_desc_t *left, in regions_have_compatible_memory_type_attrs() argument 344 return ((left->attribute ^ right->attribute) & mem_type_mask) == 0; in regions_have_compatible_memory_type_attrs()
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvc_vio.c | 77 int left; member 96 if (pv->left == 0) { in hvterm_raw_get_chars() 98 pv->left = hvc_get_chars(pv->termno, pv->buf, count); in hvterm_raw_get_chars() 104 for (i = 1; i < pv->left; ++i) { in hvterm_raw_get_chars() 106 --pv->left; in hvterm_raw_get_chars() 107 if (i < pv->left) { in hvterm_raw_get_chars() 109 pv->left - i); in hvterm_raw_get_chars() 115 got = min(count, pv->left); in hvterm_raw_get_chars() 118 pv->left -= got; in hvterm_raw_get_chars()
|
/linux-4.4.14/Documentation/devicetree/bindings/display/panel/ |
D | sharp,lq101r1sx01.txt | 4 - left-right: each channel drives the left or right half of the screen 8 driven by the first link (DSI-LINK1), left or even, is considered the primary 12 Note that in video mode the DSI-LINK1 interface always provides the left/even 14 is possible to program either link to drive the left/even or right/odd pixels
|
/linux-4.4.14/drivers/media/pci/ngene/ |
D | ngene-dvb.c | 73 int left, avail; in ts_read() local 75 left = count; in ts_read() 76 while (left) { in ts_read() 82 if (avail > left) in ts_read() 83 avail = left; in ts_read() 85 left -= avail; in ts_read()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | perf_event.c | 254 long left = local64_read(&hwc->period_left); in alpha_perf_event_set_period() local 258 if (unlikely(left <= -period)) { in alpha_perf_event_set_period() 259 left = period; in alpha_perf_event_set_period() 260 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 265 if (unlikely(left <= 0)) { in alpha_perf_event_set_period() 266 left += period; in alpha_perf_event_set_period() 267 local64_set(&hwc->period_left, left); in alpha_perf_event_set_period() 276 if (unlikely(left < alpha_pmu->pmc_left[idx])) in alpha_perf_event_set_period() 277 left = alpha_pmu->pmc_left[idx]; in alpha_perf_event_set_period() 279 if (left > (long)alpha_pmu->pmc_max_period[idx]) in alpha_perf_event_set_period() [all …]
|
/linux-4.4.14/sound/hda/ |
D | hdac_regmap.c | 155 unsigned int left, right; in hda_reg_read_stereo_amp() local 159 err = snd_hdac_exec_verb(codec, reg | AC_AMP_GET_LEFT, 0, &left); in hda_reg_read_stereo_amp() 165 *val = left | (right << 8); in hda_reg_read_stereo_amp() 174 unsigned int verb, left, right; in hda_reg_write_stereo_amp() local 183 left = val & 0xff; in hda_reg_write_stereo_amp() 185 if (left == right) { in hda_reg_write_stereo_amp() 187 return snd_hdac_exec_verb(codec, reg | left, 0, NULL); in hda_reg_write_stereo_amp() 190 err = snd_hdac_exec_verb(codec, reg | AC_AMP_SET_LEFT | left, 0, NULL); in hda_reg_write_stereo_amp()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | interval_tree.c | 183 struct interval_node *left = node->in_left; in __rotate_right() local 186 node->in_left = left->in_right; in __rotate_right() 188 left->in_right->in_parent = node; in __rotate_right() 189 left->in_right = node; in __rotate_right() 191 left->in_parent = parent; in __rotate_right() 194 parent->in_right = left; in __rotate_right() 196 parent->in_left = left; in __rotate_right() 198 *root = left; in __rotate_right() 200 node->in_parent = left; in __rotate_right() 203 __rotate_change_maxhigh(node, left); in __rotate_right()
|
/linux-4.4.14/drivers/char/xilinx_hwicap/ |
D | xilinx_hwicap.c | 442 ssize_t left = count; in hwicap_write() local 451 left += drvdata->write_buffer_in_use; in hwicap_write() 454 if (left < 4) { in hwicap_write() 465 while (left > 3) { in hwicap_write() 468 len = left; in hwicap_write() 503 left -= drvdata->write_buffer_in_use; in hwicap_write() 507 left -= len; in hwicap_write() 509 if ((left > 0) && (left < 4)) { in hwicap_write() 511 buf + written, left)) { in hwicap_write() 512 drvdata->write_buffer_in_use = left; in hwicap_write() [all …]
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_amd_ibs.c | 75 s64 left = local64_read(&hwc->period_left); in perf_event_set_period() local 82 if (unlikely(left <= -period)) { in perf_event_set_period() 83 left = period; in perf_event_set_period() 84 local64_set(&hwc->period_left, left); in perf_event_set_period() 89 if (unlikely(left < (s64)min)) { in perf_event_set_period() 90 left += period; in perf_event_set_period() 91 local64_set(&hwc->period_left, left); in perf_event_set_period() 102 if (left > max) { in perf_event_set_period() 103 left -= max; in perf_event_set_period() 104 if (left > max) in perf_event_set_period() [all …]
|
D | perf_event.c | 1092 s64 left = local64_read(&hwc->period_left); in x86_perf_event_set_period() local 1102 if (unlikely(left <= -period)) { in x86_perf_event_set_period() 1103 left = period; in x86_perf_event_set_period() 1104 local64_set(&hwc->period_left, left); in x86_perf_event_set_period() 1109 if (unlikely(left <= 0)) { in x86_perf_event_set_period() 1110 left += period; in x86_perf_event_set_period() 1111 local64_set(&hwc->period_left, left); in x86_perf_event_set_period() 1118 if (unlikely(left < 2)) in x86_perf_event_set_period() 1119 left = 2; in x86_perf_event_set_period() 1121 if (left > x86_pmu.max_period) in x86_perf_event_set_period() [all …]
|
/linux-4.4.14/arch/arc/kernel/ |
D | perf_event.c | 217 s64 left = local64_read(&hwc->period_left); in arc_pmu_event_set_period() local 223 if (unlikely(left <= -period)) { in arc_pmu_event_set_period() 225 left = period; in arc_pmu_event_set_period() 226 local64_set(&hwc->period_left, left); in arc_pmu_event_set_period() 229 } else if (unlikely(left <= 0)) { in arc_pmu_event_set_period() 231 left += period; in arc_pmu_event_set_period() 232 local64_set(&hwc->period_left, left); in arc_pmu_event_set_period() 237 if (left > arc_pmu->max_period) in arc_pmu_event_set_period() 238 left = arc_pmu->max_period; in arc_pmu_event_set_period() 240 value = arc_pmu->max_period - left; in arc_pmu_event_set_period()
|
/linux-4.4.14/fs/btrfs/ |
D | ctree.c | 1892 struct extent_buffer *left = NULL; in balance_level() local 1966 left = read_node_slot(root, parent, pslot - 1); in balance_level() 1967 if (left) { in balance_level() 1968 btrfs_tree_lock(left); in balance_level() 1969 btrfs_set_lock_blocking(left); in balance_level() 1970 wret = btrfs_cow_block(trans, root, left, in balance_level() 1971 parent, pslot - 1, &left); in balance_level() 1990 if (left) { in balance_level() 1991 orig_slot += btrfs_header_nritems(left); in balance_level() 1992 wret = push_node_left(trans, root, left, mid, 1); in balance_level() [all …]
|
/linux-4.4.14/arch/metag/kernel/perf/ |
D | perf_event.c | 224 s64 left = local64_read(&hwc->period_left); in metag_pmu_event_set_period() local 230 left += period - hwc->last_period; in metag_pmu_event_set_period() 232 if (unlikely(left <= -period)) { in metag_pmu_event_set_period() 233 left = period; in metag_pmu_event_set_period() 234 local64_set(&hwc->period_left, left); in metag_pmu_event_set_period() 239 if (unlikely(left <= 0)) { in metag_pmu_event_set_period() 240 left += period; in metag_pmu_event_set_period() 241 local64_set(&hwc->period_left, left); in metag_pmu_event_set_period() 246 if (left > (s64)metag_pmu->max_period) in metag_pmu_event_set_period() 247 left = metag_pmu->max_period; in metag_pmu_event_set_period() [all …]
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_btree.c | 787 xfs_fsblock_t left = be64_to_cpu(block->bb_u.l.bb_leftsib); in xfs_btree_readahead_lblock() local 790 if ((lr & XFS_BTCUR_LEFTRA) && left != NULLFSBLOCK) { in xfs_btree_readahead_lblock() 791 xfs_btree_reada_bufl(cur->bc_mp, left, 1, in xfs_btree_readahead_lblock() 812 xfs_agblock_t left = be32_to_cpu(block->bb_u.s.bb_leftsib); in xfs_btree_readahead_sblock() local 816 if ((lr & XFS_BTCUR_LEFTRA) && left != NULLAGBLOCK) { in xfs_btree_readahead_sblock() 818 left, 1, cur->bc_ops->buf_ops); in xfs_btree_readahead_sblock() 1988 struct xfs_btree_block *left; /* left btree block */ in xfs_btree_lshift() local 2028 error = xfs_btree_read_buf_block(cur, &lptr, 0, &left, &lbp); in xfs_btree_lshift() 2033 lrecs = xfs_btree_get_numrecs(left); in xfs_btree_lshift() 2059 lkp = xfs_btree_key_addr(cur, lrecs, left); in xfs_btree_lshift() [all …]
|
D | xfs_bmap.c | 2790 xfs_bmbt_irec_t left; /* left neighbor extent entry */ in xfs_bmap_add_extent_hole_delay() local 2806 xfs_bmbt_get_all(xfs_iext_get_ext(ifp, *idx - 1), &left); in xfs_bmap_add_extent_hole_delay() 2808 if (isnullstartblock(left.br_startblock)) in xfs_bmap_add_extent_hole_delay() 2829 left.br_startoff + left.br_blockcount == new->br_startoff && in xfs_bmap_add_extent_hole_delay() 2830 left.br_blockcount + new->br_blockcount <= MAXEXTLEN) in xfs_bmap_add_extent_hole_delay() 2837 (left.br_blockcount + new->br_blockcount + in xfs_bmap_add_extent_hole_delay() 2852 temp = left.br_blockcount + new->br_blockcount + in xfs_bmap_add_extent_hole_delay() 2857 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay() 2875 temp = left.br_blockcount + new->br_blockcount; in xfs_bmap_add_extent_hole_delay() 2879 oldlen = startblockval(left.br_startblock) + in xfs_bmap_add_extent_hole_delay() [all …]
|
/linux-4.4.14/sound/isa/msnd/ |
D | msnd_pinnacle_mixer.c | 186 static int snd_msndmix_set(struct snd_msnd *dev, int d, int left, int right) in snd_msndmix_set() argument 195 bLeft = left * 0xff / 100; in snd_msndmix_set() 196 wLeft = left * 0xffff / 100; in snd_msndmix_set() 260 int left, right; in snd_msndmix_volume_put() local 263 left = ucontrol->value.integer.value[0] % 101; in snd_msndmix_volume_put() 266 change = msnd->left_levels[addr] != left in snd_msndmix_volume_put() 268 snd_msndmix_set(msnd, addr, left, right); in snd_msndmix_volume_put()
|
/linux-4.4.14/arch/alpha/lib/ |
D | ev6-clear_user.S | 86 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 164 subq $0, 168, $5 # E : U L L U : two trips through the loop left? 183 # zero to 16 quadwords left to store, plus any trailing bytes 184 # $1 is the number of quadwords left to go. 202 # We have an unknown number of bytes left to go. 209 # $0 contains the number of bytes left to copy (0..31)
|
/linux-4.4.14/Documentation/input/ |
D | gamepad.txt | 43 4 buttons (on the left side) that point up, down, left and right. 104 If only 3 action-buttons are present, they are reported as (from left 112 If rectangular-shaped, the upper-left button is BTN_NORTH, lower-left 125 (for ABS values negative is left/up, positive is right/down) 128 The left analog-stick is reported as ABS_X, ABS_Y. The right analog stick is 131 BTN_THUMBL (first/left) and BTN_THUMBR (second/right). 132 (for ABS values negative is left/up, positive is right/down) 139 or ABS_HAT1Y (left). Lower trigger buttons are reported as BTN_TR2 or 140 ABS_HAT2X (right/ZR) and BTN_TL2 or ABS_HAT2Y (left/ZL).
|
D | interactive.fig | 39 4 0 0 50 0 0 12 0.0000 4 135 1065 5400 3600 left saturation\001 40 4 0 0 50 0 0 12 0.0000 4 180 2505 5400 3900 left coeff ( positive in that case )\001
|
D | amijoy.txt | 63 JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert, horiz) 82 (4 counters total). The bit usage for both left and right 127 POT0DAT h 012 R Paula Pot counter data left pair (vert, horiz) 133 from 2 controller connectors (left-right) with 2 pins each.
|
/linux-4.4.14/Documentation/video4linux/cx2341x/ |
D | fw-osd-api.txt | 104 top left horizontal offset 106 top left vertical offset 119 top left horizontal offset 121 top left vertical offset 123 bottom left horizontal offset 125 bottom left vertical offset 319 top left window corner horizontal offset 321 top left window corner vertical offset
|
D | README.hm12 | 12 The Y plane is divided into blocks of 16x16 pixels from left to right 15 So the first 16 bytes are the first line of the top-left block, the 16 second 16 bytes are the second line of the top-left block, etc. After 20 The UV plane is divided into blocks of 16x8 UV values going from left 23 So the first 16 bytes are the first line of the top-left block and 25 second line of 8 UV pairs of the top-left block, etc. After transmitting
|
/linux-4.4.14/net/ceph/crush/ |
D | mapper.c | 176 static int left(int x) in left() function 212 l = left(n); in bucket_tree_choose() 595 int x, int left, int numrep, int type, in crush_choose_indep() argument 604 int endpos = outpos + left; in crush_choose_indep() 623 for (ftotal = 0; left > 0 && ftotal < tries; ftotal++) { in crush_choose_indep() 626 dprintk("%u %d a: ", ftotal, left); in crush_choose_indep() 631 dprintk("%u %d b: ", ftotal, left); in crush_choose_indep() 677 left--; in crush_choose_indep() 697 left--; in crush_choose_indep() 741 left--; in crush_choose_indep() [all …]
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_fb.c | 128 int left, right, top, bottom; in virtio_gpu_surface_dirty() local 138 left = clips->x1; in virtio_gpu_surface_dirty() 146 left = min_t(int, left, (int)clips_ptr->x1); in virtio_gpu_surface_dirty() 153 return virtio_gpu_dirty_update(vgfb, false, left, top, in virtio_gpu_surface_dirty() 154 right - left, bottom - top); in virtio_gpu_surface_dirty() 157 left, top, right - left, bottom - top); in virtio_gpu_surface_dirty()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_int.h | 608 struct list_head *p, *left; in dasd_free_chunk() local 613 left = chunk_list; in dasd_free_chunk() 617 left = p; in dasd_free_chunk() 620 if (left->next != chunk_list) { in dasd_free_chunk() 621 tmp = list_entry(left->next, struct dasd_mchunk, list); in dasd_free_chunk() 628 if (left != chunk_list) { in dasd_free_chunk() 629 tmp = list_entry(left, struct dasd_mchunk, list); in dasd_free_chunk() 635 __list_add(&chunk->list, left, left->next); in dasd_free_chunk()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 53 s32 left, right, top, bottom; member 752 cmd->body.destRect.left = sdirty->left; in vmw_sou_surface_fifo_commit() 757 cmd->body.srcRect.left = sdirty->left + trans_x; in vmw_sou_surface_fifo_commit() 767 blit->left -= sdirty->left; in vmw_sou_surface_fifo_commit() 768 blit->right -= sdirty->left; in vmw_sou_surface_fifo_commit() 775 sdirty->left = sdirty->top = S32_MAX; in vmw_sou_surface_fifo_commit() 796 blit->left = dirty->unit_x1; in vmw_sou_surface_clip() 802 sdirty->left = min_t(s32, sdirty->left, dirty->unit_x1); in vmw_sou_surface_clip() 860 sdirty.left = sdirty.top = S32_MAX; in vmw_kms_sou_do_surface_dirty() 903 blit->body.destRect.left = dirty->unit_x1; in vmw_sou_dmabuf_clip() [all …]
|
D | vmwgfx_stdu.c | 62 s32 left, right, top, bottom; member 295 s32 left, s32 right, s32 top, s32 bottom) in vmw_stdu_populate_update() argument 303 update->body.rect.x = left; in vmw_stdu_populate_update() 305 update->body.rect.w = right - left; in vmw_stdu_populate_update() 764 ddirty->left = min_t(s32, ddirty->left, dirty->unit_x1); in vmw_stdu_dmabuf_clip() 810 ddirty->left, ddirty->right, in vmw_stdu_dmabuf_fifo_commit() 816 ddirty->left = ddirty->top = S32_MAX; in vmw_stdu_dmabuf_fifo_commit() 866 ddirty.left = ddirty.top = S32_MAX; in vmw_kms_stdu_dma() 918 sdirty->left = min_t(s32, sdirty->left, dirty->unit_x1); in vmw_kms_stdu_surface_clip() 963 vmw_stdu_populate_update(update, stdu->base.unit, sdirty->left, in vmw_kms_stdu_surface_fifo_commit() [all …]
|
/linux-4.4.14/arch/arm/xen/ |
D | mm.c | 52 size_t left = size; in dma_cache_maint() local 58 size_t len = left; in dma_cache_maint() 83 left -= len; in dma_cache_maint() 84 } while (left); in dma_cache_maint()
|
/linux-4.4.14/Documentation/video4linux/ |
D | sh_mobile_ceu_camera.txt | 45 S_CROP(left / top = (5) - (1), width / height = (5') - (5)) 51 (1) to (2) - sensor cropped left or top 54 (3) to (4) - CEU cropped left or top 57 (2) to (5) - reverse sensor scale applied to CEU cropped left or top 103 ceu_crop(.width = width_ceu, .left = left_ceu)
|
/linux-4.4.14/drivers/perf/ |
D | arm_pmu.c | 107 s64 left = local64_read(&hwc->period_left); in armpmu_event_set_period() local 111 if (unlikely(left <= -period)) { in armpmu_event_set_period() 112 left = period; in armpmu_event_set_period() 113 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 118 if (unlikely(left <= 0)) { in armpmu_event_set_period() 119 left += period; in armpmu_event_set_period() 120 local64_set(&hwc->period_left, left); in armpmu_event_set_period() 131 if (left > (armpmu->max_period >> 1)) in armpmu_event_set_period() 132 left = armpmu->max_period >> 1; in armpmu_event_set_period() 134 local64_set(&hwc->prev_count, (u64)-left); in armpmu_event_set_period() [all …]
|
/linux-4.4.14/arch/tile/kernel/ |
D | perf_event.c | 552 s64 left = local64_read(&hwc->period_left); in tile_event_set_period() local 559 if (unlikely(left <= -period)) { in tile_event_set_period() 560 left = period; in tile_event_set_period() 561 local64_set(&hwc->period_left, left); in tile_event_set_period() 566 if (unlikely(left <= 0)) { in tile_event_set_period() 567 left += period; in tile_event_set_period() 568 local64_set(&hwc->period_left, left); in tile_event_set_period() 572 if (left > tile_pmu->max_period) in tile_event_set_period() 573 left = tile_pmu->max_period; in tile_event_set_period() 579 local64_set(&hwc->prev_count, (u64)-left); in tile_event_set_period() [all …]
|
/linux-4.4.14/sound/isa/sb/ |
D | sb_mixer.c | 132 unsigned char left, right; in snd_sbmixer_get_double() local 135 left = (snd_sbmixer_read(sb, left_reg) >> left_shift) & mask; in snd_sbmixer_get_double() 138 ucontrol->value.integer.value[0] = left; in snd_sbmixer_get_double() 153 unsigned char left, right, oleft, oright; in snd_sbmixer_put_double() local 155 left = (ucontrol->value.integer.value[0] & mask) << left_shift; in snd_sbmixer_put_double() 160 left = (oleft & ~((mask << left_shift) | (mask << right_shift))) | left | right; in snd_sbmixer_put_double() 161 change = left != oleft; in snd_sbmixer_put_double() 163 snd_sbmixer_write(sb, left_reg, left); in snd_sbmixer_put_double() 167 left = (oleft & ~(mask << left_shift)) | left; in snd_sbmixer_put_double() 169 change = left != oleft || right != oright; in snd_sbmixer_put_double() [all …]
|
/linux-4.4.14/sound/pci/cs46xx/ |
D | dsp_spos.h | 220 u16 left, u16 right) in cs46xx_dsp_scb_set_volume() argument 222 unsigned int val = ((0xffff - left) << 16 | (0xffff - right)); in cs46xx_dsp_scb_set_volume() 227 scb->volume[0] = left; in cs46xx_dsp_scb_set_volume()
|
/linux-4.4.14/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 447 u32 left = count, len; in ddb_output_write() local 452 while (left) { in ddb_output_write() 472 if (len > left) in ddb_output_write() 473 len = left; in ddb_output_write() 477 left -= len; in ddb_output_write() 487 return count - left; in ddb_output_write() 512 u32 left = count; in ddb_input_read() local 518 while (left) { in ddb_input_read() 520 return count - left; in ddb_input_read() 522 if (free > left) in ddb_input_read() [all …]
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-cpmem.c | 688 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 689 u_offset = U_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 691 v_offset = V_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 699 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 700 u_offset = U2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 702 v_offset = V2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 710 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 711 u_offset = UV_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() 720 offset = Y_OFFSET(pix, image->rect.left, image->rect.top); in ipu_cpmem_set_image() 721 u_offset = UV2_OFFSET(pix, image->rect.left, in ipu_cpmem_set_image() [all …]
|
/linux-4.4.14/drivers/staging/speakup/ |
D | DefaultKeyAssignments | 17 KeyPad-4 Say Previous Word (left one word) 18 InsKeyPad-4 say from left edge of line to reading cursor. 23 KeyPad-1 Say Previous Character (left one letter) 33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home)
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | mt9t031.c | 228 rect->left &= ~1; in mt9t031_set_params() 231 rect->left &= ~3; in mt9t031_set_params() 234 rect->left = rect->left > roundup(MT9T031_COLUMN_SKIP, 6) ? in mt9t031_set_params() 235 (rect->left / 6) * 6 : roundup(MT9T031_COLUMN_SKIP, 6); in mt9t031_set_params() 241 xskip, yskip, rect->width, rect->height, rect->left, rect->top); in mt9t031_set_params() 263 rect->left, rect->top); in mt9t031_set_params() 270 ret = reg_write(client, MT9T031_COLUMN_START, rect->left); in mt9t031_set_params() 306 soc_camera_limit_side(&rect.left, &rect.width, in mt9t031_s_crop() 328 a->bounds.left = MT9T031_COLUMN_SKIP; in mt9t031_cropcap() 798 mt9t031->rect.left = MT9T031_COLUMN_SKIP; in mt9t031_probe()
|
D | mt9m001.c | 191 rect.left = ALIGN(rect.left, 2); in mt9m001_s_crop() 193 soc_camera_limit_side(&rect.left, &rect.width, in mt9m001_s_crop() 211 ret = reg_write(client, MT9M001_COLUMN_START, rect.left); in mt9m001_s_crop() 241 a->bounds.left = MT9M001_COLUMN_SKIP; in mt9m001_cropcap() 280 .left = mt9m001->rect.left, in mt9m001_s_fmt() 699 mt9m001->rect.left = MT9M001_COLUMN_SKIP; in mt9m001_probe()
|
D | ov6650.c | 456 rect.left = ALIGN(rect.left, 2); in ov6650_s_crop() 460 soc_camera_limit_side(&rect.left, &rect.width, in ov6650_s_crop() 465 ret = ov6650_reg_write(client, REG_HSTRT, rect.left >> 1); in ov6650_s_crop() 467 priv->rect.left = rect.left; in ov6650_s_crop() 469 (rect.left + rect.width) >> 1); in ov6650_s_crop() 491 a->bounds.left = DEF_HSTRT << 1; in ov6650_cropcap() 555 .left = priv->rect.left + (priv->rect.width >> 1) - in ov6650_s_fmt() 1028 priv->rect.left = DEF_HSTRT << 1; in ov6650_probe()
|
D | mt9t112.c | 344 static void mt9t112_frame_check(u32 *width, u32 *height, u32 *left, u32 *top) in mt9t112_frame_check() argument 346 soc_camera_limit_side(left, width, 0, 0, MAX_WIDTH); in mt9t112_frame_check() 863 &priv->frame.left, &priv->frame.top); in mt9t112_set_params() 872 a->bounds.left = 0; in mt9t112_cropcap() 876 a->defrect.left = 0; in mt9t112_cropcap() 935 .left = priv->frame.left, in mt9t112_s_fmt() 955 unsigned int top, left; in mt9t112_set_fmt() local 972 mt9t112_frame_check(&mf->width, &mf->height, &left, &top); in mt9t112_set_fmt() 1095 .left = (MAX_WIDTH - VGA_WIDTH) / 2, in mt9t112_probe()
|
/linux-4.4.14/include/sound/ |
D | mixer_oss.h | 36 int *left, int *right); 39 int left, int right);
|
/linux-4.4.14/arch/x86/kernel/cpu/microcode/ |
D | amd.c | 151 int offset, left; in apply_ucode_in_initrd() local 168 left = size; in apply_ucode_in_initrd() 181 while (left > 0) { in apply_ucode_in_initrd() 189 left -= offset; in apply_ucode_in_initrd() 194 *cont_sz = compute_container_size(*cont, left + offset); in apply_ucode_in_initrd() 200 left = *cont_sz - offset; in apply_ucode_in_initrd() 209 while (left > 0) { in apply_ucode_in_initrd() 217 left -= offset; in apply_ucode_in_initrd() 234 while (left > 0) { in apply_ucode_in_initrd() 258 left -= offset; in apply_ucode_in_initrd()
|
/linux-4.4.14/fs/nfs/blocklayout/ |
D | extent_tree.c | 96 struct pnfs_block_extent *left = ext_tree_prev(be); in ext_try_to_merge_left() local 98 if (left && ext_can_merge(left, be)) { in ext_try_to_merge_left() 99 left->be_length += be->be_length; in ext_try_to_merge_left() 103 return left; in ext_try_to_merge_left() 419 struct pnfs_block_extent *left = ext_tree_prev(be); in ext_tree_mark_written() local 421 if (left && ext_can_merge(left, be)) { in ext_tree_mark_written() 424 left->be_length += diff; in ext_tree_mark_written()
|
/linux-4.4.14/drivers/media/platform/sti/bdisp/ |
D | bdisp-v4l2.c | 839 frame->crop.left = 0; in bdisp_s_fmt() 872 s->r.left = 0; in bdisp_g_selection() 893 s->r.left = 0; in bdisp_g_selection() 916 if (a->left < b->left || a->top < b->top) in is_rect_enclosed() 919 if (a->left + a->width > b->left + b->width) in is_rect_enclosed() 959 out.left = ALIGN(in->left, frame->fmt->w_align); in bdisp_s_selection() 962 if ((out.left < 0) || (out.left >= frame->width) || in bdisp_s_selection() 966 out.width, out.height, out.left, out.top, in bdisp_s_selection() 975 if (((out.left + out.width) > frame->width) || in bdisp_s_selection() 979 out.width, out.height, out.left, out.top, in bdisp_s_selection() [all …]
|
D | bdisp-hw.c | 482 src_rect.left += src_x_offset; in bdisp_hw_build_node() 487 dst_rect.left += dst_x_offset; in bdisp_hw_build_node() 546 dst_rect.left /= 2; in bdisp_hw_build_node() 555 dst_rect.left; in bdisp_hw_build_node() 575 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node() 582 src_rect.left /= 2; in bdisp_hw_build_node() 597 node->s2xy = src_rect.top << 16 | src_rect.left; in bdisp_hw_build_node()
|
/linux-4.4.14/drivers/media/radio/ |
D | radio-sf16fmr2.c | 152 int volume, balance, left, right; in fmr2_s_ctrl() local 167 left = right = volume; in fmr2_s_ctrl() 171 left = max(0, left - balance); in fmr2_s_ctrl() 173 tc9154a_set_attenuation(fmr2, abs(left - 68), TC9154A_CHANNEL_LEFT); in fmr2_s_ctrl()
|
/linux-4.4.14/sound/pci/au88x0/ |
D | au88x0_a3d.c | 174 static void a3dsrc_SetHrtfOutput(a3dsrc_t * a, short left, short right) in a3dsrc_SetHrtfOutput() argument 178 a3d_addrA(a->slice, a->source, A3D_A_HrtfOutL), left); in a3dsrc_SetHrtfOutput() 235 static void a3dsrc_GetHrtfOutput(a3dsrc_t * a, short *left, short *right) 238 *left = 339 static void a3dsrc_SetGainTarget(a3dsrc_t * a, short left, short right) in a3dsrc_SetGainTarget() argument 344 (right << 0x10) | left); in a3dsrc_SetGainTarget() 347 static void a3dsrc_SetGainCurrent(a3dsrc_t * a, short left, short right) in a3dsrc_SetGainCurrent() argument 352 (right << 0x10) | left); in a3dsrc_SetGainCurrent() 356 static void a3dsrc_GetGainTarget(a3dsrc_t * a, short *left, short *right) 362 *left = [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | twl6040.txt | 27 - vddvibl-supply: Regulator for the left vibra motor 31 - ti,vibldrv-res: Resistance parameter for left driver 33 - ti,viblmotor-res: Resistance parameter for left motor
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_interval.c | 28 sector_t left = interval_end(node->rb.rb_left); in compute_subtree_last() local 29 if (left > max) in compute_subtree_last() 30 max = left; in compute_subtree_last()
|
/linux-4.4.14/drivers/usb/image/ |
D | mdc800.c | 696 size_t left=len, sts=len; /* single transfer size */ in mdc800_device_read() local 719 while (left) in mdc800_device_read() 727 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read() 745 return len-left; in mdc800_device_read() 758 return len-left; in mdc800_device_read() 777 left-=sts; in mdc800_device_read() 783 return len-left; in mdc800_device_read()
|
/linux-4.4.14/fs/ceph/ |
D | file.c | 419 u64 pos, this_len, left; in striped_read() local 431 left = len; in striped_read() 442 this_len = left; in striped_read() 450 hit_stripe = this_len < left; in striped_read() 452 dout("striped_read %llu~%llu (read %u) got %d%s%s\n", pos, left, read, in striped_read() 471 left -= ret; in striped_read() 476 if (left && hit_stripe && pos < inode->i_size) in striped_read() 483 if (pos + left > inode->i_size) in striped_read() 556 size_t left = ret; in ceph_sync_read() local 558 while (left) { in ceph_sync_read() [all …]
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smd-rpm.c | 106 int left; in qcom_rpm_smd_write() local 139 left = wait_for_completion_timeout(&rpm->ack, RPM_REQUEST_TIMEOUT); in qcom_rpm_smd_write() 140 if (!left) in qcom_rpm_smd_write()
|
/linux-4.4.14/drivers/gpu/drm/panel/ |
D | panel-sharp-lq101r1sx01.c | 136 static int sharp_setup_symmetrical_split(struct mipi_dsi_device *left, in sharp_setup_symmetrical_split() argument 142 err = mipi_dsi_dcs_set_column_address(left, 0, mode->hdisplay / 2 - 1); in sharp_setup_symmetrical_split() 144 dev_err(&left->dev, "failed to set column address: %d\n", err); in sharp_setup_symmetrical_split() 148 err = mipi_dsi_dcs_set_page_address(left, 0, mode->vdisplay - 1); in sharp_setup_symmetrical_split() 150 dev_err(&left->dev, "failed to set page address: %d\n", err); in sharp_setup_symmetrical_split()
|
/linux-4.4.14/drivers/media/i2c/ |
D | tvp5150.c | 866 __func__, rect.left, rect.top, rect.width, rect.height); in tvp5150_s_crop() 872 rect.left = clamp(rect.left, 0, TVP5150_MAX_CROP_LEFT); in tvp5150_s_crop() 874 TVP5150_H_MAX - TVP5150_MAX_CROP_LEFT - rect.left, in tvp5150_s_crop() 875 TVP5150_H_MAX - rect.left); in tvp5150_s_crop() 897 rect.left >> TVP5150_CROP_SHIFT); in tvp5150_s_crop() 899 rect.left | (1 << TVP5150_CROP_SHIFT)); in tvp5150_s_crop() 901 (rect.left + rect.width - TVP5150_MAX_CROP_LEFT) >> in tvp5150_s_crop() 904 rect.left + rect.width - TVP5150_MAX_CROP_LEFT); in tvp5150_s_crop() 929 a->bounds.left = 0; in tvp5150_cropcap() 1186 core->rect.left = 0; in tvp5150_probe()
|
/linux-4.4.14/kernel/trace/ |
D | trace_events_filter.c | 479 if (pred->left != FILTER_PRED_INVALID) { in walk_pred_tree() 480 pred = &preds[pred->left]; in walk_pred_tree() 557 if (pred->left != FILTER_PRED_INVALID) { in filter_match_preds_cb() 771 struct filter_pred *left; in filter_set_pred() local 779 left = __pop_pred_stack(stack); in filter_set_pred() 780 if (!left || !right) in filter_set_pred() 787 if (left->index & FILTER_PRED_FOLD && in filter_set_pred() 788 ((left->op == dest->op && !left->not) || in filter_set_pred() 789 left->left == FILTER_PRED_INVALID) && in filter_set_pred() 792 right->left == FILTER_PRED_INVALID)) in filter_set_pred() [all …]
|
/linux-4.4.14/sound/isa/opti9xx/ |
D | miro.c | 488 int left, right, left_old, right_old; in snd_miro_put_double() local 492 left = ucontrol->value.integer.value[0]; in snd_miro_put_double() 519 if (left < -0x7f || left > 0x7f || in snd_miro_put_double() 528 if (left >= 0) { in snd_miro_put_double() 529 error = aci_setvalue(aci, setreg_left, left); in snd_miro_put_double() 532 left, error); in snd_miro_put_double() 536 error = aci_setvalue(aci, setreg_left, 0x80 - left); in snd_miro_put_double() 539 0x80 - left, error); in snd_miro_put_double() 564 if (left < 0 || left > 0x20 || in snd_miro_put_double() 571 error = aci_setvalue(aci, setreg_left, 0x20 - left); in snd_miro_put_double() [all …]
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 666 int left = value->value.integer.value[0]; in snd_cx88_wm8775_volume_put() local 671 if (left >= right) { in snd_cx88_wm8775_volume_put() 672 v = left << 10; in snd_cx88_wm8775_volume_put() 673 b = left ? (0x8000 * right) / left : 0x8000; in snd_cx88_wm8775_volume_put() 676 b = right ? 0xffff - (0x8000 * left) / right : 0x8000; in snd_cx88_wm8775_volume_put() 688 int left, right, v, b; in snd_cx88_volume_put() local 695 left = value->value.integer.value[0] & 0x3f; in snd_cx88_volume_put() 697 b = right - left; in snd_cx88_volume_put() 699 v = 0x3f - left; in snd_cx88_volume_put()
|
/linux-4.4.14/drivers/parport/ |
D | parport_ip32.c | 483 size_t left; member 502 if (parport_ip32_dma.left > 0) { in parport_ip32_dma_setup_context() 511 if (parport_ip32_dma.left <= limit) { in parport_ip32_dma_setup_context() 512 count = parport_ip32_dma.left; in parport_ip32_dma_setup_context() 533 parport_ip32_dma.left -= count; in parport_ip32_dma_setup_context() 539 if (parport_ip32_dma.left == 0 && parport_ip32_dma.irq_on) { in parport_ip32_dma_setup_context() 555 if (parport_ip32_dma.left) in parport_ip32_dma_interrupt() 607 parport_ip32_dma.left = parport_ip32_dma.len; in parport_ip32_dma_start() 678 parport_ip32_dma.left += res[0] + res[1]; in parport_ip32_dma_stop() 699 return parport_ip32_dma.left; in parport_ip32_dma_get_residue() [all …]
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-lite.c | 627 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_crop() 628 r->left = round_down(r->left, fimc->dd->win_hor_offs_align); in fimc_lite_try_crop() 632 r->left, r->top, r->width, r->height, in fimc_lite_try_crop() 647 r->left = clamp_t(u32, r->left, 0, frame->f_width - r->width); in fimc_lite_try_compose() 648 r->left = round_down(r->left, fimc->dd->out_hor_offs_align); in fimc_lite_try_compose() 652 r->left, r->top, r->width, r->height, in fimc_lite_try_compose() 896 if (a->left < b->left || a->top < b->top) in enclosed_rectangle() 898 if (a->left + a->width > b->left + b->width) in enclosed_rectangle() 918 sel->r.left = 0; in fimc_lite_g_selection() 1148 sink->rect.left = 0; in fimc_lite_subdev_set_fmt() [all …]
|
D | fimc-m2m.c | 410 cr->bounds.left = 0; in fimc_m2m_cropcap() 428 cr->c.left = frame->offs_h; in fimc_m2m_g_crop() 443 if (cr->c.top < 0 || cr->c.left < 0) { in fimc_m2m_try_crop() 473 if (cr->c.left + cr->c.width > f->o_width) in fimc_m2m_try_crop() 474 cr->c.left = f->o_width - cr->c.width; in fimc_m2m_try_crop() 478 cr->c.left = round_down(cr->c.left, min_size); in fimc_m2m_try_crop() 482 cr->c.left, cr->c.top, cr->c.width, cr->c.height, in fimc_m2m_try_crop() 518 f->offs_h = cr.c.left; in fimc_m2m_s_crop()
|
D | fimc-capture.c | 673 r->left = r->top = 0; in fimc_capture_try_selection() 715 r->left = clamp_t(u32, r->left, 0, sink->f_width - r->width); in fimc_capture_try_selection() 717 r->left = round_down(r->left, var->hor_offs_align); in fimc_capture_try_selection() 720 target, r->left, r->top, r->width, r->height, in fimc_capture_try_selection() 1288 s->r.left = 0; in fimc_cap_g_selection() 1297 s->r.left = f->offs_h; in fimc_cap_g_selection() 1310 if (a->left < b->left || a->top < b->top) in enclosed_rectangle() 1312 if (a->left + a->width > b->left + b->width) in enclosed_rectangle() 1351 set_frame_crop(f, s->r.left, s->r.top, s->r.width, in fimc_cap_s_selection() 1622 r->left = 0; in fimc_subdev_get_selection() [all …]
|
/linux-4.4.14/drivers/atm/ |
D | lanai.c | 2448 loff_t left = *pos; in lanai_proc_read() local 2450 if (left-- == 0) in lanai_proc_read() 2456 if (left-- == 0) in lanai_proc_read() 2459 if (left-- == 0) in lanai_proc_read() 2462 if (left-- == 0) in lanai_proc_read() 2468 if (left-- == 0) in lanai_proc_read() 2472 if (left-- == 0) { in lanai_proc_read() 2479 if (left-- == 0) in lanai_proc_read() 2485 if (left-- == 0) in lanai_proc_read() 2489 if (left-- == 0) in lanai_proc_read() [all …]
|
D | adummy.c | 125 int left = *pos; in adummy_proc_read() local 127 if (!left--) in adummy_proc_read()
|
/linux-4.4.14/fs/ntfs/ |
D | runlist.c | 288 bool left = false; /* Left end of @src needs merging. */ in ntfs_rl_insert() local 304 left = ntfs_are_rl_mergeable(dst + loc - 1, src); in ntfs_rl_insert() 307 if (left) in ntfs_rl_insert() 316 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert() 323 if (left) in ntfs_rl_insert() 332 marker = loc + ssize - left + disc; in ntfs_rl_insert() 336 ntfs_rl_mc(dst, loc + disc, src, left, ssize - left); in ntfs_rl_insert() 385 bool left = false; /* Left end of @src needs merging. */ in ntfs_rl_replace() local 397 left = ntfs_are_rl_mergeable(dst + loc - 1, src); in ntfs_rl_replace() 402 delta = ssize - 1 - left - right; in ntfs_rl_replace() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/mmc/ |
D | mmc-pwrseq-emmc.txt | 6 fix possible issues if bootloader has left eMMC card in initialized or 11 card if the card is left in unknown or already initialized state.
|
/linux-4.4.14/sound/parisc/ |
D | harmony.c | 720 int left, right; in snd_harmony_volume_get() local 724 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 727 left = mask - left; in snd_harmony_volume_get() 731 ucontrol->value.integer.value[0] = left; in snd_harmony_volume_get() 749 int left, right; in snd_harmony_volume_put() local 754 left = ucontrol->value.integer.value[0] & mask; in snd_harmony_volume_put() 756 left = mask - left; in snd_harmony_volume_put() 758 h->st.gain |= (left << shift_left); in snd_harmony_volume_put()
|
/linux-4.4.14/sound/drivers/ |
D | dummy.c | 761 int left, right; in snd_dummy_volume_put() local 763 left = ucontrol->value.integer.value[0]; in snd_dummy_volume_put() 764 if (left < -50) in snd_dummy_volume_put() 765 left = -50; in snd_dummy_volume_put() 766 if (left > 100) in snd_dummy_volume_put() 767 left = 100; in snd_dummy_volume_put() 774 change = dummy->mixer_volume[addr][0] != left || in snd_dummy_volume_put() 776 dummy->mixer_volume[addr][0] = left; in snd_dummy_volume_put() 809 int left, right; in snd_dummy_capsrc_put() local 811 left = ucontrol->value.integer.value[0] & 1; in snd_dummy_capsrc_put() [all …]
|
/linux-4.4.14/net/ipv6/ |
D | ip6_fib.c | 520 fn = dir ? fn->right : fn->left; in fib6_add_1() 556 pn->left = ln; in fib6_add_1() 617 pn->left = in; in fib6_add_1() 628 in->left = fn; in fib6_add_1() 630 in->left = ln; in fib6_add_1() 655 pn->left = ln; in fib6_add_1() 660 ln->left = fn; in fib6_add_1() 1121 next = dir ? fn->right : fn->left; in fib6_lookup_1() 1222 fn = fn->left; in fib6_locate_1() 1263 if (fn->left) in fib6_find_prefix() [all …]
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
D | sis_accel.h | 245 #define SiS300SetupClipLT(left,top) \ argument 247 MMIO_OUT32(ivideo->mmio_vbase, BR(13), ((left) & 0xFFFF) | (top)<<16 );\ 371 #define SiS310SetupClipLT(left,top) \ argument 373 MMIO_OUT32(ivideo->mmio_vbase, LEFT_CLIP, ((left) & 0xFFFF) | (top)<<16 );\
|
/linux-4.4.14/drivers/tty/serial/ |
D | sunhv.c | 411 int left = PAGE_SIZE; in fill_con_write_page() local 415 if (left < 2) in fill_con_write_page() 418 left--; in fill_con_write_page() 419 } else if (left < 1) in fill_con_write_page() 422 left--; in fill_con_write_page()
|
/linux-4.4.14/drivers/tty/ |
D | tty_buffer.c | 256 int left, change; in __tty_buffer_request_room() local 260 left = 2 * b->size - b->used; in __tty_buffer_request_room() 262 left = b->size - b->used; in __tty_buffer_request_room() 265 if (change || left < size) { in __tty_buffer_request_room() 283 size = left; in __tty_buffer_request_room()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | ispresizer.c | 397 static void resizer_set_start(struct isp_res_device *res, u32 left, u32 top) in resizer_set_start() argument 402 rgval = (left << ISPRSZ_IN_START_HORZ_ST_SHIFT) in resizer_set_start() 898 input->left += (input->width - width) / 2; in resizer_calc_ratios() 928 res->crop.active.left) * 2; in resizer_set_crop_params() 947 resizer_set_start(res, res->crop.active.left * 2, in resizer_set_crop_params() 1207 crop->left = clamp_t(u32, crop->left, 0, sink->width - MIN_IN_WIDTH); in resizer_try_crop() 1209 sink->width - crop->left); in resizer_try_crop() 1244 sel->r.left = 0; in resizer_get_selection() 1301 sel->r.left, sel->r.top, sel->r.width, sel->r.height, in resizer_set_selection() 1319 sel->r.left, sel->r.top, sel->r.width, sel->r.height, in resizer_set_selection() [all …]
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_mixer.c | 95 unsigned char left, right; in snd_ics_get_double() local 98 left = gus->gf1.ics_regs[addr][0]; in snd_ics_get_double() 101 ucontrol->value.integer.value[0] = left & 127; in snd_ics_get_double()
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm_hubs.c | 147 unsigned int left; member 157 unsigned int left, right; in wm_hubs_dcs_cache_get() local 159 left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_get() 160 left &= WM8993_HPOUT1L_VOL_MASK; in wm_hubs_dcs_cache_get() 166 if (cache->left != left || cache->right != right) in wm_hubs_dcs_cache_get() 188 cache->left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set() 189 cache->left &= WM8993_HPOUT1L_VOL_MASK; in wm_hubs_dcs_cache_set() 266 cache->dcs_cfg, cache->left, cache->right); in enable_dc_servo()
|
/linux-4.4.14/fs/nilfs2/ |
D | btree.c | 195 static void nilfs_btree_node_move_left(struct nilfs_btree_node *left, in nilfs_btree_node_move_left() argument 203 ldkeys = nilfs_btree_node_dkeys(left); in nilfs_btree_node_move_left() 204 ldptrs = nilfs_btree_node_dptrs(left, lncmax); in nilfs_btree_node_move_left() 205 lnchildren = nilfs_btree_node_get_nchildren(left); in nilfs_btree_node_move_left() 218 nilfs_btree_node_set_nchildren(left, lnchildren); in nilfs_btree_node_move_left() 223 static void nilfs_btree_node_move_right(struct nilfs_btree_node *left, in nilfs_btree_node_move_right() argument 231 ldkeys = nilfs_btree_node_dkeys(left); in nilfs_btree_node_move_right() 232 ldptrs = nilfs_btree_node_dptrs(left, lncmax); in nilfs_btree_node_move_right() 233 lnchildren = nilfs_btree_node_get_nchildren(left); in nilfs_btree_node_move_right() 246 nilfs_btree_node_set_nchildren(left, lnchildren); in nilfs_btree_node_move_right() [all …]
|
/linux-4.4.14/sound/oss/dmasound/ |
D | dmasound_paula.c | 168 u_char *left = &frame[*frameUsed>>1]; in ami_ct_s8() local 169 u_char *right = left+write_sq_block_size_half; in ami_ct_s8() 173 if (get_user(*left++, userPtr++) in ami_ct_s8() 207 u_char *left = &frame[*frameUsed>>1]; \ 208 u_char *right = left+write_sq_block_size_half; \ 215 *left++ = convsample(data); \
|
/linux-4.4.14/Documentation/ABI/obsolete/ |
D | sysfs-bus-usb | 16 During normal use, devices should be left in the "auto" 23 left in the "on" level. Although the USB spec requires
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-capture.c | 60 f->dma_offset.initial = f->rect.top * f->f_width + f->rect.left; in camif_prepare_dma_offset() 61 f->dma_offset.line = f->f_width - (f->rect.left + f->rect.width); in camif_prepare_dma_offset() 813 out_frame->rect.left = 0; in s3c_camif_vidioc_s_fmt() 1009 sel->r.left = 0; in s3c_camif_g_selection() 1057 sel->r.left, sel->r.top, sel->r.width, sel->r.height); in s3c_camif_s_selection() 1339 crop->left = 0; in s3c_camif_subdev_set_fmt() 1390 sel->r.left = 0; in s3c_camif_subdev_get_selection() 1397 __func__, crop->left, crop->top, crop->width, in s3c_camif_subdev_get_selection() 1407 unsigned int left = 2 * r->left; in __camif_try_crop() local 1421 v4l_bound_align_image(&left, 0, mf->width - r->width, in __camif_try_crop() [all …]
|
/linux-4.4.14/drivers/usb/atm/ |
D | usbatm.c | 481 unsigned int left = ATM_CELL_PAYLOAD - data_len; in usbatm_write_cells() local 495 if (!left) in usbatm_write_cells() 498 memset(ptr, 0, left); in usbatm_write_cells() 500 if (left >= ATM_AAL5_TRAILER) { /* trailer will go in this cell */ in usbatm_write_cells() 507 ctrl->crc = ~crc32_be(ctrl->crc, ptr, left - 4); in usbatm_write_cells() 518 ctrl->crc = crc32_be(ctrl->crc, ptr, left); in usbatm_write_cells() 746 int left = *pos; in usbatm_atm_proc_read() local 751 if (!left--) in usbatm_atm_proc_read() 754 if (!left--) in usbatm_atm_proc_read() 757 if (!left--) in usbatm_atm_proc_read() [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 373 s->r.left = geo->src.x_offset; in mxr_g_selection() 380 s->r.left = 0; in mxr_g_selection() 387 s->r.left = geo->dst.x_offset; in mxr_g_selection() 394 s->r.left = 0; in mxr_g_selection() 409 if (a->left < b->left) in mxr_is_rect_inside() 413 if (a->left + a->width > b->left + b->width) in mxr_is_rect_inside() 433 s->r.width, s->r.height, s->r.left, s->r.top); in mxr_s_selection() 472 target->x_offset = s->r.left; in mxr_s_selection() 480 res.left = target->x_offset; in mxr_s_selection()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-qup.c | 307 unsigned long left; in qup_i2c_write_one() local 334 left = wait_for_completion_timeout(&qup->xfer, HZ); in qup_i2c_write_one() 335 if (!left) { in qup_i2c_write_one() 412 unsigned long left; in qup_i2c_read_one() local 439 left = wait_for_completion_timeout(&qup->xfer, HZ); in qup_i2c_read_one() 440 if (!left) { in qup_i2c_read_one()
|
/linux-4.4.14/lib/xz/ |
D | xz_dec_lzma2.c | 349 uint32_t left; in dict_repeat() local 354 left = min_t(size_t, dict->limit - dict->pos, *len); in dict_repeat() 355 *len -= left; in dict_repeat() 365 } while (--left > 0); in dict_repeat() 375 uint32_t *left) in dict_uncompressed() argument 379 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed() 385 if (copy_size > *left) in dict_uncompressed() 386 copy_size = *left; in dict_uncompressed() 388 *left -= copy_size; in dict_uncompressed()
|
/linux-4.4.14/fs/ocfs2/ |
D | localalloc.c | 841 int numfound = 0, bitoff, left, startoff, lastzero; in ocfs2_local_alloc_find_clear_bits() local 880 left = le32_to_cpu(alloc->id1.bitmap1.i_total); in ocfs2_local_alloc_find_clear_bits() 881 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits() 882 if (bitoff == left) { in ocfs2_local_alloc_find_clear_bits() 969 int bit_off, left, count, start; in ocfs2_sync_local_to_main() local 992 left = le32_to_cpu(alloc->id1.bitmap1.i_total); in ocfs2_sync_local_to_main() 994 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start)) in ocfs2_sync_local_to_main() 996 if ((bit_off < left) && (bit_off == start)) { in ocfs2_sync_local_to_main() 1020 if (bit_off >= left) in ocfs2_sync_local_to_main()
|
/linux-4.4.14/arch/mips/kernel/ |
D | perf_event_mipsxx.c | 379 u64 left = local64_read(&hwc->period_left); in mipspmu_event_set_period() local 383 if (unlikely((left + period) & (1ULL << 63))) { in mipspmu_event_set_period() 385 left = period; in mipspmu_event_set_period() 386 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 389 } else if (unlikely((left + period) <= period)) { in mipspmu_event_set_period() 391 left += period; in mipspmu_event_set_period() 392 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() 397 if (left > mipspmu.max_period) { in mipspmu_event_set_period() 398 left = mipspmu.max_period; in mipspmu_event_set_period() 399 local64_set(&hwc->period_left, left); in mipspmu_event_set_period() [all …]
|
/linux-4.4.14/tools/build/tests/ex/empty2/ |
D | README | 1 This directory is left intentionally without Build file
|
/linux-4.4.14/arch/x86/xen/ |
D | setup.c | 339 unsigned long left = size; in xen_do_set_identity_and_remap_chunk() local 351 chunk = (left < REMAP_SIZE) ? left : REMAP_SIZE; in xen_do_set_identity_and_remap_chunk() 370 left -= chunk; in xen_do_set_identity_and_remap_chunk() 401 unsigned long left = n - i; in xen_set_identity_and_remap_chunk() local 402 unsigned long size = left; in xen_set_identity_and_remap_chunk() 418 cur_pfn + left, nr_pages); in xen_set_identity_and_remap_chunk()
|
/linux-4.4.14/net/sched/ |
D | em_meta.c | 922 if (TCF_META_TYPE(hdr->left.kind) != TCF_META_TYPE(hdr->right.kind) || in em_meta_change() 923 TCF_META_TYPE(hdr->left.kind) > TCF_META_TYPE_MAX || in em_meta_change() 924 TCF_META_ID(hdr->left.kind) > TCF_META_ID_MAX || in em_meta_change() 934 memcpy(&meta->lvalue.hdr, &hdr->left, sizeof(hdr->left)); in em_meta_change() 970 memcpy(&hdr.left, &meta->lvalue.hdr, sizeof(hdr.left)); in em_meta_dump()
|
/linux-4.4.14/fs/minix/ |
D | itree_common.c | 152 int left; in get_block() local 189 left = (chain + depth) - partial; in get_block() 190 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block() 194 if (splice_branch(inode, chain, partial, left) < 0) in get_block()
|
/linux-4.4.14/arch/mips/mm/ |
D | dma-default.c | 264 size_t left = size; in __dma_sync() local 267 size_t len = left; in __dma_sync() 288 left -= len; in __dma_sync() 289 } while (left); in __dma_sync()
|
/linux-4.4.14/tools/vm/ |
D | slabinfo-gnuplot.sh | 99 set key left above Left title reverse 138 set key left above Left title reverse
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 776 u32 left, right, top, bottom; in vidioc_g_crop() local 785 left = s5p_mfc_hw_call(dev->mfc_ops, get_crop_info_h, ctx); in vidioc_g_crop() 786 right = left >> S5P_FIMV_SHARED_CROP_RIGHT_SHIFT; in vidioc_g_crop() 787 left = left & S5P_FIMV_SHARED_CROP_LEFT_MASK; in vidioc_g_crop() 791 cr->c.left = left; in vidioc_g_crop() 793 cr->c.width = ctx->img_width - left - right; in vidioc_g_crop() 796 "w=%d h=%d (r=%d b=%d fw=%d fh=%d\n", left, top, in vidioc_g_crop() 800 cr->c.left = 0; in vidioc_g_crop()
|
/linux-4.4.14/drivers/usb/serial/ |
D | usb_wwan.c | 221 int left, todo; in usb_wwan_write() local 232 left = count; in usb_wwan_write() 233 for (i = 0; left > 0 && i < N_OUT_URB; i++) { in usb_wwan_write() 234 todo = left; in usb_wwan_write() 283 left -= todo; in usb_wwan_write() 286 count -= left; in usb_wwan_write()
|
/linux-4.4.14/fs/befs/ |
D | befs_fs_types.h | 240 fs64 left; member 248 befs_off_t left; member
|
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.c | 76 int left, top; member 319 x = hdcs->array.left + (hdcs->array.width - width) / 2; in hdcs_set_size() 388 hdcs->array.left = 8; in hdcs_probe_1x00() 450 hdcs->array.left = 24; in hdcs_probe_1020()
|