Benign repos Download

imx8qxp-pxl2dpi.c

Includes Linux kernel module headerAssigns a negative errno constant
SHA-256da6ead2eca3b0a470237c38835fb4fd0cdc3d7fe577703e81f62fbd28978a55d
MaleculeO(Er)H(Os)

Evidence

Includes Linux kernel module header lines 1–28
⋯4 lines
5 */
6
7#include <linux/firmware/imx/svc/misc.h>
8#include <linux/media-bus-format.h>
9#include <linux/mfd/syscon.h>
10#include <linux/module.h>
11#include <linux/of.h>
12#include <linux/of_device.h>
13#include <linux/of_graph.h>
14#include <linux/platform_device.h>
15#include <linux/pm_runtime.h>
16#include <linux/regmap.h>
17
18#include <drm/drm_atomic_state_helper.h>
19#include <drm/drm_bridge.h>
20#include <drm/drm_of.h>
21#include <drm/drm_print.h>
22
23#include <dt-bindings/firmware/imx/rsrc.h>
24
25#define PXL2DPI_CTRL 0x40
26#define CFG1_16BIT 0x0
27#define CFG2_16BIT 0x1
28#define CFG3_16BIT …
Kernel error code return lines 56–66
56:20… ->dev,
57 "do not support creating a drm_connector\n");
58 return -EINVAL;
59 }
60
⋯6 lines
English function-word token "for" lines 151–156
151:27… i_bus_output_fmt_supported(u32 fmt)
152{
153 int i;
154
155 for (i = 0; i < ARRAY_SIZE(imx8qxp_pxl2dpi_bus_output_fmts); i++) {
156 if (imx8qxp_pxl2dpi_bus_outpu …
English function-word token "the" lines 318–323
318:30… atch;
319 int dual_link;
320 int ret = 0;
321
322 /* Locate the companion PXL2DPI for dual-link operation, if any. */
323 companion = of_parse_phandle(dev->of_nod …
Assigns a negative errno constant lines 327–337
327:42… {
328 DRM_DEV_ERROR(dev, "companion PXL2DPI is not available\n");
329 ret = -ENODEV;
330 goto out;
331 }
332
333 /*
334 * Sanity check: the companion bridge must have the same compatible
335 * string.
336 */
337 match = of_match_device(dev->driver->of_match_table, dev) …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.