Searched defs:x1 (Results 1 - 25 of 30) sorted by relevance

12

/drivers/staging/omapdrm/
H A Dtcm-sita.h87 void assign(struct tcm_area *a, u16 x0, u16 y0, u16 x1, u16 y1) argument
91 a->p1.x = x1;
H A Domap_dmm_tiler.h34 u32 x1:8; member in struct:pat_area
H A Domap_dmm_tiler.c181 int columns = (1 + area->x1 - area->x0);
284 .x1 = slice.p1.x, .y1 = slice.p1.y,
735 static int map_width(int xdiv, int x0, int x1) argument
737 return (x1 / xdiv) - (x0 / xdiv) + 1;
740 static void text_map(char **map, int xdiv, char *nice, int yd, int x0, int x1) argument
743 int w = (map_width(xdiv, x0, x1) - strlen(nice)) / 2;
/drivers/input/touchscreen/
H A Dmc13783_ts.c74 int x0, x1, x2, y0, y1, y2; local
82 x1 = priv->sample[1] & 0xfff;
92 x0, x1, x2, y0, y1, y2, cr0, cr1);
94 sort3(x0, x1, x2);
104 input_report_abs(idev, ABS_X, x1);
108 x1, y1, 0x1000 - cr0);
/drivers/video/nvidia/
H A Dnv_accel.c187 static void NVSetClippingRectangle(struct fb_info *info, int x1, int y1, argument
192 int w = x2 - x1 + 1;
195 NVDmaNext(par, (y1 << 16) | x1);
213 NV_WR32(&par->dmaBase[0x1 + SKIPS], 0, 0x80000010);
/drivers/gpu/drm/radeon/
H A Devergreen_blit_kms.c220 set_scissors(struct radeon_device *rdev, int x1, int y1, argument
226 x1 = 1;
236 radeon_ring_write(ring, (x1 << 0) | (y1 << 16));
241 radeon_ring_write(ring, (x1 << 0) | (y1 << 16) | (1 << 31));
246 radeon_ring_write(ring, (x1 << 0) | (y1 << 16) | (1 << 31));
H A Dr600_blit.c37 #define FMT_8 0x1
40 #define COLOR_8 0x1
262 set_scissors(drm_radeon_private_t *dev_priv, int x1, int y1, int x2, int y2) argument
270 OUT_RING((x1 << 0) | (y1 << 16));
275 OUT_RING((x1 << 0) | (y1 << 16) | (1 << 31));
280 OUT_RING((x1 << 0) | (y1 << 16) | (1 << 31));
H A Dr600_blit_kms.c233 set_scissors(struct radeon_device *rdev, int x1, int y1, argument
239 radeon_ring_write(ring, (x1 << 0) | (y1 << 16));
244 radeon_ring_write(ring, (x1 << 0) | (y1 << 16) | (1 << 31));
249 radeon_ring_write(ring, (x1 << 0) | (y1 << 16) | (1 << 31));
/drivers/media/dvb/pt1/
H A Dva1j5jf8007s.c58 s32 word, x1, x2, x3, x4, x5, y; local
88 x1 = int_sqrt(word << 16) * ((15625ll << 21) / 1000000);
89 x2 = (s64)x1 * x1 >> 31;
90 x3 = (s64)x2 * x1 >> 31;
92 x5 = (s64)x4 * x1 >> 31;
95 y -= (s64)x1 * ((89565ll << 24) / 1000) >> 30;
/drivers/misc/
H A Dbmp085.c204 long x1, x2; local
211 x1 = ((data->raw_temperature - cali->AC6) * cali->AC5) >> 15;
212 x2 = (cali->MC << 11) / (x1 + cali->MD);
213 data->b6 = x1 + x2 - 4000;
216 *temperature = (x1+x2+8) >> 4;
231 s32 x1, x2, x3, b3; local
248 x1 = (data->b6 * data->b6) >> 12;
249 x1 *= cali->B2;
250 x1 >>= 11;
255 x3 = x1
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fb.c61 unsigned x1; member in struct:vmw_fb_par::__anon819
229 x = par->dirty.x1;
233 par->dirty.x1 = par->dirty.x2 = 0;
261 unsigned x1, unsigned y1,
266 unsigned x2 = x1 + width;
270 if (par->dirty.x1 == par->dirty.x2) {
271 par->dirty.x1 = x1;
280 if (x1 < par->dirty.x1)
260 vmw_fb_dirty_mark(struct vmw_fb_par *par, unsigned x1, unsigned y1, unsigned width, unsigned height) argument
[all...]
H A Dvmwgfx_kms.c36 int x1, x2, y1, y2; member in struct:vmw_clip_rect
52 int x1 = max_t(int, clip.x1, rects[i].x1); local
57 if (x1 >= x2)
62 out_rects[k].left = x1;
471 left = clips->x1;
479 left = min_t(int, left, (int)clips_ptr->x1);
497 tmp[i].x1 = clips_ptr->x1
[all...]
/drivers/input/mouse/
H A Delantech.c271 * byte 2: x7 x6 x5 x4 x3 x2 x1 x0
309 /* x1 < x2 and y1 < y2 when two fingers, x = y = 0 when not pressed */
312 unsigned int x1, unsigned int y1,
315 elantech_set_slot(dev, 0, num_fingers != 0, x1, y1);
328 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; local
346 * byte 2: x7 x6 x5 x4 x4 x2 x1 x0
348 x1 = ((packet[1] & 0x0f) << 8) | packet[2];
366 x1 = (((packet[0] & 0x10) << 4) | packet[1]) << 2;
387 input_report_abs(dev, ABS_X, x1);
390 elantech_report_semi_mt_data(dev, fingers, x1, y
310 elantech_report_semi_mt_data(struct input_dev *dev, unsigned int num_fingers, unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2) argument
415 unsigned int fingers = 0, x1 = 0, y1 = 0, x2 = 0, y2 = 0; local
[all...]
H A Dalps.c267 * These points are returned in x1, y1, x2, and y2 when the return value
271 int *x1, int *y1, int *x2, int *y2)
287 *x1 = *y1 = *x2 = *y2 = 0;
358 *x1 = (ALPS_V3_X_MAX * (2 * x_low.start_bit + x_low.num_bits - 1)) /
385 int x1, int y1, int x2, int y2)
387 alps_set_slot(dev, 0, num_fingers != 0, x1, y1);
459 int x1 = 0, y1 = 0, x2 = 0, y2 = 0; local
486 &x1, &y1, &x2, &y2);
544 x1 = x;
554 alps_report_semi_mt_data(dev, fingers, x1, y
270 alps_process_bitmap(unsigned int x_map, unsigned int y_map, int *x1, int *y1, int *x2, int *y2) argument
384 alps_report_semi_mt_data(struct input_dev *dev, int num_fingers, int x1, int y1, int x2, int y2) argument
[all...]
/drivers/media/video/uvc/
H A Duvc_video.c603 u32 x1, x2; local
620 x1 = first->dev_stc - delta_stc;
622 if (x1 == x2)
631 - (u64)y2 * (u64)x1;
632 y = div_u64(y, x2 - x1);
637 "(x1 %u x2 %u y1 %u y2 %u SOF offset %u)\n",
641 x1, x2, y1, y2, clock->sof_offset);
644 x1 = (uvc_video_clock_host_sof(first) + 2048) << 16;
646 if (x2 < x1)
648 if (x1
[all...]
/drivers/sbus/char/
H A Djsflash.c139 unsigned int x1, x2; local
142 x1 = jsf_inl(p);
144 if ((x1 & 0x40404040) == (x2 & 0x40404040)) return;
/drivers/video/
H A Dhpfb.c125 static void topcat_blit(int x0, int y0, int x1, int y1, int w, int h, int rr) argument
138 out_be16(fb_regs + DEST_X, x1);
H A Dxen-fbfront.c42 int x1, y1, x2, y2; /* dirty rectangle, member in struct:xenfb_info
138 int x1, int y1, int w, int h)
141 int x2 = x1 + w - 1;
156 if (info->x1 < x1)
157 x1 = info->x1;
163 info->x1 = x1;
172 info->x1
137 xenfb_refresh(struct xenfb_info *info, int x1, int y1, int w, int h) argument
[all...]
/drivers/media/dvb/ttpci/
H A Dav7110_hw.c993 int x1, int y1, int inc, u8 __user * data)
999 w = x1 - x0 + 1;
1061 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1);
1084 ret = OSDSetColor(av7110, dc->color, dc->x0, dc->y0, dc->x1, dc->y1);
1116 ret = OSDSetBlock(av7110, dc->x0, dc->y0, dc->x1, dc->y1, dc->color, dc->data);
1120 dc->x1-dc->x0+1, dc->y1, dc->color);
1124 dc->x1 - dc->x0 + 1, dc->y1 - dc->y0 + 1, dc->color);
1128 dc->x0, dc->y0, dc->x1 - dc->x0, dc->y1 - dc->y0, dc->color);
1139 if (dc->x1 > 3)
1140 dc->x1
992 OSDSetBlock(struct av7110 *av7110, int x0, int y0, int x1, int y1, int inc, u8 __user * data) argument
[all...]
/drivers/media/video/
H A Dw9966.c459 static int w9966_setup(struct w9966 *cam, int x1, int y1, int x2, int y2, int w, int h) argument
478 w &= ~0x1;
495 if (w9966_calcscale(w, W9966_WND_MIN_X, W9966_WND_MAX_X, &x1, &x2, &scale_x) != 0 ||
500 w, h, x1, x2, y1, y2, scale_x & ~0x80, scale_y & ~0x80);
509 regs[0x04] = (x1 & 0x0ff); /* X-start (8 low bits) */
510 regs[0x05] = (x1 & 0x300)>>8; /* X-start (2 high bits) */
/drivers/net/wireless/ath/carl9170/
H A Dphy.c436 0x2, 0x2, 0x2, 0x1, 0x2, 0x2, 0x6, 0x2,
1068 static s32 carl9170_interpolate_s32(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) argument
1075 if (x == x1)
1080 /* x1 == x2 is bad, hopefully == x */
1081 if (x2 == x1)
1084 return y1 + (((y2 - y1) * (x - x1)) / (x2 - x1));
1087 static u8 carl9170_interpolate_u8(u8 x, u8 x1, u8 y1, u8 x2, u8 y2) argument
1092 y = carl9170_interpolate_s32(x << SHIFT, x1 << SHIFT,
/drivers/video/omap2/dss/
H A Dti_hdmi_4xxx_ip.c104 r = FLD_MOD(r, 0x1, 13, 13); /* PLL_REFEN */
125 REG_FLD_MOD(pll_base, PLLCTRL_PLL_GO, 0x1, 0, 0);
289 REG_FLD_MOD(phy_base, HDMI_TXPHY_TX_CTRL, 0x1, 31, 30);
298 REG_FLD_MOD(phy_base, HDMI_TXPHY_PAD_CFG_CTRL, 0x1, 27, 27);
544 REG_FLD_MOD(hdmi_core_sys_base(ip_data), HDMI_CORE_SYS_SRST, 0x1, 0, 0); local
/drivers/media/dvb/frontends/
H A Dsi21xx.c713 unsigned int x1; local
771 x1 = ((rf_freq - lnb_lo) / (afs[i] * 2500)) *
777 if (((band_low < x1) && (x1 < band_high)) ||
784 x1 = ((rf_freq - lnb_lo) / (afs[i] * 5000)) *
790 if (((band_low < x1) && (x1 < band_high)) ||
/drivers/net/wireless/iwlegacy/
H A D4965.c662 il4965_interpolate_value(s32 x, s32 x1, s32 y1, s32 x2, s32 y2) argument
666 if (x2 == x1)
669 il4965_math_div_round((x2 - x) * (y1 - y2), (x2 - x1), &val);
971 {110, 0x1},
972 {104, 0x1},
973 {98, 0x1},
/drivers/staging/comedi/drivers/
H A Dusbdux.c2167 static int usbdux_pwm_read(struct comedi_device *x1, argument

Completed in 551 milliseconds

12