/openbmc/linux/drivers/media/platform/renesas/rcar-vin/ |
H A D | rcar-dma.c | 159 static void rvin_write(struct rvin_dev *vin, u32 value, u32 offset) in rvin_write() argument 161 iowrite32(value, vin->base + offset); in rvin_write() 164 static u32 rvin_read(struct rvin_dev *vin, u32 offset) in rvin_read() argument 166 return ioread32(vin->base + offset); in rvin_read() 173 static bool rvin_scaler_needed(const struct rvin_dev *vin) in rvin_scaler_needed() argument 175 return !(vin->crop.width == vin->format.width && in rvin_scaler_needed() 176 vin->compose.width == vin->format.width && in rvin_scaler_needed() 177 vin->crop.height == vin->format.height && in rvin_scaler_needed() 178 vin->compose.height == vin->format.height); in rvin_scaler_needed() 499 static void rvin_set_coeff(struct rvin_dev *vin, unsigned short xs) in rvin_set_coeff() argument [all …]
|
H A D | rcar-core.c | 41 #define rvin_group_id_to_master(vin) ((vin) < 4 ? 0 : 4) argument 67 static int rvin_group_init(struct rvin_group *group, struct rvin_dev *vin, in rvin_group_init() argument 79 for_each_matching_node(np, vin->dev->driver->of_match_table) in rvin_group_init() 83 vin_dbg(vin, "found %u enabled VIN's in DT", group->count); in rvin_group_init() 87 mdev->dev = vin->dev; in rvin_group_init() 90 match = of_match_node(vin->dev->driver->of_match_table, in rvin_group_init() 91 vin->dev->of_node); in rvin_group_init() 117 static int rvin_group_get(struct rvin_dev *vin, in rvin_group_get() argument 126 ret = of_property_read_u32(vin->dev->of_node, "renesas,id", &id); in rvin_group_get() 128 vin_err(vin, "%pOF: No renesas,id property found\n", in rvin_group_get() [all …]
|
H A D | rcar-v4l2.c | 91 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin, in rvin_format_from_pixel() argument 98 if (vin->info->model == RCAR_M1) in rvin_format_from_pixel() 106 if (!vin->info->nv12 || !(BIT(vin->id) & 0x3333)) in rvin_format_from_pixel() 120 static u32 rvin_format_bytesperline(struct rvin_dev *vin, in rvin_format_bytesperline() argument 126 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline() 159 static void rvin_format_align(struct rvin_dev *vin, struct v4l2_pix_format *pix) in rvin_format_align() argument 163 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_format_align() 201 v4l_bound_align_image(&pix->width, 5, vin->info->max_width, walign, in rvin_format_align() 202 &pix->height, 2, vin->info->max_height, 0, 0); in rvin_format_align() 204 pix->bytesperline = rvin_format_bytesperline(vin, pix); in rvin_format_align() [all …]
|
H A D | rcar-vin.h | 170 void (*scaler)(struct rvin_dev *vin); 253 void (*scaler)(struct rvin_dev *vin); 259 #define vin_to_source(vin) ((vin)->parallel.subdev) argument 289 struct rvin_dev *vin[RCAR_VIN_NUM]; member 291 int (*link_setup)(struct rvin_dev *vin); 299 int rvin_dma_register(struct rvin_dev *vin, int irq); 300 void rvin_dma_unregister(struct rvin_dev *vin); 302 int rvin_v4l2_register(struct rvin_dev *vin); 303 void rvin_v4l2_unregister(struct rvin_dev *vin); 305 const struct rvin_video_format *rvin_format_from_pixel(struct rvin_dev *vin, [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157a-microgea-stm32mp1.dtsi | 58 vin: regulator-vin { label 60 regulator-name = "vin"; 72 vin-supply = <&vin>; 81 vin-supply = <&vin>; 90 vin-supply = <&vin>;
|
H A D | stm32mp157c-ed1.dts | 88 vin: vin { label 90 regulator-name = "vin"; 174 buck1-supply = <&vin>; 175 buck2-supply = <&vin>; 176 buck3-supply = <&vin>; 177 buck4-supply = <&vin>; 181 ldo4-supply = <&vin>; 184 vref_ddr-supply = <&vin>; 185 boost-supply = <&vin>;
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | tegra124-jetson-tk1.dts | 117 vin-ldo0-supply = <&vdd_1v35_lp0>; 118 vin-ldo1-6-supply = <&vdd_3v3_run>; 119 vin-ldo2-5-7-supply = <&vddio_1v8>; 120 vin-ldo3-4-supply = <&vdd_3v3_sys>; 121 vin-ldo9-10-supply = <&vdd_5v0_sys>; 122 vin-ldo11-supply = <&vdd_3v3_run>; 365 vin-supply = <&vdd_mux>; 376 vin-supply = <&vdd_mux>; 389 vin-supply = <&vdd_3v3_sys>; 398 vin-supply = <&vdd_3v3_run>; [all …]
|
H A D | tegra124-cei-tk1-som.dts | 118 vin-ldo0-supply = <&vdd_1v35_lp0>; 119 vin-ldo1-6-supply = <&vdd_3v3_run>; 120 vin-ldo2-5-7-supply = <&vddio_1v8>; 121 vin-ldo3-4-supply = <&vdd_3v3_sys>; 122 vin-ldo9-10-supply = <&vdd_5v0_sys>; 123 vin-ldo11-supply = <&vdd_3v3_run>; 360 vin-supply = <&vdd_mux>; 371 vin-supply = <&vdd_mux>; 384 vin-supply = <&vdd_3v3_sys>; 393 vin-supply = <&vdd_3v3_run>; [all …]
|
H A D | tegra124-nyan.dtsi | 155 vin-ldo0-supply = <&vdd_1v35_lp0>; 156 vin-ldo1-6-supply = <&vdd_3v3_run>; 157 vin-ldo2-5-7-supply = <&vddio_1v8>; 158 vin-ldo3-4-supply = <&vdd_3v3_sys>; 159 vin-ldo9-10-supply = <&vdd_5v0_sys>; 160 vin-ldo11-supply = <&vdd_3v3_run>; 560 vin-supply = <&vdd_mux>; 571 vin-supply = <&vdd_mux>; 584 vin-supply = <&vdd_3v3_sys>; 593 vin-supply = <&vdd_3v3_run>; [all …]
|
H A D | tegra30-cardhu.dts | 240 vin-supply = <&vio_reg>; 265 vin-supply = <&sys_3v3_reg>; 286 vin-supply = <&sys_3v3_reg>; 297 vin-supply = <&sys_3v3_reg>; 308 vin-supply = <&sys_3v3_reg>; 319 vin-supply = <&sys_3v3_reg>; 332 vin-supply = <&sys_3v3_reg>; 343 vin-supply = <&sys_3v3_reg>; 356 vin-supply = <&sys_3v3_reg>; 368 vin-supply = <&vdd_5v0_reg>; [all …]
|
H A D | sunxi-libretech-all-h3-cc.dtsi | 51 vin-supply = <®_vcc5v0>; 61 vin-supply = <®_vcc5v0>; 79 vin-supply = <®_vcc5v0>; 91 vin-supply = <®_vcc3v3>; 102 vin-supply = <®_vcc5v0>;
|
H A D | rk3399-gru-chromebook.dtsi | 21 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>;
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-nanopi-m4.dts | 31 vin-supply = <&vdd_5v>; 39 vin-supply = <&vcc5v0_sys>; 47 vin-supply = <&vcc5v0_sys>; 52 vin-supply = <&vcc5v0_core>; 65 vin-supply = <&vdd_5v>;
|
H A D | rk3399-nanopi-neo4.dts | 27 vin-supply = <&vdd_5v>; 35 vin-supply = <&vcc5v0_sys>; 40 vin-supply = <&vcc5v0_core>; 49 vin-supply = <&vdd_5v>;
|
H A D | rk3308-evb.dts | 103 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 D | rk3368-orion-r68-meta.dts | 82 vin-supply = <&vcc_sys>; 94 vin-supply = <&vcc_sys>; 104 vin-supply = <&vcc_sys>; 114 vin-supply = <&vcc_io>; 123 vin-supply = <&vcc_io>; 142 vin-supply = <&vcc_io>; 152 vin-supply = <&vcc_io>; 162 vin-supply = <&vcc_sys>; 208 vin-supply = <&vcc_sys>;
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | as3722-regulator.txt | 14 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 D | tps6586x.txt | 16 - 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>;
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-mnt-reform2.dts | 66 vin-supply = <®_main_5v>; 74 vin-supply = <®_main_3v3>; 82 vin-supply = <®_main_5v>; 213 vin-supply = <®_main_5v>; 217 vin-supply = <®_main_5v>; 221 vin-supply = <®_main_5v>; 225 vin-supply = <®_main_5v>; 229 vin-supply = <®_main_5v>;
|
/openbmc/u-boot/doc/device-tree-bindings/regulator/ |
H A D | fan53555.txt | 12 - vin-supply: regulator supplying the vin pin 21 vin-supply = <&parent_reg>;
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra124-nyan.dtsi | 187 vin-ldo0-supply = <&vdd_1v35_lp0>; 188 vin-ldo1-6-supply = <&vdd_3v3_run>; 189 vin-ldo2-5-7-supply = <&vddio_1v8>; 190 vin-ldo3-4-supply = <&vdd_3v3_sys>; 191 vin-ldo9-10-supply = <&vdd_5v0_sys>; 192 vin-ldo11-supply = <&vdd_3v3_run>; 661 vin-supply = <&vdd_mux>; 671 vin-supply = <&vdd_mux>; 683 vin-supply = <&vdd_3v3_sys>; 691 vin-supply = <&vdd_3v3_run>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-b1x5pv2.dtsi | 58 vin-supply = <®_syspwr>; 66 vin-supply = <®_syspwr>; 74 vin-supply = <®_syspwr>; 82 vin-supply = <®_5v>; 99 vin-supply = <®_3v3>; 112 vin-supply = <®_3v3_audio>; 121 vin-supply = <®_3v3>; 134 vin-supply = <®_syspwr>; 146 vin-supply = <®_5v>; 154 vin-supply = <®_5v>;
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sunxi-libretech-all-h3-it.dtsi | 44 vin-supply = <®_vcc5v0>; 64 vin-supply = <®_vcc5v0>; 75 vin-supply = <®_vcc3v3>; 84 vin-supply = <®_vcc5v0>; 96 vin-supply = <®_vcc5v0>;
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12a-u200.dts | 61 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>;
|
H A D | meson-gxl-s905x-libretech-cc-v2.dts | 75 vin-supply = <&dc_in>; 92 vin-supply = <&ao_5v>; 101 vin-supply = <&vddio_ao3v3>; 112 vin-supply = <&ao_5v>; 122 vin-supply = <&ao_5v>; 147 vin-supply = <&vddio_ao3v3>; 156 vin-supply = <&vddio_ao3v3>;
|