Home
last modified time | relevance | path

Searched refs:vin (Results 1 – 25 of 258) sorted by relevance

1234567891011

/Linux-v5.4/drivers/media/platform/rcar-vin/
Drcar-dma.c144 static void rvin_write(struct rvin_dev *vin, u32 value, u32 offset) in rvin_write() argument
146 iowrite32(value, vin->base + offset); in rvin_write()
149 static u32 rvin_read(struct rvin_dev *vin, u32 offset) in rvin_read() argument
151 return ioread32(vin->base + offset); in rvin_read()
476 static void rvin_set_coeff(struct rvin_dev *vin, unsigned short xs) in rvin_set_coeff() argument
497 rvin_write(vin, p_set->coeff_set[0], VNC1A_REG); in rvin_set_coeff()
498 rvin_write(vin, p_set->coeff_set[1], VNC1B_REG); in rvin_set_coeff()
499 rvin_write(vin, p_set->coeff_set[2], VNC1C_REG); in rvin_set_coeff()
501 rvin_write(vin, p_set->coeff_set[3], VNC2A_REG); in rvin_set_coeff()
502 rvin_write(vin, p_set->coeff_set[4], VNC2B_REG); in rvin_set_coeff()
[all …]
Drcar-core.c43 #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()
80 route->vin, route->csi, route->channel); in rvin_group_get_mask()
122 struct rvin_dev *vin = NULL; in rvin_group_link_notify() local
147 vin = container_of(vdev, struct rvin_dev, vdev); in rvin_group_link_notify()
148 master_id = rvin_group_id_to_master(vin->id); in rvin_group_link_notify()
150 if (WARN_ON(!group->vin[master_id])) { in rvin_group_link_notify()
[all …]
Drcar-v4l2.c67 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin, in rvin_format_from_pixel() argument
72 if (vin->info->model == RCAR_M1 && pixelformat == V4L2_PIX_FMT_XBGR32) in rvin_format_from_pixel()
82 static u32 rvin_format_bytesperline(struct rvin_dev *vin, in rvin_format_bytesperline() argument
88 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline()
106 static void rvin_format_align(struct rvin_dev *vin, struct v4l2_pix_format *pix) in rvin_format_align() argument
110 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_format_align()
136 walign = vin->format.pixelformat == V4L2_PIX_FMT_NV16 ? 5 : 1; in rvin_format_align()
139 v4l_bound_align_image(&pix->width, 2, vin->info->max_width, walign, in rvin_format_align()
140 &pix->height, 4, vin->info->max_height, 2, 0); in rvin_format_align()
142 pix->bytesperline = rvin_format_bytesperline(vin, pix); in rvin_format_align()
[all …]
Drcar-vin.h121 unsigned int vin; member
224 #define vin_to_source(vin) ((vin)->parallel->subdev) argument
253 struct rvin_dev *vin[RCAR_VIN_NUM]; member
261 int rvin_dma_register(struct rvin_dev *vin, int irq);
262 void rvin_dma_unregister(struct rvin_dev *vin);
264 int rvin_v4l2_register(struct rvin_dev *vin);
265 void rvin_v4l2_unregister(struct rvin_dev *vin);
267 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin,
272 void rvin_crop_scale_comp(struct rvin_dev *vin);
274 int rvin_set_channel_routing(struct rvin_dev *vin, u8 chsel);
[all …]
DMakefile2 rcar-vin-objs = rcar-core.o rcar-dma.o rcar-v4l2.o
5 obj-$(CONFIG_VIDEO_RCAR_VIN) += rcar-vin.o
/Linux-v5.4/Documentation/devicetree/bindings/media/
Drenesas,vin.txt13 - "renesas,vin-r8a7743" for the R8A7743 device
14 - "renesas,vin-r8a7744" for the R8A7744 device
15 - "renesas,vin-r8a7745" for the R8A7745 device
16 - "renesas,vin-r8a774a1" for the R8A774A1 device
17 - "renesas,vin-r8a774c0" for the R8A774C0 device
18 - "renesas,vin-r8a7778" for the R8A7778 device
19 - "renesas,vin-r8a7779" for the R8A7779 device
20 - "renesas,vin-r8a7790" for the R8A7790 device
21 - "renesas,vin-r8a7791" for the R8A7791 device
22 - "renesas,vin-r8a7792" for the R8A7792 device
[all …]
/Linux-v5.4/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>;
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>;
Drk3399-gru-chromebook.dtsi21 vin-supply = <&ppvar_sys>;
46 vin-supply = <&ppvar_sys>;
91 vin-supply = <&ppvar_sys>;
106 vin-supply = <&pp1800>;
125 vin-supply = <&pp1800>;
146 vin-supply = <&pp1800>;
159 vin-supply = <&pp3300>;
174 vin-supply = <&pp3300>;
192 vin-supply = <&pp1800_pcie>;
Drk3399-nanopc-t4.dts32 vin-supply = <&vcc5v0_sys>;
147 vin-supply = <&vcc12v0_sys>;
151 vin-supply = <&vcc12v0_sys>;
157 vin-supply = <&vcc5v0_sys>;
Drk3368-r88.dts83 vin-supply = <&vcc_sys>;
96 vin-supply = <&vcc_sys>;
106 vin-supply = <&vcc_sys>;
116 vin-supply = <&vcc_io>;
135 vin-supply = <&vcc_io>;
145 vin-supply = <&vcc_sys>;
187 vin-supply = <&vcc_sys>;
/Linux-v5.4/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>;
Dfan53555.txt13 - vin-supply: regulator supplying the vin pin
22 vin-supply = <&parent_reg>;
/Linux-v5.4/arch/arm64/boot/dts/amlogic/
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>;
Dmeson-g12b-odroid-n2.dts78 vin-supply = <&vcc_3v3>;
96 vin-supply = <&main_12v>;
104 vin-supply = <&vcc_3v3>;
113 vin-supply = <&vddao_3v3>;
128 vin-supply = <&main_12v>;
147 vin-supply = <&main_12v>;
161 vin-supply = <&vcc_5v>;
173 vin-supply = <&vcc_5v>;
185 vin-supply = <&vddao_3v3>;
194 vin-supply = <&main_12v>;
Dmeson-khadas-vim3.dtsi92 vin-supply = <&dc_in>;
103 vin-supply = <&vcc_3v3>;
112 vin-supply = <&vsys_3v3>;
122 vin-supply = <&vsys_3v3>;
131 vin-supply = <&vcc_3v3>;
140 vin-supply = <&dc_in>;
149 vin-supply = <&vcc_5v>;
/Linux-v5.4/arch/arm/boot/dts/
Dtegra124-nyan.dtsi181 vin-ldo0-supply = <&vdd_1v35_lp0>;
182 vin-ldo1-6-supply = <&vdd_3v3_run>;
183 vin-ldo2-5-7-supply = <&vddio_1v8>;
184 vin-ldo3-4-supply = <&vdd_3v3_sys>;
185 vin-ldo9-10-supply = <&vdd_5v0_sys>;
186 vin-ldo11-supply = <&vdd_3v3_run>;
645 vin-supply = <&vdd_mux>;
656 vin-supply = <&vdd_mux>;
669 vin-supply = <&vdd_3v3_sys>;
678 vin-supply = <&vdd_3v3_run>;
[all …]
Dimx6sx-sdb.dts133 vin-supply = <&sw1a_reg>;
137 vin-supply = <&sw1a_reg>;
141 vin-supply = <&vgen6_reg>;
145 vin-supply = <&sw2_reg>;
149 vin-supply = <&vgen6_reg>;
Dsunxi-libretech-all-h3-cc.dtsi62 vin-supply = <&reg_vcc5v0>;
72 vin-supply = <&reg_vcc5v0>;
90 vin-supply = <&reg_vcc5v0>;
102 vin-supply = <&reg_vcc3v3>;
113 vin-supply = <&reg_vcc5v0>;
Darmada-388-gp.dts300 vin-supply = <&reg_sata0>;
308 vin-supply = <&reg_sata0>;
326 vin-supply = <&reg_sata1>;
334 vin-supply = <&reg_sata1>;
350 vin-supply = <&reg_sata2>;
358 vin-supply = <&reg_sata2>;
374 vin-supply = <&reg_sata3>;
382 vin-supply = <&reg_sata3>;
Drk3288-firefly-reload.dts98 vin-supply = <&vcc_5v>;
119 vin-supply = <&vcc_io>;
132 vin-supply = <&vcc_5v>;
144 vin-supply = <&vcc_io>;
156 vin-supply = <&vcc_io>;
168 vin-supply = <&vcc_io>;
180 vin-supply = <&vcc_io>;
188 vin-supply = <&vcc_io>;
Dmeson8b-odroidc1.dts57 vin-supply = <&vcc_3v3>;
70 vin-supply = <&vcc_3v3>;
107 vin-supply = <&p5v0>;
122 vin-supply = <&p5v0>;
133 vin-supply = <&p5v0>;
154 vin-supply = <&p5v0>;
165 vin-supply = <&p5v0>;
185 vin-supply = <&vcc_3v3>;
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dsdm845-db845c.dts79 vin-supply = <&vdc_5v>;
91 vin-supply = <&vdc_3v3>;
104 vin-supply = <&vbat>;
117 vin-supply = <&vbat>;
132 vin-supply = <&vdc_5v>;
145 vin-supply = <&dc12v>;
155 vin-supply = <&dc12v>;
164 vin-supply = <&dc12v>;
174 vin-supply = <&dc12v>;
193 vin-supply = <&vbat_som>;
[all …]

1234567891011