Home
last modified time | relevance | path

Searched full:vout (Results 1 – 25 of 72) sorted by relevance

123

/Linux-v5.10/drivers/media/platform/omap/
Domap_vout_vrfb.c30 static int omap_vout_allocate_vrfb_buffers(struct omap_vout_device *vout, in omap_vout_allocate_vrfb_buffers() argument
36 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers()
37 vout->smsshado_virt_addr[i] = in omap_vout_allocate_vrfb_buffers()
38 omap_vout_alloc_buffer(vout->smsshado_size, in omap_vout_allocate_vrfb_buffers()
39 &vout->smsshado_phy_addr[i]); in omap_vout_allocate_vrfb_buffers()
41 if (!vout->smsshado_virt_addr[i] && startindex != -1) { in omap_vout_allocate_vrfb_buffers()
42 if (vout->vq.memory == V4L2_MEMORY_MMAP && i >= startindex) in omap_vout_allocate_vrfb_buffers()
45 if (!vout->smsshado_virt_addr[i]) { in omap_vout_allocate_vrfb_buffers()
48 vout->smsshado_virt_addr[j], in omap_vout_allocate_vrfb_buffers()
49 vout->smsshado_size); in omap_vout_allocate_vrfb_buffers()
[all …]
Domap_vout.c200 static int omap_vout_calculate_offset(struct omap_vout_device *vout) in omap_vout_calculate_offset() argument
203 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_offset()
204 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset()
205 int *cropped_offset = &vout->cropped_offset; in omap_vout_calculate_offset()
208 ovid = &vout->vid_info; in omap_vout_calculate_offset()
211 omap_vout_calculate_vrfb_offset(vout); in omap_vout_calculate_offset()
213 vout->line_length = line_length = pix->width; in omap_vout_calculate_offset()
223 vout->ps = ps; in omap_vout_calculate_offset()
229 v4l2_dbg(1, debug, &vout->vid_dev->v4l2_dev, "%s Offset:%x\n", in omap_vout_calculate_offset()
230 __func__, vout->cropped_offset); in omap_vout_calculate_offset()
[all …]
Domap_vout_vrfb.h16 void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout);
19 void omap_vout_release_vrfb(struct omap_vout_device *vout);
20 int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout,
22 int omap_vout_prepare_vrfb(struct omap_vout_device *vout,
24 void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout);
26 static inline void omap_vout_free_vrfb_buffers(struct omap_vout_device *vout) { }; in omap_vout_free_vrfb_buffers() argument
30 static inline void omap_vout_release_vrfb(struct omap_vout_device *vout) { }; in omap_vout_release_vrfb() argument
31 static inline int omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, in omap_vout_vrfb_buffer_setup() argument
34 static inline int omap_vout_prepare_vrfb(struct omap_vout_device *vout, in omap_vout_prepare_vrfb() argument
37 static inline void omap_vout_calculate_vrfb_offset(struct omap_vout_device *vout) { }; in omap_vout_calculate_vrfb_offset() argument
Domap_voutdef.h70 /* Enum for choosing rotation type for vout
184 static inline int is_rotation_90_or_270(const struct omap_vout_device *vout) in is_rotation_90_or_270() argument
186 return (vout->rotation == dss_rotation_90_degree || in is_rotation_90_or_270()
187 vout->rotation == dss_rotation_270_degree); in is_rotation_90_or_270()
193 static inline int is_rotation_enabled(const struct omap_vout_device *vout) in is_rotation_enabled() argument
195 return vout->rotation || vout->mirror; in is_rotation_enabled()
201 static inline int calc_rotation(const struct omap_vout_device *vout) in calc_rotation() argument
203 if (!vout->mirror) in calc_rotation()
204 return vout->rotation; in calc_rotation()
206 switch (vout->rotation) { in calc_rotation()
[all …]
DMakefile7 omap-vout-y += omap_vout.o omap_voutlib.o
8 omap-vout-$(CONFIG_VIDEO_OMAP2_VOUT_VRFB) += omap_vout_vrfb.o
9 obj-$(CONFIG_VIDEO_OMAP2_VOUT) += omap-vout.o
/Linux-v5.10/Documentation/devicetree/bindings/hwmon/
Dmaxim,max20730.yaml36 vout-voltage-divider:
38 If voltage divider present at vout, the voltage at voltage sensor pin
42 resistance. Therefore, the adjusted vout is equal to
43 Vout = Vout * output_resistance / total resistance.
63 vout-voltage-divider = <1000 2000>; // vout would be scaled to 0.5
/Linux-v5.10/Documentation/devicetree/bindings/regulator/
Dtps62360-regulator.txt12 - ti,enable-vout-discharge: Enable output discharge. This is boolean value.
33 regulator-name = "tps62361-vout";
43 ti,enable-vout-discharge;
Dtps51632-regulator.txt21 regulator-name = "tps51632-vout";
/Linux-v5.10/include/linux/platform_data/
Dleds-lp55xx.h48 LP8501_6VDD_3VOUT, /* D1~6 with VDD, D7~9 with VOUT */
49 LP8501_3VDD_6VOUT, /* D1~6 with VOUT, D7~9 with VDD */
50 LP8501_ALL_VOUT, /* D1~9 are connected to VOUT */
/Linux-v5.10/drivers/media/test-drivers/vivid/
Dvivid-vid-out.h37 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout);
38 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout);
39 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout);
Dvivid-vid-out.c1106 int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_enumaudout() argument
1108 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_enumaudout()
1110 *vout = vivid_audio_outputs[vout->index]; in vidioc_enumaudout()
1114 int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout) in vidioc_g_audout() argument
1120 *vout = vivid_audio_outputs[dev->tv_audio_output]; in vidioc_g_audout()
1124 int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in vidioc_s_audout() argument
1130 if (vout->index >= ARRAY_SIZE(vivid_audio_outputs)) in vidioc_s_audout()
1132 dev->tv_audio_output = vout->index; in vidioc_s_audout()
/Linux-v5.10/drivers/regulator/
Dmax8973-regulator.c131 * find_voltage_set_register: Find new voltage configuration register (VOUT).
132 * The finding of the new VOUT register will be based on the LRU mechanism.
133 * Each VOUT register will have different voltage configured . This
134 * Function will look if any of the VOUT register have requested voltage set
138 * the VOUT register but need to set the proper gpios to select this
139 * VOUT register.
141 * recently mechanism to get new VOUT register for new configuration
142 * and will return not_found so that caller need to set new VOUT
197 * If gpios are available to select the VOUT register then least in max8973_dcdc_set_voltage_sel()
216 /* Select proper VOUT register vio gpios */ in max8973_dcdc_set_voltage_sel()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.yaml57 - 1 # D1~6 with VDD, D7~9 with VOUT
58 - 2 # D1~6 with VOUT, D7~9 with VDD
59 - 3 # D1~9 are connected to VOUT
123 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
/Linux-v5.10/Documentation/hwmon/
Dbel-pfe.rst94 in[3-8]_label "vout[1-3,5-7]"
96 in[3-4]_alarm vout[1-2] output voltage alarm
111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
Dmp2975.rst30 - Can configured VOUT readout in direct or VID format and allows
84 - indexes n+1, n+2 for "vout";
Disl68137.rst451 in[2-3]_label "vout[1-2]"
496 in3_label "vout"
541 in[3-4]_label "vout[1-2]"
586 in[3-5]_label "vout[1-3]"
Dtps40422.rst47 in[1-2]_label "vout[1-2]"
/Linux-v5.10/Documentation/devicetree/bindings/iio/afe/
Dvoltage-divider.txt15 +---- Vout
25 - io-channels : Channel node of a voltage io-channel measuring Vout.
/Linux-v5.10/drivers/hwmon/pmbus/
Dltc2978.c268 * VOUT is 16 bit unsigned with fixed exponent, in ltc2978_read_word_data_common()
555 PMBUS_REGULATOR("vout", 0),
556 PMBUS_REGULATOR("vout", 1),
557 PMBUS_REGULATOR("vout", 2),
558 PMBUS_REGULATOR("vout", 3),
559 PMBUS_REGULATOR("vout", 4),
560 PMBUS_REGULATOR("vout", 5),
561 PMBUS_REGULATOR("vout", 6),
562 PMBUS_REGULATOR("vout", 7),
Dmp2975.c78 * Enforce VOUT direct format, since device allows to set the in mp2975_read_byte_data()
272 * MP2975_MFR_DC_LOOP_CTRL. The driver enforces VOUT direct in mp2975_read_word_data()
274 * the different rails and also all VOUT limits registers are in mp2975_read_word_data()
640 * Get VOUT format for READ_VOUT command : VID or direct. in mp2975_vout_per_rail_config_get()
729 /* Obtain vout over-voltage scales. */ in mp2975_probe()
734 /* Obtain offsets, maximum and format for vout. */ in mp2975_probe()
Dir38064.c7 * VOUT_MODE is not supported by the device. The driver fakes VOUT linear16
Dadm1275.c616 /* Enable VOUT if not enabled (it is disabled by default) */ in adm1275_probe()
624 "Failed to enable VOUT monitoring\n"); in adm1275_probe()
688 /* Enable VOUT & TEMP1 if not enabled (disabled by default) */ in adm1275_probe()
697 "Failed to enable VOUT monitoring\n"); in adm1275_probe()
/Linux-v5.10/arch/arm/boot/dts/
Dtegra30-asus-nexus7-grouper-ti-pmic.dtsi129 regulator-name = "tps62361-vout";
137 ti,enable-vout-discharge;
/Linux-v5.10/drivers/iio/light/
Dgp2ap002.c59 /* VCON :VOUT output method control(0:normal, 1:interrupt) */
61 /* OCON :Select switch for enabling/disabling VOUT (00:enable, 11:disable) */
115 * Select switch for enabling/disabling Vout pin
206 dev_err(gp2ap002->dev, "error setting up VOUT control\n"); in gp2ap002_prox_irq()
316 /* Interrupt on VOUT enabled */ in gp2ap002_init()
320 dev_err(gp2ap002->dev, "error setting up VOUT control\n"); in gp2ap002_init()
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Dgpio-max3191x.txt40 through 5VOUT instead of VCC24V, in which case they

123