Home
last modified time | relevance | path

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

12345678910>>...26

/kernel/linux/linux-4.19/drivers/media/platform/rcar-vin/
Drcar-core.c3 * Driver for Renesas R-Car VIN
26 #include "rcar-vin.h"
32 * CSI-2 receiver to/from the VIN internal channel number simply
40 * routing for other VIN's. We can figure out which VIN is
43 #define rvin_group_id_to_master(vin) ((vin) < 4 ? 0 : 4) argument
67 static unsigned int rvin_group_get_mask(struct rvin_dev *vin, in rvin_group_get_mask() argument
74 for (route = vin->info->routes; route->mask; route++) { in rvin_group_get_mask()
75 if (route->vin == vin->id && in rvin_group_get_mask()
78 vin_dbg(vin, in rvin_group_get_mask()
79 "Adding route: vin: %d csi: %d channel: %d\n", in rvin_group_get_mask()
[all …]
Drcar-v4l2.c3 * Driver for Renesas R-Car VIN
20 #include "rcar-vin.h"
90 static void rvin_format_align(struct rvin_dev *vin, struct v4l2_pix_format *pix) in rvin_format_align() argument
95 (vin->info->model == RCAR_M1 && in rvin_format_align()
111 * the VIN hardware to combine the two fields. in rvin_format_align()
122 walign = vin->format.pixelformat == V4L2_PIX_FMT_NV16 ? 5 : 1; in rvin_format_align()
124 /* Limit to VIN capabilities */ in rvin_format_align()
125 v4l_bound_align_image(&pix->width, 2, vin->info->max_width, walign, in rvin_format_align()
126 &pix->height, 4, vin->info->max_height, 2, 0); in rvin_format_align()
131 vin_dbg(vin, "Format %ux%u bpl: %u size: %u\n", in rvin_format_align()
[all …]
Drcar-dma.c3 * Driver for Renesas R-Car VIN
19 #include "rcar-vin.h"
25 /* Register offsets for R-Car VIN */
78 /* Register bit fields for R-Car VIN */
141 static void rvin_write(struct rvin_dev *vin, u32 value, u32 offset) in rvin_write() argument
143 iowrite32(value, vin->base + offset); in rvin_write()
146 static u32 rvin_read(struct rvin_dev *vin, u32 offset) in rvin_read() argument
148 return ioread32(vin->base + offset); in rvin_read()
473 static void rvin_set_coeff(struct rvin_dev *vin, unsigned short xs) in rvin_set_coeff() argument
494 rvin_write(vin, p_set->coeff_set[0], VNC1A_REG); in rvin_set_coeff()
[all …]
Drcar-vin.h3 * Driver for Renesas R-Car VIN
30 /* Max number on VIN instances that can be in a system */
96 * CSI-2 receiver to a VIN
100 * @vin: VIN ID.
102 * allow for a route from @csi + @chan to @vin.
105 * Each R-Car CSI-2 receiver has four output channels facing the VIN
109 * on which channel, the VIN devices only care about output channels.
112 * allow for the same route from @csi + @channel to @vin. For example
121 unsigned int vin; member
126 * struct rvin_info - Information about the particular VIN implementation
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/
Drcar-core.c3 * Driver for Renesas R-Car VIN
26 #include "rcar-vin.h"
32 * CSI-2 receiver to/from the VIN internal channel number simply
40 * routing for other VIN's. We can figure out which VIN is
43 #define rvin_group_id_to_master(vin) ((vin) < 4 ? 0 : 4) argument
67 static unsigned int rvin_group_get_mask(struct rvin_dev *vin, in rvin_group_get_mask() argument
74 for (route = vin->info->routes; route->mask; route++) { in rvin_group_get_mask()
75 if (route->vin == vin->id && in rvin_group_get_mask()
78 vin_dbg(vin, in rvin_group_get_mask()
79 "Adding route: vin: %d csi: %d channel: %d\n", in rvin_group_get_mask()
[all …]
Drcar-v4l2.c3 * Driver for Renesas R-Car VIN
20 #include "rcar-vin.h"
87 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin, in rvin_format_from_pixel() argument
94 if (vin->info->model == RCAR_M1) in rvin_format_from_pixel()
102 if (!vin->info->nv12 || !(BIT(vin->id) & 0x3333)) in rvin_format_from_pixel()
116 static u32 rvin_format_bytesperline(struct rvin_dev *vin, in rvin_format_bytesperline() argument
122 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline()
155 static void rvin_format_align(struct rvin_dev *vin, struct v4l2_pix_format *pix) in rvin_format_align() argument
159 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_format_align()
189 /* Limit to VIN capabilities */ in rvin_format_align()
[all …]
Drcar-dma.c3 * Driver for Renesas R-Car VIN
19 #include "rcar-vin.h"
25 /* Register offsets for R-Car VIN */
78 /* Register bit fields for R-Car VIN */
147 static void rvin_write(struct rvin_dev *vin, u32 value, u32 offset) in rvin_write() argument
149 iowrite32(value, vin->base + offset); in rvin_write()
152 static u32 rvin_read(struct rvin_dev *vin, u32 offset) in rvin_read() argument
154 return ioread32(vin->base + offset); in rvin_read()
479 static void rvin_set_coeff(struct rvin_dev *vin, unsigned short xs) in rvin_set_coeff() argument
500 rvin_write(vin, p_set->coeff_set[0], VNC1A_REG); in rvin_set_coeff()
[all …]
Drcar-vin.h3 * Driver for Renesas R-Car VIN
31 /* Max number on VIN instances that can be in a system */
114 * CSI-2 receiver to a VIN
118 * @vin: VIN ID.
120 * allow for a route from @csi + @chan to @vin.
123 * Each R-Car CSI-2 receiver has four output channels facing the VIN
127 * on which channel, the VIN devices only care about output channels.
130 * allow for the same route from @csi + @channel to @vin. For example
139 unsigned int vin; member
144 * struct rvin_info - Information about the particular VIN implementation
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
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-r8a77470 # RZ/G1C
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/
Drcar_vin.txt7 Each VIN instance has a single parallel input that supports RGB and YUV video,
9 Depending on the instance the VIN input is connected to external SoC pins, or
13 - "renesas,vin-r8a7743" for the R8A7743 device
14 - "renesas,vin-r8a7745" for the R8A7745 device
15 - "renesas,vin-r8a7778" for the R8A7778 device
16 - "renesas,vin-r8a7779" for the R8A7779 device
17 - "renesas,vin-r8a7790" for the R8A7790 device
18 - "renesas,vin-r8a7791" for the R8A7791 device
19 - "renesas,vin-r8a7792" for the R8A7792 device
20 - "renesas,vin-r8a7793" for the R8A7793 device
[all …]
/kernel/linux/linux-4.19/drivers/staging/erofs/
Dunzip_vle_lz4.c110 void *vin, *vout; in z_erofs_vle_unzip_fast_percpu() local
120 vin = kmap_atomic(compressed_pages[0]); in z_erofs_vle_unzip_fast_percpu()
122 vin = erofs_vmap(compressed_pages, clusterpages); in z_erofs_vle_unzip_fast_percpu()
123 if (!vin) in z_erofs_vle_unzip_fast_percpu()
130 ret = z_erofs_unzip_lz4(vin, vout + pageofs, in z_erofs_vle_unzip_fast_percpu()
143 memcpy(vin + pageofs, vout + pageofs, j); in z_erofs_vle_unzip_fast_percpu()
160 kunmap_atomic(vin); in z_erofs_vle_unzip_fast_percpu()
162 erofs_vunmap(vin, clusterpages); in z_erofs_vle_unzip_fast_percpu()
174 void *vin; in z_erofs_vle_unzip_vmap() local
180 vin = erofs_pcpubuf[smp_processor_id()].data; in z_erofs_vle_unzip_vmap()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-nanopi-m4.dts31 vin-supply = <&vdd_5v>;
39 vin-supply = <&vcc5v0_sys>;
47 vin-supply = <&vcc5v0_sys>;
52 vin-supply = <&vcc5v0_core>;
65 vin-supply = <&vdd_5v>;
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>;
Drk3399-nanopi-neo4.dts27 vin-supply = <&vdd_5v>;
35 vin-supply = <&vcc5v0_sys>;
40 vin-supply = <&vcc5v0_core>;
49 vin-supply = <&vdd_5v>;
Drk3368-orion-r68-meta.dts77 vin-supply = <&vcc_sys>;
89 vin-supply = <&vcc_sys>;
99 vin-supply = <&vcc_sys>;
109 vin-supply = <&vcc_io>;
118 vin-supply = <&vcc_io>;
137 vin-supply = <&vcc_io>;
147 vin-supply = <&vcc_io>;
157 vin-supply = <&vcc_sys>;
203 vin-supply = <&vcc_sys>;
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
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.
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>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
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.
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>;
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-w400.dtsi47 vin-supply = <&vcc_3v3>;
64 vin-supply = <&main_12v>;
75 vin-supply = <&vcc_3v3>;
84 vin-supply = <&vddao_3v3>;
99 vin-supply = <&main_12v>;
118 vin-supply = <&main_12v>;
132 vin-supply = <&vcc_5v>;
144 vin-supply = <&vcc_5v>;
156 vin-supply = <&vddao_3v3>;
165 vin-supply = <&main_12v>;
Dmeson-g12a-u200.dts61 vin-supply = <&vcc_3v3>;
78 vin-supply = <&vcc_5v>;
89 vin-supply = <&vcc_3v3>;
98 vin-supply = <&vddao_3v3>;
108 vin-supply = <&main_12v>;
119 vin-supply = <&vddao_3v3>;
128 vin-supply = <&main_12v>;
142 vin-supply = <&main_12v>;
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dstm32mp157c-ed1.dts93 vin: vin { label
95 regulator-name = "vin";
161 buck1-supply = <&vin>;
162 buck2-supply = <&vin>;
163 buck3-supply = <&vin>;
164 buck4-supply = <&vin>;
168 ldo4-supply = <&vin>;
171 vref_ddr-supply = <&vin>;
172 boost-supply = <&vin>;
Dtegra124-nyan.dtsi184 vin-ldo0-supply = <&vdd_1v35_lp0>;
185 vin-ldo1-6-supply = <&vdd_3v3_run>;
186 vin-ldo2-5-7-supply = <&vddio_1v8>;
187 vin-ldo3-4-supply = <&vdd_3v3_sys>;
188 vin-ldo9-10-supply = <&vdd_5v0_sys>;
189 vin-ldo11-supply = <&vdd_3v3_run>;
634 vin-supply = <&vdd_mux>;
644 vin-supply = <&vdd_mux>;
656 vin-supply = <&vdd_3v3_sys>;
664 vin-supply = <&vdd_3v3_run>;
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/rockchip/
Drk3368-orion-r68-meta.dts77 vin-supply = <&vcc_sys>;
89 vin-supply = <&vcc_sys>;
99 vin-supply = <&vcc_sys>;
109 vin-supply = <&vcc_io>;
118 vin-supply = <&vcc_io>;
137 vin-supply = <&vcc_io>;
147 vin-supply = <&vcc_io>;
157 vin-supply = <&vcc_sys>;
204 vin-supply = <&vcc_sys>;
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7292.c152 * to the settings at the ADC sampling mode and VIN range subregisters. in ad7292_vin_range_multiplier()
157 * factor = 4 if VIN range0 and VIN range1 equal 0 in ad7292_vin_range_multiplier()
158 * factor = 2 if only one of VIN ranges equal 1 in ad7292_vin_range_multiplier()
159 * factor = 1 if both VIN range0 and VIN range1 equal 1 in ad7292_vin_range_multiplier()
161 * factor = 4 if VIN range0 and VIN range1 equal 0 in ad7292_vin_range_multiplier()
162 * Behavior is undefined if any of VIN range doesn't equal 0 in ad7292_vin_range_multiplier()

12345678910>>...26