Lines Matching +full:pixel +full:- +full:group +full:- +full:size

4  * SPDX-License-Identifier: Apache-2.0
182 /* Group delays. Sets start/end signal delay from VYSNC
451 const struct hx8394_config *config = dev->config; in hx8394_blanking_off()
453 if (config->bl_gpio.port != NULL) { in hx8394_blanking_off()
454 return gpio_pin_set_dt(&config->bl_gpio, 1); in hx8394_blanking_off()
456 return -ENOTSUP; in hx8394_blanking_off()
462 const struct hx8394_config *config = dev->config; in hx8394_blanking_on()
464 if (config->bl_gpio.port != NULL) { in hx8394_blanking_on()
465 return gpio_pin_set_dt(&config->bl_gpio, 0); in hx8394_blanking_on()
467 return -ENOTSUP; in hx8394_blanking_on()
474 const struct hx8394_config *config = dev->config; in hx8394_set_pixel_format()
476 if (pixel_format == config->pixel_format) { in hx8394_set_pixel_format()
479 LOG_WRN("Pixel format change not implemented"); in hx8394_set_pixel_format()
480 return -ENOTSUP; in hx8394_set_pixel_format()
486 const struct hx8394_config *config = dev->config; in hx8394_set_orientation()
489 /* Note- this simply flips the scan direction of the display in hx8394_set_orientation()
509 return -ENOTSUP; in hx8394_set_orientation()
511 return hx8394_mipi_tx(config->mipi_dsi, config->channel, param, 2); in hx8394_set_orientation()
517 const struct hx8394_config *config = dev->config; in hx8394_get_capabilities()
520 capabilities->x_resolution = config->panel_width; in hx8394_get_capabilities()
521 capabilities->y_resolution = config->panel_height; in hx8394_get_capabilities()
522 capabilities->supported_pixel_formats = config->pixel_format; in hx8394_get_capabilities()
523 capabilities->current_pixel_format = config->pixel_format; in hx8394_get_capabilities()
524 capabilities->current_orientation = DISPLAY_ORIENTATION_NORMAL; in hx8394_get_capabilities()
538 const struct hx8394_config *config = dev->config; in hx8394_init()
556 mdev.data_lanes = config->num_of_lanes; in hx8394_init()
557 mdev.pixfmt = config->pixel_format; in hx8394_init()
561 ret = mipi_dsi_attach(config->mipi_dsi, config->channel, &mdev); in hx8394_init()
563 LOG_ERR("Could not attach to MIPI-DSI host"); in hx8394_init()
567 if (gpio_is_ready_dt(&config->reset_gpio)) { in hx8394_init()
574 ret = gpio_pin_configure_dt(&config->reset_gpio, GPIO_OUTPUT_INACTIVE); in hx8394_init()
579 gpio_pin_set_dt(&config->reset_gpio, 0); in hx8394_init()
584 gpio_pin_set_dt(&config->reset_gpio, 1); in hx8394_init()
591 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
598 setmipi[1] |= (config->num_of_lanes - 1); in hx8394_init()
599 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
606 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
613 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
619 /* Setup display line count and front/back porch size */ in hx8394_init()
620 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
627 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
633 /* Set group delay values */ in hx8394_init()
634 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
641 /* Set group clock selections */ in hx8394_init()
642 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
648 /* Set group clock selections for GS mode */ in hx8394_init()
649 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
661 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
668 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
677 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
684 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
693 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
702 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
707 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
713 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
720 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
725 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
732 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
737 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
746 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
752 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
760 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
769 ret = hx8394_mipi_tx(config->mipi_dsi, config->channel, in hx8394_init()
772 if (config->bl_gpio.port != NULL) { in hx8394_init()
773 ret = gpio_pin_configure_dt(&config->bl_gpio, GPIO_OUTPUT_ACTIVE); in hx8394_init()