ld9040 114 drivers/gpu/drm/panel/panel-samsung-ld9040.c static inline struct ld9040 *panel_to_ld9040(struct drm_panel *panel) ld9040 116 drivers/gpu/drm/panel/panel-samsung-ld9040.c return container_of(panel, struct ld9040, panel); ld9040 119 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_clear_error(struct ld9040 *ctx) ld9040 127 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_spi_write_word(struct ld9040 *ctx, u16 data) ld9040 142 drivers/gpu/drm/panel/panel-samsung-ld9040.c static void ld9040_dcs_write(struct ld9040 *ctx, const u8 *data, size_t len) ld9040 172 drivers/gpu/drm/panel/panel-samsung-ld9040.c static void ld9040_brightness_set(struct ld9040 *ctx) ld9040 180 drivers/gpu/drm/panel/panel-samsung-ld9040.c static void ld9040_init(struct ld9040 *ctx) ld9040 199 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_power_on(struct ld9040 *ctx) ld9040 216 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_power_off(struct ld9040 *ctx) ld9040 228 drivers/gpu/drm/panel/panel-samsung-ld9040.c struct ld9040 *ctx = panel_to_ld9040(panel); ld9040 242 drivers/gpu/drm/panel/panel-samsung-ld9040.c struct ld9040 *ctx = panel_to_ld9040(panel); ld9040 267 drivers/gpu/drm/panel/panel-samsung-ld9040.c struct ld9040 *ctx = panel_to_ld9040(panel); ld9040 296 drivers/gpu/drm/panel/panel-samsung-ld9040.c static int ld9040_parse_dt(struct ld9040 *ctx) ld9040 317 drivers/gpu/drm/panel/panel-samsung-ld9040.c struct ld9040 *ctx; ld9040 320 drivers/gpu/drm/panel/panel-samsung-ld9040.c ctx = devm_kzalloc(dev, sizeof(struct ld9040), GFP_KERNEL); ld9040 363 drivers/gpu/drm/panel/panel-samsung-ld9040.c struct ld9040 *ctx = spi_get_drvdata(spi);