Lines Matching refs:FLD_VAL
38 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) macro
210 (FLD_VAL(lvmx03, 29, 24) | FLD_VAL(lvmx02, 20, 16) | \
211 FLD_VAL(lvmx01, 12, 8) | FLD_VAL(lvmx00, 4, 0))
362 tc35876x_regw(i2c, PPI_TX_RX_TA, FLD_VAL(txtagocnt, 26, 16) | in tc35876x_configure_lvds_bridge()
363 FLD_VAL(txtasurecnt, 10, 0)); in tc35876x_configure_lvds_bridge()
364 tc35876x_regw(i2c, PPI_LPTXTIMECNT, FLD_VAL(ppi_lptxtimecnt, 10, 0)); in tc35876x_configure_lvds_bridge()
366 tc35876x_regw(i2c, PPI_D0S_CLRSIPOCOUNT, FLD_VAL(1, 5, 0)); in tc35876x_configure_lvds_bridge()
367 tc35876x_regw(i2c, PPI_D1S_CLRSIPOCOUNT, FLD_VAL(1, 5, 0)); in tc35876x_configure_lvds_bridge()
368 tc35876x_regw(i2c, PPI_D2S_CLRSIPOCOUNT, FLD_VAL(1, 5, 0)); in tc35876x_configure_lvds_bridge()
369 tc35876x_regw(i2c, PPI_D3S_CLRSIPOCOUNT, FLD_VAL(1, 5, 0)); in tc35876x_configure_lvds_bridge()
380 tc35876x_regw(i2c, LVPHY0, FLD_VAL(1, 20, 16) | in tc35876x_configure_lvds_bridge()
381 FLD_VAL(2, 15, 14) | FLD_VAL(6, 4, 0)); /* 0x00048006 */ in tc35876x_configure_lvds_bridge()
387 tc35876x_regw(i2c, HTIM1, FLD_VAL(40, 24, 16) | FLD_VAL(40, 8, 0)); in tc35876x_configure_lvds_bridge()
390 tc35876x_regw(i2c, HTIM2, FLD_VAL(80, 24, 16) | FLD_VAL(1280, 10, 0)); in tc35876x_configure_lvds_bridge()
393 tc35876x_regw(i2c, VTIM1, FLD_VAL(14, 23, 16) | FLD_VAL(10, 7, 0)); in tc35876x_configure_lvds_bridge()
396 tc35876x_regw(i2c, VTIM2, FLD_VAL(14, 23, 16) | FLD_VAL(800, 10, 0)); in tc35876x_configure_lvds_bridge()