Lines Matching refs:omap_dss_device
49 struct omap_dss_device;
353 struct omap_dss_device *(*get_device)(struct omap_overlay *ovl);
380 struct omap_dss_device *output;
394 struct omap_dss_device *output);
406 struct omap_dss_device *(*get_device)(struct omap_overlay_manager *mgr);
438 int (*connect)(struct omap_dss_device *dssdev,
439 struct omap_dss_device *dst);
440 void (*disconnect)(struct omap_dss_device *dssdev,
441 struct omap_dss_device *dst);
443 int (*enable)(struct omap_dss_device *dssdev);
444 void (*disable)(struct omap_dss_device *dssdev);
446 int (*check_timings)(struct omap_dss_device *dssdev,
448 void (*set_timings)(struct omap_dss_device *dssdev,
450 void (*get_timings)(struct omap_dss_device *dssdev,
453 void (*set_data_lines)(struct omap_dss_device *dssdev, int data_lines);
457 int (*connect)(struct omap_dss_device *dssdev,
458 struct omap_dss_device *dst);
459 void (*disconnect)(struct omap_dss_device *dssdev,
460 struct omap_dss_device *dst);
462 int (*enable)(struct omap_dss_device *dssdev);
463 void (*disable)(struct omap_dss_device *dssdev);
465 int (*check_timings)(struct omap_dss_device *dssdev,
467 void (*set_timings)(struct omap_dss_device *dssdev,
469 void (*get_timings)(struct omap_dss_device *dssdev,
472 void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
476 int (*connect)(struct omap_dss_device *dssdev,
477 struct omap_dss_device *dst);
478 void (*disconnect)(struct omap_dss_device *dssdev,
479 struct omap_dss_device *dst);
481 int (*enable)(struct omap_dss_device *dssdev);
482 void (*disable)(struct omap_dss_device *dssdev);
484 int (*check_timings)(struct omap_dss_device *dssdev,
486 void (*set_timings)(struct omap_dss_device *dssdev,
488 void (*get_timings)(struct omap_dss_device *dssdev,
493 int (*connect)(struct omap_dss_device *dssdev,
494 struct omap_dss_device *dst);
495 void (*disconnect)(struct omap_dss_device *dssdev,
496 struct omap_dss_device *dst);
498 int (*enable)(struct omap_dss_device *dssdev);
499 void (*disable)(struct omap_dss_device *dssdev);
501 int (*check_timings)(struct omap_dss_device *dssdev,
503 void (*set_timings)(struct omap_dss_device *dssdev,
505 void (*get_timings)(struct omap_dss_device *dssdev,
508 void (*set_type)(struct omap_dss_device *dssdev,
510 void (*invert_vid_out_polarity)(struct omap_dss_device *dssdev,
513 int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
514 u32 (*get_wss)(struct omap_dss_device *dssdev);
518 int (*connect)(struct omap_dss_device *dssdev,
519 struct omap_dss_device *dst);
520 void (*disconnect)(struct omap_dss_device *dssdev,
521 struct omap_dss_device *dst);
523 int (*enable)(struct omap_dss_device *dssdev);
524 void (*disable)(struct omap_dss_device *dssdev);
526 int (*check_timings)(struct omap_dss_device *dssdev,
528 void (*set_timings)(struct omap_dss_device *dssdev,
530 void (*get_timings)(struct omap_dss_device *dssdev,
533 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
534 bool (*detect)(struct omap_dss_device *dssdev);
536 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
537 int (*set_infoframe)(struct omap_dss_device *dssdev,
542 int (*connect)(struct omap_dss_device *dssdev,
543 struct omap_dss_device *dst);
544 void (*disconnect)(struct omap_dss_device *dssdev,
545 struct omap_dss_device *dst);
547 int (*enable)(struct omap_dss_device *dssdev);
548 void (*disable)(struct omap_dss_device *dssdev, bool disconnect_lanes,
552 int (*set_config)(struct omap_dss_device *dssdev,
554 int (*configure_pins)(struct omap_dss_device *dssdev,
557 void (*enable_hs)(struct omap_dss_device *dssdev, int channel,
559 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
561 int (*update)(struct omap_dss_device *dssdev, int channel,
564 void (*bus_lock)(struct omap_dss_device *dssdev);
565 void (*bus_unlock)(struct omap_dss_device *dssdev);
567 int (*enable_video_output)(struct omap_dss_device *dssdev, int channel);
568 void (*disable_video_output)(struct omap_dss_device *dssdev,
571 int (*request_vc)(struct omap_dss_device *dssdev, int *channel);
572 int (*set_vc_id)(struct omap_dss_device *dssdev, int channel,
574 void (*release_vc)(struct omap_dss_device *dssdev, int channel);
577 int (*dcs_write)(struct omap_dss_device *dssdev, int channel,
579 int (*dcs_write_nosync)(struct omap_dss_device *dssdev, int channel,
581 int (*dcs_read)(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd,
584 int (*gen_write)(struct omap_dss_device *dssdev, int channel,
586 int (*gen_write_nosync)(struct omap_dss_device *dssdev, int channel,
588 int (*gen_read)(struct omap_dss_device *dssdev, int channel,
592 int (*bta_sync)(struct omap_dss_device *dssdev, int channel);
594 int (*set_max_rx_packet_size)(struct omap_dss_device *dssdev,
598 struct omap_dss_device { struct
665 struct omap_dss_device *src; argument
686 struct omap_dss_device *dst; argument
690 int (*probe)(struct omap_dss_device *);
691 void (*remove)(struct omap_dss_device *);
693 int (*connect)(struct omap_dss_device *dssdev);
694 void (*disconnect)(struct omap_dss_device *dssdev);
696 int (*enable)(struct omap_dss_device *display);
697 void (*disable)(struct omap_dss_device *display);
698 int (*run_test)(struct omap_dss_device *display, int test);
700 int (*update)(struct omap_dss_device *dssdev,
702 int (*sync)(struct omap_dss_device *dssdev);
704 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
705 int (*get_te)(struct omap_dss_device *dssdev);
707 u8 (*get_rotate)(struct omap_dss_device *dssdev);
708 int (*set_rotate)(struct omap_dss_device *dssdev, u8 rotate);
710 bool (*get_mirror)(struct omap_dss_device *dssdev);
711 int (*set_mirror)(struct omap_dss_device *dssdev, bool enable);
713 int (*memory_read)(struct omap_dss_device *dssdev,
717 void (*get_resolution)(struct omap_dss_device *dssdev,
719 void (*get_dimensions)(struct omap_dss_device *dssdev,
721 int (*get_recommended_bpp)(struct omap_dss_device *dssdev);
723 int (*check_timings)(struct omap_dss_device *dssdev,
725 void (*set_timings)(struct omap_dss_device *dssdev,
727 void (*get_timings)(struct omap_dss_device *dssdev,
730 int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
731 u32 (*get_wss)(struct omap_dss_device *dssdev);
733 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
734 bool (*detect)(struct omap_dss_device *dssdev);
736 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
737 int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev,
753 int omapdss_register_display(struct omap_dss_device *dssdev);
754 void omapdss_unregister_display(struct omap_dss_device *dssdev);
756 struct omap_dss_device *omap_dss_get_device(struct omap_dss_device *dssdev);
757 void omap_dss_put_device(struct omap_dss_device *dssdev);
758 struct omap_dss_device *omap_dss_get_next_device(struct omap_dss_device *from);
759 struct omap_dss_device *omap_dss_find_device(void *data,
760 int (*match)(struct omap_dss_device *dssdev, void *data));
780 int omapdss_register_output(struct omap_dss_device *output);
781 void omapdss_unregister_output(struct omap_dss_device *output);
782 struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id);
783 struct omap_dss_device *omap_dss_find_output(const char *name);
784 struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *port);
785 int omapdss_output_set_device(struct omap_dss_device *out,
786 struct omap_dss_device *dssdev);
787 int omapdss_output_unset_device(struct omap_dss_device *out);
789 struct omap_dss_device *omapdss_find_output_from_display(struct omap_dss_device *dssdev);
790 struct omap_overlay_manager *omapdss_find_mgr_from_display(struct omap_dss_device *dssdev);
792 void omapdss_default_get_resolution(struct omap_dss_device *dssdev,
794 int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev);
795 void omapdss_default_get_timings(struct omap_dss_device *dssdev,
804 static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) in omapdss_device_is_connected()
809 static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) in omapdss_device_is_enabled()
825 struct omap_dss_device *
843 static inline struct omap_dss_device
844 *omap_dss_get_device(struct omap_dss_device *dssdev) in omap_dss_get_device()
847 static inline struct omap_dss_device
848 *omap_dss_get_next_device(struct omap_dss_device *from) in omap_dss_get_next_device()
851 static inline void omap_dss_put_device(struct omap_dss_device *dssdev) {}; in omap_dss_put_device()