Home
last modified time | relevance | path

Searched refs:polarity (Results 1 – 25 of 57) sorted by relevance

123

/rk3399_rockchip-uboot/drivers/video/rockchip/
H A Drk3399_vop.c21 enum vop_modes mode, u32 polarity) in rk3399_set_pin_polarity() argument
34 V_RK3399_DSP_HDMI_POL(polarity)); in rk3399_set_pin_polarity()
40 V_RK3399_DSP_EDP_POL(polarity)); in rk3399_set_pin_polarity()
46 V_RK3399_DSP_MIPI_POL(polarity)); in rk3399_set_pin_polarity()
H A Drk3288_vop.c24 enum vop_modes mode, u32 polarity) in rk3288_set_pin_polarity() argument
33 V_DSP_PIN_POL(polarity)); in rk3288_set_pin_polarity()
H A Drk_vop.c94 enum vop_modes mode, u32 polarity) in rkvop_set_pin_polarity() argument
100 ops->set_pin_polarity(dev, mode, polarity); in rkvop_set_pin_polarity()
/rk3399_rockchip-uboot/drivers/pwm/
H A Dsandbox_pwm.c24 bool polarity; member
61 bool polarity) in sandbox_pwm_set_invert() argument
69 chan->polarity = polarity; in sandbox_pwm_set_invert()
H A Dpwm-uclass.c12 int pwm_set_invert(struct udevice *dev, uint channel, bool polarity) in pwm_set_invert() argument
19 return ops->set_invert(dev, channel, polarity); in pwm_set_invert()
H A Drk_pwm.c73 int (*set_invert)(struct udevice *dev, uint channel, bool polarity);
91 static int rk_pwm_set_invert_v4(struct udevice *dev, uint channel, bool polarity) in rk_pwm_set_invert_v4() argument
95 debug("%s: polarity=%u\n", __func__, polarity); in rk_pwm_set_invert_v4()
96 if (polarity) in rk_pwm_set_invert_v4()
104 static int rk_pwm_set_invert_v1(struct udevice *dev, uint channel, bool polarity) in rk_pwm_set_invert_v1() argument
108 debug("%s: polarity=%u\n", __func__, polarity); in rk_pwm_set_invert_v1()
109 if (polarity) in rk_pwm_set_invert_v1()
117 static int rk_pwm_set_invert(struct udevice *dev, uint channel, bool polarity) in rk_pwm_set_invert() argument
126 return priv->data->funcs.set_invert(dev, channel, polarity); in rk_pwm_set_invert()
/rk3399_rockchip-uboot/doc/device-tree-bindings/video/
H A Dexynos-dp.txt32 samsung,h-sync-polarity: Horizontal Sync polarity
34 samsung,v-sync-polarity: Vertical Sync polarity
62 samsung,h-sync-polarity = <0>;
63 samsung,v-sync-polarity = <0>;
H A Dexynos-fb.txt25 samsung,vl-clkp: Clock polarity
27 samsung,vl-oep: Output Enable polarity
29 samsung,vl-hsp: Horizontal Sync polarity
31 samsung,vl-vsp: Vertical Sync polarity
33 samsung,vl-dp: Data polarity
/rk3399_rockchip-uboot/doc/device-tree-bindings/adc/
H A Dadc.txt9 *optional and always checked, Voltage polarity info:
10 - vdd-polarity-negative: positive reference Voltage has a negative polarity
11 - vss-polarity-negative: negative reference Voltage has a negative polarity
/rk3399_rockchip-uboot/include/
H A Dpwm.h45 int (*set_invert)(struct udevice *dev, uint channel, bool polarity);
80 int pwm_set_invert(struct udevice *dev, uint channel, bool polarity);
/rk3399_rockchip-uboot/drivers/power/regulator/
H A Dpwm_regulator.c32 bool polarity; member
76 ret = pwm_set_invert(priv->pwm, priv->pwm_id, priv->polarity); in pwm_regulator_set_voltage()
107 priv->polarity = args.args[2]; in pwm_regulator_ofdata_to_platdata()
/rk3399_rockchip-uboot/doc/device-tree-bindings/gpio/
H A Dgpio.txt71 A gpio-specifier should contain a flag indicating the GPIO polarity; active-
75 The gpio-specifier's polarity flag should represent the physical level at the
82 When the device's signal polarity is configurable, the binding for the
85 a) Define a single static polarity for the signal, with the expectation that
87 that signal polarity.
89 The static choice of polarity may be either:
97 In particular, the polarity cannot be derived from the gpio-specifier, since
99 concepts of configurable signal polarity in the device, and possible board-
104 b) Pick a single option for device signal polarity, and document this choice
105 in the binding. The gpio-specifier should represent the polarity of the signal
[all …]
H A Dnvidia,tegra20-gpio.txt11 - bit 0 specifies polarity (0 for normal, 1 for inverted)
/rk3399_rockchip-uboot/doc/device-tree-bindings/thermal/
H A Drockchip-thermal.txt18 - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW
35 rockchip,hw-tshut-polarity = <0>;
/rk3399_rockchip-uboot/drivers/video/
H A Dpwm_backlight.c23 bool polarity; member
49 ret = pwm_set_invert(priv->pwm, priv->channel, priv->polarity); in pwm_backlight_enable()
146 priv->polarity = args.args[2]; in pwm_backlight_ofdata_to_platdata()
/rk3399_rockchip-uboot/include/power/power_delivery/
H A Dtcpm.h138 enum typec_cc_polarity polarity);
142 enum typec_cc_polarity polarity);
/rk3399_rockchip-uboot/drivers/adc/
H A DKconfig10 - methods for get Vdd/Vss reference Voltage values with polarity
12 - supply polarity setting in fdt
/rk3399_rockchip-uboot/drivers/irq/
H A Dirq-gpio.c147 u32 polarity, level, magic = 0; in gpio_get_intr_type() local
150 polarity = gpio_bit_rd(regbase, GPIO_INT_POLARITY, bit); in gpio_get_intr_type()
152 magic = (polarity << 1) | (level << 0); in gpio_get_intr_type()
H A Dirq-gpio-v2.c159 u32 polarity, level, magic = 0; in gpio_get_intr_type() local
162 polarity = gpio_bit_rd(regbase, GPIO_INT_POLARITY, bit); in gpio_get_intr_type()
164 magic = (polarity << 1) | (level << 0); in gpio_get_intr_type()
/rk3399_rockchip-uboot/doc/device-tree-bindings/pwm/
H A Dpwm.txt48 - PWM_POLARITY_INVERTED: invert the PWM signal polarity
50 Example with optional PWM specifier for inverse polarity
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dexynos5420-smdk5420.dts124 samsung,h-sync-polarity = <0>;
125 samsung,v-sync-polarity = <0>;
H A Dexynos54xx.dtsi187 samsung,h-sync-polarity = <0>;
188 samsung,v-sync-polarity = <0>;
H A Dexynos5250-smdk5250.dts120 samsung,h-sync-polarity = <0>;
121 samsung,v-sync-polarity = <0>;
/rk3399_rockchip-uboot/drivers/power/power_delivery/
H A Dtcpm.c302 enum typec_cc_polarity polarity; member
529 (port->attached && ((port->polarity == TYPEC_POLARITY_CC1 && in tcpm_port_is_disconnected()
531 (port->polarity == TYPEC_POLARITY_CC2 && in tcpm_port_is_disconnected()
630 enum typec_cc_polarity polarity) in tcpm_set_polarity() argument
634 debug("%s: polarity %d\n", __func__, polarity); in tcpm_set_polarity()
636 ret = port->tcpc->set_polarity(port->tcpc, polarity); in tcpm_set_polarity()
640 port->polarity = polarity; in tcpm_set_polarity()
663 cc = port->polarity ? port->cc2 : port->cc1; in tcpm_get_current_limit()
714 if (port->polarity == TYPEC_POLARITY_CC1) in tcpm_set_roles()
1793 port->polarity); in tcpm_pd_build_request()
[all …]
H A Dtcpci.c249 enum typec_cc_polarity polarity) in tcpci_set_polarity() argument
276 if (polarity == TYPEC_POLARITY_CC2) { in tcpci_set_polarity()
295 if (polarity == TYPEC_POLARITY_CC2) in tcpci_set_polarity()
304 (polarity == TYPEC_POLARITY_CC2) ? in tcpci_set_polarity()

123