/drivers/video/fbdev/core/ |
D | syscopyarea.c | 33 int left, right; in bitcpy() local 80 right = shift & (bits - 1); in bitcpy() 92 *dst = comp(*src >> right, *dst, first); in bitcpy() 97 *dst = comp(d0 >> right | d1 << left, *dst, 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() 145 *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 | cfbcopyarea.c | 111 int const right = -shift & (bits - 1); in bitcpy() local 124 d0 >>= right; in bitcpy() 129 d0 = d0 >> right | d1 << 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() 190 if (m <= bits - right) { in bitcpy() [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 …]
|
/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 86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); in node_copy() 92 key_ptr(right, 0), in node_copy() 95 value_ptr(right, 0), in node_copy() 98 BUG_ON(shift > le32_to_cpu(right->header.max_entries)); in node_copy() 99 memcpy(key_ptr(right, 0), in node_copy() 102 memcpy(value_ptr(right, 0), in node_copy() 173 static void shift(struct btree_node *left, struct btree_node *right, int count) in shift() argument 176 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); in shift() 178 uint32_t r_max_entries = le32_to_cpu(right->header.max_entries); in shift() [all …]
|
/drivers/usb/core/ |
D | port.c | 315 static int link_peers(struct usb_port *left, struct usb_port *right) in link_peers() argument 320 if (left->peer == right && right->peer == left) in link_peers() 323 if (left->peer || right->peer) { in link_peers() 325 struct usb_port *rpeer = right->peer; in link_peers() 328 if (left->location && left->location == right->location) in link_peers() 334 dev_name(&left->dev), dev_name(&right->dev), method, in link_peers() 337 dev_name(&right->dev), in link_peers() 342 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer"); in link_peers() 345 rc = sysfs_create_link(&right->dev.kobj, &left->dev.kobj, "peer"); in link_peers() 358 WARN_ON(right->is_superspeed); in link_peers() [all …]
|
/drivers/hid/ |
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | hid-tmff.c | 80 int left, right; /* Rumbling */ in tmff_play() local 102 right = tmff_scale_u16(effect->u.rumble.strong_magnitude, in tmff_play() 109 left = right; in tmff_play() 110 right = motor_swap; in tmff_play() 113 dbg_hid("(left,right)=(%08x, %08x)\n", left, right); in tmff_play() 115 ff_field->value[1] = right; in tmff_play()
|
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/ |
D | qxl_draw.c | 93 drawable->self_bitmap_area.right = 0; in make_drawable() 137 int left, right, top, bottom; in qxl_draw_dirty_fb() local 159 right = clips->x2; in qxl_draw_dirty_fb() 167 right = max_t(int, right, (int)clips_ptr->x2); in qxl_draw_dirty_fb() 172 width = right - left; in qxl_draw_dirty_fb() 191 drawable_rect.right = right; in qxl_draw_dirty_fb() 224 drawable->u.copy.src_area.right = width; in qxl_draw_dirty_fb() 239 rects[i].right = clips_ptr->x2; in qxl_draw_dirty_fb()
|
/drivers/input/mouse/ |
D | vsxxxaa.c | 200 int left, middle, right; in vsxxxaa_handle_REL_packet() local 232 right = buf[0] & 0x01; in vsxxxaa_handle_REL_packet() 238 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); in vsxxxaa_handle_REL_packet() 245 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_REL_packet() 256 int left, middle, right, touch; in vsxxxaa_handle_ABS_packet() local 282 right = buf[0] & 0x08; in vsxxxaa_handle_ABS_packet() 290 right ? "R" : "r", touch ? "T" : "t"); in vsxxxaa_handle_ABS_packet() 297 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_ABS_packet() 308 int left, middle, right; in vsxxxaa_handle_POR_packet() local 341 right = buf[0] & 0x01; in vsxxxaa_handle_POR_packet() [all …]
|
D | gpio_mouse.c | 36 struct gpio_desc *right; member 62 x = gpiod_get_value(gpio->right) - gpiod_get_value(gpio->left); in gpio_mouse_scan() 99 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN); in gpio_mouse_probe() 100 if (IS_ERR(gmouse->right)) in gpio_mouse_probe() 101 return PTR_ERR(gmouse->right); in gpio_mouse_probe()
|
/drivers/video/fbdev/ |
D | arcfb.c | 248 unsigned int left, unsigned int right, unsigned int distance) in arcfb_lcd_update_page() argument 269 while (left <= right) { 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() 322 unsigned int right, unsigned int top, unsigned int h) in arcfb_lcd_update_horiz() argument 332 arcfb_lcd_update_vert(par, upper, lower, left, right); in arcfb_lcd_update_horiz() 346 unsigned int left, right, distance, y; in arcfb_lcd_update() local 355 right = min(left + w - 1, ceil64(left)); in arcfb_lcd_update() 358 arcfb_lcd_update_horiz(par, left, right, y, h); in arcfb_lcd_update() 359 distance -= ((right - left) + 1); in arcfb_lcd_update() [all …]
|
D | amifb.c | 2602 int shift = dst_idx - src_idx, left, right; in bitcpy() local 2654 right = shift & (BITS_PER_LONG - 1); in bitcpy() 2663 *dst = comp(*src >> right, *dst, first); in bitcpy() 2671 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy() 2680 *dst = comp(d0 >> right, *dst, first); in bitcpy() 2686 *dst = comp(d0 << left | d1 >> right, *dst, in bitcpy() 2698 *dst++ = d0 << left | d1 >> right; in bitcpy() 2701 *dst++ = d0 << left | d1 >> right; in bitcpy() 2704 *dst++ = d0 << left | d1 >> right; in bitcpy() 2707 *dst++ = d0 << left | d1 >> right; in bitcpy() [all …]
|
/drivers/firmware/efi/libstub/ |
D | arm-stub.c | 293 const efi_memory_desc_t *left = l, *right = r; in cmp_mem_desc() local 295 return (left->phys_addr > right->phys_addr) ? 1 : -1; in cmp_mem_desc() 303 efi_memory_desc_t *right) in regions_are_adjacent() argument 307 if (left == NULL || right == NULL) in regions_are_adjacent() 312 return left_end == right->phys_addr; in regions_are_adjacent() 320 efi_memory_desc_t *right) in regions_have_compatible_memory_type_attrs() argument 326 return ((left->attribute ^ right->attribute) & mem_type_mask) == 0; in regions_have_compatible_memory_type_attrs()
|
/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 378 int left, int right, bool force_notify) in snd_saa7134_capsrc_set() argument 391 active = left != 0 || right != 0; in snd_saa7134_capsrc_set() 398 chip->capture_source[1] != right; in snd_saa7134_capsrc_set() 401 chip->capture_source[1] = right; in snd_saa7134_capsrc_set() 455 if (left || right) { in snd_saa7134_capsrc_set() 933 int left, right; in snd_saa7134_volume_put() local 940 right = ucontrol->value.integer.value[1]; in snd_saa7134_volume_put() 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() [all …]
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_scrn.c | 58 s32 left, right, top, bottom; member 513 blit->body.destRect.right = clip->x2; in vmw_sou_bo_populate_clip() 606 blit->body.srcRect.right = 0; in vmw_sou_surface_pre_clip() 611 blit->body.destRect.right = 0; in vmw_sou_surface_pre_clip() 629 rect->right = clip->x2; in vmw_sou_surface_clip_rect() 666 blit->body.srcRect.right = src_bb.x2; in vmw_sou_surface_post_clip() 671 blit->body.destRect.right = bb->x2; in vmw_sou_surface_post_clip() 678 rect->right -= bb->x1; in vmw_sou_surface_post_clip() 1046 cmd->body.destRect.right = sdirty->right; in vmw_sou_surface_fifo_commit() 1051 cmd->body.srcRect.right = sdirty->right + trans_x; in vmw_sou_surface_fifo_commit() [all …]
|
/drivers/acpi/acpica/ |
D | nsnames.c | 203 char c, *left, *right; in acpi_ns_build_normalized_path() local 257 right = full_path + length - 1; in acpi_ns_build_normalized_path() 259 while (left < right) { in acpi_ns_build_normalized_path() 261 *left++ = *right; in acpi_ns_build_normalized_path() 262 *right-- = c; in acpi_ns_build_normalized_path()
|
/drivers/staging/speakup/ |
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)
|