Home
last modified time | relevance | path

Searched refs:min_width (Results 1 – 76 of 76) sorted by relevance

/linux-4.1.27/drivers/hid/
Dhid-ntrig.c27 static unsigned int min_width; variable
28 module_param(min_width, uint, 0644);
29 MODULE_PARM_DESC(min_width, "Minimum touch contact width to accept.");
79 __u16 min_width; member
227 return sprintf(buf, "%d\n", nd->min_width * in show_min_width()
247 nd->min_width = val * nd->sensor_logical_width / in set_min_width()
253 static DEVICE_ATTR(min_width, S_IWUSR | S_IRUGO, show_min_width, set_min_width);
488 nd->min_width = min_width * in ntrig_input_mapping()
680 if (nd->w < nd->min_width || in ntrig_event()
912 nd->min_width = 0; in ntrig_probe()
/linux-4.1.27/include/media/
Dov7670.h14 int min_width; /* Filter out smaller sizes */ member
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-vip.c307 fse->min_width = XVIP_MIN_WIDTH; in xvip_enum_frame_size()
315 fse->min_width = format->width; in xvip_enum_frame_size()
Dxilinx-dma.c543 unsigned int min_width; in __xvip_dma_try_format() local
566 min_width = roundup(XVIP_DMA_MIN_WIDTH, align); in __xvip_dma_try_format()
570 pix->width = clamp(width, min_width, max_width) / info->bpp; in __xvip_dma_try_format()
Dxilinx-tpg.c338 fse->min_width = XVIP_MIN_WIDTH; in xtpg_enum_frame_size()
343 fse->min_width = format->width; in xtpg_enum_frame_size()
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_hsit.c89 fse->min_width = HSIT_MIN_SIZE; in hsit_enum_frame_size()
97 fse->min_width = format->width; in hsit_enum_frame_size()
Dvsp1_lut.c130 fse->min_width = LUT_MIN_SIZE; in lut_enum_frame_size()
138 fse->min_width = format->width; in lut_enum_frame_size()
Dvsp1_lif.c122 fse->min_width = LIF_MIN_SIZE; in lif_enum_frame_size()
127 fse->min_width = format->width; in lif_enum_frame_size()
Dvsp1_rwpf.c58 fse->min_width = RWPF_MIN_WIDTH; in vsp1_rwpf_enum_frame_size()
66 fse->min_width = format->width; in vsp1_rwpf_enum_frame_size()
Dvsp1_uds.c217 fse->min_width = UDS_MIN_SIZE; in uds_enum_frame_size()
222 uds_output_limits(format->width, &fse->min_width, in uds_enum_frame_size()
Dvsp1_sru.c213 fse->min_width = SRU_MIN_SIZE; in sru_enum_frame_size()
218 fse->min_width = format->width; in sru_enum_frame_size()
Dvsp1_bru.c224 fse->min_width = BRU_MIN_SIZE; in bru_enum_frame_size()
/linux-4.1.27/drivers/media/platform/omap3isp/
Dispresizer.c790 unsigned int min_width; in resizer_calc_ratios() local
830 min_width = ((input->width - 7) * 256 - 32 - 64 * sph) / 1024 + 1; in resizer_calc_ratios()
831 min_width = max_t(unsigned int, min_width, MIN_OUT_WIDTH); in resizer_calc_ratios()
875 output->width = clamp(output->width, min_width, in resizer_calc_ratios()
1194 unsigned int min_width = in resizer_try_crop() local
1203 crop->width = clamp_t(u32, crop->width, min_width, max_width); in resizer_try_crop()
1455 fse->min_width = format.width; in resizer_enum_frame_size()
Dispccdc.c141 unsigned int min_width, min_height, min_size; in ccdc_lsc_validate_config() local
171 min_width = ((input_width + lsc_cfg->initial_x + paxel_width - 1) in ccdc_lsc_validate_config()
178 min_size = 4 * min_width * min_height; in ccdc_lsc_validate_config()
183 if (lsc_cfg->offset < (min_width * 4)) { in ccdc_lsc_validate_config()
2199 fse->min_width = format.width; in ccdc_enum_frame_size()
Dispccp2.c727 fse->min_width = format.width; in ccp2_enum_frame_size()
Dispcsi2.c954 fse->min_width = format.width; in csi2_enum_frame_size()
Disppreview.c1909 fse->min_width = format.width; in preview_enum_frame_size()
/linux-4.1.27/drivers/media/i2c/
Dov7670.c230 int min_width; /* Filter out smaller sizes */ member
942 if (info->min_width || info->min_height) in ov7670_try_fmt_internal()
946 if (wsize->width < info->min_width || in ov7670_try_fmt_internal()
1107 if (info->min_width && win->width < info->min_width) in ov7670_enum_frame_size()
1112 fse->min_width = fse->max_width = win->width; in ov7670_enum_frame_size()
1545 info->min_width = config->min_width; in ov7670_probe()
Dmt9t001.c347 fse->min_width = (MT9T001_WINDOW_WIDTH_DEF + 1) / fse->index; in mt9t001_enum_frame_size()
348 fse->max_width = fse->min_width; in mt9t001_enum_frame_size()
Dov2659.c1035 fse->min_width = ov2659_framesizes[fse->index].width; in ov2659_enum_frame_sizes()
1036 fse->max_width = fse->min_width; in ov2659_enum_frame_sizes()
Dmt9v032.c471 fse->min_width = MT9V032_WINDOW_WIDTH_DEF / (1 << fse->index); in mt9v032_enum_frame_size()
472 fse->max_width = fse->min_width; in mt9v032_enum_frame_size()
Dmt9p031.c498 fse->min_width = MT9P031_WINDOW_WIDTH_DEF in mt9p031_enum_frame_size()
500 fse->max_width = fse->min_width; in mt9p031_enum_frame_size()
Dov9650.c1095 fse->min_width = ov965x_framesizes[fse->index].width; in ov965x_enum_frame_sizes()
1096 fse->max_width = fse->min_width; in ov965x_enum_frame_sizes()
Dmt9m032.c337 fse->min_width = MT9M032_COLUMN_SIZE_DEF; in mt9m032_enum_frame_size()
Ds5k5baf.c1234 fse->min_width = S5K5BAF_CIS_WIDTH; in s5k5baf_enum_frame_size()
1246 fse->min_width = S5K5BAF_WIN_WIDTH_MIN; in s5k5baf_enum_frame_size()
Ds5k6aa.c1050 fse->min_width = S5K6AA_WIN_WIDTH_MIN; in s5k6aa_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.h57 int min_width; member
Datmel_hlcdc_dc.c127 .min_width = 0,
269 dev->mode_config.min_width = dc->desc->min_width; in atmel_hlcdc_dc_modeset_init()
/linux-4.1.27/include/uapi/linux/
Dv4l2-subdev.h93 __u32 min_width; member
Dvideodev2.h578 __u32 min_width; /* Minimum frame width [pixel] */ member
1251 __u32 min_width; member
/linux-4.1.27/drivers/gpu/drm/shmobile/
Dshmob_drm_kms.c151 sdev->ddev->mode_config.min_width = 0; in shmob_drm_modeset_init()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c189 dev->mode_config.min_width = 0; in rockchip_drm_mode_config_init()
/linux-4.1.27/Documentation/input/
Dntrig.txt31 min_width both to decide activation and during activity
97 Contacts continue to be filtered with min_height and min_width even after
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c275 dev->mode_config.min_width = 0; in exynos_drm_mode_config_init()
/linux-4.1.27/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1242 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_enum_frame_size()
1243 fse->max_width = fse->min_width; in s5c73m3_enum_frame_size()
1281 fse->max_width = fse->min_width = w; in s5c73m3_oif_enum_frame_size()
1301 fse->min_width = s5c73m3_resolutions[idx][fse->index].width; in s5c73m3_oif_enum_frame_size()
1302 fse->max_width = fse->min_width; in s5c73m3_oif_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_drv.c118 dev->mode_config.min_width = 0; in sti_drm_mode_config_init()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c1587 if (fse.min_width == fse.max_width && in mcam_vidioc_enum_framesizes()
1590 sizes->discrete.width = fse.min_width; in mcam_vidioc_enum_framesizes()
1595 sizes->stepwise.min_width = fse.min_width; in mcam_vidioc_enum_framesizes()
1885 .min_width = 320,
/linux-4.1.27/include/uapi/drm/
Ddrm_mode.h127 __u32 min_width, max_width; member
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_modeset.c442 dev->mode_config.min_width = 640; in udl_modeset_init()
/linux-4.1.27/drivers/media/platform/davinci/
Dvpbe_display.c579 int min_width = 32; in vpbe_try_format() local
609 min_width /= bpp; in vpbe_try_format()
611 if (!pixfmt->width || (pixfmt->width < min_width) || in vpbe_try_format()
Dvpfe_capture.c818 u32 min_height = 1, min_width = 32, max_width, max_height; in vpfe_check_format() local
895 min_width /= vpfe_pix_fmt->bpp; in vpfe_check_format()
900 pixfmt->width = clamp((pixfmt->width), min_width, max_width); in vpfe_check_format()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_main.c447 dev->mode_config.min_width = 0; in ast_driver_load()
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss_ipipe.c284 fse->min_width = format.width; in ipipe_enum_frame_size()
Diss_ipipeif.c496 fse->min_width = format.width; in ipipeif_enum_frame_size()
Diss_resizer.c558 fse->min_width = format.width; in resizer_enum_frame_size()
Diss_csi2.c947 fse->min_width = format.width; in csi2_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_drv.c146 dev->mode_config.min_width = 320; in armada_drm_load()
/linux-4.1.27/drivers/input/mouse/
Delan_i2c_core.c850 unsigned int min_width = min(data->width_x, data->width_y); in elan_setup_input_device() local
891 ETP_FINGER_WIDTH * min_width, 0, 0); in elan_setup_input_device()
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_camera.c1916 if (fse.min_width == fse.max_width && in default_enum_framesizes()
1919 fsize->discrete.width = fse.min_width; in default_enum_framesizes()
1924 fsize->stepwise.min_width = fse.min_width; in default_enum_framesizes()
/linux-4.1.27/drivers/gpu/drm/imx/
Dimx-drm-core.c264 drm->mode_config.min_width = 64; in imx_drm_driver_load()
/linux-4.1.27/drivers/media/usb/gspca/
Dstk1135.c637 fsize->stepwise.min_width = 32; in stk1135_enum_framesizes()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-driver.c2001 __s32 min_width; in limit_scaled_size_lock() local
2022 min_width = 48; in limit_scaled_size_lock()
2045 min_width = c->min_scaled_width; in limit_scaled_size_lock()
2053 min_width = (min_width - width_mask - 1) & width_mask; in limit_scaled_size_lock()
2062 *width = clamp(*width, min_width, max_width); in limit_scaled_size_lock()
2078 if (*width < min_width || in limit_scaled_size_lock()
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c667 dev->mode_config.min_width = 0; in rcar_du_modeset_init()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-dv-timings.c163 bt->width < cap->min_width || in v4l2_valid_dv_timings()
Dv4l2-ioctl.c724 p->bt.min_width, p->bt.max_width, in v4l_print_dv_timings_cap()
753 p->stepwise.min_width, p->stepwise.min_height, in v4l_print_frmsizeenum()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c90 dev->mode_config.min_width = 0; in modeset_init()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_drv.c317 dev->mode_config.min_width = 32; in omap_modeset_init()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dframebuffer.c774 dev->mode_config.min_width = 0; in psb_modeset_init()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-video.c1782 &fsize->stepwise.min_width, &fsize->stepwise.min_height); in vidioc_enum_framesizes()
1783 if (fsize->stepwise.min_width < 48) in vidioc_enum_framesizes()
1784 fsize->stepwise.min_width = 48; in vidioc_enum_framesizes()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_display.c455 dev->mode_config.min_width = 0; in nouveau_display_create()
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_drv.c334 dev->mode_config.min_width = 0; in msm_load()
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddm365_ipipeif.c657 fse->min_width = format.width; in ipipeif_enum_frame_size()
Ddm365_ipipe.c1552 fse->min_width = format.width; in ipipe_enum_frame_size()
Ddm365_isif.c1494 fse->min_width = format.format.width; in isif_enum_frame_size()
Ddm365_resizer.c1487 fse->min_width = format.width; in resizer_enum_frame_size()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_crtc.c1877 card_res->min_width = dev->mode_config.min_width; in drm_mode_getresources()
3329 if ((config->min_width > r->width) || (r->width > config->max_width)) { in internal_framebuffer_create()
3331 r->width, config->min_width, config->max_width); in internal_framebuffer_create()
/linux-4.1.27/include/drm/
Ddrm_crtc.h1095 int min_width, min_height; member
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddrm.c148 drm->mode_config.min_width = 0; in tegra_drm_load()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dhdmi_drv.c698 cap->bt.min_width = 720; in hdmi_dv_timings_cap()
/linux-4.1.27/drivers/media/usb/hdpvr/
Dhdpvr-video.c736 cap->bt.min_width = 720; in vidioc_dv_timings_cap()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_display.c1102 qdev->ddev->mode_config.min_width = 320; in qxl_modeset_init()
/linux-4.1.27/drivers/media/platform/
Dvia-camera.c1138 sizes->stepwise.min_width = QCIF_WIDTH; in viacam_enum_framesizes()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c1471 dev->mode_config.min_width = 1; in vmw_kms_init()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-vid-cap.c1732 fsize->stepwise.min_width = MIN_WIDTH; in vidioc_enum_framesizes()
/linux-4.1.27/drivers/media/platform/am437x/
Dam437x-vpfe.c1664 fse.index, fse.code, fse.min_width, fse.max_width, in vpfe_enum_size()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_display.c13773 dev->mode_config.min_width = 0; in intel_modeset_init()