Searched refs:bdisp (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/media/platform/st/sti/bdisp/ |
D | bdisp-v4l2.c | 211 struct bdisp_dev *bdisp = ctx->bdisp_dev; in bdisp_ctx_stop_req() local 216 cancel_delayed_work(&bdisp->timeout_work); in bdisp_ctx_stop_req() 218 curr_ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_ctx_stop_req() 219 if (!test_bit(ST_M2M_RUNNING, &bdisp->state) || (curr_ctx != ctx)) in bdisp_ctx_stop_req() 224 ret = wait_event_timeout(bdisp->irq_queue, in bdisp_ctx_stop_req() 308 struct bdisp_dev *bdisp; in bdisp_device_run() local 315 bdisp = ctx->bdisp_dev; in bdisp_device_run() 316 dev_dbg(bdisp->dev, "%s\n", __func__); in bdisp_device_run() 317 spin_lock_irqsave(&bdisp->slock, flags); in bdisp_device_run() 319 if (bdisp->m2m.ctx != ctx) { in bdisp_device_run() [all …]
|
D | bdisp-debug.c | 14 void bdisp_dbg_perf_begin(struct bdisp_dev *bdisp) in bdisp_dbg_perf_begin() argument 16 bdisp->dbg.hw_start = ktime_get(); in bdisp_dbg_perf_begin() 19 void bdisp_dbg_perf_end(struct bdisp_dev *bdisp) in bdisp_dbg_perf_end() argument 23 time_us = ktime_us_delta(ktime_get(), bdisp->dbg.hw_start); in bdisp_dbg_perf_end() 25 if (!bdisp->dbg.min_duration) in bdisp_dbg_perf_end() 26 bdisp->dbg.min_duration = time_us; in bdisp_dbg_perf_end() 28 bdisp->dbg.min_duration = min(time_us, bdisp->dbg.min_duration); in bdisp_dbg_perf_end() 30 bdisp->dbg.last_duration = time_us; in bdisp_dbg_perf_end() 31 bdisp->dbg.max_duration = max(time_us, bdisp->dbg.max_duration); in bdisp_dbg_perf_end() 32 bdisp->dbg.tot_duration += time_us; in bdisp_dbg_perf_end() [all …]
|
D | Makefile | 2 obj-$(CONFIG_VIDEO_STI_BDISP) += bdisp.o 4 bdisp-objs := bdisp-v4l2.o bdisp-hw.o bdisp-debug.o
|
D | bdisp.h | 207 int bdisp_hw_reset(struct bdisp_dev *bdisp); 208 int bdisp_hw_get_and_clear_irq(struct bdisp_dev *bdisp); 211 void bdisp_debugfs_remove(struct bdisp_dev *bdisp); 212 void bdisp_debugfs_create(struct bdisp_dev *bdisp); 213 void bdisp_dbg_perf_begin(struct bdisp_dev *bdisp); 214 void bdisp_dbg_perf_end(struct bdisp_dev *bdisp);
|
D | bdisp-hw.c | 367 int bdisp_hw_reset(struct bdisp_dev *bdisp) in bdisp_hw_reset() argument 371 dev_dbg(bdisp->dev, "%s\n", __func__); in bdisp_hw_reset() 374 writel(0, bdisp->regs + BLT_ITM0); in bdisp_hw_reset() 377 writel(readl(bdisp->regs + BLT_CTL) | BLT_CTL_RESET, in bdisp_hw_reset() 378 bdisp->regs + BLT_CTL); in bdisp_hw_reset() 379 writel(0, bdisp->regs + BLT_CTL); in bdisp_hw_reset() 383 if (readl(bdisp->regs + BLT_STA1) & BLT_STA1_IDLE) in bdisp_hw_reset() 388 dev_err(bdisp->dev, "Reset timeout\n"); in bdisp_hw_reset() 402 int bdisp_hw_get_and_clear_irq(struct bdisp_dev *bdisp) in bdisp_hw_get_and_clear_irq() argument 406 its = readl(bdisp->regs + BLT_ITS); in bdisp_hw_get_and_clear_irq() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/media/ |
D | st,stih4xx.txt | 3 bdisp: 2D blitter for STMicroelectronics SoC. 6 - compatible: should be "st,stih407-bdisp". 16 bdisp0:bdisp@9f10000 { 17 compatible = "st,stih407-bdisp"; 20 clock-names = "bdisp";
|
/linux-6.12.1/drivers/media/platform/st/sti/ |
D | Makefile | 2 obj-y += bdisp/
|
D | Kconfig | 2 source "drivers/media/platform/st/sti/bdisp/Kconfig"
|
/linux-6.12.1/drivers/media/platform/st/ |
D | Makefile | 3 obj-y += sti/bdisp/
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | stih410.dtsi | 249 bdisp0:bdisp@9f10000 { 250 compatible = "st,stih407-bdisp"; 253 clock-names = "bdisp";
|
/linux-6.12.1/Documentation/devicetree/bindings/clock/st/ |
D | st,flexgen.txt | 115 "clk-ic-bdisp-0", 116 "clk-ic-bdisp-1",
|
/linux-6.12.1/ |
D | MAINTAINERS | 3861 F: drivers/media/platform/st/sti/bdisp
|