Lines Matching refs:dev

95 	struct device *dev;  member
138 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e8aa0_dcs_write()
146 dev_err(ctx->dev, "error %zd writing dcs seq: %*ph\n", ret, in s6e8aa0_dcs_write()
154 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e8aa0_dcs_read()
162 dev_err(ctx->dev, "error %d reading dcs seq(%#x)\n", ret, cmd); in s6e8aa0_dcs_read()
805 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in s6e8aa0_set_maximum_return_packet_size()
813 dev_err(ctx->dev, in s6e8aa0_set_maximum_return_packet_size()
827 dev_err(ctx->dev, "read id failed\n"); in s6e8aa0_read_mtp_id()
832 dev_info(ctx->dev, "ID: 0x%2x, 0x%2x, 0x%2x\n", id[0], id[1], id[2]); in s6e8aa0_read_mtp_id()
839 dev_err(ctx->dev, "unsupported display version %d\n", id[1]); in s6e8aa0_read_mtp_id()
928 mode = drm_mode_create(connector->dev); in s6e8aa0_get_modes()
930 dev_err(panel->dev, "failed to create a new display mode\n"); in s6e8aa0_get_modes()
956 struct device *dev = ctx->dev; in s6e8aa0_parse_dt() local
957 struct device_node *np = dev->of_node; in s6e8aa0_parse_dt()
978 struct device *dev = &dsi->dev; in s6e8aa0_probe() local
982 ctx = devm_kzalloc(dev, sizeof(struct s6e8aa0), GFP_KERNEL); in s6e8aa0_probe()
988 ctx->dev = dev; in s6e8aa0_probe()
1001 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ctx->supplies), in s6e8aa0_probe()
1004 dev_err(dev, "failed to get regulators: %d\n", ret); in s6e8aa0_probe()
1008 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in s6e8aa0_probe()
1010 dev_err(dev, "cannot get reset-gpios %ld\n", in s6e8aa0_probe()
1017 drm_panel_init(&ctx->panel, dev, &s6e8aa0_drm_funcs, in s6e8aa0_probe()