Home
last modified time | relevance | path

Searched refs:gen_ctrl_val (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/gma500/
Dmdfld_dsi_output.c99 u32 gen_ctrl_val; in mdfld_dsi_brightness_init() local
117 gen_ctrl_val = BRIGHT_CNTL_BLOCK_ON | DISPLAY_DIMMING_ON | in mdfld_dsi_brightness_init()
120 gen_ctrl_val |= DISPLAY_DIMMING_ON | DISPLAY_BRIGHTNESS_AUTO in mdfld_dsi_brightness_init()
124 gen_ctrl_val |= AMBIENT_LIGHT_SENSE_ON; in mdfld_dsi_brightness_init()
126 dev_priv->mipi_ctrl_display = gen_ctrl_val; in mdfld_dsi_brightness_init()
128 mdfld_dsi_send_mcs_short(sender, write_ctrl_display, (u8)gen_ctrl_val, in mdfld_dsi_brightness_init()
139 u32 gen_ctrl_val = 0; in mdfld_dsi_brightness_control() local
163 gen_ctrl_val = (level * 0xff / MDFLD_DSI_BRIGHTNESS_MAX_LEVEL) & 0xff; in mdfld_dsi_brightness_control()
166 pipe, gen_ctrl_val); in mdfld_dsi_brightness_control()
171 (u8)gen_ctrl_val, 1, true); in mdfld_dsi_brightness_control()
[all …]
Dmdfld_dsi_dpi.c237 u32 gen_ctrl_val = GEN_LONG_WRITE; in mdfld_dsi_tpo_ic_init() local
241 gen_ctrl_val |= dcsChannelNumber << DCS_CHANNEL_NUMBER_POS; in mdfld_dsi_tpo_ic_init()
247 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x02 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
253 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x03 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
259 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x03 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
265 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x03 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
273 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x05 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
279 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x03 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
289 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x09 << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
301 REG_WRITE(gen_ctrl_reg, gen_ctrl_val | (0x0d << WORD_COUNTS_POS)); in mdfld_dsi_tpo_ic_init()
[all …]
/Linux-v5.4/drivers/media/pci/cx23885/
Dcx23885-cards.c2134 ts1->gen_ctrl_val = 0x4; /* Parallel */ in cx23885_card_setup()
2139 ts2->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2146 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2151 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2159 ts1->gen_ctrl_val = 0x10e; in cx23885_card_setup()
2169 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2174 ts1->gen_ctrl_val = 0x4; /* Parallel */ in cx23885_card_setup()
2186 ts1->gen_ctrl_val = 0x5; /* Parallel */ in cx23885_card_setup()
2193 ts1->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
2196 ts2->gen_ctrl_val = 0xc; /* Serial bus + punctured clock */ in cx23885_card_setup()
[all …]
Dcx23885.h290 u32 gen_ctrl_val; member
Dcx23885-core.c1443 cx_write(port->reg_gen_ctrl, port->gen_ctrl_val); in cx23885_start_dma()
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx.h566 u32 gen_ctrl_val; member