Lines Matching refs:HIWORD_UPDATE
499 - writel(HIWORD_UPDATE(alt_div, reg_data->div_core_mask,
501 - HIWORD_UPDATE(reg_data->mux_core_alt,
507 - writel(HIWORD_UPDATE(reg_data->mux_core_alt,
512 + writel(HIWORD_UPDATE(alt_div, reg_data->div_core_mask[i],
521 + writel(HIWORD_UPDATE(reg_data->mux_core_alt,
541 - writel(HIWORD_UPDATE(0, reg_data->div_core_mask,
543 - HIWORD_UPDATE(reg_data->mux_core_main,
547 + writel(HIWORD_UPDATE(reg_data->mux_core_main,
554 + writel(HIWORD_UPDATE(0, reg_data->div_core_mask[i],
1447 + writel(HIWORD_UPDATE(RK3399_PLLCON3_PWRDOWN,
1452 writel_relaxed(HIWORD_UPDATE(rate->fbdiv, RK3399_PLLCON0_FBDIV_MASK,
1459 + writel(HIWORD_UPDATE(0,
1643 + HIWORD_UPDATE(con0, BOOST_PLL_CON_MASK, 0));
1645 + HIWORD_UPDATE(con1, BOOST_PLL_CON_MASK, 0));
1654 + HIWORD_UPDATE(con0, BOOST_PLL_CON_MASK, 0));
1656 + HIWORD_UPDATE(con1, BOOST_PLL_CON_MASK, 0));
1664 + HIWORD_UPDATE(value, BOOST_BACKUP_PLL_MASK,
1672 + HIWORD_UPDATE(pll->boost_backup_pll_usage,
1690 + HIWORD_UPDATE(value, BOOST_STATIS_ENABLE_MASK,
1696 + HIWORD_UPDATE(value, BOOST_ENABLE_MASK,
1722 + HIWORD_UPDATE(1, BOOST_RECOVERY_MASK,
1729 + HIWORD_UPDATE(1, BOOST_SW_CTRL_MASK,
1731 + HIWORD_UPDATE(1, BOOST_LOW_FREQ_EN_MASK,
1741 + HIWORD_UPDATE(0, BOOST_LOW_FREQ_EN_MASK,
1756 + HIWORD_UPDATE(0, BOOST_RECOVERY_MASK,
1759 + HIWORD_UPDATE(0, BOOST_SW_CTRL_MASK,
1784 + HIWORD_UPDATE(div, BOOST_CORE_DIV_MASK,
16992 -#define HIWORD_UPDATE(val, mask) (val | (mask) << 16)
17580 - .lcdsel_big = HIWORD_UPDATE(0, RK3399_EDP_LCDC_SEL),
17581 - .lcdsel_lit = HIWORD_UPDATE(RK3399_EDP_LCDC_SEL, RK3399_EDP_LCDC_SEL),
17594 - .lcdsel_big = HIWORD_UPDATE(0, RK3288_EDP_LCDC_SEL),
17595 - .lcdsel_lit = HIWORD_UPDATE(RK3288_EDP_LCDC_SEL, RK3288_EDP_LCDC_SEL),
17939 #define HIWORD_UPDATE(val, mask) (val | (mask) << 16)
18775 .lcdsel_lit = HIWORD_UPDATE(RK3288_DSI0_LCDC_SEL, RK3288_DSI0_LCDC_SEL),
18784 .lcdsel_lit = HIWORD_UPDATE(RK3288_DSI1_LCDC_SEL, RK3288_DSI1_LCDC_SEL),
18816 + .lanecfg1 = HIWORD_UPDATE(0, RK3568_DSI_TURNDISABLE |
18829 + .lanecfg1 = HIWORD_UPDATE(0, RK3568_DSI_TURNDISABLE |
18889 +#define HIWORD_UPDATE(val, mask) (val | (mask) << 16)
18911 -#define HIWORD_UPDATE(val, mask) (val | (mask) << 16)
20138 + val = HIWORD_UPDATE(RK3588_HDMI0_HPD_INT_MSK,
20141 + val = HIWORD_UPDATE(RK3588_HDMI1_HPD_INT_MSK,
20163 + val = HIWORD_UPDATE(RK3588_HDMI0_HPD_INT_CLR,
20170 + val = HIWORD_UPDATE(RK3588_HDMI1_HPD_INT_CLR,
20190 + val = HIWORD_UPDATE(RK3588_HDMI0_HPD_INT_CLR,
20192 + HIWORD_UPDATE(0, RK3588_HDMI0_HPD_INT_MSK);
20194 + val = HIWORD_UPDATE(RK3588_HDMI1_HPD_INT_CLR,
20196 + HIWORD_UPDATE(0, RK3588_HDMI1_HPD_INT_MSK);
20502 + val = HIWORD_UPDATE(mode_mask, mode_mask);
20504 + val = HIWORD_UPDATE(0, mode_mask);
20525 + val = HIWORD_UPDATE(0, RK3588_HDMI21_MASK);
20531 + val = HIWORD_UPDATE(0, RK3588_COMPRESS_MODE_MASK | RK3588_COLOR_FORMAT_MASK);
20540 + val = HIWORD_UPDATE(RK3588_HDMI21_MASK, RK3588_HDMI21_MASK);
20547 + val = HIWORD_UPDATE(RK3588_COMPRESS_MODE_MASK | RK3588_COMPRESSED_DATA,
20554 + val = HIWORD_UPDATE(0, RK3588_COMPRESS_MODE_MASK | RK3588_COLOR_FORMAT_MASK);
20570 + val = HIWORD_UPDATE(0, RK3588_COLOR_FORMAT_MASK);
20574 + val = HIWORD_UPDATE(RK3588_YUV420, RK3588_COLOR_FORMAT_MASK);
20578 + val = HIWORD_UPDATE(RK3588_YUV444, RK3588_COLOR_FORMAT_MASK);
20586 + val = HIWORD_UPDATE(RK3588_COMPRESSED_DATA, RK3588_COLOR_FORMAT_MASK);
20589 + val |= HIWORD_UPDATE(RK3588_8BPC, RK3588_COLOR_DEPTH_MASK);
20591 + val |= HIWORD_UPDATE(RK3588_10BPC, RK3588_COLOR_DEPTH_MASK);
21679 + val = HIWORD_UPDATE(RK3588_HDMI0_HPD_INT_CLR,
21681 + HIWORD_UPDATE(0, RK3588_HDMI0_HPD_INT_MSK);
21683 + val = HIWORD_UPDATE(RK3588_HDMI1_HPD_INT_CLR,
21685 + HIWORD_UPDATE(0, RK3588_HDMI1_HPD_INT_MSK);
22005 + HIWORD_UPDATE(RK3568_HDMI_SDAIN_MSK |
22013 + val = HIWORD_UPDATE(RK3588_SCLIN_MASK, RK3588_SCLIN_MASK) |
22014 + HIWORD_UPDATE(RK3588_SDAIN_MASK, RK3588_SDAIN_MASK) |
22015 + HIWORD_UPDATE(RK3588_MODE_MASK, RK3588_MODE_MASK) |
22016 + HIWORD_UPDATE(RK3588_I2S_SEL_MASK, RK3588_I2S_SEL_MASK);
22019 + val = HIWORD_UPDATE(RK3588_SET_HPD_PATH_MASK,
22023 + val = HIWORD_UPDATE(RK3588_HDMI0_GRANT_SEL,
22027 + val = HIWORD_UPDATE(RK3588_SCLIN_MASK, RK3588_SCLIN_MASK) |
22028 + HIWORD_UPDATE(RK3588_SDAIN_MASK, RK3588_SDAIN_MASK) |
22029 + HIWORD_UPDATE(RK3588_MODE_MASK, RK3588_MODE_MASK) |
22030 + HIWORD_UPDATE(RK3588_I2S_SEL_MASK, RK3588_I2S_SEL_MASK);
22033 + val = HIWORD_UPDATE(RK3588_SET_HPD_PATH_MASK,
22037 + val = HIWORD_UPDATE(RK3588_HDMI1_GRANT_SEL,
22066 + val = HIWORD_UPDATE(RK3588_HDMI0_HPD_INT_MSK, RK3588_HDMI0_HPD_INT_MSK);
22068 + val = HIWORD_UPDATE(RK3588_HDMI1_HPD_INT_MSK, RK3588_HDMI1_HPD_INT_MSK);
22275 + val = HIWORD_UPDATE(RK3588_SCLIN_MASK, RK3588_SCLIN_MASK) |
22276 + HIWORD_UPDATE(RK3588_SDAIN_MASK, RK3588_SDAIN_MASK) |
22277 + HIWORD_UPDATE(RK3588_MODE_MASK, RK3588_MODE_MASK) |
22278 + HIWORD_UPDATE(RK3588_I2S_SEL_MASK, RK3588_I2S_SEL_MASK);
22281 + val = HIWORD_UPDATE(RK3588_SET_HPD_PATH_MASK,
22285 + val = HIWORD_UPDATE(RK3588_HDMI0_GRANT_SEL,
22289 + val = HIWORD_UPDATE(RK3588_SCLIN_MASK, RK3588_SCLIN_MASK) |
22290 + HIWORD_UPDATE(RK3588_SDAIN_MASK, RK3588_SDAIN_MASK) |
22291 + HIWORD_UPDATE(RK3588_MODE_MASK, RK3588_MODE_MASK) |
22292 + HIWORD_UPDATE(RK3588_I2S_SEL_MASK, RK3588_I2S_SEL_MASK);
22295 + val = HIWORD_UPDATE(RK3588_SET_HPD_PATH_MASK,
22299 + val = HIWORD_UPDATE(RK3588_HDMI1_GRANT_SEL,
32576 +#define HIWORD_UPDATE(v, h, l) (((v) << (l)) | (GENMASK(h, l) << 16))
32579 +#define PX30_LVDS_SELECT(x) HIWORD_UPDATE(x, 14, 13)
32580 +#define PX30_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 12, 12)
32581 +#define PX30_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 11, 11)
32582 +#define PX30_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 6, 6)
32583 +#define PX30_LVDS_VOP_SEL(x) HIWORD_UPDATE(x, 1, 1)
32586 +#define RK3126_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 9, 9)
32587 +#define RK3126_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 6, 6)
32588 +#define RK3126_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 3, 3)
32589 +#define RK3126_LVDS_SELECT(x) HIWORD_UPDATE(x, 2, 1)
32592 +#define RK3288_LVDS_LCDC_SEL(x) HIWORD_UPDATE(x, 3, 3)
32594 +#define RK3288_LVDS_PWRDWN(x) HIWORD_UPDATE(x, 15, 15)
32595 +#define RK3288_LVDS_CON_ENABLE_2(x) HIWORD_UPDATE(x, 12, 12)
32596 +#define RK3288_LVDS_CON_ENABLE_1(x) HIWORD_UPDATE(x, 11, 11)
32597 +#define RK3288_LVDS_CON_DEN_POL(x) HIWORD_UPDATE(x, 10, 10)
32598 +#define RK3288_LVDS_CON_HS_POL(x) HIWORD_UPDATE(x, 9, 9)
32599 +#define RK3288_LVDS_CON_CLKINV(x) HIWORD_UPDATE(x, 8, 8)
32600 +#define RK3288_LVDS_CON_STARTPHASE(x) HIWORD_UPDATE(x, 7, 7)
32601 +#define RK3288_LVDS_CON_TTL_EN(x) HIWORD_UPDATE(x, 6, 6)
32602 +#define RK3288_LVDS_CON_STARTSEL(x) HIWORD_UPDATE(x, 5, 5)
32603 +#define RK3288_LVDS_CON_CHASEL(x) HIWORD_UPDATE(x, 4, 4)
32604 +#define RK3288_LVDS_CON_MSBSEL(x) HIWORD_UPDATE(x, 3, 3)
32605 +#define RK3288_LVDS_CON_SELECT(x) HIWORD_UPDATE(x, 2, 0)
32608 +#define RK3368_LVDS_SELECT(x) HIWORD_UPDATE(x, 14, 13)
32609 +#define RK3368_LVDS_MODE_EN(x) HIWORD_UPDATE(x, 12, 12)
32610 +#define RK3368_LVDS_MSBSEL(x) HIWORD_UPDATE(x, 11, 11)
32611 +#define RK3368_LVDS_P2S_EN(x) HIWORD_UPDATE(x, 6, 6)
32614 +#define RK3568_LVDS1_SELECT(x) HIWORD_UPDATE(x, 13, 12)
32615 +#define RK3568_LVDS1_MSBSEL(x) HIWORD_UPDATE(x, 11, 11)
32616 +#define RK3568_LVDS0_SELECT(x) HIWORD_UPDATE(x, 5, 4)
32617 +#define RK3568_LVDS0_MSBSEL(x) HIWORD_UPDATE(x, 3, 3)
32619 +#define RK3568_LVDS0_DCLK_INV_SEL(x) HIWORD_UPDATE(x, 9, 9)
32620 +#define RK3568_LVDS0_DCLK_DIV2_SEL(x) HIWORD_UPDATE(x, 8, 8)
32621 +#define RK3568_LVDS0_MODE_EN(x) HIWORD_UPDATE(x, 1, 1)
32622 +#define RK3568_LVDS0_P2S_EN(x) HIWORD_UPDATE(x, 0, 0)
32624 +#define RK3568_LVDS1_DCLK_INV_SEL(x) HIWORD_UPDATE(x, 9, 9)
32625 +#define RK3568_LVDS1_DCLK_DIV2_SEL(x) HIWORD_UPDATE(x, 8, 8)
32626 +#define RK3568_LVDS1_MODE_EN(x) HIWORD_UPDATE(x, 1, 1)
32627 +#define RK3568_LVDS1_P2S_EN(x) HIWORD_UPDATE(x, 0, 0)
33738 +#define HIWORD_UPDATE(v, l, h) (((v) << (l)) | (GENMASK(h, l) << 16))
33741 +#define PX30_RGB_DATA_SYNC_BYPASS(v) HIWORD_UPDATE(v, 3, 3)
33742 +#define PX30_RGB_VOP_SEL(v) HIWORD_UPDATE(v, 2, 2)
33745 +#define RK1808_RGB_DATA_SYNC_BYPASS(v) HIWORD_UPDATE(v, 3, 3)
33748 +#define RV1106_IO_BYPASS_SEL(v) HIWORD_UPDATE(v, 0, 1)
33750 +#define RV1106_VOP_PIPE_BYPASS(v) HIWORD_UPDATE(v, 0, 1)
33753 +#define RV1126_LCDC_IO_BYPASS(v) HIWORD_UPDATE(v, 0, 0)
33756 +#define RK3288_LVDS_LCDC_SEL(x) HIWORD_UPDATE(x, 3, 3)
33758 +#define RK3288_LVDS_PWRDWN(x) HIWORD_UPDATE(x, 15, 15)
33759 +#define RK3288_LVDS_CON_ENABLE_2(x) HIWORD_UPDATE(x, 12, 12)
33760 +#define RK3288_LVDS_CON_ENABLE_1(x) HIWORD_UPDATE(x, 11, 11)
33761 +#define RK3288_LVDS_CON_CLKINV(x) HIWORD_UPDATE(x, 8, 8)
33762 +#define RK3288_LVDS_CON_TTL_EN(x) HIWORD_UPDATE(x, 6, 6)
33765 +#define RK3568_RGB_DATA_BYPASS(v) HIWORD_UPDATE(v, 6, 6)
44280 #define HIWORD_UPDATE(val, mask, shift) \
44310 +#define RK1808_GMAC_CLK_RX_DL_CFG(val) HIWORD_UPDATE(val, 0x7F, 8)
44311 +#define RK1808_GMAC_CLK_TX_DL_CFG(val) HIWORD_UPDATE(val, 0x7F, 0)
44593 +#define RK3568_GMAC_CLK_RX_DL_CFG(val) HIWORD_UPDATE(val, 0x7F, 8)
44594 +#define RK3568_GMAC_CLK_TX_DL_CFG(val) HIWORD_UPDATE(val, 0x7F, 0)
44722 +#define RK3588_GMAC_CLK_RX_DL_CFG(val) HIWORD_UPDATE(val, 0xFF, 8)
44723 +#define RK3588_GMAC_CLK_TX_DL_CFG(val) HIWORD_UPDATE(val, 0xFF, 0)
44879 +#define RV1126_GMAC_CLK_RX_DL_CFG(val) HIWORD_UPDATE(val, 0x7F, 8)
44880 +#define RV1126_GMAC_CLK_TX_DL_CFG(val) HIWORD_UPDATE(val, 0x7F, 0)
50131 + HIWORD_UPDATE(!PHY_LANE_IDLE_OFF,
50144 - HIWORD_UPDATE(!PHY_LANE_IDLE_OFF,
51283 + val = HIWORD_UPDATE(RK3288_UOC0_CON3_IDDIG_SET_HOST,
51287 + val = HIWORD_UPDATE(RK3288_UOC0_CON3_IDDIG_SET_PERIPHERAL,
51291 + val = HIWORD_UPDATE(RK3288_UOC0_CON3_IDDIG_SET_OTG,
51334 + val = HIWORD_UPDATE(RK3288_UOC0_CON4_BVALID_IRQ_EN
51529 + val = HIWORD_UPDATE(RK3288_UOC0_CON2_SOFT_CON_SEL,
51532 + val = HIWORD_UPDATE(RK3288_UOC0_CON3_UTMI_OPMODE_NODRIVING,
51537 + val = HIWORD_UPDATE(RK3288_UOC0_CON2_DCDENB,
51555 + val = HIWORD_UPDATE(0, RK3288_UOC0_CON2_DCDENB);
51559 + val = HIWORD_UPDATE(RK3288_UOC0_CON2_VDATSRCENB
51577 + val = HIWORD_UPDATE(0, RK3288_UOC0_CON2_VDATSRCENB
51582 + val = HIWORD_UPDATE(RK3288_UOC0_CON2_VDATSRCENB
51613 + val = HIWORD_UPDATE(0, RK3288_UOC0_CON2_VDATSRCENB
51627 + val = HIWORD_UPDATE(0, RK3288_UOC0_CON2_SOFT_CON_SEL);
51629 + val = HIWORD_UPDATE(RK3288_UOC0_CON3_UTMI_SUSPENDN,
51664 + val = HIWORD_UPDATE(RK3288_UOC0_CON4_BVALID_IRQ_PD,
58476 + { "uart dma mask", RK3308_GRF_SOC_CON3, HIWORD_UPDATE(0, 0x1f, 10) },
58504 + HIWORD_UPDATE(FORCE_JTAG_DISABLE, 1, 4) },
58506 + HIWORD_UPDATE(FORCE_JTAG_DISABLE, 1, 5) },
58508 + { "switch to jtag groupx", RV1126_GRF1_IOFUNC_CON1, HIWORD_UPDATE(RV1126_JTAG_GROUP0, 1, 15) },