Home
last modified time | relevance | path

Searched full:vin (Results 1 – 25 of 717) sorted by relevance

12345678910>>...29

/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-dma.c3 * Driver for Renesas R-Car VIN
19 #include "rcar-vin.h"
25 /* Register offsets for R-Car VIN */
82 /* Register bit fields for R-Car VIN */
167 static void rvin_write(struct rvin_dev *vin, u32 value, u32 offset) in rvin_write() argument
169 iowrite32(value, vin->base + offset); in rvin_write()
172 static u32 rvin_read(struct rvin_dev *vin, u32 offset) in rvin_read() argument
174 return ioread32(vin->base + offset); in rvin_read()
181 static bool rvin_scaler_needed(const struct rvin_dev *vin) in rvin_scaler_needed() argument
183 return !(vin in rvin_scaler_needed()
507 rvin_set_coeff(struct rvin_dev * vin,unsigned short xs) rvin_set_coeff() argument
561 rvin_scaler_gen2(struct rvin_dev * vin) rvin_scaler_gen2() argument
620 rvin_scaler_gen3(struct rvin_dev * vin) rvin_scaler_gen3() argument
665 rvin_crop_scale_comp(struct rvin_dev * vin) rvin_crop_scale_comp() argument
688 rvin_setup(struct rvin_dev * vin) rvin_setup() argument
914 rvin_capture_active(struct rvin_dev * vin) rvin_capture_active() argument
919 rvin_get_active_field(struct rvin_dev * vin,u32 vnms) rvin_get_active_field() argument
931 rvin_set_slot_addr(struct rvin_dev * vin,int slot,dma_addr_t addr) rvin_set_slot_addr() argument
963 rvin_fill_hw_slot(struct rvin_dev * vin,int slot) rvin_fill_hw_slot() argument
994 rvin_capture_start(struct rvin_dev * vin) rvin_capture_start() argument
1017 rvin_capture_stop(struct rvin_dev * vin) rvin_capture_stop() argument
1035 struct rvin_dev *vin = data; rvin_irq() local
1114 return_unused_buffers(struct rvin_dev * vin,enum vb2_buffer_state state) return_unused_buffers() argument
1135 struct rvin_dev *vin = vb2_get_drv_priv(vq); rvin_queue_setup() local
1149 struct rvin_dev *vin = vb2_get_drv_priv(vb->vb2_queue); rvin_buffer_prepare() local
1166 struct rvin_dev *vin = vb2_get_drv_priv(vb->vb2_queue); rvin_buffer_queue() local
1176 rvin_mc_validate_format(struct rvin_dev * vin,struct v4l2_subdev * sd,struct media_pad * pad) rvin_mc_validate_format() argument
1291 rvin_set_stream(struct rvin_dev * vin,int on) rvin_set_stream() argument
1325 rvin_start_streaming(struct rvin_dev * vin) rvin_start_streaming() argument
1351 struct rvin_dev *vin = vb2_get_drv_priv(vq); rvin_start_streaming_vq() local
1374 rvin_stop_streaming(struct rvin_dev * vin) rvin_stop_streaming() argument
1422 struct rvin_dev *vin = vb2_get_drv_priv(vq); rvin_stop_streaming_vq() local
1441 rvin_dma_unregister(struct rvin_dev * vin) rvin_dma_unregister() argument
1448 rvin_dma_register(struct rvin_dev * vin,int irq) rvin_dma_register() argument
1508 rvin_set_channel_routing(struct rvin_dev * vin,u8 chsel) rvin_set_channel_routing() argument
1556 rvin_set_alpha(struct rvin_dev * vin,unsigned int alpha) rvin_set_alpha() argument
[all...]
H A Drcar-core.c3 * Driver for Renesas R-Car VIN
24 #include "rcar-vin.h"
30 * CSI-2 receiver to/from the VIN internal channel number simply
38 * routing for other VIN's. We can figure out which VIN is
41 #define rvin_group_id_to_master(vin) ((vin) < 4 ? 0 : 4) argument
68 static int rvin_group_init(struct rvin_group *group, struct rvin_dev *vin, in rvin_group_init() argument
80 for_each_matching_node(np, vin->dev->driver->of_match_table) in rvin_group_init()
84 vin_dbg(vin, "foun in rvin_group_init()
118 rvin_group_get(struct rvin_dev * vin,int (* link_setup)(struct rvin_group *),const struct media_device_ops * ops) rvin_group_get() argument
174 rvin_group_put(struct rvin_dev * vin) rvin_group_put() argument
211 struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); rvin_group_notify_complete() local
242 struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); rvin_group_notify_unbind() local
280 struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); rvin_group_notify_bound() local
321 rvin_group_parse_of(struct rvin_dev * vin,unsigned int port,unsigned int id) rvin_group_parse_of() argument
361 rvin_parallel_parse_of(struct rvin_dev * vin) rvin_parallel_parse_of() argument
406 rvin_group_notifier_init(struct rvin_dev * vin,unsigned int port,unsigned int max_id) rvin_group_notifier_init() argument
476 struct rvin_dev *vin = rvin_s_ctrl() local
492 rvin_free_controls(struct rvin_dev * vin) rvin_free_controls() argument
498 rvin_create_controls(struct rvin_dev * vin) rvin_create_controls() argument
556 struct rvin_dev *vin; rvin_csi2_link_notify() local
711 struct rvin_dev *vin = group->vin[i]; rvin_parallel_setup_links() local
769 rvin_csi2_init(struct rvin_dev * vin) rvin_csi2_init() argument
800 struct rvin_dev *vin = group->vin[i]; rvin_isp_setup_links() local
833 rvin_isp_init(struct rvin_dev * vin) rvin_isp_init() argument
854 struct rvin_dev *vin = dev_get_drvdata(dev); rvin_suspend() local
866 struct rvin_dev *vin = dev_get_drvdata(dev); rvin_resume() local
1125 rvin_id_get(struct rvin_dev * vin) rvin_id_get() argument
1163 rvin_id_put(struct rvin_dev * vin) rvin_id_put() argument
1177 struct rvin_dev *vin; rcar_vin_probe() local
1259 struct rvin_dev *vin = platform_get_drvdata(pdev); rcar_vin_remove() local
[all...]
H A Drcar-v4l2.c3 * Driver for Renesas R-Car VIN
19 #include "rcar-vin.h"
106 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin, in rvin_format_from_pixel() argument
113 if (vin->info->model == RCAR_M1) in rvin_format_from_pixel()
121 if (!vin->info->nv12 || !(BIT(vin->id) & 0x3333)) in rvin_format_from_pixel()
128 if (!vin->info->raw10) in rvin_format_from_pixel()
142 static u32 rvin_format_bytesperline(struct rvin_dev *vin, in rvin_format_bytesperline() argument
148 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline()
178 static void rvin_format_align(struct rvin_dev *vin, struc argument
243 struct rvin_dev *vin = video_drvdata(file); rvin_g_fmt_vid_cap() local
253 struct rvin_dev *vin = video_drvdata(file); rvin_enum_fmt_vid_cap() local
334 rvin_remote_rectangle(struct rvin_dev * vin,struct v4l2_rect * rect) rvin_remote_rectangle() argument
375 struct rvin_dev *vin = video_drvdata(file); rvin_g_selection() local
414 struct rvin_dev *vin = video_drvdata(file); rvin_s_selection() local
500 rvin_mc_try_format(struct rvin_dev * vin,struct v4l2_pix_format * pix) rvin_mc_try_format() argument
521 struct rvin_dev *vin = video_drvdata(file); rvin_mc_try_fmt_vid_cap() local
531 struct rvin_dev *vin = video_drvdata(file); rvin_mc_s_fmt_vid_cap() local
580 struct rvin_dev *vin = video_drvdata(file); rvin_open() local
622 struct rvin_dev *vin = video_drvdata(file); rvin_release() local
649 rvin_v4l2_unregister(struct rvin_dev * vin) rvin_v4l2_unregister() argument
667 struct rvin_dev *vin = rvin_notify() local
696 rvin_v4l2_register(struct rvin_dev * vin) rvin_v4l2_register() argument
[all...]
H A Drcar-vin.h3 * Driver for Renesas R-Car VIN
30 /* Max number on VIN instances that can be in a system */
94 * CSI-2 receiver to a VIN
96 * @master: VIN group master ID.
98 * @chsel: CHSEL register values that connects VIN group to CSI-2.
101 * Each R-Car CSI-2 receiver has four output channels facing the VIN
105 * on which channel, the VIN devices only care about output channels.
114 * struct rvin_info - Information about the particular VIN implementation
115 * @model: VIN model
116 * @use_isp: the VIN i
218 vin_to_source(vin) global() argument
250 struct rvin_dev *vin[RCAR_VIN_NUM]; global() member
[all...]
/linux/Documentation/devicetree/bindings/media/
H A Drenesas,vin.yaml5 $id: http://devicetree.org/schemas/media/renesas,vin.yaml#
8 title: Renesas R-Car Video Input (VIN)
14 The R-Car Video Input (VIN) device provides video input capabilities for the
17 Each VIN instance has a single parallel input that supports RGB and YUV video,
19 Depending on the instance the VIN input is connected to external SoC pins, or
27 - renesas,vin-r8a7742 # RZ/G1H
28 - renesas,vin-r8a7743 # RZ/G1M
29 - renesas,vin-r8a7744 # RZ/G1N
30 - renesas,vin-r8a7745 # RZ/G1E
31 - renesas,vin
[all...]
H A Drenesas,isp.yaml16 conjunction with the R-Car VIN and CSI-2 modules, which provides the video
91 Single endpoint describing the R-Car VIN connected to output port 0.
96 Single endpoint describing the R-Car VIN connected to output port 1.
101 Single endpoint describing the R-Car VIN connected to output port 2.
106 Single endpoint describing the R-Car VIN connected to output port 3.
111 Single endpoint describing the R-Car VIN connected to output port 4.
116 Single endpoint describing the R-Car VIN connected to output port 5.
121 Single endpoint describing the R-Car VIN connected to output port 6.
126 Single endpoint describing the R-Car VIN connected to output port 7.
/linux/arch/arm/boot/dts/st/
H A Dstm32mp157a-microgea-stm32mp1.dtsi58 vin: regulator-vin { label
60 regulator-name = "vin";
72 vin-supply = <&vin>;
81 vin-supply = <&vin>;
90 vin-supply = <&vin>;
H A Dstm32mp157c-ed1.dts100 vin: vin { label
102 regulator-name = "vin";
186 buck1-supply = <&vin>;
187 buck2-supply = <&vin>;
188 buck3-supply = <&vin>;
189 buck4-supply = <&vin>;
193 ldo4-supply = <&vin>;
196 vref_ddr-supply = <&vin>;
197 boost-supply = <&vin>;
[all...]
H A Dstm32mp13xx-dhcor-som.dtsi48 vin: vin { label
50 regulator-name = "vin";
77 ldo1-supply = <&vin>;
78 ldo2-supply = <&vin>;
79 ldo3-supply = <&vin>;
80 ldo4-supply = <&vin>;
81 ldo5-supply = <&vin>;
82 ldo6-supply = <&vin>;
/linux/arch/arm64/boot/dts/amlogic/
H A Damlogic-c3-c302x-aw409.dts54 vin-supply = <&main_12v>;
64 vin-supply = <&main_12v>;
74 vin-supply = <&main_12v>;
84 vin-supply = <&vddao_3v3>;
94 vin-supply = <&vddao_3v3>;
104 vin-supply = <&vddao_3v3>;
114 vin-supply = <&vcc_3v3>;
124 vin-supply = <&vcc_3v3>;
134 vin-supply = <&vcc_3v3>;
144 vin
[all...]
H A Damlogic-c3-c308l-aw419.dts54 vin-supply = <&main_12v>;
64 vin-supply = <&main_12v>;
74 vin-supply = <&main_12v>;
84 vin-supply = <&vddao_3v3>;
94 vin-supply = <&vddao_3v3>;
104 vin-supply = <&vddao_3v3>;
114 vin-supply = <&vcc_3v3>;
124 vin-supply = <&vcc_3v3>;
134 vin-supply = <&vcc_3v3>;
144 vin
[all...]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-nanopi-m4.dtsi29 vin-supply = <&vdd_5v>;
37 vin-supply = <&vcc5v0_sys>;
45 vin-supply = <&vcc5v0_sys>;
50 vin-supply = <&vcc5v0_core>;
59 vin-supply = <&vdd_5v>;
H A Drk3308-evb.dts103 vin-supply = <&vcc12v_dcin>;
113 vin-supply = <&vcc_io>;
123 vin-supply = <&vcc5v0_sys>;
133 vin-supply = <&vcc5v0_sys>;
143 vin-supply = <&vcc_io>;
153 vin-supply = <&vcc5v0_sys>;
175 vin-supply = <&vcc5v0_sys>;
185 vin-supply = <&vcc5v0_sys>;
H A Drk3399-nanopi-neo4.dts27 vin-supply = <&vdd_5v>;
35 vin-supply = <&vcc5v0_sys>;
40 vin-supply = <&vcc5v0_core>;
49 vin-supply = <&vdd_5v>;
H A Drk3368-orion-r68-meta.dts83 vin-supply = <&vcc_sys>;
95 vin-supply = <&vcc_sys>;
105 vin-supply = <&vcc_sys>;
115 vin-supply = <&vcc_io>;
124 vin-supply = <&vcc_io>;
143 vin-supply = <&vcc_io>;
153 vin-supply = <&vcc_io>;
163 vin-supply = <&vcc_sys>;
209 vin-supply = <&vcc_sys>;
H A Drk3568-photonicat.dts61 vin-supply = <&vcc3v3_sys>;
71 vin-supply = <&vcc3v3_sys>;
84 vin-supply = <&vcc3v3_pi6c>;
97 vin-supply = <&vcc_syson>;
109 vin-supply = <&vcc_3v3>;
119 vin-supply = <&vcc_syson>;
131 vin-supply = <&vccin_5v>;
143 vin-supply = <&vccin_5v>;
162 vin-supply = <&vccin_5v>;
172 vin
[all...]
H A Drk3399-puma-haikou-video-demo.dtso34 vin-supply = <&vcc2v8_video>;
43 vin-supply = <&vcc2v8_video>;
52 vin-supply = <&vcc1v8_video>;
62 vin-supply = <&vcc3v3_baseboard>;
72 vin-supply = <&vcc3v3_baseboard>;
82 vin-supply = <&vcc3v3_baseboard>;
/linux/Documentation/devicetree/bindings/regulator/
H A Das3722-regulator.txt14 vin-ldo0-supply: Input supply for LDO0.
15 vin-ldo1-6-supply: Input supply for LDO1 and LDO6.
16 vin-ldo2-5-7-supply: Input supply for LDO2, LDO5 and LDO7.
17 vin-ldo3-4-supply: Input supply for LDO3 and LDO4.
18 vin-ldo9-10-supply: Input supply for LDO9 and LDO10.
19 vin-ldo11-supply: Input supply for LDO11.
H A Dtps6586x.txt16 - vin-sm0-supply: The input supply for the SM0.
17 - vin-sm1-supply: The input supply for the SM1.
18 - vin-sm2-supply: The input supply for the SM2.
47 vin-sm0-supply = <&some_reg>;
48 vin-sm1-supply = <&some_reg>;
49 vin-sm2-supply = <&some_reg>;
/linux/drivers/iio/adc/
H A Dad7292.c155 * to the settings at the ADC sampling mode and VIN range subregisters. in ad7292_vin_range_multiplier()
160 * factor = 4 if VIN range0 and VIN range1 equal 0 in ad7292_vin_range_multiplier()
161 * factor = 2 if only one of VIN ranges equal 1 in ad7292_vin_range_multiplier()
162 * factor = 1 if both VIN range0 and VIN range1 equal 1 in ad7292_vin_range_multiplier()
164 * factor = 4 if VIN range0 and VIN range1 equal 0 in ad7292_vin_range_multiplier()
165 * Behavior is undefined if any of VIN range doesn't equal 0 in ad7292_vin_range_multiplier()
/linux/arch/arm/boot/dts/rockchip/
H A Drk3128-xpi-3128.dts72 vin-supply = <&dc_5v>;
119 vin-supply = <&vcc_io>;
129 vin-supply = <&vcc_sys>;
139 vin-supply = <&vcc_sys>;
149 vin-supply = <&vcc_io>;
161 vin-supply = <&vcc_io>;
171 vin-supply = <&dc_5v>;
181 vin-supply = <&vcca_33>;
191 vin-supply = <&vcc_sys>;
201 vin
[all...]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mp-skov-reva.dtsi69 vin-supply = <&reg_5v_p>;
77 vin-supply = <&reg_5v_s>;
85 vin-supply = <&reg_5v_s>;
98 vin-supply = <&reg_24v>;
110 vin-supply = <&reg_24v>;
151 vin-supply = <&reg_5v_s>;
162 vin-supply = <&reg_vdd_3v3>;
263 vin-supply = <&reg_5v_p>;
273 vin-supply = <&reg_5v_p>;
285 vin
[all...]
H A Dimx8mq-mnt-reform2.dts66 vin-supply = <&reg_main_5v>;
74 vin-supply = <&reg_main_3v3>;
82 vin-supply = <&reg_main_5v>;
213 vin-supply = <&reg_main_5v>;
217 vin-supply = <&reg_main_5v>;
221 vin-supply = <&reg_main_5v>;
225 vin-supply = <&reg_main_5v>;
229 vin-supply = <&reg_main_5v>;
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a779a0.dtsi1182 compatible = "renesas,vin-r8a779a0",
1183 "renesas,rcar-gen4-vin";
1211 compatible = "renesas,vin-r8a779a0",
1212 "renesas,rcar-gen4-vin";
1240 compatible = "renesas,vin-r8a779a0",
1241 "renesas,rcar-gen4-vin";
1269 compatible = "renesas,vin-r8a779a0",
1270 "renesas,rcar-gen4-vin";
1298 compatible = "renesas,vin-r8a779a0",
1299 "renesas,rcar-gen4-vin";
[all...]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-bosch-acc.dts149 reg_vin: regulator-vin {
151 regulator-name = "VIN";
155 vin-supply = <&reg_5p0>;
171 vin-supply = <&reg_5p0>;
179 vin-supply = <&reg_5p0> ;
189 vin-supply = <&reg_5p0>;
209 vin-supply = <&reg_5p0> ;
219 vin-supply = <&reg_5p0>;
228 vin-supply = <&reg_5p0>;
233 vin
[all...]

12345678910>>...29