Lines Matching defs:dspconf
200 struct hpcfb_dspconf *dspconf;
271 dspconf = (struct hpcfb_dspconf *)data;
272 if ((dspconf->hd_unit_index != 0 &&
273 dspconf->hd_unit_index != HPCFB_CURRENT_UNIT) ||
274 (dspconf->hd_conf_index != 0 &&
275 dspconf->hd_conf_index != HPCFB_CURRENT_CONFIG)) {
279 dspconf->hd_unit_index = 0;
280 dspconf->hd_nunits = 1;
281 dspconf->hd_class = HPCFB_DSP_CLASS_COLORLCD;
282 strlcpy(dspconf->hd_name, "Sharp Zaurus LCD",
283 sizeof(dspconf->hd_name));
284 dspconf->hd_op_flags = 0;
285 dspconf->hd_conf_index = 0;
286 dspconf->hd_nconfs = 1;
287 strlcpy(dspconf->hd_conf_name, "default",
288 sizeof(dspconf->hd_conf_name));
289 dspconf->hd_width = sc->display_width;
290 dspconf->hd_height = sc->display_height;
291 dspconf->hd_xdpi = HPCFB_DSP_DPI_UNKNOWN;
292 dspconf->hd_ydpi = HPCFB_DSP_DPI_UNKNOWN;
298 dspconf = (struct hpcfb_dspconf *)data;
299 if ((dspconf->hd_unit_index != 0 &&
300 dspconf->hd_unit_index != HPCFB_CURRENT_UNIT) ||
301 (dspconf->hd_conf_index != 0 &&
302 dspconf->hd_conf_index != HPCFB_CURRENT_CONFIG)) {