Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.100.131
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-25 /
include /
media /
[ HOME SHELL ]
Name
Size
Permission
Action
davinci
[ DIR ]
drwxr-xr-x
drv-intf
[ DIR ]
drwxr-xr-x
i2c
[ DIR ]
drwxr-xr-x
tpg
[ DIR ]
drwxr-xr-x
cec-notifier.h
5.03
KB
-rw-r--r--
cec-pin.h
2.79
KB
-rw-r--r--
cec.h
15.3
KB
-rw-r--r--
demux.h
22.69
KB
-rw-r--r--
dmxdev.h
5.89
KB
-rw-r--r--
dvb-usb-ids.h
18.18
KB
-rw-r--r--
dvb_ca_en50221.h
4.35
KB
-rw-r--r--
dvb_demux.h
10.77
KB
-rw-r--r--
dvb_frontend.h
30.03
KB
-rw-r--r--
dvb_math.h
1.77
KB
-rw-r--r--
dvb_net.h
2.34
KB
-rw-r--r--
dvb_ringbuffer.h
8.32
KB
-rw-r--r--
dvb_vb2.h
7.65
KB
-rw-r--r--
dvbdev.h
14.18
KB
-rw-r--r--
frame_vector.h
1.41
KB
-rw-r--r--
hevc-ctrls.h
8.88
KB
-rw-r--r--
imx.h
190
B
-rw-r--r--
media-dev-allocator.h
2.21
KB
-rw-r--r--
media-device.h
16.99
KB
-rw-r--r--
media-devnode.h
5.29
KB
-rw-r--r--
media-entity.h
35.46
KB
-rw-r--r--
media-request.h
11.96
KB
-rw-r--r--
rc-core.h
12.31
KB
-rw-r--r--
rc-map.h
14.36
KB
-rw-r--r--
rcar-fcp.h
1.1
KB
-rw-r--r--
tuner-types.h
7.54
KB
-rw-r--r--
tuner.h
8.4
KB
-rw-r--r--
tveeprom.h
3.29
KB
-rw-r--r--
v4l2-async.h
11.18
KB
-rw-r--r--
v4l2-common.h
18.65
KB
-rw-r--r--
v4l2-ctrls.h
49.66
KB
-rw-r--r--
v4l2-dev.h
16.52
KB
-rw-r--r--
v4l2-device.h
18.52
KB
-rw-r--r--
v4l2-dv-timings.h
9.08
KB
-rw-r--r--
v4l2-event.h
5.99
KB
-rw-r--r--
v4l2-fh.h
4.22
KB
-rw-r--r--
v4l2-flash-led-class.h
5.75
KB
-rw-r--r--
v4l2-fwnode.h
19.8
KB
-rw-r--r--
v4l2-h264.h
2.85
KB
-rw-r--r--
v4l2-image-sizes.h
827
B
-rw-r--r--
v4l2-ioctl.h
33.31
KB
-rw-r--r--
v4l2-jpeg.h
5.08
KB
-rw-r--r--
v4l2-mc.h
7.49
KB
-rw-r--r--
v4l2-mediabus.h
7.51
KB
-rw-r--r--
v4l2-mem2mem.h
28.46
KB
-rw-r--r--
v4l2-rect.h
5.71
KB
-rw-r--r--
v4l2-subdev.h
44.73
KB
-rw-r--r--
videobuf-core.h
6.81
KB
-rw-r--r--
videobuf-dma-contig.h
909
B
-rw-r--r--
videobuf-dma-sg.h
2.79
KB
-rw-r--r--
videobuf-vmalloc.h
1.14
KB
-rw-r--r--
videobuf2-core.h
48.25
KB
-rw-r--r--
videobuf2-dma-contig.h
883
B
-rw-r--r--
videobuf2-dma-sg.h
698
B
-rw-r--r--
videobuf2-dvb.h
1.82
KB
-rw-r--r--
videobuf2-memops.h
1.08
KB
-rw-r--r--
videobuf2-v4l2.h
14.01
KB
-rw-r--r--
videobuf2-vmalloc.h
509
B
-rw-r--r--
vsp1.h
3.57
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : v4l2-flash-led-class.h
/* SPDX-License-Identifier: GPL-2.0-only */ /* * V4L2 flash LED sub-device registration helpers. * * Copyright (C) 2015 Samsung Electronics Co., Ltd * Author: Jacek Anaszewski <j.anaszewski@samsung.com> */ #ifndef _V4L2_FLASH_H #define _V4L2_FLASH_H #include <media/v4l2-ctrls.h> #include <media/v4l2-subdev.h> struct led_classdev_flash; struct led_classdev; struct v4l2_flash; enum led_brightness; /** * struct v4l2_flash_ctrl_data - flash control initialization data, filled * basing on the features declared by the LED flash * class driver in the v4l2_flash_config * @config: initialization data for a control * @cid: contains v4l2 flash control id if the config * field was initialized, 0 otherwise */ struct v4l2_flash_ctrl_data { struct v4l2_ctrl_config config; u32 cid; }; /** * struct v4l2_flash_ops - V4L2 flash operations * * @external_strobe_set: Setup strobing the flash by hardware pin state * assertion. * @intensity_to_led_brightness: Convert intensity to brightness in a device * specific manner * @led_brightness_to_intensity: convert brightness to intensity in a device * specific manner. */ struct v4l2_flash_ops { int (*external_strobe_set)(struct v4l2_flash *v4l2_flash, bool enable); enum led_brightness (*intensity_to_led_brightness) (struct v4l2_flash *v4l2_flash, s32 intensity); s32 (*led_brightness_to_intensity) (struct v4l2_flash *v4l2_flash, enum led_brightness); }; /** * struct v4l2_flash_config - V4L2 Flash sub-device initialization data * @dev_name: the name of the media entity, * unique in the system * @intensity: non-flash strobe constraints for the LED * @flash_faults: bitmask of flash faults that the LED flash class * device can report; corresponding LED_FAULT* bit * definitions are available in the header file * <linux/led-class-flash.h> * @has_external_strobe: external strobe capability */ struct v4l2_flash_config { char dev_name[32]; struct led_flash_setting intensity; u32 flash_faults; unsigned int has_external_strobe:1; }; /** * struct v4l2_flash - Flash sub-device context * @fled_cdev: LED flash class device controlled by this sub-device * @iled_cdev: LED class device representing indicator LED associated * with the LED flash class device * @ops: V4L2 specific flash ops * @sd: V4L2 sub-device * @hdl: flash controls handler * @ctrls: array of pointers to controls, whose values define * the sub-device state */ struct v4l2_flash { struct led_classdev_flash *fled_cdev; struct led_classdev *iled_cdev; const struct v4l2_flash_ops *ops; struct v4l2_subdev sd; struct v4l2_ctrl_handler hdl; struct v4l2_ctrl **ctrls; }; /** * v4l2_subdev_to_v4l2_flash - Returns a &struct v4l2_flash from the * &struct v4l2_subdev embedded on it. * * @sd: pointer to &struct v4l2_subdev */ static inline struct v4l2_flash *v4l2_subdev_to_v4l2_flash( struct v4l2_subdev *sd) { return container_of(sd, struct v4l2_flash, sd); } /** * v4l2_ctrl_to_v4l2_flash - Returns a &struct v4l2_flash from the * &struct v4l2_ctrl embedded on it. * * @c: pointer to &struct v4l2_ctrl */ static inline struct v4l2_flash *v4l2_ctrl_to_v4l2_flash(struct v4l2_ctrl *c) { return container_of(c->handler, struct v4l2_flash, hdl); } #if IS_ENABLED(CONFIG_V4L2_FLASH_LED_CLASS) /** * v4l2_flash_init - initialize V4L2 flash led sub-device * @dev: flash device, e.g. an I2C device * @fwn: fwnode_handle of the LED, may be NULL if the same as device's * @fled_cdev: LED flash class device to wrap * @ops: V4L2 Flash device ops * @config: initialization data for V4L2 Flash sub-device * * Create V4L2 Flash sub-device wrapping given LED subsystem device. * The ops pointer is stored by the V4L2 flash framework. No * references are held to config nor its contents once this function * has returned. * * Returns: A valid pointer, or, when an error occurs, the return * value is encoded using ERR_PTR(). Use IS_ERR() to check and * PTR_ERR() to obtain the numeric return value. */ struct v4l2_flash *v4l2_flash_init( struct device *dev, struct fwnode_handle *fwn, struct led_classdev_flash *fled_cdev, const struct v4l2_flash_ops *ops, struct v4l2_flash_config *config); /** * v4l2_flash_indicator_init - initialize V4L2 indicator sub-device * @dev: flash device, e.g. an I2C device * @fwn: fwnode_handle of the LED, may be NULL if the same as device's * @iled_cdev: LED flash class device representing the indicator LED * @config: initialization data for V4L2 Flash sub-device * * Create V4L2 Flash sub-device wrapping given LED subsystem device. * The ops pointer is stored by the V4L2 flash framework. No * references are held to config nor its contents once this function * has returned. * * Returns: A valid pointer, or, when an error occurs, the return * value is encoded using ERR_PTR(). Use IS_ERR() to check and * PTR_ERR() to obtain the numeric return value. */ struct v4l2_flash *v4l2_flash_indicator_init( struct device *dev, struct fwnode_handle *fwn, struct led_classdev *iled_cdev, struct v4l2_flash_config *config); /** * v4l2_flash_release - release V4L2 Flash sub-device * @v4l2_flash: the V4L2 Flash sub-device to release * * Release V4L2 Flash sub-device. */ void v4l2_flash_release(struct v4l2_flash *v4l2_flash); #else static inline struct v4l2_flash *v4l2_flash_init( struct device *dev, struct fwnode_handle *fwn, struct led_classdev_flash *fled_cdev, const struct v4l2_flash_ops *ops, struct v4l2_flash_config *config) { return NULL; } static inline struct v4l2_flash *v4l2_flash_indicator_init( struct device *dev, struct fwnode_handle *fwn, struct led_classdev *iled_cdev, struct v4l2_flash_config *config) { return NULL; } static inline void v4l2_flash_release(struct v4l2_flash *v4l2_flash) { } #endif /* CONFIG_V4L2_FLASH_LED_CLASS */ #endif /* _V4L2_FLASH_H */
Close