cregit-Linux how code gets into the kernel

Release 4.12 include/media/rcar-fcp.h

Directory: include/media
/*
 * rcar-fcp.h  --  R-Car Frame Compression Processor Driver
 *
 * Copyright (C) 2016 Renesas Electronics Corporation
 *
 * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */
#ifndef __MEDIA_RCAR_FCP_H__

#define __MEDIA_RCAR_FCP_H__

struct device_node;
struct rcar_fcp_device;

#if IS_ENABLED(CONFIG_VIDEO_RENESAS_FCP)
struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np);
void rcar_fcp_put(struct rcar_fcp_device *fcp);
int rcar_fcp_enable(struct rcar_fcp_device *fcp);
void rcar_fcp_disable(struct rcar_fcp_device *fcp);
#else

static inline struct rcar_fcp_device *rcar_fcp_get(const struct device_node *np) { return ERR_PTR(-ENOENT); }

Contributors

PersonTokensPropCommitsCommitProp
Laurent Pinchart22100.00%1100.00%
Total22100.00%1100.00%


static inline void rcar_fcp_put(struct rcar_fcp_device *fcp) { }

Contributors

PersonTokensPropCommitsCommitProp
Laurent Pinchart11100.00%1100.00%
Total11100.00%1100.00%


static inline int rcar_fcp_enable(struct rcar_fcp_device *fcp) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Laurent Pinchart15100.00%2100.00%
Total15100.00%2100.00%


static inline void rcar_fcp_disable(struct rcar_fcp_device *fcp) { }

Contributors

PersonTokensPropCommitsCommitProp
Laurent Pinchart11100.00%1100.00%
Total11100.00%1100.00%

#endif #endif /* __MEDIA_RCAR_FCP_H__ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Laurent Pinchart124100.00%2100.00%
Total124100.00%2100.00%
Directory: include/media
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.