Home
last modified time | relevance | path

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

123456

/linux-6.12.1/drivers/media/platform/ti/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-6.12.1/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-6.12.1/Documentation/devicetree/bindings/clock/
Dstarfive,jh7110-voutcrg.yaml21 - description: Vout Top core
22 - description: Vout Top Ahb
23 - description: Vout Top Axi
24 - description: Vout Top HDMI MCLK
39 description: Vout Top core
54 Vout domain power
/linux-6.12.1/drivers/hwmon/pmbus/
Dstpddc60.c37 * Calculate the closest absolute offset between commanded vout value
39 * Return 0 if the upper limit is lower than vout or if the lower limit
40 * is higher than vout.
42 static u8 stpddc60_get_offset(int vout, u16 limit, bool over) in stpddc60_get_offset() argument
47 v = 250 + (vout - 1) * 5; /* Convert VID to mv */ in stpddc60_get_offset()
81 * The VOUT_COMMAND register uses the VID format but the vout alarm limit
105 * The vout related registers return values in LINEAR11 format when LINEAR16
141 * The vout under- and over-voltage limits are set as an offset relative to
142 * the commanded vout voltage. The vin, iout, pout and temp limits must use
Dmp5990.c31 * The VOUT format used by the chip is linear11, in mp5990_read_byte_data()
32 * not linear16. Report that VOUT is in linear mode in mp5990_read_byte_data()
40 * The datasheet does not support the VOUT command, in mp5990_read_byte_data()
43 * Therefore, we should report that VOUT is in direct in mp5990_read_byte_data()
67 * Because the VOUT format used by the chip is linear11 and not in mp5990_read_word_data()
127 /* Read Vout Config */ in mp5990_probe()
130 dev_err(&client->dev, "Can't get vout mode."); in mp5990_probe()
145 dev_err(&client->dev, "Can't get vout exponent."); in mp5990_probe()
Dmp9941.c16 * config the vout format. The MFR_VR_MULTI_CONFIG_R1(0x0D) is
17 * used to identify the vout vid step.
59 * page = 0, MFR_RESO_SET[7:6] defines the vout format in mp9941_set_vout_format()
60 * 2'b11 set the vout format as direct in mp9941_set_vout_format()
188 * The vout scale is set to 1mV/Lsb(using r/m/b scale). in mp9941_read_word_data()
189 * But the vout uv limit and vout max/min scale is 1VID/Lsb, in mp9941_read_word_data()
190 * so the vout uv limit and vout max/min value should be in mp9941_read_word_data()
Dltc2978.c279 * VOUT is 16 bit unsigned with fixed exponent, in ltc2978_read_word_data_common()
573 PMBUS_REGULATOR_STEP("vout", 0, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
574 PMBUS_REGULATOR_STEP("vout", 1, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
575 PMBUS_REGULATOR_STEP("vout", 2, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
576 PMBUS_REGULATOR_STEP("vout", 3, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
577 PMBUS_REGULATOR_STEP("vout", 4, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
578 PMBUS_REGULATOR_STEP("vout", 5, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
579 PMBUS_REGULATOR_STEP("vout", 6, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
580 PMBUS_REGULATOR_STEP("vout", 7, LTC2978_N_VOLTAGES, LTC2978_UV_STEP, 0),
584 PMBUS_REGULATOR("vout", 0),
[all …]
Dmp2891.c17 * is used to identify the vout scale. The READ_PIN_EST(0x94) is used
99 * Obtain vout scale from the register MFR_VOUT_LOOP_CTRL, bits 15-14,bit 13. in mp2891_identify_vout_scale()
100 * If MFR_VOUT_LOOP_CTRL[13] = 1, the vout scale is below: in mp2891_identify_vout_scale()
102 * If MFR_VOUT_LOOP_CTRL[13] = 0, the vout scale is decided by in mp2891_identify_vout_scale()
179 /* Identify vout scale for rail 1. */ in mp2891_identify()
184 /* Identify vout scale for rail 2. */ in mp2891_identify()
207 * returned when the register is read. But the calculation of vout in in mp2891_read_byte_data()
209 * vout is enforced to direct. in mp2891_read_byte_data()
Dxdpe12284.c99 /* Read the register with VOUT scaling value.*/ in xdpe122_identify()
128 PMBUS_REGULATOR("vout", 0),
129 PMBUS_REGULATOR("vout", 1),
Dir38064.c7 * VOUT_MODE is not supported by the device. The driver fakes VOUT linear16
25 PMBUS_REGULATOR_ONE("vout"),
/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dregulator-output.yaml24 vout-supply:
30 - vout-supply
38 vout-supply = <&output_reg>;
Drichtek,rtq2208.yaml46 vout register selection based on this boolean value.
47 false - Using DVS0 register setting to adjust vout
48 true - Using DVS1 register setting to adjust vout
186 /* Fixed LDO VOUT */
196 /* Adjustable LDO VOUT */
Dti,tps62360.yaml49 ti,enable-vout-discharge:
85 regulator-name = "tps62361-vout";
94 ti,enable-vout-discharge;
Dfcs,fan53555.yaml47 description: Voltage Select. When this pin is LOW, VOUT is set by the
48 VSEL0 register. When this pin is HIGH, VOUT is set by the VSEL1 register.
/linux-6.12.1/drivers/regulator/
Dmax8973-regulator.c116 * find_voltage_set_register: Find new voltage configuration register (VOUT).
117 * The finding of the new VOUT register will be based on the LRU mechanism.
118 * Each VOUT register will have different voltage configured . This
119 * Function will look if any of the VOUT register have requested voltage set
123 * the VOUT register but need to set the proper gpios to select this
124 * VOUT register.
126 * recently mechanism to get new VOUT register for new configuration
127 * and will return not_found so that caller need to set new VOUT
182 * If gpios are available to select the VOUT register then least in max8973_dcdc_set_voltage_sel()
201 /* Select proper VOUT register vio gpios */ in max8973_dcdc_set_voltage_sel()
[all …]
/linux-6.12.1/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-6.12.1/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);
/linux-6.12.1/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
Dmp2856.rst30 - Can configured VOUT readout in direct or VID format and allows
63 - indexes 2, 3 for "vout";
/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.yaml60 - 1 # D1~6 with VDD, D7~9 with VOUT
61 - 2 # D1~6 with VOUT, D7~9 with VDD
62 - 3 # D1~9 are connected to VOUT
186 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/pmbus/
Dinfineon,tda38640.yaml42 vout:
71 pvnn_main_cpu0: vout {

123456