Lines Matching +full:mmp2 +full:- +full:clock
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 /* ------------< LCD register >------------ */
18 /* TV patch register for MMP2 */
150 #define LCD_SCLK(path) ((PATH_PN == path->id) ? LCD_CFG_SCLK_DIV :\
151 ((PATH_TV == path->id) ? LCD_TCLK_DIV : LCD_PN2_SCLK_DIV))
321 #define LCD_PN_SEPXLCNT 0x013c /* MMP2 */
339 #define LCD_READ_IOPAD (0x0148) /* MMP2*/
361 #define LCD_SLV_DBG (0x0164) /* MMP2 */
371 #define LCD_TV_PALETTE_RDDAT (0x0178) /* MMP2 */
380 #define LCD_FRAME_CNT (0x017C) /* MMP2 */
386 #define CFG_RXBITS(rx) (((rx) - 1)<<16) /* 0x1F~0x1 */
388 #define CFG_TXBITS(tx) (((tx) - 1)<<8) /* 0x1F~0x1 */
411 1. Smart Pannel 8-bit Bus Control Register.
555 /* Smart or Dumb Panel Clock Divider */
685 /* FIXME - JUST GUESS */
811 /* read-only */
1016 /* DSI1 - 4 Lane Controller base */
1018 /* DSI2 - 3 Lane Controller base */
1087 /* Rx Packet Header - data from slave device */
1247 /* Time to Drive LP-00 by New Transmitter */
1250 /* Time to Drive LP-00 after Turn Request */
1414 return overlay->dmafetch_id & 1; in overlay_is_vid()
1419 return (struct mmphw_path_plat *)path->plat_data; in path_to_path_plat()
1424 return path_to_path_plat(path)->ctrl; in path_to_ctrl()
1429 return path_to_ctrl(overlay->path); in overlay_to_ctrl()
1434 return path_to_ctrl(path)->reg_base; in ctrl_regs()
1440 if (path->id == PATH_PN) in path_regs()
1442 else if (path->id == PATH_TV) in path_regs()
1444 else if (path->id == PATH_P2) in path_regs()
1447 dev_err(path->dev, "path id %d invalid\n", path->id); in path_regs()