Searched refs:left (Results 101 - 125 of 682) sorted by relevance

1234567891011>>

/linux-master/drivers/hid/
H A Dhid-tmff.c80 int left, right; /* Rumbling */ local
98 left = tmff_scale_u16(effect->u.rumble.weak_magnitude,
105 /* 2-in-1 strong motor is left */
107 swap(left, right);
109 dbg_hid("(left,right)=(%08x, %08x)\n", left, right);
110 ff_field->value[0] = left;
/linux-master/drivers/firmware/
H A Ddmi-id.c102 ssize_t l, left; local
107 p = buffer + 3; left = buffer_size - 4;
109 for (f = fields; f->prefix && left > 0; f++) {
121 l = scnprintf(p, left, ":%s%s", f->prefix, t);
125 left -= l;
/linux-master/kernel/
H A Dgroups.c94 unsigned int left, right; local
99 left = 0;
101 while (left < right) {
102 unsigned int mid = (left+right)/2;
104 left = mid + 1;
H A Dauditfilter.c1205 int audit_comparator(u32 left, u32 op, u32 right) argument
1209 return (left == right);
1211 return (left != right);
1213 return (left < right);
1215 return (left <= right);
1217 return (left > right);
1219 return (left >= right);
1221 return (left & right);
1223 return ((left & right) == right);
1229 int audit_uid_comparator(kuid_t left, u3 argument
1251 audit_gid_comparator(kgid_t left, u32 op, kgid_t right) argument
[all...]
H A Dregset.c24 (struct membuf){.p = p, .left = size});
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c377 unsigned int left; local
408 left = (r->plane[n].dst_stride - y) * PAGE_SIZE;
410 if (!left)
419 if (sg_dma_len(sg) != left) {
421 sg_dma_len(sg), left, x, y);
452 unsigned int left = 0; local
465 if (!left) {
467 left = sg_dma_len(sg);
473 if (left < PAGE_SIZE || left
[all...]
/linux-master/sound/pci/ctxfi/
H A Dctdaio.c28 unsigned short left; member in struct:daio_rsc_idx
33 [LINEO1] = {.left = 0x00, .right = 0x01},
34 [LINEO2] = {.left = 0x18, .right = 0x19},
35 [LINEO3] = {.left = 0x08, .right = 0x09},
36 [LINEO4] = {.left = 0x10, .right = 0x11},
37 [LINEIM] = {.left = 0x1b5, .right = 0x1bd},
38 [SPDIFOO] = {.left = 0x20, .right = 0x21},
39 [SPDIFIO] = {.left = 0x15, .right = 0x1d},
40 [SPDIFI1] = {.left = 0x95, .right = 0x9d},
44 [LINEO1] = {.left
[all...]
/linux-master/sound/pci/cs46xx/
H A Ddsp_spos.h205 u16 left, u16 right)
207 unsigned int val = ((0xffff - left) << 16 | (0xffff - right));
212 scb->volume[0] = left;
203 cs46xx_dsp_scb_set_volume(struct snd_cs46xx * chip, struct dsp_scb_descriptor * scb, u16 left, u16 right) argument
/linux-master/include/linux/
H A Dinterval_tree_generic.h89 ITSTRUCT *left = rb_entry(node->ITRB.rb_left, \
91 if (start <= left->ITSUBTREE) { \
93 * Some nodes in left subtree satisfy Cond2. \
100 node = left; \
171 /* Move up the tree until we come from a node's left child */ \
/linux-master/tools/include/linux/
H A Dinterval_tree_generic.h89 ITSTRUCT *left = rb_entry(node->ITRB.rb_left, \
91 if (start <= left->ITSUBTREE) { \
93 * Some nodes in left subtree satisfy Cond2. \
100 node = left; \
171 /* Move up the tree until we come from a node's left child */ \
/linux-master/arch/loongarch/kernel/
H A Dperf_event.c304 u64 left = local64_read(&hwc->period_left); local
307 if (unlikely((left + period) & (1ULL << 63))) {
308 /* left underflowed by more than period. */
309 left = period;
310 local64_set(&hwc->period_left, left);
313 } else if (unlikely((left + period) <= period)) {
314 /* left underflowed by less than period. */
315 left += period;
316 local64_set(&hwc->period_left, left);
321 if (left > loongarch_pm
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_refcount.c335 * which extent is to the left or the right of that extent. Now we
336 * have a left, current, and right extent. If the new reference count
337 * of the center extent enables us to merge left, center, and right
339 * at the left end of the range, abuts the left extent, and its new
340 * reference count matches the left extent's record, then merge them.
343 * example, we can left merge (assuming an increment operation):
427 /* Insert the left extent. */
447 * Merge the left, center, and right extents.
452 struct xfs_refcount_irec *left,
450 xfs_refcount_merge_center_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *center, struct xfs_refcount_irec *right, unsigned long long extlen, xfs_extlen_t *aglen) argument
534 xfs_refcount_merge_left_extent( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, xfs_agblock_t *agbno, xfs_extlen_t *aglen) argument
671 xfs_refcount_find_left_extents( struct xfs_btree_cur *cur, struct xfs_refcount_irec *left, struct xfs_refcount_irec *cleft, enum xfs_refc_domain domain, xfs_agblock_t agbno, xfs_extlen_t aglen) argument
876 xfs_refc_want_merge_center( const struct xfs_refcount_irec *left, const struct xfs_refcount_irec *cleft, const struct xfs_refcount_irec *cright, const struct xfs_refcount_irec *right, bool cleft_is_cright, enum xfs_refc_adjust_op adjust, unsigned long long *ulenp) argument
922 xfs_refc_want_merge_left( const struct xfs_refcount_irec *left, const struct xfs_refcount_irec *cleft, enum xfs_refc_adjust_op adjust) argument
1001 struct xfs_refcount_irec left = {0}, cleft = {0}; local
[all...]
/linux-master/drivers/media/pci/ngene/
H A Dngene-dvb.c59 int left, avail; local
61 left = count;
62 while (left) {
68 if (avail > left)
69 avail = left;
71 left -= avail;
238 * if a fragment is left, copy to temp buffer. The remainder
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Drst.c198 fd_set left; local
202 FD_ZERO(&left);
204 FD_SET(sk[i], &left);
220 if (!FD_ISSET(sk[i], &left))
243 FD_CLR(sk[i], &left);
248 FD_CLR(sk[i], &left);
/linux-master/drivers/gpu/ipu-v3/
H A Dipu-cpmem.c781 offset = Y_OFFSET(pix, image->rect.left, image->rect.top);
783 image->u_offset : U_OFFSET(pix, image->rect.left,
786 image->v_offset : V_OFFSET(pix, image->rect.left,
793 offset = Y_OFFSET(pix, image->rect.left, image->rect.top);
795 image->u_offset : V_OFFSET(pix, image->rect.left,
798 image->v_offset : U_OFFSET(pix, image->rect.left,
805 offset = Y_OFFSET(pix, image->rect.left, image->rect.top);
807 image->u_offset : U2_OFFSET(pix, image->rect.left,
810 image->v_offset : V2_OFFSET(pix, image->rect.left,
817 offset = Y_OFFSET(pix, image->rect.left, imag
[all...]
/linux-master/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-hdr.c20 unsigned int left = len; local
25 snprintf(cur, left, "[MJPEG header]\n"
/linux-master/sound/hda/
H A Dhdac_regmap.c142 * fake register to deal both left and right channels by a single
145 * for the left and the upper 8bit for the right channel.
155 /* read a pseudo stereo amp register (16bit left+right) */
159 unsigned int left, right; local
163 err = snd_hdac_exec_verb(codec, reg | AC_AMP_GET_LEFT, 0, &left);
169 *val = left | (right << 8);
173 /* write a pseudo stereo amp register (16bit left+right) */
178 unsigned int verb, left, right; local
187 left = val & 0xff;
189 if (left
[all...]
/linux-master/net/sched/
H A Dsch_mqprio_lib.c14 int left = max(a, c), right = min(b, d); local
16 return left < right;
/linux-master/drivers/perf/
H A Darm_pmu.c204 s64 left = local64_read(&hwc->period_left); local
210 if (unlikely(left <= -period)) {
211 left = period;
212 local64_set(&hwc->period_left, left);
217 if (unlikely(left <= 0)) {
218 left += period;
219 local64_set(&hwc->period_left, left);
230 if (left > (max_period >> 1))
231 left = (max_period >> 1);
233 local64_set(&hwc->prev_count, (u64)-left);
[all...]
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
H A Dchcr_ipsec.c474 int left; local
481 left = (void *)q->q.stat - pos;
482 if (!left)
513 int left, eoq, key_len; local
527 left = eoq;
530 left = 64 * q->q.size;
538 left -= sizeof(struct _key_ctx);
540 if (likely(key_len <= left)) {
544 memcpy(pos, sa_entry->key, left);
545 memcpy(q->q.desc, sa_entry->key + left,
715 int qidx, left, credits; local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c47 * @left: Left side of bounding box.
57 s32 left, right, top, bottom; member in struct:vmw_kms_sou_surface_dirty
510 blit->body.destRect.left = clip->x1;
602 blit->body.srcRect.left = 0;
607 blit->body.destRect.left = 0;
625 rect->left = clip->x1;
662 blit->body.srcRect.left = src_bb.x1;
667 blit->body.destRect.left = bb->x1;
674 rect->left -= bb->x1;
1014 cmd->body.destRect.left
[all...]
/linux-master/drivers/video/fbdev/kyro/
H A DSTG4000Interface.h56 u32 left, u32 top,
/linux-master/drivers/video/fbdev/
H A Dmacmodes.c113 "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,
/linux-master/arch/sparc/kernel/
H A Dvisemul.c251 u16 left, right; member in struct:edge_tab
297 u16 left, right; local
311 left = edge8_tab[rs1 & 0x7].left;
316 left = edge8_tab_l[rs1 & 0x7].left;
322 left = edge16_tab[(rs1 >> 1) & 0x3].left;
328 left = edge16_tab_l[(rs1 >> 1) & 0x3].left;
[all...]
/linux-master/include/uapi/linux/tc_ematch/
H A Dtc_em_meta.h89 struct tcf_meta_val left; member in struct:tcf_meta_hdr

Completed in 216 milliseconds

1234567891011>>