Home
last modified time | relevance | path

Searched full:dbi (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v5.10/drivers/gpu/drm/tiny/
Dili9225.c7 * Some code copied from mipi-dbi.c
71 static inline int ili9225_command(struct mipi_dbi *dbi, u8 cmd, u16 data) in ili9225_command() argument
75 return mipi_dbi_command_buf(dbi, cmd, par, 2); in ili9225_command()
84 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_fb_dirty() local
85 bool swap = dbi->swap_bytes; in ili9225_fb_dirty()
99 if (!dbi->dc || !full || swap || in ili9225_fb_dirty()
144 ili9225_command(dbi, ILI9225_HORIZ_WINDOW_ADDR_1, x2); in ili9225_fb_dirty()
145 ili9225_command(dbi, ILI9225_HORIZ_WINDOW_ADDR_2, x1); in ili9225_fb_dirty()
146 ili9225_command(dbi, ILI9225_VERT_WINDOW_ADDR_1, y2); in ili9225_fb_dirty()
147 ili9225_command(dbi, ILI9225_VERT_WINDOW_ADDR_2, y1); in ili9225_fb_dirty()
[all …]
Dili9341.c58 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() local
73 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in yx240qv29_enable()
75 mipi_dbi_command(dbi, ILI9341_PWCTRLB, 0x00, 0xc1, 0x30); in yx240qv29_enable()
76 mipi_dbi_command(dbi, ILI9341_PWRSEQ, 0x64, 0x03, 0x12, 0x81); in yx240qv29_enable()
77 mipi_dbi_command(dbi, ILI9341_DTCTRLA, 0x85, 0x00, 0x78); in yx240qv29_enable()
78 mipi_dbi_command(dbi, ILI9341_PWCTRLA, 0x39, 0x2c, 0x00, 0x34, 0x02); in yx240qv29_enable()
79 mipi_dbi_command(dbi, ILI9341_PUMPCTRL, 0x20); in yx240qv29_enable()
80 mipi_dbi_command(dbi, ILI9341_DTCTRLB, 0x00, 0x00); in yx240qv29_enable()
83 mipi_dbi_command(dbi, ILI9341_PWCTRL1, 0x23); in yx240qv29_enable()
84 mipi_dbi_command(dbi, ILI9341_PWCTRL2, 0x10); in yx240qv29_enable()
[all …]
Dmi0283qt.c56 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable() local
71 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in mi0283qt_enable()
73 mipi_dbi_command(dbi, ILI9341_PWCTRLB, 0x00, 0x83, 0x30); in mi0283qt_enable()
74 mipi_dbi_command(dbi, ILI9341_PWRSEQ, 0x64, 0x03, 0x12, 0x81); in mi0283qt_enable()
75 mipi_dbi_command(dbi, ILI9341_DTCTRLA, 0x85, 0x01, 0x79); in mi0283qt_enable()
76 mipi_dbi_command(dbi, ILI9341_PWCTRLA, 0x39, 0x2c, 0x00, 0x34, 0x02); in mi0283qt_enable()
77 mipi_dbi_command(dbi, ILI9341_PUMPCTRL, 0x20); in mi0283qt_enable()
78 mipi_dbi_command(dbi, ILI9341_DTCTRLB, 0x00, 0x00); in mi0283qt_enable()
81 mipi_dbi_command(dbi, ILI9341_PWCTRL1, 0x26); in mi0283qt_enable()
82 mipi_dbi_command(dbi, ILI9341_PWCTRL2, 0x11); in mi0283qt_enable()
[all …]
Dst7586.c118 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty() local
138 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty()
141 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty()
145 ret = mipi_dbi_command_buf(dbi, MIPI_DCS_WRITE_MEMORY_START, in st7586_fb_dirty()
174 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() local
193 mipi_dbi_command(dbi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable()
194 mipi_dbi_command(dbi, ST7586_OTP_RW_CTRL, 0x00); in st7586_pipe_enable()
198 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable()
202 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable()
203 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7586_pipe_enable()
[all …]
Dst7735r.c65 struct mipi_dbi *dbi = &dbidev->dbi; in st7735r_pipe_enable() local
80 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7735r_pipe_enable()
83 mipi_dbi_command(dbi, ST7735R_FRMCTR1, 0x01, 0x2c, 0x2d); in st7735r_pipe_enable()
84 mipi_dbi_command(dbi, ST7735R_FRMCTR2, 0x01, 0x2c, 0x2d); in st7735r_pipe_enable()
85 mipi_dbi_command(dbi, ST7735R_FRMCTR3, 0x01, 0x2c, 0x2d, 0x01, 0x2c, in st7735r_pipe_enable()
87 mipi_dbi_command(dbi, ST7735R_INVCTR, 0x07); in st7735r_pipe_enable()
88 mipi_dbi_command(dbi, ST7735R_PWCTR1, 0xa2, 0x02, 0x84); in st7735r_pipe_enable()
89 mipi_dbi_command(dbi, ST7735R_PWCTR2, 0xc5); in st7735r_pipe_enable()
90 mipi_dbi_command(dbi, ST7735R_PWCTR3, 0x0a, 0x00); in st7735r_pipe_enable()
91 mipi_dbi_command(dbi, ST7735R_PWCTR4, 0x8a, 0x2a); in st7735r_pipe_enable()
[all …]
Dili9486.c91 struct mipi_dbi *dbi = &dbidev->dbi; in waveshare_enable() local
106 mipi_dbi_command(dbi, ILI9486_ITFCTR1); in waveshare_enable()
107 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in waveshare_enable()
110 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, 0x55); in waveshare_enable()
112 mipi_dbi_command(dbi, ILI9486_PWCTRL1, 0x44); in waveshare_enable()
114 mipi_dbi_command(dbi, ILI9486_VMCTRL1, 0x00, 0x00, 0x00, 0x00); in waveshare_enable()
116 mipi_dbi_command(dbi, ILI9486_PGAMCTRL, in waveshare_enable()
119 mipi_dbi_command(dbi, ILI9486_NGAMCTRL, in waveshare_enable()
122 mipi_dbi_command(dbi, ILI9486_DGAMCTRL, in waveshare_enable()
126 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in waveshare_enable()
[all …]
Dhx8357d.c52 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() local
68 mipi_dbi_command(dbi, HX8357D_SETEXTC, 0xFF, 0x83, 0x57); in yx240qv29_enable()
72 mipi_dbi_command(dbi, HX8357D_SETRGB, 0x00, 0x00, 0x06, 0x06); in yx240qv29_enable()
75 mipi_dbi_command(dbi, HX8357D_SETCOM, 0x25); in yx240qv29_enable()
78 mipi_dbi_command(dbi, HX8357D_SETOSC, 0x68); in yx240qv29_enable()
81 mipi_dbi_command(dbi, HX8357D_SETPANEL, 0x05); in yx240qv29_enable()
83 mipi_dbi_command(dbi, HX8357D_SETPOWER, in yx240qv29_enable()
91 mipi_dbi_command(dbi, HX8357D_SETSTBA, in yx240qv29_enable()
99 mipi_dbi_command(dbi, HX8357D_SETCYC, in yx240qv29_enable()
108 mipi_dbi_command(dbi, HX8357D_SETGAMMA, in yx240qv29_enable()
[all …]
/Linux-v5.10/drivers/gpu/drm/
Ddrm_mipi_dbi.c3 * MIPI Display Bus Interface (DBI) LCD controller support
41 * This library provides helpers for MIPI Display Bus Interface (DBI)
51 * There are 3 MIPI DBI implementation types:
101 static bool mipi_dbi_command_is_read(struct mipi_dbi *dbi, u8 cmd) in mipi_dbi_command_is_read() argument
105 if (!dbi->read_commands) in mipi_dbi_command_is_read()
109 if (!dbi->read_commands[i]) in mipi_dbi_command_is_read()
111 if (cmd == dbi->read_commands[i]) in mipi_dbi_command_is_read()
120 * @dbi: MIPI DBI structure
129 int mipi_dbi_command_read(struct mipi_dbi *dbi, u8 cmd, u8 *val) in mipi_dbi_command_read() argument
131 if (!dbi->read_commands) in mipi_dbi_command_read()
[all …]
/Linux-v5.10/include/drm/
Ddrm_mipi_dbi.h3 * MIPI Display Bus Interface (DBI) LCD controller support
21 * struct mipi_dbi - MIPI DBI interface
32 int (*command)(struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num);
74 * struct mipi_dbi_dev - MIPI DBI device
130 * @dbi: MIPI DBI interface
132 struct mipi_dbi dbi; member
140 int mipi_dbi_spi_init(struct spi_device *spi, struct mipi_dbi *dbi,
156 void mipi_dbi_hw_reset(struct mipi_dbi *dbi);
157 bool mipi_dbi_display_is_on(struct mipi_dbi *dbi);
165 int mipi_dbi_command_read(struct mipi_dbi *dbi, u8 cmd, u8 *val);
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c194 static unsigned long map_offset(struct mlx5_core_dev *mdev, int dbi) in map_offset() argument
199 return dbi / MLX5_BFREGS_PER_UAR * MLX5_ADAPTER_PAGE_SIZE + in map_offset()
200 (dbi % MLX5_BFREGS_PER_UAR) * in map_offset()
213 int dbi; in alloc_bfreg() local
242 dbi = find_first_bit(bitmap, up->bfregs); in alloc_bfreg()
243 clear_bit(dbi, bitmap); in alloc_bfreg()
248 bfreg->map = up->map + map_offset(mdev, dbi); in alloc_bfreg()
251 bfreg->index = up->index + dbi / MLX5_BFREGS_PER_UAR; in alloc_bfreg()
294 unsigned int dbi; in mlx5_free_bfreg() local
309 dbi = addr_to_dbi_in_syspage(mdev, up, bfreg); in mlx5_free_bfreg()
[all …]
/Linux-v5.10/Documentation/block/
Drequest.rst54 unsigned long flags DBI Contains info about data direction,
59 kdev_t rq_dev DBI Target device
63 sector_t sector DBI Target location
67 unsigned long nr_sectors DBI Total number of sectors in request
92 ``struct bio *bio`` DBI First bio in request
94 ``struct bio *biotail`` DBI Last bio in request
/Linux-v5.10/drivers/target/
Dtarget_core_user.c182 uint32_t *dbi; member
486 #define tcmu_cmd_set_dbi(cmd, index) ((cmd)->dbi[(cmd)->dbi_cur++] = (index))
487 #define tcmu_cmd_get_dbi(cmd) ((cmd)->dbi[(cmd)->dbi_cur++])
495 clear_bit(tcmu_cmd->dbi[i], udev->data_bitmap); in tcmu_cmd_free_data()
503 int ret, dbi; in tcmu_get_empty_block() local
505 dbi = find_first_zero_bit(udev->data_bitmap, udev->dbi_thresh); in tcmu_get_empty_block()
506 if (dbi == udev->dbi_thresh) in tcmu_get_empty_block()
509 page = radix_tree_lookup(&udev->data_blocks, dbi); in tcmu_get_empty_block()
520 ret = radix_tree_insert(&udev->data_blocks, dbi, page); in tcmu_get_empty_block()
525 if (dbi > udev->dbi_max) in tcmu_get_empty_block()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/pci/
Daxis,artpec6-pcie.txt11 - reg: base addresses and lengths of the PCIe controller (DBI),
14 - "dbi"
31 reg-names = "dbi", "phy", "config";
Dsocionext,uniphier-pcie-ep.yaml32 - const: dbi
37 - const: dbi
88 reg-names = "dbi", "dbi2", "link", "addr_space";
Dpcie-al.txt27 - "dbi" Designware PCIe registers
36 reg-names = "config", "controller", "dbi";
Dkirin-pcie.txt15 "dbi": controller configuration registers;
29 reg-names = "dbi","apb","phy", "config";
Dhisilicon-histb-pcie.txt16 "rc-dbi": configuration space of PCIe controller;
47 reg-names = "control", "rc-dbi", "config";
Duniphier-pcie.txt16 "dbi" - controller configuration registers
51 reg-names = "dbi", "link", "config";
Ddesignware-pcie.txt57 reg-names = "dbi", "config";
73 reg-names = "dbi", "dbi2", "addr_space";
Dintel-gw-pcie.yaml43 - const: dbi
125 reg-names = "dbi", "config", "app";
Dqcom,pcie.txt27 - "dbi" DesignWare PCIe registers
265 reg-names = "dbi", "elbi", "parf", "config";
306 reg-names = "parf", "dbi", "elbi", "config";
/Linux-v5.10/drivers/video/fbdev/omap/
DKconfig36 bool "MIPI DBI-C/DCS compatible LCD support"
40 the Mobile Industry Processor Interface DBI-C/DCS
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtl8723b_spec.h79 #define REG_DBI_WDATA_8723B 0x0348 /* DBI Write Data */
80 #define REG_DBI_RDATA_8723B 0x034C /* DBI Read Data */
81 #define REG_DBI_ADDR_8723B 0x0350 /* DBI Address */
82 #define REG_DBI_FLAG_8723B 0x0352 /* DBI Read/Write Flag */
/Linux-v5.10/arch/arm64/boot/dts/nvidia/
Dtegra194.dtsi1680 <0x00 0x30080000 0x0 0x00040000>; /* DBI reg space (256K) */
1681 reg-names = "appl", "config", "atu_dma", "dbi";
1730 <0x00 0x32080000 0x0 0x00040000>; /* DBI reg space (256K) */
1731 reg-names = "appl", "config", "atu_dma", "dbi";
1780 <0x00 0x34080000 0x0 0x00040000>; /* DBI reg space (256K) */
1781 reg-names = "appl", "config", "atu_dma", "dbi";
1830 <0x00 0x36080000 0x0 0x00040000>; /* DBI reg space (256K) */
1831 reg-names = "appl", "config", "atu_dma", "dbi";
1880 <0x00 0x38080000 0x0 0x00040000>; /* DBI reg space (256K) */
1881 reg-names = "appl", "config", "atu_dma", "dbi";
[all …]
/Linux-v5.10/drivers/net/wireless/intersil/p54/
Deeprom.h112 u8 gain_5GHz; /* 0.25 dBi units */
113 u8 gain_2GHz; /* 0.25 dBi units */

1234