/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 25 * Each node may have a left or right sibling. When decending the spine, 33 * ==> rebalance(node, right sibling) 35 * [C] No right sibling 38 * [D] Both siblings, total_entries(left, node, right) <= DEL_THRESHOLD 39 * ==> delete node adding it's contents to left and right 41 * [E] Both siblings, total_entries(left, node, right) > DEL_THRESHOLD 42 * ==> rebalance(left, node, right) 82 static void node_copy(struct btree_node *left, struct btree_node *right, int shift) argument 86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); 92 key_ptr(right, 173 shift(struct btree_node *left, struct btree_node *right, int count) argument 203 struct btree_node *right = r->n; local 236 struct child left, right; local 266 delete_center_node(struct dm_btree_info *info, struct btree_node *parent, struct child *l, struct child *c, struct child *r, struct btree_node *left, struct btree_node *center, struct btree_node *right, uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) argument 297 redistribute3(struct dm_btree_info *info, struct btree_node *parent, struct child *l, struct child *c, struct child *r, struct btree_node *left, struct btree_node *center, struct btree_node *right, uint32_t nr_left, uint32_t nr_center, uint32_t nr_right) argument 344 struct btree_node *right = r->n; local 368 struct child left, center, right; local [all...] |
/drivers/video/fbdev/core/ |
H A D | syscopyarea.c | 33 int left, right; local 80 right = shift & (bits - 1); 89 *dst = comp(*src >> right, *dst, first); 97 *dst = comp(d0 << left | d1 >> right, *dst, 112 *dst = comp(d0 >> right, *dst, first); 118 *dst = comp(d0 << left | *dst >> right, *dst, first); 129 *dst++ = d0 << left | d1 >> right; 132 *dst++ = d0 << left | d1 >> right; 135 *dst++ = d0 << left | d1 >> right; 138 *dst++ = d0 << left | d1 >> right; 232 int const right = shift & (bits-1); local [all...] |
H A D | sysfillrect.c | 76 * Left/right are the appropriate shifts to convert to the pattern to be 82 unsigned long pat, int left, int right, unsigned n, int bits) 103 pat = pat << left | pat >> right; 111 pat = pat << left | pat >> right; 113 pat = pat << left | pat >> right; 115 pat = pat << left | pat >> right; 117 pat = pat << left | pat >> right; 122 pat = pat << left | pat >> right; 186 * Left/right are the appropriate shifts to convert to the pattern to be 192 unsigned long pat, int left, int right, unsigne 81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 191 bitfill_unaligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 295 int right, r; local [all...] |
H A D | cfbcopyarea.c | 111 int const right = -shift & (bits - 1); local 124 d0 >>= right; local 129 d0 = d0 >> right | d1 << left; 153 d0 = d0 >> right | d1 << left; 166 FB_WRITEL(d0 >> right | d1 << left, dst++); 169 FB_WRITEL(d0 >> right | d1 << left, dst++); 172 FB_WRITEL(d0 >> right | d1 << left, dst++); 175 FB_WRITEL(d0 >> right | d1 << left, dst++); 182 d0 = d0 >> right | d1 << left; 190 if (m <= bits - right) { 192 d0 >>= right; local 284 int const right = -shift & (bits-1); local 293 d0 >>= right; local 319 d0 >>= right; local [all...] |
H A D | cfbfillrect.c | 87 * Left/right are the appropriate shifts to convert to the pattern to be 93 unsigned long pat, int left, int right, unsigned n, int bits) 114 pat = pat << left | pat >> right; 122 pat = pat << left | pat >> right; 124 pat = pat << left | pat >> right; 126 pat = pat << left | pat >> right; 128 pat = pat << left | pat >> right; 133 pat = pat << left | pat >> right; 212 * Left/right are the appropriate shifts to convert to the pattern to be 218 int dst_idx, unsigned long pat, int left, int right, 92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 217 bitfill_unaligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 332 int right, r; local [all...] |
/drivers/hid/ |
H A D | hid-zpff.c | 42 int left, right; local 51 right = effect->u.rumble.weak_magnitude; 52 dbg_hid("called with 0x%04x 0x%04x\n", left, right); 55 right = right * 0x7f / 0xffff; 58 zpff->report->field[3]->value[0] = right; 59 dbg_hid("running with 0x%02x 0x%02x\n", left, right);
|
H A D | hid-axff.c | 49 int left, right; local 53 right = effect->u.rumble.weak_magnitude; 55 dbg_hid("called with 0x%04x 0x%04x", left, right); 58 right = right * 0xff / 0xffff; 63 field_count % 2 ? right : left; 68 dbg_hid("running with 0x%02x 0x%02x", left, right); 162 * We need to start polling device right away, otherwise
|
H A D | hid-gaff.c | 47 int left, right; local 50 right = effect->u.rumble.weak_magnitude; 52 dbg_hid("called with 0x%04x 0x%04x", left, right); 55 right = right * 0xfe / 0xffff; 59 gaff->report->field[0]->value[2] = right; 63 dbg_hid("running with 0x%02x 0x%02x", left, right);
|
H A D | hid-lgff.c | 75 unsigned int left, right; local 94 right = effect->u.rumble.strong_magnitude; 96 right = right * 0xff / 0xffff; 99 CLAMP(right); 103 report->field[0]->value[3] = right; 104 dbg_hid("(left, right)=(%04x, %04x)\n", left, right);
|
H A D | hid-pl.c | 64 int left, right; local 67 right = effect->u.rumble.weak_magnitude; 68 debug("called with 0x%04x 0x%04x", left, right); 71 right = right * plff->maxval / 0xffff; 74 *plff->weak = right; 75 debug("running with 0x%02x 0x%02x", left, right);
|
H A D | hid-sjoy.c | 46 u32 left, right; local 49 right = effect->u.rumble.weak_magnitude; 50 dev_dbg(&dev->dev, "called with 0x%08x 0x%08x\n", left, right); 53 right = (right != 0); /* on/off only */ 55 sjoyff->report->field[0]->value[1] = right; 57 dev_dbg(&dev->dev, "running with 0x%02x 0x%02x\n", left, right);
|
H A D | hid-holtekff.c | 71 * bit 6: right (weak) motor enabled 111 int left, right; local 117 right = effect->u.rumble.weak_magnitude; 118 dbg_hid("called with 0x%04x 0x%04x\n", left, right); 120 if (!left && !right) { 127 if (right) 131 buf[6] = min(0xf, (left >> 12) + (right >> 12));
|
H A D | hid-tmff.c | 90 int left, right; /* Rumbling */ local 111 right = tmff_scale_u16(effect->u.rumble.strong_magnitude, 115 dbg_hid("(left,right)=(%08x, %08x)\n", left, right); 117 ff_field->value[1] = right;
|
/drivers/usb/core/ |
H A D | port.c | 191 static int link_peers(struct usb_port *left, struct usb_port *right) argument 196 if (left->peer == right && right->peer == left) 199 if (left->peer || right->peer) { 201 struct usb_port *rpeer = right->peer; 204 if (left->location && left->location == right->location) 210 dev_name(&left->dev), dev_name(&right->dev), method, 213 dev_name(&right->dev), 218 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer"); 221 rc = sysfs_create_link(&right 260 link_peers_report(struct usb_port *left, struct usb_port *right) argument 275 unlink_peers(struct usb_port *left, struct usb_port *right) argument [all...] |
/drivers/input/mouse/ |
H A D | vsxxxaa.c | 212 int left, middle, right; local 244 right = buf[0] & 0x01; 250 left ? "L" : "l", middle ? "M" : "m", right ? "R" : "r"); 257 input_report_key(dev, BTN_RIGHT, right); 268 int left, middle, right, touch; local 294 right = buf[0] & 0x08; 302 right ? "R" : "r", touch ? "T" : "t"); 309 input_report_key(dev, BTN_RIGHT, right); 320 int left, middle, right; local 353 right [all...] |
H A D | alps.h | 106 * @right: Right touchpad button is active. 125 unsigned int right:1; member in struct:alps_fields
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_draw.c | 95 drawable->self_bitmap_area.right = 0; 198 rect.right = x + width; 233 drawable->u.copy.src_area.right = width; 281 int left, right, top, bottom; local 300 right = clips->x2; 308 right = max_t(int, right, (int)clips_ptr->x2); 313 width = right - left; 332 drawable_rect.right = right; [all...] |
/drivers/block/drbd/ |
H A D | drbd_interval.c | 33 sector_t right = interval_end(node->rb.rb_right); local 34 if (right > max) 35 max = right; 130 * overlapping intervals will be on the right side of the tree, reachable with 155 /* Overlap if any must be on right side */
|
/drivers/video/fbdev/ |
H A D | arcfb.c | 248 unsigned int left, unsigned int right, unsigned int distance) 269 while (left <= right) { 296 * chip to select for the right. upper is needed for setting the page 300 unsigned int bottom, unsigned int left, unsigned int right) 310 arcfb_lcd_update_page(par, upper, left, right, 8); 322 unsigned int right, unsigned int top, unsigned int h) 332 arcfb_lcd_update_vert(par, upper, lower, left, right); 346 unsigned int left, right, distance, y; local 355 right = min(left + w - 1, ceil64(left)); 358 arcfb_lcd_update_horiz(par, left, right, 247 arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, unsigned int left, unsigned int right, unsigned int distance) argument 299 arcfb_lcd_update_vert(struct arcfb_par *par, unsigned int top, unsigned int bottom, unsigned int left, unsigned int right) argument 321 arcfb_lcd_update_horiz(struct arcfb_par *par, unsigned int left, unsigned int right, unsigned int top, unsigned int h) argument [all...] |
H A 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,
|
/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 402 int left, int right, bool force_notify) 415 active = left != 0 || right != 0; 422 chip->capture_source[1] != right; 425 chip->capture_source[1] = right; 479 if (left || right) { 513 * Called right after the capture device is opened, this function configures 680 * Called on initialization, right before the PCM preparation 958 int left, right; local 965 right = ucontrol->value.integer.value[1]; 966 if (right < 401 snd_saa7134_capsrc_set(struct snd_kcontrol *kcontrol, int left, int right, bool force_notify) argument 1059 int left, right; local [all...] |
/drivers/media/platform/s5p-g2d/ |
H A D | g2d-hw.c | 41 n |= f->right & 0xFFF; 66 n |= f->right & 0xFFF;
|
/drivers/s390/crypto/ |
H A D | zcrypt_pcicc.h | 41 unsigned char right[4]; /* 0x00000000 */ member in struct:type6_hdr
|
/drivers/video/fbdev/kyro/ |
H A D | STG4000Interface.h | 57 u32 right, u32 bottom);
|
/drivers/staging/lustre/lustre/ldlm/ |
H A D | interval_tree.c | 245 /* The left rotation "pivots" around the link from node to node->right, and 246 * - node will be linked to node->right's left child, and 247 * - node->right's left child will be linked to node's right child. */ 251 struct interval_node *right = node->in_right; local 254 node->in_right = right->in_left; 256 right->in_left->in_parent = node; 258 right->in_left = node; 259 right->in_parent = parent; 262 parent->in_left = right; [all...] |