Searched refs:right (Results 26 - 50 of 283) sorted by relevance

1234567891011>>

/linux-master/net/tipc/
H A Dcore.h185 static inline int less_eq(u16 left, u16 right) argument
187 return mod(right - left) < 32768u;
190 static inline int more(u16 left, u16 right) argument
192 return !less_eq(left, right);
195 static inline int less(u16 left, u16 right) argument
197 return less_eq(left, right) && (mod(right) != mod(left));
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_draw.c98 drawable->self_bitmap_area.right = 0;
142 int left, right, top, bottom; local
165 right = clips->x2;
173 right = max_t(int, right, (int)clips_ptr->x2);
178 width = right - left;
197 drawable_rect.right = right;
232 drawable->u.copy.src_area.right = width;
247 rects[i].right
[all...]
/linux-master/drivers/hid/
H A Dhid-holtekff.c55 * bit 6: right (weak) motor enabled
95 int left, right; local
101 right = effect->u.rumble.weak_magnitude;
102 dbg_hid("called with 0x%04x 0x%04x\n", left, right);
104 if (!left && !right) {
111 if (right)
115 buf[6] = min(0xf, (left >> 12) + (right >> 12));
H A Dhid-betopff.c42 __u16 left, right; local
45 right = effect->u.rumble.weak_magnitude;
48 betopff->report->field[3]->value[0] = right / 256;
H A Dhid-tmff.c80 int left, right; /* Rumbling */ local
101 right = tmff_scale_u16(effect->u.rumble.strong_magnitude,
107 swap(left, right);
109 dbg_hid("(left,right)=(%08x, %08x)\n", left, right);
111 ff_field->value[1] = right;
/linux-master/include/crypto/internal/
H A Decc.h159 * vli_cmp() - compare left and right vlis
162 * @right: vli
165 * Returns sign of @left - @right, i.e. -1 if @left < @right,
166 * 0 if @left == @right, 1 if @left > @right.
168 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
171 * vli_sub() - Subtracts right from left
175 * @right vli
182 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
[all...]
/linux-master/sound/core/oss/
H A Dmixer_oss.c255 int result = 0, left, right; local
262 right = pslot->volume[1];
264 result = pslot->get_volume(fmixer, pslot, &left, &right);
266 right = left;
269 if (snd_BUG_ON(right < 0 || right > 100))
273 pslot->volume[1] = right;
274 result = (left & 0xff) | ((right & 0xff) << 8);
284 int result = 0, left = volume & 0xff, right = (volume >> 8) & 0xff; local
292 if (right > 10
516 snd_mixer_oss_get_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right) argument
548 snd_mixer_oss_get_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right, int route) argument
582 snd_mixer_oss_get_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *left, int *right) argument
608 snd_mixer_oss_put_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right) argument
644 snd_mixer_oss_put_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right, int route) argument
685 snd_mixer_oss_put_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int left, int right) argument
739 int left, right; local
752 int left, right; local
[all...]
/linux-master/tools/perf/util/
H A Dblock-info.h65 int64_t __block_info__cmp(struct hist_entry *left, struct hist_entry *right);
68 struct hist_entry *left, struct hist_entry *right);
/linux-master/fs/btrfs/
H A Dctree.c919 struct extent_buffer *right = NULL; local
1017 right = btrfs_read_node_slot(parent, pslot + 1);
1018 if (IS_ERR(right)) {
1019 ret = PTR_ERR(right);
1020 right = NULL;
1024 __btrfs_tree_lock(right, BTRFS_NESTING_RIGHT);
1025 wret = btrfs_cow_block(trans, root, right,
1026 parent, pslot + 1, &right,
1043 * then try to empty the right most buffer into the middle
1045 if (right) {
1177 struct extent_buffer *right = NULL; local
2651 check_sibling_keys(struct extent_buffer *left, struct extent_buffer *right) argument
3105 __push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_path *path, int data_size, int empty, struct extent_buffer *right, int free_space, u32 left_nritems, u32 min_slot) argument
3249 struct extent_buffer *right; local
3329 struct extent_buffer *right = path->nodes[0]; local
3463 struct extent_buffer *right = path->nodes[0]; local
3521 copy_for_split(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct extent_buffer *l, struct extent_buffer *right, int slot, int mid, int nritems) argument
3661 struct extent_buffer *right; local
[all...]
/linux-master/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c171 struct node *right; member in struct:node
224 * If current node has a right child, next node is the left-most
225 * of the right child.
227 if (nodep->right) {
228 for (nodep = nodep->right; nodep->left; nodep = nodep->left)
234 * No right child. Go up until node is left child of a parent.
237 while (nodep->parent && nodep == nodep->parent->right)
252 * If current node has a left child, next node is the right-most
256 for (nodep = nodep->left; nodep->right; nodep = nodep->right)
[all...]
/linux-master/drivers/input/mouse/
H A Dgpio_mouse.c22 * @right: GPIO line for right value.
25 * @bright: GPIO line for right button.
36 struct gpio_desc *right; member in struct:gpio_mouse
61 x = gpiod_get_value(gpio->right) - gpiod_get_value(gpio->left);
97 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN);
98 if (IS_ERR(gmouse->right))
99 return PTR_ERR(gmouse->right);
108 gmouse->bright = devm_gpiod_get_optional(dev, "button-right",
[all...]
H A Dvsxxxaa.c197 int left, middle, right; local
229 right = buf[0] & 0x01;
235 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r");
242 input_report_key(dev, BTN_RIGHT, right);
253 int left, middle, right, touch; local
279 right = buf[0] & 0x08;
287 right ? "R" : "r", touch ? "T" : "t");
294 input_report_key(dev, BTN_RIGHT, right);
305 int left, middle, right; local
338 right
[all...]
/linux-master/drivers/usb/core/
H A Dport.c477 static int link_peers(struct usb_port *left, struct usb_port *right) argument
482 if (left->peer == right && right->peer == left)
485 if (left->peer || right->peer) {
487 struct usb_port *rpeer = right->peer;
490 if (left->location && left->location == right->location)
496 dev_name(&left->dev), dev_name(&right->dev), method,
499 dev_name(&right->dev),
504 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer");
507 rc = sysfs_create_link(&right
546 link_peers_report(struct usb_port *left, struct usb_port *right) argument
561 unlink_peers(struct usb_port *left, struct usb_port *right) argument
[all...]
/linux-master/drivers/md/persistent-data/
H A Ddm-btree.c553 static void redistribute2(struct btree_node *left, struct btree_node *right) argument
556 unsigned int nr_right = le32_to_cpu(right->header.nr_entries);
564 copy_entries(left, nr_left, right, 0, delta);
565 shift_down(right, delta);
570 shift_up(right, delta);
571 copy_entries(right, 0, left, target_left, delta);
575 right->header.nr_entries = cpu_to_le32(target_right);
583 struct btree_node *right)
587 unsigned int nr_right = le32_to_cpu(right->header.nr_entries);
600 copy_entries(left, nr_left, right,
582 redistribute3(struct btree_node *left, struct btree_node *center, struct btree_node *right) argument
658 struct dm_block *left, *right, *parent; local
742 struct dm_block *left, *middle, *right, *parent; local
843 struct dm_block *left, *right, *new_parent; local
920 struct btree_node *left, *right, *parent = dm_block_data(shadow_parent(s)); local
949 struct btree_node *left, *right, *parent = dm_block_data(shadow_parent(s)); local
[all...]
/linux-master/include/linux/
H A Dmin_heap.h38 void *left, *right; local
48 right = data + (i * 2 + 2) * func->elem_size;
49 i = func->less(left, right) ? i * 2 + 1 : i * 2 + 2;
H A Dmnt_idmapping.h59 static inline bool vfsuid_eq(vfsuid_t left, vfsuid_t right) argument
61 return vfsuid_valid(left) && __vfsuid_val(left) == __vfsuid_val(right);
64 static inline bool vfsgid_eq(vfsgid_t left, vfsgid_t right) argument
66 return vfsgid_valid(left) && __vfsgid_val(left) == __vfsgid_val(right);
/linux-master/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-type.h30 s32 right; member in struct:img_region
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c40 TEST_ASSERT(left->reg == right->reg, \
43 left->reg, right->reg)
46 TEST_ASSERT(left->reg == right->reg, \
49 left->reg, right->reg)
52 static void compare_regs(struct kvm_regs *left, struct kvm_sync_regs *right) argument
60 static void compare_sregs(struct kvm_sregs *left, struct kvm_sync_regs *right) argument
/linux-master/arch/parisc/math-emu/
H A Dsgl_float.h50 #define Sgl_leftshiftby1_withextent(left,right,result) \
51 Shiftdouble(Sall(left),Extall(right),31,Sall(result))
53 #define Sgl_rightshiftby1_withextent(left,right,dst) \
54 Shiftdouble(Sall(left),Extall(right),1,Extall(right))
220 /* The left argument is never smaller than the right argument */
224 /* Subtract right augmented with extension from left augmented with zeros and
226 #define Sgl_subtract_withextension(left,right,extent,result) \
227 /* sgl_floating_point left,right,result; extension extent */ \
228 Sgl_subtract(left,right,resul
[all...]
/linux-master/sound/pci/
H A Dak4531_codec.c147 int left, right; local
151 right = (ak4531->regs[right_reg] >> right_shift) & mask;
155 right = mask - right;
158 ucontrol->value.integer.value[1] = right;
172 int left, right; local
175 right = ucontrol->value.integer.value[1] & mask;
178 right = mask - right;
181 right <<
[all...]
/linux-master/sound/isa/msnd/
H A Dmsnd_pinnacle_mixer.c183 static int snd_msndmix_set(struct snd_msnd *dev, int d, int left, int right) argument
195 bRight = right * 0xff / 100;
196 wRight = right * 0xffff / 100;
255 int left, right; local
259 right = ucontrol->value.integer.value[1] % 101;
262 || msnd->right_levels[addr] != right;
263 snd_msndmix_set(msnd, addr, left, right);
/linux-master/tools/perf/
H A Dbuiltin-diff.c564 struct hist_entry *right)
567 bool pairs_right = hist_entry__has_pairs(right);
574 r = llabs(right->diff.cycles);
579 struct hist_entry *left, struct hist_entry *right)
581 return block_cycles_diff_cmp(right, left);
760 __hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, argument
767 double r = right->diff.period_ratio_delta;
774 double r = fabs(right->diff.period_ratio_delta);
781 double r = right->diff.period_ratio;
788 s64 r = right
563 block_cycles_diff_cmp(struct hist_entry *left, struct hist_entry *right) argument
578 block_sort(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) argument
800 hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, int c, int sort_idx) argument
830 hist_entry__cmp_compute_idx(struct hist_entry *left, struct hist_entry *right, int c, int sort_idx) argument
869 hist_entry__cmp_baseline(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) argument
878 hist_entry__cmp_delta(struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right) argument
887 hist_entry__cmp_delta_abs(struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right) argument
896 hist_entry__cmp_ratio(struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right) argument
905 hist_entry__cmp_wdiff(struct perf_hpp_fmt *fmt, struct hist_entry *left, struct hist_entry *right) argument
914 hist_entry__cmp_delta_idx(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) argument
922 hist_entry__cmp_delta_abs_idx(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) argument
930 hist_entry__cmp_ratio_idx(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) argument
938 hist_entry__cmp_wdiff_idx(struct perf_hpp_fmt *fmt __maybe_unused, struct hist_entry *left, struct hist_entry *right) argument
[all...]
/linux-master/fs/nfs/blocklayout/
H A Dextent_tree.c113 struct pnfs_block_extent *right = ext_tree_next(be); local
115 if (right && ext_can_merge(be, right)) {
116 be->be_length += right->be_length;
117 rb_erase(&right->be_node, root);
118 nfs4_put_deviceid_node(right->be_device);
119 kfree(right);
451 struct pnfs_block_extent *right = ext_tree_next(be); local
453 if (right && ext_can_merge(be, right)) {
[all...]
/linux-master/drivers/acpi/acpica/
H A Dnsnames.c199 char c, *left, *right; local
253 right = full_path + length - 1;
255 while (left < right) {
257 *left++ = *right;
258 *right-- = c;
/linux-master/security/tomoyo/
H A Dcondition.c294 * @right: Righthand value.
299 static bool tomoyo_parse_argv(char *left, char *right, argument
305 argv->value = tomoyo_get_dqword(right);
313 * @right: Righthand value.
318 static bool tomoyo_parse_envp(char *left, char *right, argument
333 if (!strcmp(right, "NULL")) {
336 value = tomoyo_get_dqword(right);
513 u8 right = -1; local
525 * of one or more repetition of $left$operator$right blocks
527 * either '=' or '!='" and "$right i
801 const u8 right = condp->right; local
[all...]

Completed in 279 milliseconds

1234567891011>>