| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tiny/ |
| H A D | ili9225.c | 7 * 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 …]
|
| H A D | ili9341.c | 58 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 …]
|
| H A D | mi0283qt.c | 56 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 …]
|
| H A D | st7586.c | 118 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 …]
|
| H 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() 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 …]
|
| H 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() 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 …]
|
| H A D | hx8357d.c | 52 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_mipi_dbi.c | 3 * 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 …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_mipi_dbi.h | 3 * 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pcie_layerscape.c | 28 return in_le32(pcie->dbi + offset); in dbi_readl() 34 out_le32(pcie->dbi + offset, value); in dbi_writel() 137 readl(pcie->dbi + PCIE_ATU_LIMIT)); in ls_pcie_dump_atu() 251 return pcie->dbi + offset; in ls_pcie_conf_address() 325 writeb(PCI_HEADER_TYPE_BRIDGE, pcie->dbi + PCI_HEADER_TYPE); in ls_pcie_clear_multifunction() 331 writew(PCI_CLASS_BRIDGE_PCI, pcie->dbi + PCI_CLASS_DEVICE); in ls_pcie_fix_class() 349 sriov = in_le32(pcie->dbi + PCIE_SRIOV); in ls_pcie_disable_bars() 448 sriov = readl(pcie->dbi + PCIE_SRIOV); in ls_pcie_setup_ep() 457 ls_pcie_ep_setup_bars(pcie->dbi); in ls_pcie_setup_ep() 464 ls_pcie_ep_setup_bars(pcie->dbi + PCIE_NO_SRIOV_BAR_BASE); in ls_pcie_setup_ep() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | uar.c | 194 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | fsl-ls2080a.dtsi | 95 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */ 98 reg-names = "dbi", "lut", "config"; 110 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */ 113 reg-names = "dbi", "lut", "config"; 125 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */ 128 reg-names = "dbi", "lut", "config"; 140 reg = <0x00 0x03700000 0x0 0x80000 /* dbi registers */ 143 reg-names = "dbi", "lut", "config";
|
| H A D | fsl-ls1043a.dtsi | 242 reg = <0x00 0x03400000 0x0 0x10000 /* dbi registers */ 245 reg-names = "dbi", "lut", "config"; 257 reg = <0x00 0x03500000 0x0 0x10000 /* dbi registers */ 260 reg-names = "dbi", "lut", "config"; 273 reg = <0x00 0x03600000 0x0 0x10000 /* dbi registers */ 276 reg-names = "dbi", "lut", "config";
|
| H A D | fsl-ls1046a.dtsi | 243 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */ 247 reg-names = "dbi", "lut", "ctrl", "config"; 259 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */ 263 reg-names = "dbi", "lut", "ctrl", "config"; 276 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */ 280 reg-names = "dbi", "lut", "ctrl", "config";
|
| /OK3568_Linux_fs/kernel/drivers/target/ |
| H A D | target_core_user.c | 182 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/block/ |
| H A D | request.rst | 54 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
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/perl/ |
| H A D | libdbi-perl_1.643.bb | 2 DESCRIPTION = "DBI is a database access Application Programming Interface \ 3 (API) for the Perl Language. The DBI API Specification defines a set \ 7 HOMEPAGE = "http://search.cpan.org/dist/DBI/" 12 SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz \ 18 S = "${WORKDIR}/DBI-${PV}"
|
| H A D | libdbd-mysql-perl_4.050.bb | 1 SUMMARY = "A Perl DBI driver for MySQL" 9 HOMEPAGE = "https://github.com/perl5-dbi/DBD-mysql" 18 SRC_URI = "git://github.com/perl5-dbi/DBD-mysql.git;protocol=https;branch=master"
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl/ |
| H A D | CVE-2014-10402.patch | 4 Upstream-Status: Backport [https://github.com/rehsack/dbi/commit/19d0fb1] 18 figure out that DBI->parse_dsn is the wrong helper to parse our attributes in 35 # my $dbh = DBI->connect ("dbi:CSV:f_dir=test", undef, undef, { f_dir => "text" }); 37 - if (my $attr_hash = (DBI->parse_dsn ($dbname))[3]) {
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl/ |
| H A D | sqlite-perl-test.pl | 18 # - It tests DBI and DBD::SQLite could work correctly which means one could 22 use DBI; 55 my $dbh = DBI->connect("DBI:SQLite:dbname=$dbfile","","") 56 or die "Couldn't connect to database: " . DBI->errstr;
|
| /OK3568_Linux_fs/buildroot/package/perl-dbi/ |
| H A D | Config.in | 2 bool "perl-dbi" 7 http://dbi.perl.org/ 9 comment "perl-dbi needs a toolchain w/ dynamic library"
|
| H A D | perl-dbi.mk | 3 # perl-dbi 8 PERL_DBI_SOURCE = DBI-$(PERL_DBI_VERSION).tar.gz 12 PERL_DBI_DISTNAME = DBI
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/phydm/rtl8188e/ |
| H A D | hal8188ereg.h | 45 #define REG_DBI_WDATA_8188 0x0348 // DBI Write Data 46 #define REG_DBI_RDATA_8188 0x034C // DBI Read Data 47 #define REG_DBI_ADDR_8188 0x0350 // DBI Address 48 #define REG_DBI_FLAG_8188 0x0352 // DBI Read/Write Flag
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/rtl8188e/ |
| H A D | hal8188ereg.h | 48 #define REG_DBI_WDATA_8188 0x0348 /* DBI Write data */ 49 #define REG_DBI_RDATA_8188 0x034C /* DBI Read data */ 50 #define REG_DBI_ADDR_8188 0x0350 /* DBI Address */ 51 #define REG_DBI_FLAG_8188 0x0352 /* DBI Read/Write Flag */
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-perl/ |
| H A D | README | 13 The DBI is a database access module for the Perl programming language. 17 |<- Scope of DBI ->| 23 | DBI | |I| |I| `--------------' `-------------' 30 DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire
|