/usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/media
NameSizeModeActions
davinci/-0755rm
drv-intf/-0755rm
i2c/-0755rm
tpg/-0755rm
cec-notifier.h66780644editdlrm
cec-pin.h29470644editdlrm
cec.h183970644editdlrm
demux.h232370644editdlrm
dmxdev.h60340644editdlrm
dvb-usb-ids.h182040644editdlrm
dvbdev.h150890644editdlrm
dvb_ca_en50221.h44550644editdlrm
dvb_demux.h110330644editdlrm
dvb_frontend.h297010644editdlrm
dvb_math.h18110644editdlrm
dvb_net.h25830644editdlrm
dvb_ringbuffer.h85240644editdlrm
dvb_vb2.h78380644editdlrm
frame_vector.h14470644editdlrm
imx.h3960644editdlrm
media-device.h161130644editdlrm
media-devnode.h58140644editdlrm
media-entity.h354210644editdlrm
rc-core.h132110644editdlrm
rc-map.h128060644editdlrm
rcar-fcp.h13420644editdlrm
soc_camera.h133000644editdlrm
tuner-types.h77230644editdlrm
tuner.h90590644editdlrm
tveeprom.h33700644editdlrm
v4l2-async.h76490644editdlrm
v4l2-clk.h21440644editdlrm
v4l2-common.h165380644editdlrm
v4l2-ctrls.h399420644editdlrm
v4l2-dev.h161090644editdlrm
v4l2-device.h181270644editdlrm
v4l2-dv-timings.h88870644editdlrm
v4l2-event.h62770644editdlrm
v4l2-fh.h47590644editdlrm
v4l2-flash-led-class.h60340644editdlrm
v4l2-fwnode.h141840644editdlrm
v4l2-image-sizes.h8640644editdlrm
v4l2-ioctl.h326690644editdlrm
v4l2-mc.h82130644editdlrm
v4l2-mediabus.h62340644editdlrm
v4l2-mem2mem.h201860644editdlrm
v4l2-rect.h46500644editdlrm
v4l2-subdev.h415790644editdlrm
videobuf-core.h71480644editdlrm
videobuf-dma-contig.h10620644editdlrm
videobuf-dma-sg.h30090644editdlrm
videobuf-vmalloc.h13190644editdlrm
videobuf2-core.h451100644editdlrm
videobuf2-dma-contig.h8660644editdlrm
videobuf2-dma-sg.h6960644editdlrm
videobuf2-dvb.h18630644editdlrm
videobuf2-memops.h11010644editdlrm
videobuf2-v4l2.h107190644editdlrm
videobuf2-vmalloc.h5090644editdlrm
vsp1.h32880644editdlrm
Edit: /usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/media/v4l2-clk.h (2144B)
/* * V4L2 clock service * * Copyright (C) 2012-2013, Guennadi Liakhovetski * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * ATTENTION: This is a temporary API and it shall be replaced by the generic * clock API, when the latter becomes widely available. */ #ifndef MEDIA_V4L2_CLK_H #define MEDIA_V4L2_CLK_H #include #include #include #include struct module; struct device; struct clk; struct v4l2_clk { struct list_head list; const struct v4l2_clk_ops *ops; const char *dev_id; int enable; struct mutex lock; /* Protect the enable count */ atomic_t use_count; struct clk *clk; void *priv; }; struct v4l2_clk_ops { struct module *owner; int (*enable)(struct v4l2_clk *clk); void (*disable)(struct v4l2_clk *clk); unsigned long (*get_rate)(struct v4l2_clk *clk); int (*set_rate)(struct v4l2_clk *clk, unsigned long); }; struct v4l2_clk *v4l2_clk_register(const struct v4l2_clk_ops *ops, const char *dev_name, void *priv); void v4l2_clk_unregister(struct v4l2_clk *clk); struct v4l2_clk *v4l2_clk_get(struct device *dev, const char *id); void v4l2_clk_put(struct v4l2_clk *clk); int v4l2_clk_enable(struct v4l2_clk *clk); void v4l2_clk_disable(struct v4l2_clk *clk); unsigned long v4l2_clk_get_rate(struct v4l2_clk *clk); int v4l2_clk_set_rate(struct v4l2_clk *clk, unsigned long rate); struct module; struct v4l2_clk *__v4l2_clk_register_fixed(const char *dev_id, unsigned long rate, struct module *owner); void v4l2_clk_unregister_fixed(struct v4l2_clk *clk); static inline struct v4l2_clk *v4l2_clk_register_fixed(const char *dev_id, unsigned long rate) { return __v4l2_clk_register_fixed(dev_id, rate, THIS_MODULE); } #define V4L2_CLK_NAME_SIZE 64 #define v4l2_clk_name_i2c(name, size, adap, client) snprintf(name, size, \ "%d-%04x", adap, client) #define v4l2_clk_name_of(name, size, node) snprintf(name, size, \ "of-%pOF", node) #endif