/linux-master/drivers/input/mouse/ |
H A D | cypress_ps2.c | 479 report_data->right = (header_byte & BTN_RIGHT_BIT) ? 1 : 0; 505 psmouse_dbg(psmouse, "right = %d\n", report_data->right); 552 input_report_key(input, BTN_RIGHT, report_data.right);
|
H A D | cypress_ps2.h | 147 unsigned int right:1; member in struct:cytp_report_data
|
H A D | gpio_mouse.c | 22 * @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 D | hgpk.c | 282 * swr/swl are the left/right buttons. 301 * swr/swl are the left/right buttons. 347 int right = !!(packet[3] & 2); local 371 left, right, x, y); 375 input_report_key(idev, BTN_RIGHT, right); 413 hgpk_spewing_hack(psmouse, left, right, x_diff, y_diff); 430 int right = (packet[0] >> 1) & 1; local 445 hgpk_spewing_hack(psmouse, left, right, x, y); 449 left, right, x, y); 452 input_report_key(dev, BTN_RIGHT, right); [all...] |
H A D | synaptics.c | 801 hw->right = (buf[0] & 0x02) ? 1 : 0; 870 hw->right = (buf[0] & 0x02) ? 1 : 0; 975 input_report_key(dev, BTN_RIGHT, hw->right); 1437 * On some boxes, right after resuming, the touchpad
|
H A D | vsxxxaa.c | 197 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/input/tablet/ |
H A D | aiptek.c | 283 int mouseButtonRight; /* mouse right btn delivers... */ 419 int retval, macro, x, y, z, left, right, middle, p, dv, tip, bs, pck; local 472 right = (data[1] & aiptek->curSetting.mouseButtonRight >> 2) != 0 ? 1 : 0; 477 input_report_key(inputdev, BTN_RIGHT, right); 603 right = (data[5] & aiptek->curSetting.mouseButtonRight) != 0 ? 1 : 0; 627 input_report_key(inputdev, BTN_RIGHT, right); 700 right = (data[1] & aiptek->curSetting.mouseButtonRight) != 0 ? 1 : 0; 1430 { "right", AIPTEK_MOUSE_RIGHT_BUTTON },
|
/linux-master/drivers/leds/ |
H A D | leds-el15203000.c | 157 bool inv, bool right) 165 val = right ? BIT(4) : BIT(0); 174 val = right ? val >> 1 : val << 1; 156 is_cascade(const struct led_pattern *pattern, u32 len, bool inv, bool right) argument
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 29 * Each node may have a left or right sibling. When decending the spine, 37 * ==> rebalance(node, right sibling) 39 * [C] No right sibling 42 * [D] Both siblings, total_entries(left, node, right) <= DEL_THRESHOLD 43 * ==> delete node adding it's contents to left and right 45 * [E] Both siblings, total_entries(left, node, right) > DEL_THRESHOLD 46 * ==> rebalance(left, node, right) 86 static int node_copy(struct btree_node *left, struct btree_node *right, int shift) argument 91 if (value_size != le32_to_cpu(right->header.value_size)) { 105 key_ptr(right, 192 shift(struct btree_node *left, struct btree_node *right, int count) argument 241 struct btree_node *right = r->n; local 284 struct child left, right; local 311 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 351 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 423 struct btree_node *right = r->n; local 451 struct child left, center, right; local [all...] |
H A D | dm-btree.c | 553 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/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 2372 unsigned right = params->right_pillar_start; local 2377 right - left); 2385 memcpy(vbuf + right - twopixsize,
|
/linux-master/drivers/media/i2c/ |
H A D | tvaudio.c | 314 * right now it is used only to check the audio mode (mono/stereo/whatever) 484 #define TDA9855_VR 0x00 /* Volume, right */ 548 #define TDA985x_MONOSAP 2<<6 /* Selects Mono on left, SAP on right */ 1214 chip_write(chip, TDA9875_MVR, 0x03); /* Vol Main right 10dB*/ 1219 chip_write(chip, TDA9875_AVR, 0x00); /* Vol Aux right 0dB*/ 1262 #define TEA6300_VR 0x01 /* volume right */ 1274 #define TEA6320_FFR 0x01 /* fader front right (0-5) */ 1276 #define TEA6320_FRR 0x03 /* fader rear right (0-5) */ 1317 #define TDA8425_VR 0x01 /* volume right */ 1760 u32 left, right; local [all...] |
/linux-master/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 650 u16 right = value->value.integer.value[1]; local 654 if (left >= right) { 656 b = left ? (0x8000 * right) / left : 0x8000; 658 v = right << 10; 659 b = right ? 0xffff - (0x8000 * left) / right : 0x8000; 671 int left, right, v, b; local 679 right = value->value.integer.value[1] & 0x3f; 680 b = right - left; 685 v = 0x3f - right; [all...] |
/linux-master/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 379 int left, int right, bool force_notify) 392 active = left != 0 || right != 0; 399 chip->capture_source[1] != right; 402 chip->capture_source[1] = right; 456 if (left || right) { 490 * Called right after the capture device is opened, this function configures 657 * Called on initialization, right before the PCM preparation 933 int left, right; local 940 right = ucontrol->value.integer.value[1]; 941 if (right < 378 snd_saa7134_capsrc_set(struct snd_kcontrol *kcontrol, int left, int right, bool force_notify) argument 1034 int left, right; local [all...] |
H A D | saa7134-tvaudio.c | 319 __s32 left,right,value; local 354 right = saa_readl(SAA7134_LEVEL_READOUT1 >> 2); 357 right >>= 16; 358 value = left > right ? left - right : right - left; 361 scan->name, value, left, right); 564 /* Note: at least the primary carrier is right here */
|
/linux-master/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-hw.c | 602 info->pic_crop_rect.right = reg_val & 0xffff;
|
H A D | wave5-vpu-dec.c | 394 initial_info->pic_crop_rect.left - initial_info->pic_crop_rect.right;
|
H A D | wave5-vpuapi.c | 495 rect_info.right = 0; 530 info->rc_display.right = 0;
|
H A D | wave5-vpuapi.h | 353 unsigned int right; /* horizontal pixel offset from right edge */ member in struct:vpu_rect 492 u32 conf_win_right; /* right offset of conformance window */
|
/linux-master/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-comp.c | 365 csf_r = CFG_COMP(MT8183, ctx->param, subfrms[index].in.right); 368 csf_r = CFG_COMP(MT8195, ctx->param, subfrms[index].in.right); 510 csf_r = CFG_COMP(MT8183, ctx->param, subfrms[index].in.right); 513 csf_r = CFG_COMP(MT8195, ctx->param, subfrms[index].in.right); 630 csf_r = CFG_COMP(MT8183, ctx->param, subfrms[index].in.right); 633 csf_r = CFG_COMP(MT8195, ctx->param, subfrms[index].in.right); 1210 csf_r = CFG_COMP(MT8183, ctx->param, subfrms[index].in.right);
|
H A D | mtk-mdp3-regs.c | 235 s32 left, top, right, bottom; local 244 right = s->r.left + s->r.width; 260 ret = mdp_clamp_start(&left, 0, right, walign, s->flags); 266 ret = mdp_clamp_end(&right, left, framew, walign, s->flags); 275 r->width = right - left;
|
H A D | mtk-mdp3-type.h | 30 s32 right; member in struct:img_region
|
/linux-master/drivers/media/platform/samsung/s5p-g2d/ |
H A D | g2d-hw.c | 37 n |= f->right & 0xFFF; 62 n |= f->right & 0xFFF;
|
H A D | g2d.c | 67 .right = DEFAULT_WIDTH, 393 frm->right = frm->width; 497 f->right = f->o_width + f->c_width;
|
H A D | g2d.h | 47 u32 right; member in struct:g2d_frame
|