Lines Matching refs:connector
668 struct drm_connector *connector; member
827 int (*dpms)(struct drm_connector *connector, int mode);
839 void (*reset)(struct drm_connector *connector);
872 enum drm_connector_status (*detect)(struct drm_connector *connector,
889 void (*force)(struct drm_connector *connector);
914 int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
930 int (*set_property)(struct drm_connector *connector, struct drm_property *property,
949 int (*late_register)(struct drm_connector *connector);
962 void (*early_unregister)(struct drm_connector *connector);
972 void (*destroy)(struct drm_connector *connector);
1005 struct drm_connector_state *(*atomic_duplicate_state)(struct drm_connector *connector);
1015 void (*atomic_destroy_state)(struct drm_connector *connector,
1060 int (*atomic_set_property)(struct drm_connector *connector,
1083 int (*atomic_get_property)(struct drm_connector *connector,
1106 void (*oob_hotplug_event)(struct drm_connector *connector);
1604 struct drm_connector *connector,
1608 struct drm_connector *connector,
1612 void drm_connector_attach_edid_property(struct drm_connector *connector);
1613 int drm_connector_register(struct drm_connector *connector);
1614 void drm_connector_unregister(struct drm_connector *connector);
1615 int drm_connector_attach_encoder(struct drm_connector *connector,
1618 void drm_connector_cleanup(struct drm_connector *connector);
1620 static inline unsigned int drm_connector_index(const struct drm_connector *connector) in drm_connector_index() argument
1622 return connector->index; in drm_connector_index()
1625 static inline u32 drm_connector_mask(const struct drm_connector *connector) in drm_connector_mask() argument
1627 return 1 << connector->index; in drm_connector_mask()
1654 static inline void drm_connector_get(struct drm_connector *connector) in drm_connector_get() argument
1656 drm_mode_object_get(&connector->base); in drm_connector_get()
1666 static inline void drm_connector_put(struct drm_connector *connector) in drm_connector_put() argument
1668 drm_mode_object_put(&connector->base); in drm_connector_put()
1683 drm_connector_is_unregistered(struct drm_connector *connector) in drm_connector_is_unregistered() argument
1685 return READ_ONCE(connector->registration_state) == in drm_connector_is_unregistered()
1703 void drm_connector_attach_dp_subconnector_property(struct drm_connector *connector);
1712 int drm_connector_attach_scaling_mode_property(struct drm_connector *connector,
1715 struct drm_connector *connector);
1716 int drm_connector_attach_colorspace_property(struct drm_connector *connector);
1717 int drm_connector_attach_hdr_output_metadata_property(struct drm_connector *connector);
1721 int drm_mode_create_hdmi_colorspace_property(struct drm_connector *connector);
1722 int drm_mode_create_dp_colorspace_property(struct drm_connector *connector);
1729 int drm_connector_set_path_property(struct drm_connector *connector,
1731 int drm_connector_set_tile_property(struct drm_connector *connector);
1732 int drm_connector_update_edid_property(struct drm_connector *connector,
1734 void drm_connector_set_link_status_property(struct drm_connector *connector,
1737 struct drm_connector *connector, bool capable);
1739 struct drm_connector *connector,
1742 struct drm_connector *connector,
1745 int drm_connector_attach_max_bpc_property(struct drm_connector *connector,
1798 bool drm_connector_has_possible_encoder(struct drm_connector *connector,
1810 #define drm_for_each_connector_iter(connector, iter) \ argument
1811 while ((connector = drm_connector_list_iter_next(iter)))
1818 #define drm_connector_for_each_possible_encoder(connector, encoder) \ argument
1819 drm_for_each_encoder_mask(encoder, (connector)->dev, \
1820 (connector)->possible_encoders)