/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
*/
#ifndef _DPU_HW_DSPP_H #define _DPU_HW_DSPP_H
struct dpu_hw_dspp;
/** * struct dpu_hw_pcc_coeff - PCC coefficient structure for each color * component. * @r: red coefficient. * @g: green coefficient. * @b: blue coefficient.
*/
/** * struct dpu_hw_dspp_ops - interface to the dspp hardware driver functions * Caller must call the init function to get the dspp context for each dspp * Assumption is these functions will be called after clocks are enabled
*/ struct dpu_hw_dspp_ops { /** * setup_pcc - setup dspp pcc * @ctx: Pointer to dspp context * @cfg: Pointer to configuration
*/ void (*setup_pcc)(struct dpu_hw_dspp *ctx, struct dpu_hw_pcc_cfg *cfg);
};
/** * struct dpu_hw_dspp - dspp description * @base: Hardware block base structure * @hw: Block hardware details * @idx: DSPP index * @cap: Pointer to layer_cfg * @ops: Pointer to operations possible for this DSPP
*/ struct dpu_hw_dspp { struct dpu_hw_blk base; struct dpu_hw_blk_reg_map hw;
/* dspp */ int idx; conststruct dpu_dspp_cfg *cap;
/* Ops */ struct dpu_hw_dspp_ops ops;
};
/** * dpu_hw_dspp - convert base object dpu_hw_base to container * @hw: Pointer to base hardware block * return: Pointer to hardware block container
*/ staticinlinestruct dpu_hw_dspp *to_dpu_hw_dspp(struct dpu_hw_blk *hw)
{ return container_of(hw, struct dpu_hw_dspp, base);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.