Home
last modified time | relevance | path

Searched refs:ps_val (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_dsi.c396 u32 dsi_buf_bpp, ps_val, ps_wc, vact_nl; in mtk_dsi_ps_control() local
405 ps_val = ps_wc; in mtk_dsi_ps_control()
412 ps_val |= FIELD_PREP(DSI_PS_SEL, PACKED_PS_24BIT_RGB888); in mtk_dsi_ps_control()
415 ps_val |= FIELD_PREP(DSI_PS_SEL, LOOSELY_PS_24BIT_RGB666); in mtk_dsi_ps_control()
418 ps_val |= FIELD_PREP(DSI_PS_SEL, PACKED_PS_18BIT_RGB666); in mtk_dsi_ps_control()
421 ps_val |= FIELD_PREP(DSI_PS_SEL, PACKED_PS_16BIT_RGB565); in mtk_dsi_ps_control()
430 writel(ps_val, dsi->regs + DSI_PSCTRL); in mtk_dsi_ps_control()
/linux-6.12.1/drivers/iio/light/
Dltr501.c1270 static int ltr501_write_contr(struct ltr501_data *data, u8 als_val, u8 ps_val) in ltr501_write_contr() argument
1278 return regmap_write(data->regmap, LTR501_PS_CONTR, ps_val); in ltr501_write_contr()