/u-boot/include/ |
H A D | mipi_dsi.h | 92 struct mipi_dsi_device *dsi); 94 struct mipi_dsi_device *dsi); 254 * @dsi: DSI peripheral 256 int mipi_dsi_attach(struct mipi_dsi_device *dsi); 260 * @dsi: DSI peripheral 262 int mipi_dsi_detach(struct mipi_dsi_device *dsi); 263 int mipi_dsi_shutdown_peripheral(struct mipi_dsi_device *dsi); 264 int mipi_dsi_turn_on_peripheral(struct mipi_dsi_device *dsi); 265 int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi, 268 ssize_t mipi_dsi_generic_write(struct mipi_dsi_device *dsi, cons [all...] |
/u-boot/drivers/video/ |
H A D | mipi_dsi.c | 29 * Mipi_dsi.c contains a set of dsi helpers. 43 * DOC: dsi helpers 54 * @dsi: DSI peripheral 56 int mipi_dsi_attach(struct mipi_dsi_device *dsi) argument 58 const struct mipi_dsi_host_ops *ops = dsi->host->ops; 63 return ops->attach(dsi->host, dsi); 69 * @dsi: DSI peripheral 71 int mipi_dsi_detach(struct mipi_dsi_device *dsi) argument 73 const struct mipi_dsi_host_ops *ops = dsi 87 mipi_dsi_device_transfer(struct mipi_dsi_device *dsi, struct mipi_dsi_msg *msg) argument 227 mipi_dsi_shutdown_peripheral(struct mipi_dsi_device *dsi) argument 247 mipi_dsi_turn_on_peripheral(struct mipi_dsi_device *dsi) argument 270 mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device *dsi, u16 value) argument 298 mipi_dsi_generic_write(struct mipi_dsi_device *dsi, const void *payload, size_t size) argument 343 mipi_dsi_generic_read(struct mipi_dsi_device *dsi, const void *params, size_t num_params, void *data, size_t size) argument 387 mipi_dsi_dcs_write_buffer(struct mipi_dsi_device *dsi, const void *data, size_t len) argument 430 mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd, const void *data, size_t len) argument 470 mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, u8 cmd, void *data, size_t len) argument 492 mipi_dsi_dcs_nop(struct mipi_dsi_device *dsi) argument 510 mipi_dsi_dcs_soft_reset(struct mipi_dsi_device *dsi) argument 530 mipi_dsi_dcs_get_power_mode(struct mipi_dsi_device *dsi, u8 *mode) argument 555 mipi_dsi_dcs_get_pixel_format(struct mipi_dsi_device *dsi, u8 *format) argument 579 mipi_dsi_dcs_enter_sleep_mode(struct mipi_dsi_device *dsi) argument 598 mipi_dsi_dcs_exit_sleep_mode(struct mipi_dsi_device *dsi) argument 617 mipi_dsi_dcs_set_display_off(struct mipi_dsi_device *dsi) argument 636 mipi_dsi_dcs_set_display_on(struct mipi_dsi_device *dsi) argument 657 mipi_dsi_dcs_set_column_address(struct mipi_dsi_device *dsi, u16 start, u16 end) argument 681 mipi_dsi_dcs_set_page_address(struct mipi_dsi_device *dsi, u16 start, u16 end) argument 703 mipi_dsi_dcs_set_tear_off(struct mipi_dsi_device *dsi) argument 723 mipi_dsi_dcs_set_tear_on(struct mipi_dsi_device *dsi, enum mipi_dsi_dcs_tear_mode mode) argument 746 mipi_dsi_dcs_set_pixel_format(struct mipi_dsi_device *dsi, u8 format) argument 767 mipi_dsi_dcs_set_tear_scanline(struct mipi_dsi_device *dsi, u16 scanline) argument 789 mipi_dsi_dcs_set_display_brightness(struct mipi_dsi_device *dsi, u16 brightness) argument 812 mipi_dsi_dcs_get_display_brightness(struct mipi_dsi_device *dsi, u16 *brightness) argument [all...] |
H A D | dw_mipi_dsi.c | 9 * the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c. 263 static inline void dsi_write(struct dw_mipi_dsi *dsi, u32 reg, u32 val) argument 265 writel(val, dsi->base + reg); 268 static inline u32 dsi_read(struct dw_mipi_dsi *dsi, u32 reg) argument 270 return readl(dsi->base + reg); 276 struct dw_mipi_dsi *dsi = host_to_dsi(host); local 278 if (device->lanes > dsi->max_data_lanes) { 285 dsi->channel = device->channel; 290 static void dw_mipi_message_config(struct dw_mipi_dsi *dsi, argument 301 dsi_write(dsi, DSI_LPCLK_CTR 305 dw_mipi_dsi_gen_pkt_hdr_write(struct dw_mipi_dsi *dsi, u32 hdr_val) argument 333 dw_mipi_dsi_write(struct dw_mipi_dsi *dsi, const struct mipi_dsi_packet *packet) argument 369 dw_mipi_dsi_read(struct dw_mipi_dsi *dsi, const struct mipi_dsi_msg *msg) argument 407 struct dw_mipi_dsi *dsi = host_to_dsi(host); local 440 dw_mipi_dsi_video_mode_config(struct dw_mipi_dsi *dsi) argument 462 dw_mipi_dsi_set_mode(struct dw_mipi_dsi *dsi, unsigned long mode_flags) argument 483 dw_mipi_dsi_init_pll(struct dw_mipi_dsi *dsi) argument 518 dw_mipi_dsi_dpi_config(struct dw_mipi_dsi *dsi, struct display_timing *timings) argument 557 dw_mipi_dsi_packet_handler_config(struct dw_mipi_dsi *dsi) argument 562 dw_mipi_dsi_video_packet_config(struct dw_mipi_dsi *dsi, struct display_timing *timings) argument 575 dw_mipi_dsi_command_mode_config(struct dw_mipi_dsi *dsi) argument 598 dw_mipi_dsi_get_hcomponent_lbcc(struct dw_mipi_dsi *dsi, struct display_timing *timings, u32 hcomponent) argument 614 dw_mipi_dsi_line_timer_config(struct dw_mipi_dsi *dsi, struct display_timing *timings) argument 639 dw_mipi_dsi_vertical_timing_config(struct dw_mipi_dsi *dsi, struct display_timing *timings) argument 655 dw_mipi_dsi_dphy_timing_config(struct dw_mipi_dsi *dsi) argument 687 dw_mipi_dsi_dphy_interface_config(struct dw_mipi_dsi *dsi) argument 700 dw_mipi_dsi_dphy_init(struct dw_mipi_dsi *dsi) argument 710 dw_mipi_dsi_dphy_enable(struct dw_mipi_dsi *dsi) argument 732 dw_mipi_dsi_clear_err(struct dw_mipi_dsi *dsi) argument 740 dw_mipi_dsi_bridge_set(struct dw_mipi_dsi *dsi, struct display_timing *timings) argument 785 struct dw_mipi_dsi *dsi = dev_get_priv(dev); local 832 struct dw_mipi_dsi *dsi = dev_get_priv(dev); local [all...] |
H A D | endeavoru-panel.c | 39 static void dcs_write_one(struct mipi_dsi_device *dsi, u8 cmd, u8 data) argument 41 mipi_dsi_dcs_write(dsi, cmd, &data, 1); 48 #define dcs_write_seq(dsi, cmd, seq...) \ 54 dcs_write_one(dsi, cmd + i, d[i]); \ 60 struct mipi_dsi_device *dsi = plat->device; local 62 dcs_write_one(dsi, 0xc2, 0x08); 65 dcs_write_one(dsi, 0xff, 0x03); 66 dcs_write_one(dsi, 0xfe, 0x08); 67 dcs_write_one(dsi, 0x18, 0x00); 68 dcs_write_one(dsi, [all...] |
H A D | lg-ld070wx3.c | 35 static void dcs_write_one(struct mipi_dsi_device *dsi, u8 cmd, u8 data) argument 37 mipi_dsi_dcs_write(dsi, cmd, &data, 1); 43 struct mipi_dsi_device *dsi = plat->device; local 46 ret = mipi_dsi_dcs_soft_reset(dsi); 57 dcs_write_one(dsi, 0xAE, 0x0B); 60 dcs_write_one(dsi, 0xEE, 0xEA); 61 dcs_write_one(dsi, 0xEF, 0x5F); 64 dcs_write_one(dsi, 0xF2, 0x68); 67 dcs_write_one(dsi, 0xEE, 0x00); 68 dcs_write_one(dsi, [all...] |
H A D | renesas-r69328.c | 45 #define dsi_generic_write_seq(dsi, cmd, seq...) do { \ 48 ret = mipi_dsi_dcs_write_buffer(dsi, b, ARRAY_SIZE(b)); \ 68 struct mipi_dsi_device *dsi = plat->device; local 71 mipi_dsi_dcs_write_buffer(dsi, address_mode, 74 ret = mipi_dsi_dcs_set_pixel_format(dsi, MIPI_DCS_PIXEL_FMT_24BIT << 4); 80 ret = mipi_dsi_dcs_exit_sleep_mode(dsi); 89 dsi_generic_write_seq(dsi, R69328_MACP, 0x04); 91 dsi_generic_write_seq(dsi, R69328_POWER_SET, 0x14, 94 dsi_generic_write_seq(dsi, R69328_GAMMA_SET_A, 0x00, 101 dsi_generic_write_seq(dsi, R69328_GAMMA_SET_ [all...] |
H A D | renesas-r61307.c | 123 struct mipi_dsi_device *dsi = plat->device; local 126 ret = mipi_dsi_dcs_exit_sleep_mode(dsi); 134 mipi_dsi_dcs_write_buffer(dsi, address_mode, 139 ret = mipi_dsi_dcs_set_pixel_format(dsi, MIPI_DCS_PIXEL_FMT_24BIT << 4); 146 mipi_dsi_generic_write(dsi, macp_off, sizeof(macp_off)); 149 mipi_dsi_generic_write(dsi, contrast_setting, 153 mipi_dsi_generic_write(dsi, gamma_setting[priv->gamma], 157 mipi_dsi_generic_write(dsi, column_inversion, 160 mipi_dsi_generic_write(dsi, line_inversion, 164 mipi_dsi_generic_write(dsi, macp_o [all...] |
H A D | samsung-ltl106hl02.c | 41 struct mipi_dsi_device *dsi = plat->device; local 44 ret = mipi_dsi_dcs_exit_sleep_mode(dsi); 52 ret = mipi_dsi_dcs_set_display_on(dsi);
|
H A D | Makefile | 20 obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi-host-uclass.o
|
/u-boot/drivers/video/rockchip/ |
H A D | dw_mipi_dsi_rockchip.c | 6 * driver from drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c and the 245 static inline void dsi_write(struct dw_rockchip_dsi_priv *dsi, u32 reg, u32 val) argument 247 writel(val, dsi->base + reg); 250 static inline u32 dsi_read(struct dw_rockchip_dsi_priv *dsi, u32 reg) argument 252 return readl(dsi->base + reg); 255 static inline void dsi_set(struct dw_rockchip_dsi_priv *dsi, u32 reg, u32 mask) argument 257 dsi_write(dsi, reg, dsi_read(dsi, reg) | mask); 260 static inline void dsi_clear(struct dw_rockchip_dsi_priv *dsi, u32 reg, u32 mask) argument 262 dsi_write(dsi, re 265 dsi_update_bits(struct dw_rockchip_dsi_priv *dsi, u32 reg, u32 mask, u32 val) argument 271 dw_mipi_dsi_phy_write(struct dw_rockchip_dsi_priv *dsi, u8 test_code, u8 test_data) argument 357 ns2bc(struct dw_rockchip_dsi_priv *dsi, int ns) argument 365 ns2ui(struct dw_rockchip_dsi_priv *dsi, int ns) argument 374 struct dw_rockchip_dsi_priv *dsi = dev_get_priv(dev); local 500 struct dw_rockchip_dsi_priv *dsi = dev_get_priv(dev); local 527 struct dw_rockchip_dsi_priv *dsi = dev_get_priv(dev); local 782 dw_mipi_dsi_rockchip_config(struct dw_rockchip_dsi_priv *dsi) argument [all...] |
H A D | rk_mipi.h | 14 struct mipi_dsi *dsi; member in struct:rk_mipi_priv
|
/u-boot/drivers/video/stm32/ |
H A D | stm32_dsi.c | 71 /* dsi color format coding according to the datasheet */ 99 static inline void dsi_write(struct stm32_dsi_priv *dsi, u32 reg, u32 val) argument 101 writel(val, dsi->base + reg); 104 static inline u32 dsi_read(struct stm32_dsi_priv *dsi, u32 reg) argument 106 return readl(dsi->base + reg); 109 static inline void dsi_set(struct stm32_dsi_priv *dsi, u32 reg, u32 mask) argument 111 dsi_write(dsi, reg, dsi_read(dsi, reg) | mask); 114 static inline void dsi_clear(struct stm32_dsi_priv *dsi, u32 reg, u32 mask) argument 116 dsi_write(dsi, re 119 dsi_update_bits(struct stm32_dsi_priv *dsi, u32 reg, u32 mask, u32 val) argument 153 dsi_pll_get_params(struct stm32_dsi_priv *dsi, int clkin_khz, int clkout_khz, int *idf, int *ndiv, int *odf) argument 213 struct stm32_dsi_priv *dsi = dev_get_priv(dev); local 244 struct stm32_dsi_priv *dsi = dev_get_priv(dev); local 269 struct stm32_dsi_priv *dsi = dev_get_priv(dev); local [all...] |
/u-boot/drivers/video/tegra20/ |
H A D | Makefile | 4 obj-$(CONFIG_VIDEO_DSI_TEGRA30) += tegra-dsi.o tegra-mipi.o mipi-phy.o
|
H A D | tegra-dsi.c | 25 #include "tegra-dsi.h" 43 struct dsi_ctlr *dsi; member in struct:tegra_dsi_priv 210 struct dsi_misc_reg *misc = &priv->dsi->misc; 515 struct dsi_pad_ctrl_reg *pad = &priv->dsi->pad; 605 struct dsi_misc_reg *misc = &priv->dsi->misc; 606 struct dsi_pkt_seq_reg *pkt = &priv->dsi->pkt; 607 struct dsi_pkt_len_reg *len = &priv->dsi->len; 705 struct dsi_misc_reg *misc = &priv->dsi->misc; 729 tegra_dsi_pad_calibrate(&priv->dsi->pad); 736 tegra_dsi_set_timeout(&priv->dsi [all...] |
/u-boot/drivers/video/nexell/ |
H A D | s5pxx18_dp_mipi.c | 262 struct mipi_dsi_device *dsi = &mipi->dsi; local 281 int data_len = dsi->lanes - 1; 282 bool burst = dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST ? true : false; 283 bool eot_enable = dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET ? 332 switch (dsi->format) { 346 printf("%s: not support format %d\n", __func__, dsi->format); 376 static int nx_mipi_transfer_tx(struct mipi_dsi_device *dsi, argument 420 static int nx_mipi_transfer_done(struct mipi_dsi_device *dsi) argument 438 static int nx_mipi_transfer_rx(struct mipi_dsi_device *dsi, argument 538 nx_mipi_transfer(struct mipi_dsi_device *dsi, const struct mipi_dsi_msg *msg) argument 582 nx_mipi_write_buffer(struct mipi_dsi_device *dsi, const void *data, size_t len) argument 611 nx_mipi_dsi_lcd_bind(struct mipi_dsi_device *dsi) argument 630 struct mipi_dsi_device *dsi = &dev->dsi; local [all...] |
/u-boot/arch/arm/mach-nexell/include/mach/ |
H A D | mipi_display.h | 204 ssize_t (*write_buffer)(struct mipi_dsi_device *dsi, 209 int (*init)(struct mipi_dsi_device *dsi, int width, int height); 210 int (*prepare)(struct mipi_dsi_device *dsi); 211 int (*unprepare)(struct mipi_dsi_device *dsi); 212 int (*enable)(struct mipi_dsi_device *dsi); 213 int (*disable)(struct mipi_dsi_device *dsi);
|
H A D | display.h | 203 struct mipi_dsi_device dsi; member in struct:dp_mipi_dev 249 int nx_mipi_dsi_lcd_bind(struct mipi_dsi_device *dsi);
|
/u-boot/board/anbernic/rgxx3_rk3566/ |
H A D | rgxx3-rk3566.c | 251 struct mipi_dsi_device *dsi; local 270 "dsi@fe060000", &dev); 307 dsi = mplat->device; 308 mipi_dsi_set_maximum_return_packet_size(dsi, sizeof(panel_id)); 309 ret = mipi_dsi_dcs_read(dsi, MIPI_DCS_GET_DISPLAY_ID, &panel_id, 457 node = fdt_path_offset(blob, "/dsi@fe060000/panel@0");
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-pcieepx-defs.h | 3292 u32 dsi : 1; member in struct:cvmx_pcieepx_cfg016::cvmx_pcieepx_cfg016_s
|
H A D | cvmx-pciercx-defs.h | 2479 u32 dsi : 1; member in struct:cvmx_pciercx_cfg016::cvmx_pciercx_cfg016_s
|