| /kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/ |
| D | rcar-core.c | 3 * 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 …]
|
| D | rcar-v4l2.c | 3 * 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() 196 /* Limit to VIN capabilities */ in rvin_format_align() [all …]
|
| D | rcar-dma.c | 3 * 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 …]
|
| D | rcar-vin.h | 3 * 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-6.6/drivers/media/platform/renesas/rcar-vin/ |
| D | rcar-core.c | 3 * 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 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() [all …]
|
| D | rcar-dma.c | 3 * 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 */ 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() [all …]
|
| D | rcar-v4l2.c | 3 * Driver for Renesas R-Car VIN 20 #include "rcar-vin.h" 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() 200 /* Limit to VIN capabilities */ in rvin_format_align() [all …]
|
| D | rcar-vin.h | 3 * Driver for Renesas R-Car VIN 31 /* Max number on VIN instances that can be in a system */ 130 * CSI-2 receiver to a VIN 132 * @master: VIN group master ID. 134 * @chsel: CHSEL register values that connects VIN group to CSI-2. 137 * Each R-Car CSI-2 receiver has four output channels facing the VIN 141 * on which channel, the VIN devices only care about output channels. 150 * struct rvin_info - Information about the particular VIN implementation 151 * @model: VIN model 153 * @use_isp: the VIN is connected to the ISP and not to the CSI-2 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/ |
| D | renesas,vin.yaml | 5 $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 …]
|
| D | renesas,isp.yaml | 16 conjunction with the R-Car VIN and CSI-2 modules, which provides the video 53 Single endpoint describing the R-Car VIN connected to output port 0. 58 Single endpoint describing the R-Car VIN connected to output port 1. 63 Single endpoint describing the R-Car VIN connected to output port 2. 68 Single endpoint describing the R-Car VIN connected to output port 3. 73 Single endpoint describing the R-Car VIN connected to output port 4. 78 Single endpoint describing the R-Car VIN connected to output port 5. 83 Single endpoint describing the R-Car VIN connected to output port 6. 88 Single endpoint describing the R-Car VIN connected to output port 7.
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | renesas,vin.yaml | 5 $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-6.6/arch/arm/boot/dts/st/ |
| 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>;
|
| 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>;
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| 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>;
|
| 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>;
|
| 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>;
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| 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>;
|
| 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>;
|
| 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>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| 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.
|
| 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>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| 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.
|
| 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>;
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stm32mp157c-ed1.dts | 93 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>;
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | ad7292.c | 152 * 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()
|