Lines Matching refs:orientation

21 	enum display_orientation orientation;  member
321 const enum display_orientation orientation) in ili9xxx_set_orientation() argument
329 if (orientation == DISPLAY_ORIENTATION_NORMAL) { in ili9xxx_set_orientation()
331 } else if (orientation == DISPLAY_ORIENTATION_ROTATED_90) { in ili9xxx_set_orientation()
333 } else if (orientation == DISPLAY_ORIENTATION_ROTATED_180) { in ili9xxx_set_orientation()
335 } else if (orientation == DISPLAY_ORIENTATION_ROTATED_270) { in ili9xxx_set_orientation()
340 if (orientation == DISPLAY_ORIENTATION_NORMAL) { in ili9xxx_set_orientation()
342 } else if (orientation == DISPLAY_ORIENTATION_ROTATED_90) { in ili9xxx_set_orientation()
344 } else if (orientation == DISPLAY_ORIENTATION_ROTATED_180) { in ili9xxx_set_orientation()
346 } else if (orientation == DISPLAY_ORIENTATION_ROTATED_270) { in ili9xxx_set_orientation()
356 data->orientation = orientation; in ili9xxx_set_orientation()
373 if (data->orientation == DISPLAY_ORIENTATION_NORMAL || in ili9xxx_get_capabilities()
374 data->orientation == DISPLAY_ORIENTATION_ROTATED_180) { in ili9xxx_get_capabilities()
382 capabilities->current_orientation = data->orientation; in ili9xxx_get_capabilities()
391 enum display_orientation orientation; in ili9xxx_configure() local
407 orientation = DISPLAY_ORIENTATION_NORMAL; in ili9xxx_configure()
409 orientation = DISPLAY_ORIENTATION_ROTATED_90; in ili9xxx_configure()
411 orientation = DISPLAY_ORIENTATION_ROTATED_180; in ili9xxx_configure()
413 orientation = DISPLAY_ORIENTATION_ROTATED_270; in ili9xxx_configure()
416 r = ili9xxx_set_orientation(dev, orientation); in ili9xxx_configure()