/* * configure_testgen_pattern - Validates and configures output pattern mode * of test pattern generator * @csid: CSID device
*/ int (*configure_testgen_pattern)(struct csid_device *csid, s32 val);
/* * hw_version - Read hardware version register from hardware * @csid: CSID device
*/
u32 (*hw_version)(struct csid_device *csid);
/* * isr - CSID module interrupt service routine * @irq: Interrupt line * @dev: CSID device * * Return IRQ_HANDLED on success
*/
irqreturn_t (*isr)(int irq, void *dev);
/* * reset - Trigger reset on CSID module and wait to complete * @csid: CSID device * * Return 0 on success or a negative error code otherwise
*/ int (*reset)(struct csid_device *csid);
/* * src_pad_code - Pick an output/src format based on the input/sink format * @csid: CSID device * @sink_code: The sink format of the input * @match_format_idx: Request preferred index, as defined by subdevice csid_format. * Set @match_code to 0 if used. * @match_code: Request preferred code, set @match_format_idx to 0 if used * * Return 0 on failure or src format code otherwise
*/
u32 (*src_pad_code)(struct csid_device *csid, u32 sink_code, unsignedint match_format_idx, u32 match_code);
/* * subdev_init - Initialize CSID device according for hardware revision * @csid: CSID device
*/ void (*subdev_init)(struct csid_device *csid);
/* * reg_update - receive message from other sub device * @csid: CSID device * @port_id: Port id * @is_clear: Indicate if it is clearing reg update or setting reg update
*/ void (*reg_update)(struct csid_device *csid, int port_id, bool is_clear);
};
/* * csid_find_code - Find a format code in an array using array index or format code * @codes: Array of format codes * @ncodes: Length of @code array * @req_format_idx: Request preferred index, as defined by subdevice csid_format. * Set @match_code to 0 if used. * @match_code: Request preferred code, set @req_format_idx to 0 if used * * Return 0 on failure or format code otherwise
*/
u32 csid_find_code(u32 *codes, unsignedint ncode, unsignedint match_format_idx, u32 match_code);
/* * csid_get_fmt_entry - Find csid_format_info entry with matching format code * @formats: Array of format csid_format_info entries * @nformats: Length of @nformats array * @code: Desired format code * * Return formats[0] on failure to find code
*/ conststruct csid_format_info *csid_get_fmt_entry(conststruct csid_format_info *formats, unsignedint nformats,
u32 code);
/* * csid_is_lite - Check if CSID is CSID lite. * @csid: CSID Device * * Return whether CSID is CSID lite
*/ bool csid_is_lite(struct csid_device *csid);
/* * csid_hw_version - CSID hardware version query * @csid: CSID device * * Return HW version or error
*/
u32 csid_hw_version(struct csid_device *csid);
/* * csid_src_pad_code - Pick an output/src format based on the input/sink format * @csid: CSID device * @sink_code: The sink format of the input * @match_format_idx: Request preferred index, as defined by subdevice csid * format. Set @match_code to 0 if used. * @match_code: Request preferred code, set @match_format_idx to 0 if used * * Return 0 on failure or src format code otherwise
*/
u32 csid_src_pad_code(struct csid_device *csid, u32 sink_code, unsignedint match_format_idx, u32 match_code);
#endif/* QC_MSM_CAMSS_CSID_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
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.