| /drivers/md/persistent-data/ |
| A D | dm-btree-remove.c | 105 key_ptr(right, 0), in node_copy() 108 value_ptr(right, 0), in node_copy() 116 memcpy(key_ptr(right, 0), in node_copy() 119 memcpy(value_ptr(right, 0), in node_copy() 219 node_shift(right, count); in shift() 227 node_shift(right, count); in shift() 284 struct child left, right; in rebalance2() local 301 exit_child(info, &right); in rebalance2() 335 node_shift(right, shift); in delete_center_node() 376 ret = shift(left, right, s); in redistribute3() [all …]
|
| A D | dm-btree.c | 565 shift_down(right, delta); in redistribute2() 570 shift_up(right, delta); in redistribute2() 669 rn = dm_block_data(right); in split_one_into_two() 696 s->nodes[1] = right; in split_one_into_two() 757 right = shadow_current(s); in split_two_into_three() 769 rn = dm_block_data(right); in split_two_into_three() 809 s->nodes[1] = right; in split_two_into_three() 875 rn = dm_block_data(right); in btree_split_beneath() 928 redistribute2(left, right); in rebalance_left() 956 right = dm_block_data(sib); in rebalance_right() [all …]
|
| /drivers/video/fbdev/core/ |
| A D | fb_copyarea.h | 167 int shift, left, right; in fb_copy_fwd() local 173 right = shift & (BITS_PER_LONG - 1); in fb_copy_fwd() 205 d0 = fb_left(d0, left) | fb_right(d1, right); in fb_copy_fwd() 215 d0 = fb_left(d0, left) | fb_right(d1, right); in fb_copy_fwd() 235 d0 = fb_left(d0, left) | fb_right(d1, right); in fb_copy_fwd() 247 right); in fb_copy_fwd() 261 int shift, left, right; in fb_copy_rev() local 267 right = shift & (BITS_PER_LONG-1); in fb_copy_rev() 296 if (fb_right(~0UL, right) & last) in fb_copy_rev() 333 d0 = fb_left(d1, left) | fb_right(d0, right); in fb_copy_rev() [all …]
|
| /drivers/usb/core/ |
| A D | port.c | 489 if (left->peer == right && right->peer == left) in link_peers() 506 dev_name(&right->dev), in link_peers() 528 hs_port = right; in link_peers() 530 ss_port = right; in link_peers() 536 left->peer = right; in link_peers() 537 right->peer = left; in link_peers() 557 rc = link_peers(left, right); in link_peers_report() 572 WARN(right->peer != left || left->peer != right, in unlink_peers() 583 hs_port = right; in unlink_peers() 585 ss_port = right; in unlink_peers() [all …]
|
| /drivers/hid/ |
| A D | hid-zpff.c | 30 int left, right; in zpff_play() local 39 right = effect->u.rumble.weak_magnitude; in zpff_play() 40 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in zpff_play() 43 right = right * 0x7f / 0xffff; in zpff_play() 46 zpff->report->field[3]->value[0] = right; in zpff_play() 47 dbg_hid("running with 0x%02x 0x%02x\n", left, right); in zpff_play()
|
| A D | hid-sjoy.c | 34 u32 left, right; in hid_sjoyff_play() local 37 right = effect->u.rumble.weak_magnitude; in hid_sjoyff_play() 38 dev_dbg(&dev->dev, "called with 0x%08x 0x%08x\n", left, right); in hid_sjoyff_play() 41 right = (right != 0); /* on/off only */ in hid_sjoyff_play() 43 sjoyff->report->field[0]->value[1] = right; in hid_sjoyff_play() 45 dev_dbg(&dev->dev, "running with 0x%02x 0x%02x\n", left, right); in hid_sjoyff_play()
|
| A D | hid-axff.c | 37 int left, right; in axff_play() local 41 right = effect->u.rumble.weak_magnitude; in axff_play() 43 dbg_hid("called with 0x%04x 0x%04x", left, right); in axff_play() 46 right = right * 0xff / 0xffff; in axff_play() 51 field_count % 2 ? right : left; in axff_play() 56 dbg_hid("running with 0x%02x 0x%02x", left, right); in axff_play()
|
| A D | hid-gaff.c | 34 int left, right; in hid_gaff_play() local 37 right = effect->u.rumble.weak_magnitude; in hid_gaff_play() 39 dbg_hid("called with 0x%04x 0x%04x", left, right); in hid_gaff_play() 42 right = right * 0xfe / 0xffff; in hid_gaff_play() 46 gaff->report->field[0]->value[2] = right; in hid_gaff_play() 50 dbg_hid("running with 0x%02x 0x%02x", left, right); in hid_gaff_play()
|
| A D | hid-lgff.c | 63 unsigned int left, right; in hid_lgff_play() local 82 right = effect->u.rumble.strong_magnitude; in hid_lgff_play() 84 right = right * 0xff / 0xffff; in hid_lgff_play() 87 CLAMP(right); in hid_lgff_play() 91 report->field[0]->value[3] = right; in hid_lgff_play() 92 dbg_hid("(left, right)=(%04x, %04x)\n", left, right); in hid_lgff_play()
|
| A D | hid-pl.c | 52 int left, right; in hid_plff_play() local 55 right = effect->u.rumble.weak_magnitude; in hid_plff_play() 56 debug("called with 0x%04x 0x%04x", left, right); in hid_plff_play() 59 right = right * plff->maxval / 0xffff; in hid_plff_play() 62 *plff->weak = right; in hid_plff_play() 63 debug("running with 0x%02x 0x%02x", left, right); in hid_plff_play()
|
| A D | hid-holtekff.c | 95 int left, right; in holtekff_play() local 101 right = effect->u.rumble.weak_magnitude; in holtekff_play() 102 dbg_hid("called with 0x%04x 0x%04x\n", left, right); in holtekff_play() 104 if (!left && !right) { in holtekff_play() 111 if (right) in holtekff_play() 115 buf[6] = min(0xf, (left >> 12) + (right >> 12)); in holtekff_play()
|
| A D | hid-tmff.c | 80 int left, right; /* Rumbling */ in tmff_play() local 101 right = tmff_scale_u16(effect->u.rumble.strong_magnitude, in tmff_play() 107 swap(left, right); in tmff_play() 109 dbg_hid("(left,right)=(%08x, %08x)\n", left, right); in tmff_play() 111 ff_field->value[1] = right; in tmff_play()
|
| A D | hid-betopff.c | 42 __u16 left, right; in hid_betopff_play() local 45 right = effect->u.rumble.weak_magnitude; in hid_betopff_play() 48 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play()
|
| /drivers/gpu/drm/qxl/ |
| A D | qxl_draw.c | 98 drawable->self_bitmap_area.right = 0; in make_drawable() 142 int left, right, top, bottom; in qxl_draw_dirty_fb() local 165 right = clips->x2; in qxl_draw_dirty_fb() 173 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb() 178 width = right - left; in qxl_draw_dirty_fb() 197 drawable_rect.right = right; in qxl_draw_dirty_fb() 232 drawable->u.copy.src_area.right = width; in qxl_draw_dirty_fb() 247 rects[i].right = clips_ptr->x2; in qxl_draw_dirty_fb()
|
| /drivers/input/mouse/ |
| A D | vsxxxaa.c | 197 int left, middle, right; in vsxxxaa_handle_REL_packet() local 229 right = buf[0] & 0x01; in vsxxxaa_handle_REL_packet() 235 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet() 242 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_REL_packet() 253 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local 279 right = buf[0] & 0x08; in vsxxxaa_handle_ABS_packet() 287 right ? "R" : "r", touch ? "T" : "t"); in vsxxxaa_handle_ABS_packet() 294 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_ABS_packet() 305 int left, middle, right; in vsxxxaa_handle_POR_packet() local 338 right = buf[0] & 0x01; in vsxxxaa_handle_POR_packet() [all …]
|
| A D | gpio_mouse.c | 36 struct gpio_desc *right; member 61 x = gpiod_get_value(gpio->right) - gpiod_get_value(gpio->left); in gpio_mouse_scan() 97 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN); in gpio_mouse_probe() 98 if (IS_ERR(gmouse->right)) in gpio_mouse_probe() 99 return PTR_ERR(gmouse->right); in gpio_mouse_probe()
|
| /drivers/video/fbdev/ |
| A D | arcfb.c | 270 while (left <= right) { in arcfb_lcd_update_page() 301 unsigned int bottom, unsigned int left, unsigned int right) in arcfb_lcd_update_vert() argument 311 arcfb_lcd_update_page(par, upper, left, right, 8); in arcfb_lcd_update_vert() 323 unsigned int right, unsigned int top, unsigned int h) in arcfb_lcd_update_horiz() argument 333 arcfb_lcd_update_vert(par, upper, lower, left, right); in arcfb_lcd_update_horiz() 347 unsigned int left, right, distance, y; in arcfb_lcd_update() local 356 right = min(left + w - 1, ceil64(left)); in arcfb_lcd_update() 359 arcfb_lcd_update_horiz(par, left, right, y, h); in arcfb_lcd_update() 360 distance -= ((right - left) + 1); in arcfb_lcd_update() 361 left = right + 1; in arcfb_lcd_update() [all …]
|
| A D | amifb.c | 2647 right = shift & (BITS_PER_LONG - 1); in bitcpy() 2691 *dst++ = d0 << left | d1 >> right; in bitcpy() 2694 *dst++ = d0 << left | d1 >> right; in bitcpy() 2697 *dst++ = d0 << left | d1 >> right; in bitcpy() 2700 *dst++ = d0 << left | d1 >> right; in bitcpy() 2706 *dst++ = d0 << left | d1 >> right; in bitcpy() 2712 if (m <= right) { in bitcpy() 2798 right = shift & (BITS_PER_LONG - 1); in bitcpy_rev() 2842 *dst-- = d0 >> right | d1 << left; in bitcpy_rev() 2845 *dst-- = d0 >> right | d1 << left; in bitcpy_rev() [all …]
|
| /drivers/media/pci/saa7134/ |
| A D | saa7134-alsa.c | 392 active = left != 0 || right != 0; in snd_saa7134_capsrc_set() 402 chip->capture_source[1] = right; in snd_saa7134_capsrc_set() 456 if (left || right) { in snd_saa7134_capsrc_set() 933 int left, right; in snd_saa7134_volume_put() local 941 if (right < 0) in snd_saa7134_volume_put() 942 right = 0; in snd_saa7134_volume_put() 943 if (right > 20) in snd_saa7134_volume_put() 944 right = 20; in snd_saa7134_volume_put() 949 right = left; in snd_saa7134_volume_put() 953 left = right; in snd_saa7134_volume_put() [all …]
|
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_scrn.c | 60 s32 left, right, top, bottom; member 601 blit->body.srcRect.right = 0; in vmw_sou_surface_pre_clip() 606 blit->body.destRect.right = 0; in vmw_sou_surface_pre_clip() 624 rect->right = clip->x2; in vmw_sou_surface_clip_rect() 666 blit->body.destRect.right = bb->x2; in vmw_sou_surface_post_clip() 673 rect->right -= bb->x1; in vmw_sou_surface_post_clip() 1014 cmd->body.destRect.right = sdirty->right; in vmw_sou_surface_fifo_commit() 1019 cmd->body.srcRect.right = sdirty->right + trans_x; in vmw_sou_surface_fifo_commit() 1029 blit->right -= sdirty->left; in vmw_sou_surface_fifo_commit() 1059 blit->right = dirty->unit_x2; in vmw_sou_surface_clip() [all …]
|
| /drivers/acpi/acpica/ |
| A D | nsnames.c | 199 char c, *left, *right; in acpi_ns_build_normalized_path() local 253 right = full_path + length - 1; in acpi_ns_build_normalized_path() 255 while (left < right) { in acpi_ns_build_normalized_path() 257 *left++ = *right; in acpi_ns_build_normalized_path() 258 *right-- = c; in acpi_ns_build_normalized_path()
|
| /drivers/gpu/drm/panel/ |
| A D | panel-sharp-lq101r1sx01.c | 108 struct mipi_dsi_device *right, in sharp_setup_symmetrical_split() argument 125 err = mipi_dsi_dcs_set_column_address(right, mode->hdisplay / 2, in sharp_setup_symmetrical_split() 128 dev_err(&right->dev, "failed to set column address: %d\n", err); in sharp_setup_symmetrical_split() 132 err = mipi_dsi_dcs_set_page_address(right, 0, mode->vdisplay - 1); in sharp_setup_symmetrical_split() 134 dev_err(&right->dev, "failed to set page address: %d\n", err); in sharp_setup_symmetrical_split()
|
| /drivers/media/pci/cx88/ |
| A D | cx88-alsa.c | 650 u16 right = value->value.integer.value[1]; in snd_cx88_wm8775_volume_put() local 654 if (left >= right) { in snd_cx88_wm8775_volume_put() 656 b = left ? (0x8000 * right) / left : 0x8000; in snd_cx88_wm8775_volume_put() 658 v = right << 10; in snd_cx88_wm8775_volume_put() 659 b = right ? 0xffff - (0x8000 * left) / right : 0x8000; in snd_cx88_wm8775_volume_put() 671 int left, right, v, b; in snd_cx88_volume_put() local 679 right = value->value.integer.value[1] & 0x3f; in snd_cx88_volume_put() 680 b = right - left; in snd_cx88_volume_put() 685 v = 0x3f - right; in snd_cx88_volume_put()
|
| /drivers/media/radio/ |
| A D | radio-sf16fmr2.c | 153 int volume, balance, left, right; in fmr2_s_ctrl() local 168 left = right = volume; in fmr2_s_ctrl() 170 right = max(0, right + balance); in fmr2_s_ctrl() 175 tc9154a_set_attenuation(fmr2, abs(right - 68), TC9154A_CHANNEL_RIGHT); in fmr2_s_ctrl()
|
| /drivers/accessibility/speakup/ |
| A D | DefaultKeyAssignments | 19 KeyPad-6 Say Next Word (right one word) 20 InsKeyPad-6 Say from reading cursor to right edge of line. 24 KeyPad-3 Say Next Character (right one letter) 34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end)
|