/linux-master/drivers/spi/ |
H A D | spi-s3c64xx.c | 191 * @cur_mode: Stores the active configuration of the controller. 216 unsigned cur_mode, cur_bpw; member in struct:s3c64xx_spi_driver_data 529 && !(sdd->cur_mode & SPI_CPHA)) 713 if (sdd->cur_mode & SPI_CPOL) 716 if (sdd->cur_mode & SPI_CPHA) 741 if ((sdd->cur_mode & SPI_LOOP) && sdd->port_conf->has_loopback) 823 sdd->cur_mode = spi->mode;
|
/linux-master/drivers/memory/tegra/ |
H A D | tegra30-emc.c | 669 u32 cur_mode, new_mode; local 671 cur_mode = fbio_cfg5 & EMC_CFG5_QUSE_MODE_MASK; 672 cur_mode >>= EMC_CFG5_QUSE_MODE_SHIFT; 677 if ((cur_mode != EMC_CFG5_QUSE_MODE_PULSE_INTERN && 678 cur_mode != EMC_CFG5_QUSE_MODE_INTERNAL_LPBK) ||
|
/linux-master/drivers/phy/renesas/ |
H A D | phy-rcar-gen3-usb2.c | 341 enum phy_mode cur_mode, new_mode; local 355 cur_mode = rcar_gen3_get_phy_mode(ch); 358 if (cur_mode == new_mode)
|
/linux-master/drivers/media/i2c/ |
H A D | st-vgxy61.c | 1255 const struct vgxy61_mode_info *cur_mode = sensor->current_mode; local 1289 0xffff - cur_mode->crop.height, 1318 const struct vgxy61_mode_info *cur_mode = sensor->current_mode; local 1335 sensor->line_length - cur_mode->width); 1362 0xffff - cur_mode->crop.height,
|
H A D | ov08x40.c | 1295 const struct ov08x40_mode *cur_mode; member in struct:ov08x40 1581 max = ((ov08x->cur_mode->height + ctrl->val) << 1582 ov08x->cur_mode->exposure_shift) - 1583 ov08x->cur_mode->exposure_margin; 1608 exp = (ctrl->val << ov08x->cur_mode->exposure_shift) - 1609 ov08x->cur_mode->exposure_margin; 1616 fll = ((ov08x->cur_mode->height + ctrl->val) << 1617 ov08x->cur_mode->exposure_shift); 1698 ov08x40_update_pad_format(ov08x->cur_mode, fmt); 1748 ov08x->cur_mode [all...] |
H A D | imx415.c | 604 unsigned int cur_mode; member in struct:imx415 787 u64 pixel_rate = supported_modes[sensor->cur_mode].pixel_rate; 788 u64 lane_rate = supported_modes[sensor->cur_mode].lane_rate; 827 hblank = supported_modes[sensor->cur_mode].hmax_pix - 907 return imx415_set_mode(sensor, sensor->cur_mode); 1310 sensor->cur_mode = j; 1322 lane_rate = supported_modes[sensor->cur_mode].lane_rate; 1333 sensor->cur_mode);
|
H A D | imx355.c | 114 const struct imx355_mode *cur_mode; member in struct:imx355 1167 try_fmt->width = imx355->cur_mode->width; 1168 try_fmt->height = imx355->cur_mode->height; 1189 max = imx355->cur_mode->height + ctrl->val - 10; 1220 imx355->cur_mode->height + ctrl->val); 1308 imx355_update_pad_format(imx355, imx355->cur_mode, fmt); 1359 imx355->cur_mode = mode; 1364 height = imx355->cur_mode->height; 1365 vblank_def = imx355->cur_mode->fll_def - height; 1366 vblank_min = imx355->cur_mode [all...] |
H A D | imx335.c | 150 * @cur_mode: Pointer to current selected sensor mode 174 const struct imx335_mode *cur_mode; member in struct:imx335 531 lpfr = imx335->vblank + imx335->cur_mode->height; 626 imx335->vblank + imx335->cur_mode->height); 631 imx335->cur_mode->height - 778 imx335_fill_pad_format(imx335, imx335->cur_mode, fmt); 820 imx335->cur_mode = mode; 924 reg_list = &imx335->cur_mode->reg_list; 1210 const struct imx335_mode *mode = imx335->cur_mode; 1334 imx335->cur_mode [all...] |
H A D | imx334.c | 137 * @cur_mode: Pointer to current selected sensor mode 159 const struct imx334_mode *cur_mode; member in struct:imx334 664 lpfr = imx334->vblank + imx334->cur_mode->height; 716 imx334->vblank + imx334->cur_mode->height); 721 imx334->cur_mode->height - 886 imx334_fill_pad_format(imx334, imx334->cur_mode, fmt); 925 } else if (imx334->cur_mode != mode || imx334->cur_code != fmt->format.code) { 929 imx334->cur_mode = mode; 954 imx334_fill_pad_format(imx334, imx334->cur_mode, &fmt); 993 reg_list = &imx334->cur_mode [all...] |
H A D | imx319.c | 128 const struct imx319_mode *cur_mode; member in struct:imx319 1869 try_fmt->width = imx319->cur_mode->width; 1870 try_fmt->height = imx319->cur_mode->height; 1891 max = imx319->cur_mode->height + ctrl->val - 18; 1922 imx319->cur_mode->height + ctrl->val); 2010 imx319_update_pad_format(imx319, imx319->cur_mode, fmt); 2061 imx319->cur_mode = mode; 2066 height = imx319->cur_mode->height; 2067 vblank_def = imx319->cur_mode->fll_def - height; 2068 vblank_min = imx319->cur_mode [all...] |
H A D | tw9900.c | 86 const struct tw9900_mode *cur_mode; member in struct:tw9900 194 tw9900_fill_fmt(tw9900->cur_mode, mbus_fmt); 214 tw9900_fill_fmt(tw9900->cur_mode, mbus_fmt); 286 tw9900->cur_mode->reg_list, 287 tw9900->cur_mode->n_regs); 354 tw9900->cur_mode = mode; 397 *std = tw9900->cur_mode->std; 665 tw9900->cur_mode = &supported_modes[0];
|
H A D | ov9734.c | 336 const struct ov9734_mode *cur_mode; member in struct:ov9734 486 exposure_max = ov9734->cur_mode->height + ctrl->val - 516 ov9734->cur_mode->height + ctrl->val); 540 const struct ov9734_mode *cur_mode; local 551 cur_mode = ov9734->cur_mode; 564 vblank_min = cur_mode->vts_min - cur_mode->height; 565 vblank_max = OV9734_VTS_MAX - cur_mode->height; 566 vblank_default = cur_mode [all...] |
H A D | ov9282.c | 165 * @cur_mode: Pointer to current selected sensor mode 187 const struct ov9282_mode *cur_mode; member in struct:ov9282 668 ov9282->vblank + ov9282->cur_mode->height); 673 ov9282->cur_mode->height - 694 lpfr = ov9282->vblank + ov9282->cur_mode->height; 705 (ctrl->val + ov9282->cur_mode->width) >> 1); 820 ov9282_fill_pad_format(ov9282, ov9282->cur_mode, ov9282->code, 868 ov9282->cur_mode = mode; 907 return &ov9282->cur_mode->crop; 987 reg_list = &ov9282->cur_mode [all...] |
H A D | ov8856.c | 1433 const struct ov8856_mode *cur_mode; member in struct:ov8856 1828 exposure_max = ov8856->cur_mode->height + ctrl->val - 1859 ov8856->cur_mode->height + ctrl->val); 1913 ov8856->cur_mode->data_lanes), 1, 1916 ov8856->cur_mode->data_lanes)); 1919 ov8856->cur_mode->vts_min - ov8856->cur_mode->height, 1920 OV8856_VTS_MAX - ov8856->cur_mode->height, 1, 1921 ov8856->cur_mode->vts_def - 1922 ov8856->cur_mode [all...] |
H A D | ov5695.c | 111 const struct ov5695_mode *cur_mode; member in struct:ov5695 825 ov5695->cur_mode = mode; 845 const struct ov5695_mode *mode = ov5695->cur_mode; 911 ret = ov5695_write_array(ov5695->client, ov5695->cur_mode->reg_list); 1095 max = ov5695->cur_mode->height + ctrl->val - 4; 1127 ctrl->val + ov5695->cur_mode->height); 1157 mode = ov5695->cur_mode; 1265 ov5695->cur_mode = &supported_modes[0];
|
H A D | ov5675.c | 511 const struct ov5675_mode *cur_mode; member in struct:ov5675 710 exposure_max = ov5675->cur_mode->height + ctrl->val - 747 ov5675->cur_mode->height + ctrl->val + 805 ov5675->cur_mode->vts_min - ov5675->cur_mode->height, 806 OV5675_VTS_MAX - ov5675->cur_mode->height, 1, 807 ov5675->cur_mode->vts_def - ov5675->cur_mode->height); 808 h_blank = to_pixels_per_line(ov5675->cur_mode->hts, 809 ov5675->cur_mode [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_encoder.c | 1267 struct drm_display_mode *cur_mode = NULL; local 1278 cur_mode = &dpu_enc->base.crtc->state->adjusted_mode; 1282 trace_dpu_enc_enable(DRMID(drm_enc), cur_mode->hdisplay, 1283 cur_mode->vdisplay);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_edid.c | 2932 struct drm_display_mode *t, *cur_mode, *preferred_mode; local 2947 list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) { 2948 cur_mode->type &= ~DRM_MODE_TYPE_PREFERRED; 2950 if (cur_mode == preferred_mode) 2954 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) 2955 preferred_mode = cur_mode; 2957 cur_vrefresh = drm_mode_vrefresh(cur_mode); 2960 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && 2963 preferred_mode = cur_mode;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_mpc.c | 137 uint32_t cur_mode; local 157 MPC_OCSC_TEST_DEBUG_DATA_OCSC_MODE, &cur_mode); 159 if (cur_mode != MPC_OUTPUT_CSC_COEF_A) 191 uint32_t cur_mode; local 215 MPC_OCSC_TEST_DEBUG_DATA_OCSC_MODE, &cur_mode); 217 if (cur_mode != MPC_OUTPUT_CSC_COEF_A)
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dpp_cm.c | 257 uint32_t cur_mode; local 273 CM_TEST_DEBUG_DATA_ID9_OCSC_MODE, &cur_mode); 275 if (cur_mode != 4)
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 1416 u32 new_mode, cur_mode; local 1421 cur_mode = REG_RD(bp, emac_base + EMAC_REG_EMAC_MDIO_MODE); 1428 if (((cur_mode & EMAC_MDIO_MODE_CLOCK_CNT) == clc_cnt) && 1429 (cur_mode & (EMAC_MDIO_MODE_CLAUSE_45))) 1432 new_mode = cur_mode & 1438 cur_mode, new_mode);
|
/linux-master/sound/soc/codecs/ |
H A D | aw88399.c | 1021 profctrl_desc->cur_mode = AW88399_RCV_MODE; 1023 profctrl_desc->cur_mode = AW88399_NOT_RCV_MODE;
|
/linux-master/sound/soc/codecs/aw88395/ |
H A D | aw88395_device.h | 102 unsigned int cur_mode; member in struct:aw_profctrl_desc
|
/linux-master/drivers/ufs/host/ |
H A D | ufs-exynos.c | 1268 u32 cur_mode = 0; local 1276 ufshcd_dme_get(hba, UIC_ARG_MIB(PA_PWRMODE), &cur_mode); 1277 if (cur_mode != (pwrmode << 4 | pwrmode)) { 1279 hba->pwr_info.pwr_rx = (cur_mode >> 4) & 0xf; 1280 hba->pwr_info.pwr_tx = cur_mode & 0xf;
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe.h | 902 enum xgbe_mode (*cur_mode)(struct xgbe_prv_data *); member in struct:xgbe_phy_impl_if
|