Searched refs:hstart (Results 1 - 13 of 13) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_bridge.c148 int hstart, hend, vstart, vend; hdmi_bridge_mode_set() local
155 hstart = mode->htotal - mode->hsync_start; hdmi_bridge_mode_set()
161 DBG("htotal=%d, vtotal=%d, hstart=%d, hend=%d, vstart=%d, vend=%d", hdmi_bridge_mode_set()
162 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); hdmi_bridge_mode_set()
169 HDMI_ACTIVE_HSYNC_START(hstart) | hdmi_bridge_mode_set()
/linux-4.4.14/drivers/media/usb/gspca/
H A Dsn9c20x.c112 u8 hstart; member in struct:sd
690 /* HDG Set hstart and hstop, datasheet default 0x11, 0x61, using
691 0x10, 0x61 and sd->hstart, vstart = 3, fixes ugly colored borders */
1102 sd->hstart = 1; ov9650_init_sensor()
1116 sd->hstart = 1; ov9655_init_sensor()
1130 sd->hstart = 60; soi968_init_sensor()
1143 sd->hstart = 3; ov7660_init_sensor()
1157 sd->hstart = 0; ov7670_init_sensor()
1175 sd->hstart = 2; mt9v_init_sensor()
1193 sd->hstart = 2; mt9v_init_sensor()
1216 sd->hstart = 6; mt9v_init_sensor()
1234 sd->hstart = 0; mt9m112_init_sensor()
1246 sd->hstart = 0; mt9m111_init_sensor()
1278 sd->hstart = 1; mt9m001_init_sensor()
1290 sd->hstart = 0; hv7131r_init_sensor()
1894 sd->hstart = 140; configure_sensor_output()
1902 sd->hstart = 60; configure_sensor_output()
1975 #define HW_WIN(mode, hstart, vstart) \
1976 ((const u8 []){hstart, 0, vstart, 0, \
2028 reg_w(gspca_dev, 0x1180, HW_WIN(mode, sd->hstart, sd->vstart), 6); sd_start()
H A Dov534_9.c427 {0x17, 0x1d}, /* hstart*/
586 {0x17, 0x16}, /* hstart */
737 {0x17, 0x16}, /* hstart */
759 {0x17, 0x1d}, /* hstart */
782 {0x17, 0x1d}, /* hstart */
805 {0x17, 0x1d}, /* hstart */
H A Dsonixb.c35 0x12 hstart
400 /* Same as above, except a different hstart */
1153 Also the hstart needs to go from 1 to 2 when using a 103, sd_start()
1157 regs[0x12] = 0x02; /* Set hstart to 2 */ sd_start()
1161 /* For some unknown reason we need to increase hstart by 1 on sd_start()
1173 regs[0x12] += 16; /* hstart adjust */ sd_start()
H A Dsn9c2028.c384 {{0x11, 0x10, 0x06, 0x00, 0x00, 0x00}, 4}, /*hstart or hoffs*/ start_spy_cam()
529 {{0x13, 0x29, 0x01, 0x40, 0x00, 0x00}, 4}, /* hstart? */ start_ms350_cam()
H A Dov519.c1754 * make sense - hstop is less than hstart. But they work...
/linux-4.4.14/drivers/media/i2c/
H A Dov7670.c191 int hstart; /* Start/stop values for the camera. Note */ member in struct:ov7670_win_size
277 * make sense - hstop is less than hstart. But they work...
703 .hstart = 158, /* These values from */
714 .hstart = 170, /* Empirically determined */
725 .hstart = 168, /* Empirically determined */
736 .hstart = 456, /* Empirically determined */
754 .hstart = 158, /* These values from */
873 static int ov7670_set_hw(struct v4l2_subdev *sd, int hstart, int hstop, ov7670_set_hw() argument
879 * Horizontal: 11 bits, top 8 live in hstart and hstop. Bottom 3 of ov7670_set_hw()
880 * hstart are in href[2:0], bottom 3 of hstop in href[5:3]. There is ov7670_set_hw()
883 ret = ov7670_write(sd, REG_HSTART, (hstart >> 3) & 0xff); ov7670_set_hw()
886 v = (v & 0xc0) | ((hstop & 0x7) << 3) | (hstart & 0x7); ov7670_set_hw()
1015 ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart, ov7670_set_fmt()
H A Dmt9v011.c272 unsigned vstart, hstart; set_res() local
285 hstart = 20 + (640 - core->width) / 2; set_res()
286 mt9v011_write(sd, R02_MT9V011_COLSTART, hstart); set_res()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Ddvo_ns2501.c211 uint16_t hstart; /* horizontal start, registers C1/C2 */ member in struct:ns2501_configuration
238 .hstart = 144,
258 .hstart = 215,
277 .hstart = 276,
616 ns2501_writeb(dvo, NS2501_REGC1, conf->hstart & 0xff); ns2501_mode_set()
617 ns2501_writeb(dvo, NS2501_REGC2, conf->hstart >> 8); ns2501_mode_set()
/linux-4.4.14/drivers/media/usb/stkwebcam/
H A Dstk-sensor.c472 int hstart, int hstop, int vstart, int vstop) stk_sensor_set_hw()
477 * Horizontal: 11 bits, top 8 live in hstart and hstop. Bottom 3 of stk_sensor_set_hw()
478 * hstart are in href[2:0], bottom 3 of hstop in href[5:3]. There is stk_sensor_set_hw()
481 ret = stk_sensor_outb(dev, REG_HSTART, (hstart >> 3) & 0xff); stk_sensor_set_hw()
484 v = (v & 0xc0) | ((hstop & 0x7) << 3) | (hstart & 0x7); stk_sensor_set_hw()
471 stk_sensor_set_hw(struct stk_camera *dev, int hstart, int hstop, int vstart, int vstop) stk_sensor_set_hw() argument
/linux-4.4.14/mm/
H A Dhuge_memory.c2130 unsigned long hstart, hend; khugepaged_enter_vma_merge() local
2140 hstart = (vma->vm_start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK; khugepaged_enter_vma_merge()
2142 if (hstart < hend) khugepaged_enter_vma_merge()
2515 unsigned long hstart, hend; collapse_huge_page() local
2548 hstart = (vma->vm_start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK; collapse_huge_page()
2550 if (address < hstart || address + HPAGE_PMD_SIZE > hend) collapse_huge_page()
2772 unsigned long hstart, hend; variable
2784 hstart = (vma->vm_start + ~HPAGE_PMD_MASK) & HPAGE_PMD_MASK;
2786 if (hstart >= hend)
2790 if (khugepaged_scan.address < hstart)
2791 khugepaged_scan.address = hstart;
2800 VM_BUG_ON(khugepaged_scan.address < hstart ||
/linux-4.4.14/drivers/media/i2c/soc_camera/
H A Dmt9t112.c356 u16 hstart = (MAX_HEIGHT - height) / 2; mt9t112_set_a_frame_size() local
367 mt9t112_mcu_write(ret, client, VAR(18, 2), 4 + hstart); mt9t112_set_a_frame_size()
371 mt9t112_mcu_write(ret, client, VAR(18, 6), 11 + height + hstart); mt9t112_set_a_frame_size()
/linux-4.4.14/drivers/media/usb/em28xx/
H A Dem28xx-video.c276 static void em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart, em28xx_capture_area_set() argument
285 hstart, vstart, em28xx_capture_area_set()
289 em28xx_write_regs(dev, EM28XX_R1C_HSTART, &hstart, 1); em28xx_capture_area_set()

Completed in 542 milliseconds