Lines Matching defs:conf

546 	 * @conf: the specific panel configuration, as the NT35510
551 const struct nt35510_config *conf;
660 nt->conf->avdd);
665 nt->conf->bt1ctr);
670 nt->conf->avee);
675 nt->conf->bt2ctr);
680 nt->conf->vcl);
685 nt->conf->bt3ctr);
690 nt->conf->vgh);
695 nt->conf->bt4ctr);
705 nt->conf->vgl);
710 nt->conf->bt5ctr);
715 nt->conf->vgp);
720 nt->conf->vgn);
726 nt->conf->vcmoff);
743 const struct nt35510_config *conf = nt->conf;
749 conf->dopctr);
753 ret = mipi_dsi_dcs_write(dsi, MIPI_DCS_SET_ADDRESS_MODE, &conf->madctl,
754 sizeof(conf->madctl));
758 ret = mipi_dsi_dcs_write(dsi, NT35510_P0_SDHDTCTR, &conf->sdhdtctr,
759 sizeof(conf->sdhdtctr));
765 conf->gseqctr);
771 conf->sdeqctr);
776 &conf->sdvpctr, 1);
796 dpfrctr[0] = (conf->t1 >> 8) & 0xFF;
797 dpfrctr[1] = conf->t1 & 0xFF;
799 dpfrctr[2] = conf->vbp;
801 dpfrctr[3] = conf->vfp;
802 dpfrctr[4] = conf->psel;
829 conf->dpmctr12);
909 if (nt->conf->cmds & NT35510_CMD_CORRECT_GAMMA) {
912 nt->conf->gamma_corr_pos_r);
917 nt->conf->gamma_corr_pos_g);
922 nt->conf->gamma_corr_pos_b);
927 nt->conf->gamma_corr_neg_r);
932 nt->conf->gamma_corr_neg_g);
937 nt->conf->gamma_corr_neg_b);
1019 if (nt->conf->cmds & NT35510_CMD_CONTROL_DISPLAY) {
1021 &nt->conf->wrctrld,
1022 sizeof(nt->conf->wrctrld));
1027 &nt->conf->wrcabc,
1028 sizeof(nt->conf->wrcabc));
1033 &nt->conf->wrcabcmb,
1034 sizeof(nt->conf->wrcabcmb));
1058 info->width_mm = nt->conf->width_mm;
1059 info->height_mm = nt->conf->height_mm;
1060 mode = drm_mode_duplicate(connector->dev, &nt->conf->mode);
1068 mode->width_mm = nt->conf->width_mm;
1069 mode->height_mm = nt->conf->height_mm;
1113 nt->conf = of_device_get_match_data(dev);
1114 if (!nt->conf) {
1119 dsi->mode_flags = nt->conf->mode_flags;
1165 if (nt->conf->cmds & NT35510_CMD_CONTROL_DISPLAY)
1166 bl->props.brightness = nt->conf->wrdisbv;