Lines Matching refs:omap_dss_device
53 struct omap_dss_device;
383 struct omap_dss_device *(*get_device)(struct omap_overlay *ovl);
410 struct omap_dss_device *output;
424 struct omap_dss_device *output);
436 struct omap_dss_device *(*get_device)(struct omap_overlay_manager *mgr);
468 int (*connect)(struct omap_dss_device *dssdev,
469 struct omap_dss_device *dst);
470 void (*disconnect)(struct omap_dss_device *dssdev,
471 struct omap_dss_device *dst);
473 int (*enable)(struct omap_dss_device *dssdev);
474 void (*disable)(struct omap_dss_device *dssdev);
476 int (*check_timings)(struct omap_dss_device *dssdev,
478 void (*set_timings)(struct omap_dss_device *dssdev,
480 void (*get_timings)(struct omap_dss_device *dssdev,
483 void (*set_data_lines)(struct omap_dss_device *dssdev, int data_lines);
487 int (*connect)(struct omap_dss_device *dssdev,
488 struct omap_dss_device *dst);
489 void (*disconnect)(struct omap_dss_device *dssdev,
490 struct omap_dss_device *dst);
492 int (*enable)(struct omap_dss_device *dssdev);
493 void (*disable)(struct omap_dss_device *dssdev);
495 int (*check_timings)(struct omap_dss_device *dssdev,
497 void (*set_timings)(struct omap_dss_device *dssdev,
499 void (*get_timings)(struct omap_dss_device *dssdev,
502 void (*set_datapairs)(struct omap_dss_device *dssdev, int datapairs);
506 int (*connect)(struct omap_dss_device *dssdev,
507 struct omap_dss_device *dst);
508 void (*disconnect)(struct omap_dss_device *dssdev,
509 struct omap_dss_device *dst);
511 int (*enable)(struct omap_dss_device *dssdev);
512 void (*disable)(struct omap_dss_device *dssdev);
514 int (*check_timings)(struct omap_dss_device *dssdev,
516 void (*set_timings)(struct omap_dss_device *dssdev,
518 void (*get_timings)(struct omap_dss_device *dssdev,
523 int (*connect)(struct omap_dss_device *dssdev,
524 struct omap_dss_device *dst);
525 void (*disconnect)(struct omap_dss_device *dssdev,
526 struct omap_dss_device *dst);
528 int (*enable)(struct omap_dss_device *dssdev);
529 void (*disable)(struct omap_dss_device *dssdev);
531 int (*check_timings)(struct omap_dss_device *dssdev,
533 void (*set_timings)(struct omap_dss_device *dssdev,
535 void (*get_timings)(struct omap_dss_device *dssdev,
538 void (*set_type)(struct omap_dss_device *dssdev,
540 void (*invert_vid_out_polarity)(struct omap_dss_device *dssdev,
543 int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
544 u32 (*get_wss)(struct omap_dss_device *dssdev);
548 int (*connect)(struct omap_dss_device *dssdev,
549 struct omap_dss_device *dst);
550 void (*disconnect)(struct omap_dss_device *dssdev,
551 struct omap_dss_device *dst);
553 int (*enable)(struct omap_dss_device *dssdev);
554 void (*disable)(struct omap_dss_device *dssdev);
556 int (*check_timings)(struct omap_dss_device *dssdev,
558 void (*set_timings)(struct omap_dss_device *dssdev,
560 void (*get_timings)(struct omap_dss_device *dssdev,
563 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
564 bool (*detect)(struct omap_dss_device *dssdev);
566 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
567 int (*set_infoframe)(struct omap_dss_device *dssdev,
572 int (*connect)(struct omap_dss_device *dssdev,
573 struct omap_dss_device *dst);
574 void (*disconnect)(struct omap_dss_device *dssdev,
575 struct omap_dss_device *dst);
577 int (*enable)(struct omap_dss_device *dssdev);
578 void (*disable)(struct omap_dss_device *dssdev, bool disconnect_lanes,
582 int (*set_config)(struct omap_dss_device *dssdev,
584 int (*configure_pins)(struct omap_dss_device *dssdev,
587 void (*enable_hs)(struct omap_dss_device *dssdev, int channel,
589 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
591 int (*update)(struct omap_dss_device *dssdev, int channel,
594 void (*bus_lock)(struct omap_dss_device *dssdev);
595 void (*bus_unlock)(struct omap_dss_device *dssdev);
597 int (*enable_video_output)(struct omap_dss_device *dssdev, int channel);
598 void (*disable_video_output)(struct omap_dss_device *dssdev,
601 int (*request_vc)(struct omap_dss_device *dssdev, int *channel);
602 int (*set_vc_id)(struct omap_dss_device *dssdev, int channel,
604 void (*release_vc)(struct omap_dss_device *dssdev, int channel);
607 int (*dcs_write)(struct omap_dss_device *dssdev, int channel,
609 int (*dcs_write_nosync)(struct omap_dss_device *dssdev, int channel,
611 int (*dcs_read)(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd,
614 int (*gen_write)(struct omap_dss_device *dssdev, int channel,
616 int (*gen_write_nosync)(struct omap_dss_device *dssdev, int channel,
618 int (*gen_read)(struct omap_dss_device *dssdev, int channel,
622 int (*bta_sync)(struct omap_dss_device *dssdev, int channel);
624 int (*set_max_rx_packet_size)(struct omap_dss_device *dssdev,
628 struct omap_dss_device { struct
701 struct omap_dss_device *src; argument
722 struct omap_dss_device *dst; argument
726 int (*probe)(struct omap_dss_device *);
727 void (*remove)(struct omap_dss_device *);
729 int (*connect)(struct omap_dss_device *dssdev);
730 void (*disconnect)(struct omap_dss_device *dssdev);
732 int (*enable)(struct omap_dss_device *display);
733 void (*disable)(struct omap_dss_device *display);
734 int (*run_test)(struct omap_dss_device *display, int test);
736 int (*update)(struct omap_dss_device *dssdev,
738 int (*sync)(struct omap_dss_device *dssdev);
740 int (*enable_te)(struct omap_dss_device *dssdev, bool enable);
741 int (*get_te)(struct omap_dss_device *dssdev);
743 u8 (*get_rotate)(struct omap_dss_device *dssdev);
744 int (*set_rotate)(struct omap_dss_device *dssdev, u8 rotate);
746 bool (*get_mirror)(struct omap_dss_device *dssdev);
747 int (*set_mirror)(struct omap_dss_device *dssdev, bool enable);
749 int (*memory_read)(struct omap_dss_device *dssdev,
753 void (*get_resolution)(struct omap_dss_device *dssdev,
755 void (*get_dimensions)(struct omap_dss_device *dssdev,
757 int (*get_recommended_bpp)(struct omap_dss_device *dssdev);
759 int (*check_timings)(struct omap_dss_device *dssdev,
761 void (*set_timings)(struct omap_dss_device *dssdev,
763 void (*get_timings)(struct omap_dss_device *dssdev,
766 int (*set_wss)(struct omap_dss_device *dssdev, u32 wss);
767 u32 (*get_wss)(struct omap_dss_device *dssdev);
769 int (*read_edid)(struct omap_dss_device *dssdev, u8 *buf, int len);
770 bool (*detect)(struct omap_dss_device *dssdev);
772 int (*set_hdmi_mode)(struct omap_dss_device *dssdev, bool hdmi_mode);
773 int (*set_hdmi_infoframe)(struct omap_dss_device *dssdev,
789 int omapdss_register_display(struct omap_dss_device *dssdev);
790 void omapdss_unregister_display(struct omap_dss_device *dssdev);
792 struct omap_dss_device *omap_dss_get_device(struct omap_dss_device *dssdev);
793 void omap_dss_put_device(struct omap_dss_device *dssdev);
794 struct omap_dss_device *omap_dss_get_next_device(struct omap_dss_device *from);
795 struct omap_dss_device *omap_dss_find_device(void *data,
796 int (*match)(struct omap_dss_device *dssdev, void *data));
816 int omapdss_register_output(struct omap_dss_device *output);
817 void omapdss_unregister_output(struct omap_dss_device *output);
818 struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id);
819 struct omap_dss_device *omap_dss_find_output(const char *name);
820 struct omap_dss_device *omap_dss_find_output_by_port_node(struct device_node *port);
821 int omapdss_output_set_device(struct omap_dss_device *out,
822 struct omap_dss_device *dssdev);
823 int omapdss_output_unset_device(struct omap_dss_device *out);
825 struct omap_dss_device *omapdss_find_output_from_display(struct omap_dss_device *dssdev);
826 struct omap_overlay_manager *omapdss_find_mgr_from_display(struct omap_dss_device *dssdev);
828 void omapdss_default_get_resolution(struct omap_dss_device *dssdev,
830 int omapdss_default_get_recommended_bpp(struct omap_dss_device *dssdev);
831 void omapdss_default_get_timings(struct omap_dss_device *dssdev,
840 static inline bool omapdss_device_is_connected(struct omap_dss_device *dssdev) in omapdss_device_is_connected()
845 static inline bool omapdss_device_is_enabled(struct omap_dss_device *dssdev) in omapdss_device_is_enabled()
861 struct omap_dss_device *
879 static inline struct omap_dss_device
880 *omap_dss_get_device(struct omap_dss_device *dssdev) in omap_dss_get_device()
883 static inline struct omap_dss_device
884 *omap_dss_get_next_device(struct omap_dss_device *from) in omap_dss_get_next_device()
887 static inline void omap_dss_put_device(struct omap_dss_device *dssdev) {}; in omap_dss_put_device()