Home
last modified time | relevance | path

Searched full:ldb (Results 1 – 25 of 108) sorted by relevance

12345

/Linux-v6.1/drivers/gpu/drm/bridge/imx/
Dimx-ldb-helper.c16 #include "imx-ldb-helper.h"
47 struct ldb *ldb = ldb_ch->ldb; in ldb_bridge_mode_set_helper() local
51 ldb->ldb_ctrl |= LDB_SPLIT_MODE_EN; in ldb_bridge_mode_set_helper()
58 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24; in ldb_bridge_mode_set_helper()
60 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24; in ldb_bridge_mode_set_helper()
64 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24 | in ldb_bridge_mode_set_helper()
67 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24 | in ldb_bridge_mode_set_helper()
76 struct ldb *ldb = ldb_ch->ldb; in ldb_bridge_enable_helper() local
82 regmap_write(ldb->regmap, ldb->ctrl_reg, ldb->ldb_ctrl); in ldb_bridge_enable_helper()
88 struct ldb *ldb = ldb_ch->ldb; in ldb_bridge_disable_helper() local
[all …]
Dimx8qxp-ldb-drv.c25 #include "imx-ldb-helper.h"
35 #define DRIVER_NAME "imx8qxp-ldb"
44 struct ldb base;
59 static inline struct imx8qxp_ldb *base_to_imx8qxp_ldb(struct ldb *base) in base_to_imx8qxp_ldb()
87 struct ldb *ldb = ldb_ch->ldb; in imx8qxp_ldb_bridge_atomic_check() local
90 struct imx8qxp_ldb *imx8qxp_ldb = base_to_imx8qxp_ldb(ldb); in imx8qxp_ldb_bridge_atomic_check()
129 struct ldb *ldb = ldb_ch->ldb; in imx8qxp_ldb_bridge_mode_set() local
132 struct imx8qxp_ldb *imx8qxp_ldb = base_to_imx8qxp_ldb(ldb); in imx8qxp_ldb_bridge_mode_set()
170 ldb->ldb_ctrl &= ~LDB_CH_SEL; in imx8qxp_ldb_bridge_mode_set()
172 ldb->ldb_ctrl |= LDB_CH_SEL; in imx8qxp_ldb_bridge_mode_set()
[all …]
Dimx8qm-ldb-drv.c25 #include "imx-ldb-helper.h"
40 #define DRIVER_NAME "imx8qm-ldb"
48 struct ldb base;
62 static inline struct imx8qm_ldb *base_to_imx8qm_ldb(struct ldb *base) in base_to_imx8qm_ldb()
84 struct ldb *ldb = ldb_ch->ldb; in imx8qm_ldb_bridge_atomic_check() local
87 struct imx8qm_ldb *imx8qm_ldb = base_to_imx8qm_ldb(ldb); in imx8qm_ldb_bridge_atomic_check()
131 struct ldb *ldb = ldb_ch->ldb; in imx8qm_ldb_bridge_mode_set() local
134 struct imx8qm_ldb *imx8qm_ldb = base_to_imx8qm_ldb(ldb); in imx8qm_ldb_bridge_mode_set()
172 ldb->ldb_ctrl |= LDB_DI0_VS_POL_ACT_LOW; in imx8qm_ldb_bridge_mode_set()
174 ldb->ldb_ctrl |= LDB_DI1_VS_POL_ACT_LOW; in imx8qm_ldb_bridge_mode_set()
[all …]
Dimx-ldb-helper.h43 struct ldb;
46 struct ldb *ldb; member
57 struct ldb { struct
87 int ldb_init_helper(struct ldb *ldb);
89 int ldb_find_next_bridge_helper(struct ldb *ldb);
91 void ldb_add_bridge_helper(struct ldb *ldb,
94 void ldb_remove_bridge_helper(struct ldb *ldb);
DMakefile1 imx8qm-ldb-objs := imx-ldb-helper.o imx8qm-ldb-drv.o
2 obj-$(CONFIG_DRM_IMX8QM_LDB) += imx8qm-ldb.o
4 imx8qxp-ldb-objs := imx-ldb-helper.o imx8qxp-ldb-drv.o
5 obj-$(CONFIG_DRM_IMX8QXP_LDB) += imx8qxp-ldb.o
DKconfig9 Choose this to enable the internal LVDS Display Bridge(LDB) found in
10 Freescale i.MX8qm processor. Official name of LDB is pixel mapper.
18 Choose this to enable the internal LVDS Display Bridge(LDB) found in
19 Freescale i.MX8qxp processor. Official name of LDB is pixel mapper.
/Linux-v6.1/drivers/gpu/drm/imx/
Dimx-ldb.c36 #define DRIVER_NAME "imx-ldb"
64 struct imx_ldb *ldb; member
66 /* Defines what is connected to the ldb, only one at a time */
111 struct imx_ldb *ldb = imx_ldb_ch->ldb; in imx_ldb_ch_set_bus_format() local
112 int dual = ldb->ldb_ctrl & LDB_SPLIT_MODE_EN; in imx_ldb_ch_set_bus_format()
119 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24; in imx_ldb_ch_set_bus_format()
121 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24; in imx_ldb_ch_set_bus_format()
125 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24 | in imx_ldb_ch_set_bus_format()
128 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24 | in imx_ldb_ch_set_bus_format()
166 static void imx_ldb_set_clock(struct imx_ldb *ldb, int mux, int chno, in imx_ldb_set_clock() argument
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/bridge/
Dfsl,imx8qxp-ldb.yaml4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-ldb.yaml#
13 The Freescale i.MX8qm/qxp LVDS Display Bridge(LDB) has two channels.
15 The i.MX8qm/qxp LDB is controlled by Control and Status Registers(CSR) module.
16 The CSR module, as a system controller, contains the LDB's configuration
19 For i.MX8qxp LDB, each channel supports up to 24bpp parallel input color
22 them to use. Two LDB channels from two LDB instances can work together in
23 LDB split mode to support a dual link LVDS display. The channel indexes
27 For i.MX8qm LDB, each channel additionally supports up to 30bpp parallel
33 A side note is that i.MX8qm/qxp LDB is officially called pixel mapper in
36 consistency, this binding calls it LDB.
[all …]
Dfsl,ldb.yaml4 $id: http://devicetree.org/schemas/display/bridge/fsl,ldb.yaml#
19 const: fsl,imx8mp-ldb
25 const: ldb
32 - const: ldb
71 compatible = "fsl,imx8mp-ldb";
73 clock-names = "ldb";
75 reg-names = "ldb", "lvds";
Dfsl,imx8qxp-pxl2dpi.yaml15 MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module
38 LVDS Display Bridge(LDB) in split mode.
/Linux-v6.1/block/partitions/
Dldm.c343 * @ldb: Cache of the database structures
354 unsigned long base, struct ldmdb *ldb) in ldm_validate_tocblocks() argument
364 BUG_ON(!state || !ldb); in ldm_validate_tocblocks()
365 ph = &ldb->ph; in ldm_validate_tocblocks()
366 tb[0] = &ldb->toc; in ldm_validate_tocblocks()
419 * @ldb: Cache of the database structures
422 * information in @ldb.
424 * Return: 'true' @ldb contains validated VBDB info
425 * 'false' @ldb contents are undefined
428 unsigned long base, struct ldmdb *ldb) in ldm_validate_vmdb() argument
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/display/imx/
Dldb.txt1 Device-Tree bindings for LVDS Display Bridge (ldb)
12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb".
13 Both LDB versions are similar, but i.MX6 has an additional
19 - clocks, clock-names : phandles to the LDB divider and selector clocks and to
23 "di0_pll" - LDB LVDS channel 0 mux
24 "di1_pll" - LDB LVDS channel 1 mux
25 "di0" - LDB LVDS channel 0 gate
26 "di1" - LDB LVDS channel 1 gate
79 ldb: ldb@53fa8008 {
82 compatible = "fsl,imx53-ldb";
/Linux-v6.1/arch/arc/lib/
Dmemcmp.S114 ldb r4,[r0,0]
115 ldb r5,[r1,0]
125 ldb r12,[r1,1]
127 ldb.a r4,[r0,2]
128 ldb.a r5,[r1,2]
Dmemcpy-archs.S51 ldb.ab r5, [r1,1]
79 ldb.ab r5, [r1,1]
92 ldb.ab r5, [r1, 1]
133 ldb.ab r6, [r1,1]
174 ldb.ab r6, [r1,1]
214 ldb.ab r6, [r1,1]
Dmemcpy-700.S53 ldb.a r12,[r1,1]
58 ldb.a r12,[r1,2]
Dstrcmp-archs.S65 ldb.ab r2, [r0, 1]
66 ldb.ab r3, [r1, 1]
Dstrcmp.S85 ldb.ab r2,[r0,1]
86 ldb.ab r3,[r1,1]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dfsl,imx8qxp-csr.yaml43 "^(ldb|phy|pxl2dpi)$":
62 - ldb
72 - ldb
129 mipi_lvds_0_ldb: ldb {
132 compatible = "fsl,imx8qxp-ldb";
/Linux-v6.1/arch/csky/abiv2/
Dmemcmp.S74 ldb r0, (r3, 0)
75 ldb r4, (r1, 0)
143 ldb r0, (r3, 0)
144 ldb r4, (r1, 0)
Dstrcmp.S148 ldb a0, (a3, 0)
149 ldb a2, (a1, 0)
160 ldb a0, (a3, 0)
162 ldb a2, (a1, 0)
Dmemcpy.S72 ldb r3, (r1, 0)
93 ldb r3, (r1, 0)
Dmemmove.S78 ldb r3, (r1, 0)
95 ldb r3, (r1, 0)
/Linux-v6.1/net/core/
Dptp_classifier.c17 * ldb [23] ; load proto
33 * ldb [20] ; load proto
48 * ldb [18] ; load payload
59 * ldb [27] ; load proto
75 * ldb [24] ; load proto
88 * ldb [14] ; load payload
/Linux-v6.1/drivers/gpu/drm/bridge/
Dfsl-ldb.c255 fsl_ldb->clk = devm_clk_get(dev, "ldb"); in fsl_ldb_probe()
309 { .compatible = "fsl,imx8mp-ldb", },
318 .name = "fsl-ldb",
325 MODULE_DESCRIPTION("Freescale i.MX8MP LDB");
/Linux-v6.1/arch/arc/include/asm/
Duaccess.h32 case 1: __arc_get_user_one(*(k), u, "ldb", __ret); break; \
157 "1: ldb.ab %1, [%3, 1] \n" in raw_copy_from_user()
288 "18: ldb.ab %3, [%2,2] \n" in raw_copy_from_user()
336 "18: ldb.ab %5, [%2,1] \n" /* 1 byte left */ in raw_copy_from_user()
384 " ldb.ab %1, [%3, 1] \n" in raw_copy_to_user()
510 " ldb.ab %3, [%2,1] \n" in raw_copy_to_user()
558 " ldb.ab %5, [%2,1] \n" /* 1 byte left */ in raw_copy_to_user()

12345