Go to the source code of this file.
◆ devm_drm_panel_alloc
| #define devm_drm_panel_alloc |
( |
|
dev, |
|
|
|
type, |
|
|
|
member, |
|
|
|
funcs, |
|
|
|
connector_type |
|
) |
| |
Value:
offsetof(type, member),
funcs, \
connector_type))
size_t size_t const struct drm_bridge_funcs * funcs
Definition drm_bridge.h:1300
void * __devm_drm_panel_alloc(struct device *dev, size_t size, size_t offset, const struct drm_panel_funcs *funcs, int connector_type)
const struct device * dev
Definition drm_print.h:519
devm_drm_panel_alloc - Allocate and initialize a refcounted panel.
@dev: struct device of the panel device @type: the type of the struct which contains struct &drm_panel @member: the name of the &drm_panel within @type @funcs: callbacks for this panel @connector_type: the connector type (DRM_MODE_CONNECTOR_*) corresponding to the panel interface
The reference count of the returned panel is initialized to 1. This reference will be automatically dropped via devm (by calling drm_panel_put()) when @dev is removed.
Returns: Pointer to container structure embedding the panel, ERR_PTR on failure.
◆ __devm_drm_panel_alloc()
◆ devm_drm_panel_add()
◆ drm_panel_add()
| void drm_panel_add |
( |
struct drm_panel * |
panel | ) |
|
◆ drm_panel_disable()
| void drm_panel_disable |
( |
struct drm_panel * |
panel | ) |
|
◆ drm_panel_enable()
| void drm_panel_enable |
( |
struct drm_panel * |
panel | ) |
|
◆ drm_panel_get()
◆ drm_panel_get_modes()
◆ drm_panel_prepare()
| void drm_panel_prepare |
( |
struct drm_panel * |
panel | ) |
|
◆ drm_panel_put()
| void drm_panel_put |
( |
struct drm_panel * |
panel | ) |
|
◆ drm_panel_remove()
| void drm_panel_remove |
( |
struct drm_panel * |
panel | ) |
|
◆ drm_panel_unprepare()
| void drm_panel_unprepare |
( |
struct drm_panel * |
panel | ) |
|