/linux/drivers/gpu/drm/tiny/ |
A D | ili9225.c | 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() 181 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_enable() local 196 mipi_dbi_hw_reset(dbi); in ili9225_pipe_enable() 286 struct mipi_dbi *dbi = &dbidev->dbi; in ili9225_pipe_disable() local 307 struct spi_device *spi = dbi->spi; in ili9225_dbi_command() 367 struct mipi_dbi *dbi; in ili9225_probe() local 377 dbi = &dbidev->dbi; in ili9225_probe() 381 if (IS_ERR(dbi->reset)) in ili9225_probe() [all …]
|
A D | ili9341.c | 58 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() local 83 mipi_dbi_command(dbi, ILI9341_PWCTRL1, 0x23); in yx240qv29_enable() 84 mipi_dbi_command(dbi, ILI9341_PWCTRL2, 0x10); in yx240qv29_enable() 96 mipi_dbi_command(dbi, ILI9341_EN3GAM, 0x00); in yx240qv29_enable() 98 mipi_dbi_command(dbi, ILI9341_PGAMCTRL, in yx240qv29_enable() 101 mipi_dbi_command(dbi, ILI9341_NGAMCTRL, in yx240qv29_enable() 106 mipi_dbi_command(dbi, ILI9341_ETMOD, 0x07); in yx240qv29_enable() 180 struct mipi_dbi *dbi; in ili9341_probe() local 190 dbi = &dbidev->dbi; in ili9341_probe() 194 if (IS_ERR(dbi->reset)) in ili9341_probe() [all …]
|
A D | mi0283qt.c | 56 struct mipi_dbi *dbi = &dbidev->dbi; in mi0283qt_enable() local 81 mipi_dbi_command(dbi, ILI9341_PWCTRL1, 0x26); in mi0283qt_enable() 82 mipi_dbi_command(dbi, ILI9341_PWCTRL2, 0x11); in mi0283qt_enable() 94 mipi_dbi_command(dbi, ILI9341_EN3GAM, 0x08); in mi0283qt_enable() 96 mipi_dbi_command(dbi, ILI9341_PGAMCTRL, in mi0283qt_enable() 99 mipi_dbi_command(dbi, ILI9341_NGAMCTRL, in mi0283qt_enable() 104 mipi_dbi_command(dbi, ILI9341_ETMOD, 0x07); in mi0283qt_enable() 184 struct mipi_dbi *dbi; in mi0283qt_probe() local 194 dbi = &dbidev->dbi; in mi0283qt_probe() 198 if (IS_ERR(dbi->reset)) in mi0283qt_probe() [all …]
|
A D | st7586.c | 112 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty() local 168 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() local 192 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable() 196 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable() 208 mipi_dbi_command(dbi, ST7586_DISP_MODE_GRAY); in st7586_pipe_enable() 302 struct mipi_dbi *dbi; in st7586_probe() local 313 dbi = &dbidev->dbi; in st7586_probe() 319 if (IS_ERR(dbi->reset)) in st7586_probe() 328 ret = mipi_dbi_spi_init(spi, dbi, a0); in st7586_probe() 333 dbi->read_commands = NULL; in st7586_probe() [all …]
|
A D | st7735r.c | 65 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() 87 mipi_dbi_command(dbi, ST7735R_INVCTR, 0x07); in st7735r_pipe_enable() 89 mipi_dbi_command(dbi, ST7735R_PWCTR2, 0xc5); in st7735r_pipe_enable() 93 mipi_dbi_command(dbi, ST7735R_VMCTR1, 0x0e); in st7735r_pipe_enable() 122 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in st7735r_pipe_enable() 188 struct mipi_dbi *dbi; in st7735r_probe() local 205 dbi = &dbidev->dbi; in st7735r_probe() 209 if (IS_ERR(dbi->reset)) in st7735r_probe() 222 ret = mipi_dbi_spi_init(spi, dbi, dc); in st7735r_probe() [all …]
|
A D | ili9486.c | 91 struct mipi_dbi *dbi = &dbidev->dbi; in waveshare_enable() local 106 mipi_dbi_command(dbi, ILI9486_ITFCTR1); 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() 194 struct mipi_dbi *dbi; in ili9486_probe() local 204 dbi = &dbidev->dbi; in ili9486_probe() 208 if (IS_ERR(dbi->reset)) in ili9486_probe() 221 ret = mipi_dbi_spi_init(spi, dbi, dc); in ili9486_probe() 225 dbi->command = waveshare_command; in ili9486_probe() [all …]
|
A D | hx8357d.c | 52 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() local 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() 145 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, in yx240qv29_enable() 155 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in yx240qv29_enable() [all …]
|
/linux/drivers/gpu/drm/panel/ |
A D | panel-widechips-ws2401.c | 65 struct mipi_dbi dbi; member 106 struct mipi_dbi *dbi = &ws->dbi; in ws2401_read_mtp_id() local 130 struct mipi_dbi *dbi = &ws->dbi; in ws2401_power_on() local 162 mipi_dbi_command(dbi, WS2401_RESCTL, 0x12); in ws2401_power_on() 186 mipi_dbi_command(dbi, WS2401_WRMIE, 0x01); in ws2401_power_on() 189 mipi_dbi_command(dbi, WS2401_GAMMA_R1, 0x00, in ws2401_power_on() 192 mipi_dbi_command(dbi, WS2401_GAMMA_R2, 0x00, in ws2401_power_on() 234 struct mipi_dbi *dbi = &ws->dbi; in ws2401_unprepare() local 247 struct mipi_dbi *dbi = &ws->dbi; in ws2401_disable() local 263 struct mipi_dbi *dbi = &ws->dbi; in ws2401_enable() local [all …]
|
A D | panel-samsung-db7430.c | 56 struct mipi_dbi dbi; member 95 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on() local 126 mipi_dbi_command(dbi, DB7430_SOURCE_CONTROL, in db7430_power_on() 128 mipi_dbi_command(dbi, DB7430_GATE_INTERFACE, in db7430_power_on() 130 mipi_dbi_command(dbi, DB7430_DISPLAY_H_TIMING, in db7430_power_on() 138 mipi_dbi_command(dbi, DB7430_GAMMA_SET_RED, in db7430_power_on() 145 mipi_dbi_command(dbi, DB7430_GAMMA_SET_GREEN, in db7430_power_on() 152 mipi_dbi_command(dbi, DB7430_GAMMA_SET_BLUE, in db7430_power_on() 184 struct mipi_dbi *dbi = &db->dbi; in db7430_disable() local 202 struct mipi_dbi *dbi = &db->dbi; in db7430_enable() local [all …]
|
A D | panel-ilitek-ili9341.c | 182 struct mipi_dbi *dbi; member 302 struct mipi_dbi *dbi = ili->dbi; in ili9341_dpi_init() local 492 struct mipi_dbi *dbi = &dbidev->dbi; in ili9341_dbi_enable() local 533 mipi_dbi_command(dbi, ILI9341_PGAMMA, in ili9341_dbi_enable() 536 mipi_dbi_command(dbi, ILI9341_NGAMMA, in ili9341_dbi_enable() 608 struct mipi_dbi *dbi; in ili9341_dbi_probe() local 623 dbi = &dbidev->dbi; in ili9341_dbi_probe() 625 dbi->reset = reset; in ili9341_dbi_probe() 636 ret = mipi_dbi_spi_init(spi, dbi, dc); in ili9341_dbi_probe() 671 if (!ili->dbi) in ili9341_dpi_probe() [all …]
|
A D | panel-samsung-s6d27a1.c | 44 struct mipi_dbi dbi; member 76 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_read_mtp_id() local 100 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_power_on() local 125 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in s6d27a1_power_on() 126 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in s6d27a1_power_on() 133 mipi_dbi_command(dbi, S6D27A1_RESCTL, 0x22); in s6d27a1_power_on() 174 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_unprepare() local 184 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_disable() local 200 struct mipi_dbi *dbi = &ctx->dbi; in s6d27a1_enable() local 202 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in s6d27a1_enable() [all …]
|
A D | panel-samsung-s6e63m0-spi.c | 23 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_read() local 26 ret = mipi_dbi_command_read(dbi, cmd, data); in s6e63m0_spi_dcs_read() 36 struct mipi_dbi *dbi = trsp; in s6e63m0_spi_dcs_write() local 39 ret = mipi_dbi_command_stackbuf(dbi, data[0], (data + 1), (len - 1)); in s6e63m0_spi_dcs_write() 48 struct mipi_dbi *dbi; in s6e63m0_spi_probe() local 51 dbi = devm_kzalloc(dev, sizeof(*dbi), GFP_KERNEL); in s6e63m0_spi_probe() 52 if (!dbi) in s6e63m0_spi_probe() 55 ret = mipi_dbi_spi_init(spi, dbi, NULL); in s6e63m0_spi_probe() 59 dbi->read_commands = s6e63m0_dbi_read_commands; in s6e63m0_spi_probe() 61 return s6e63m0_probe(dev, dbi, s6e63m0_spi_dcs_read, in s6e63m0_spi_probe()
|
/linux/drivers/gpu/drm/ |
A D | drm_mipi_dbi.c | 161 ret = dbi->command(dbi, cmdbuf, data, len); in mipi_dbi_command_buf() 237 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_set_window_address() local 257 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_fb_dirty() local 358 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_blank() local 582 if (!dbi->reset) in mipi_dbi_hw_reset() 627 struct mipi_dbi *dbi = &dbidev->dbi; in mipi_dbi_poweron_reset_conditional() local 655 if (dbi->reset) in mipi_dbi_poweron_reset_conditional() 1136 dbi->spi = spi; in mipi_dbi_spi_init() 1141 dbi->dc = dc; in mipi_dbi_spi_init() 1147 dbi->tx_buf9 = devm_kmalloc(dev, dbi->tx_buf9_len, GFP_KERNEL); in mipi_dbi_spi_init() [all …]
|
/linux/include/drm/ |
A D | drm_mipi_dbi.h | 32 int (*command)(struct mipi_dbi *dbi, u8 *cmd, u8 *param, size_t num); 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); 166 int mipi_dbi_command_buf(struct mipi_dbi *dbi, u8 cmd, u8 *data, size_t len); 167 int mipi_dbi_command_stackbuf(struct mipi_dbi *dbi, u8 cmd, const u8 *data, 183 #define mipi_dbi_command(dbi, cmd, seq...) \ argument 186 struct device *dev = &(dbi)->spi->dev; \ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | uar.c | 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() 310 fp = (dbi % MLX5_BFREGS_PER_UAR) >= MLX5_NON_FP_BFREGS_PER_UAR; in mlx5_free_bfreg() [all …]
|
/linux/drivers/target/ |
A D | target_core_user.c | 187 uint32_t *dbi; member 510 int i, cnt, dbi, dpi; in tcmu_get_empty_block() local 541 udev->dbi_max = dbi; in tcmu_get_empty_block() 556 int dbi = -2; in tcmu_get_empty_blocks() local 562 dbi = tcmu_get_empty_block(udev, tcmu_cmd, dbi, blk_data_len, in tcmu_get_empty_blocks() 564 if (dbi < 0) in tcmu_get_empty_blocks() 617 return dbi; in new_block_to_iov() 624 int dbi = -2; in tcmu_setup_iovs() local 628 dbi = new_block_to_iov(udev, cmd, iov, dbi, data_length); in tcmu_setup_iovs() 706 int dbi = -2; in tcmu_copy_data() local [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
A D | socionext,uniphier-pcie-ep.yaml | 32 - const: dbi 37 - const: dbi 88 reg-names = "dbi", "dbi2", "link", "addr_space";
|
A D | snps,dw-pcie-ep.yaml | 27 It should contain Data Bus Interface (dbi) and config registers for all 37 enum: [dbi, dbi2, config, atu, addr_space, link, atu_dma, appl] 88 reg-names = "dbi", "dbi2", "addr_space";
|
A D | snps,dw-pcie.yaml | 27 It should contain Data Bus Interface (dbi) and config registers for all 37 enum: [ dbi, dbi2, config, atu, app, elbi, mgmt, ctrl, parf, cfg, link, 93 reg-names = "dbi", "config";
|
A D | rockchip-dw-pcie.yaml | 45 - const: dbi 53 - description: AHB clock for PCIe dbi 117 reg-names = "dbi", "apb", "config";
|
A D | intel,keembay-pcie-ep.yaml | 22 - const: dbi 62 reg-names = "dbi", "dbi2", "atu", "addr_space", "apb";
|
A D | pcie-al.txt | 27 - "dbi" Designware PCIe registers 36 reg-names = "config", "controller", "dbi";
|
A D | hisilicon,kirin-pcie.yaml | 31 Should contain dbi, apb, config registers location and length. 68 reg-names = "dbi", "apb", "phy", "config"; 99 reg-names = "dbi", "apb", "config";
|
A D | intel,keembay-pcie.yaml | 31 - const: dbi 83 reg-names = "dbi", "atu", "config", "apb";
|
A D | axis,artpec6-pcie.txt | 14 - "dbi" 31 reg-names = "dbi", "phy", "config";
|