Lines Matching defs:dspconf
212 struct hpcfb_dspconf *dspconf;
284 dspconf = (struct hpcfb_dspconf *)data;
285 if ((dspconf->hd_unit_index != 0 &&
286 dspconf->hd_unit_index != HPCFB_CURRENT_UNIT) ||
287 (dspconf->hd_conf_index != 0 &&
288 dspconf->hd_conf_index != HPCFB_CURRENT_CONFIG)) {
292 dspconf->hd_unit_index = 0;
293 dspconf->hd_nunits = 1;
294 dspconf->hd_class = HPCFB_DSP_CLASS_COLORLCD;
295 strlcpy(dspconf->hd_name, "Sharp Zaurus LCD",
296 sizeof(dspconf->hd_name));
297 dspconf->hd_op_flags = 0;
298 dspconf->hd_conf_index = 0;
299 dspconf->hd_nconfs = 1;
300 strlcpy(dspconf->hd_conf_name, "default",
301 sizeof(dspconf->hd_conf_name));
302 dspconf->hd_width = sc->geometry->panel_width;
303 dspconf->hd_height = sc->geometry->panel_height;
304 dspconf->hd_xdpi = HPCFB_DSP_DPI_UNKNOWN;
305 dspconf->hd_ydpi = HPCFB_DSP_DPI_UNKNOWN;
311 dspconf = (struct hpcfb_dspconf *)data;
312 if ((dspconf->hd_unit_index != 0 &&
313 dspconf->hd_unit_index != HPCFB_CURRENT_UNIT) ||
314 (dspconf->hd_conf_index != 0 &&
315 dspconf->hd_conf_index != HPCFB_CURRENT_CONFIG)) {