Home
last modified time | relevance | path

Searched full:polarity (Results 1 – 25 of 1978) sorted by relevance

12345678910>>...80

/kernel/linux/linux-5.10/drivers/soc/zte/
Dzx296718_pm_domains.c39 .polarity = PWREN,
48 .polarity = PWREN,
57 .polarity = PWREN,
66 .polarity = PWREN,
75 .polarity = PWREN,
84 .polarity = PWREN,
93 .polarity = PWREN,
102 .polarity = PWREN,
111 .polarity = PWREN,
120 .polarity = PWREN,
[all …]
/kernel/linux/linux-5.10/include/media/i2c/
Dtvp7002.h20 *@clk_polarity: Clock polarity
23 *@hs_polarity: HSYNC polarity
25 *@vs_polarity: VSYNC Polarity
27 *@fid_polarity: Active-high Field ID polarity.
30 * 1 - Operation with polarity inverted.
31 *@sog_polarity: Active high Sync on Green output polarity.
32 * 0 - Normal operation, 1 - Operation with polarity inverted
/kernel/linux/linux-6.6/include/media/i2c/
Dtvp7002.h20 *@clk_polarity: Clock polarity
23 *@hs_polarity: HSYNC polarity
25 *@vs_polarity: VSYNC Polarity
27 *@fid_polarity: Active-high Field ID polarity.
30 * 1 - Operation with polarity inverted.
31 *@sog_polarity: Active high Sync on Green output polarity.
32 * 0 - Normal operation, 1 - Operation with polarity inverted
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
Domap3isp.h31 * @clk_pol: Pixel clock polarity
33 * @hs_pol: Horizontal synchronization polarity
35 * @vs_pol: Vertical synchronization polarity
37 * @fld_pol: Field signal polarity
39 * @data_pol: Data polarity
64 * struct isp_csiphy_lane: CCP2/CSI2 lane position and polarity
66 * @pol: polarity of the lane
88 * @strobe_clk_pol: Strobe/clock polarity
98 * @vp_clk_pol: Video port output clock polarity
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-atmel-tcb.c34 enum pwm_polarity polarity; /* PWM polarity */ member
63 enum pwm_polarity polarity) in atmel_tcb_pwm_set_polarity() argument
67 tcbpwm->polarity = polarity; in atmel_tcb_pwm_set_polarity()
95 tcbpwm->polarity = PWM_POLARITY_NORMAL; in atmel_tcb_pwm_request()
150 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_disable() local
158 * This is why we're reverting polarity in this case. in atmel_tcb_pwm_disable()
161 polarity = !polarity; in atmel_tcb_pwm_disable()
169 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
175 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
209 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_enable() local
[all …]
Dcore.c155 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_xlate_with_flags()
158 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_xlate_with_flags()
265 * @polarity: initial polarity of PWM channels
268 * will be used. The initial polarity for all channels is specified by the
269 * @polarity parameter.
274 enum pwm_polarity polarity) in pwmchip_add_with_polarity() argument
306 pwm->state.polarity = polarity; in pwmchip_add_with_polarity()
336 * will be used. The initial polarity for all channels is normal.
491 * The lowlevel driver either ignored .polarity (which is a bug) or as in pwm_apply_state_debug()
492 * best effort inverted .polarity and fixed .duty_cycle respectively. in pwm_apply_state_debug()
[all …]
Dpwm-imx-tpm.c9 * - Changes to polarity cannot be latched at the time of the
129 real_state->polarity = state->polarity; in pwm_imx_tpm_round_state()
154 /* get polarity */ in pwm_imx_tpm_get_state()
157 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx_tpm_get_state()
161 * normal polarity. in pwm_imx_tpm_get_state()
163 state->polarity = PWM_POLARITY_NORMAL; in pwm_imx_tpm_get_state()
218 /* polarity is NOT allowed to be changed if PWM is active */ in pwm_imx_tpm_apply_hw()
219 if (c.enabled && c.polarity != state->polarity) in pwm_imx_tpm_apply_hw()
249 * polarity settings will enabled/disable output status in pwm_imx_tpm_apply_hw()
259 * set polarity (for edge-aligned PWM modes) in pwm_imx_tpm_apply_hw()
[all …]
/kernel/linux/linux-6.6/Documentation/fb/
Dviafb.modes25 # Polarity negative negative
50 # Polarity negative negative
71 # Polarity negative negative
92 # Polarity positive positive
113 # Polarity positive positive
134 # Polarity positive positive
155 # Polarity positive positive
176 # Polarity positive positive
197 # Polarity positive positive
219 # Polarity positive positive
[all …]
/kernel/linux/linux-5.10/Documentation/fb/
Dviafb.modes25 # Polarity negative negative
50 # Polarity negative negative
71 # Polarity negative negative
92 # Polarity positive positive
113 # Polarity positive positive
134 # Polarity positive positive
155 # Polarity positive positive
176 # Polarity positive positive
197 # Polarity positive positive
219 # Polarity positive positive
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpwm.h15 * enum pwm_polarity - polarity of a PWM signal
31 * @polarity: reference polarity
43 enum pwm_polarity polarity; member
55 * @polarity: PWM polarity
61 enum pwm_polarity polarity; member
146 return state.polarity; in pwm_get_polarity()
163 * and polarity fields with the reference values defined in pwm->args.
184 state->polarity = args.polarity; in pwm_init_state()
254 * @set_polarity: configure the polarity of this PWM
273 enum pwm_polarity polarity);
[all …]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/int3472/
Ddiscrete.c57 const char *func, u32 polarity) in skl_int3472_map_gpio_to_sensor() argument
83 table_entry->flags = polarity; in skl_int3472_map_gpio_to_sensor()
90 static void int3472_get_func_and_polarity(u8 type, const char **func, u32 *polarity) in int3472_get_func_and_polarity() argument
95 *polarity = GPIO_ACTIVE_LOW; in int3472_get_func_and_polarity()
99 *polarity = GPIO_ACTIVE_LOW; in int3472_get_func_and_polarity()
103 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
107 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
111 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
115 *polarity = GPIO_ACTIVE_HIGH; in int3472_get_func_and_polarity()
161 u32 polarity; in skl_int3472_handle_gpio_resources() local
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Domap3isp.h31 * @clk_pol: Pixel clock polarity
33 * @hs_pol: Horizontal synchronization polarity
35 * @vs_pol: Vertical synchronization polarity
37 * @fld_pol: Field signal polarity
39 * @data_pol: Data polarity
64 * struct isp_csiphy_lane: CCP2/CSI2 lane position and polarity
66 * @pol: polarity of the lane
88 * @strobe_clk_pol: Strobe/clock polarity
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/ivytown/
Duncore-io.json87 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0…
96 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0…
105 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1…
114 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1…
132 …being sent from the ring stop.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0…
141 … being sent from the ring stop.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0…
150 …being sent from the ring stop.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1…
159 … being sent from the ring stop.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1…
177 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0…
186 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0…
[all …]
/kernel/linux/linux-6.6/include/linux/
Dpwm.h12 * enum pwm_polarity - polarity of a PWM signal
28 * @polarity: reference polarity
40 enum pwm_polarity polarity; member
52 * @polarity: PWM polarity
62 enum pwm_polarity polarity; member
153 return state.polarity; in pwm_get_polarity()
170 * and polarity fields with the reference values defined in pwm->args.
191 state->polarity = args.polarity; in pwm_init_state()
519 * where the polarity and period are set according to pwm_args info. in pwm_apply_args()
520 * The problem is, polarity can only be changed when the PWM is in pwm_apply_args()
[all …]
/kernel/linux/linux-6.6/drivers/pwm/
Dcore.c149 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_xlate_with_flags()
153 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_xlate_with_flags()
177 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_single_xlate()
180 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_single_xlate()
412 * The lowlevel driver either ignored .polarity (which is a bug) or as in pwm_apply_debug()
413 * best effort inverted .polarity and fixed .duty_cycle respectively. in pwm_apply_debug()
416 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_debug()
417 s2.polarity = state->polarity; in pwm_apply_debug()
425 if (s2.polarity != state->polarity && in pwm_apply_debug()
427 dev_warn(chip->dev, ".apply ignored .polarity\n"); in pwm_apply_debug()
[all …]
Dpwm-imx-tpm.c9 * - Changes to polarity cannot be latched at the time of the
131 real_state->polarity = state->polarity; in pwm_imx_tpm_round_state()
156 /* get polarity */ in pwm_imx_tpm_get_state()
159 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx_tpm_get_state()
163 * normal polarity. in pwm_imx_tpm_get_state()
165 state->polarity = PWM_POLARITY_NORMAL; in pwm_imx_tpm_get_state()
222 /* polarity is NOT allowed to be changed if PWM is active */ in pwm_imx_tpm_apply_hw()
223 if (c.enabled && c.polarity != state->polarity) in pwm_imx_tpm_apply_hw()
253 * polarity settings will enabled/disable output status in pwm_imx_tpm_apply_hw()
263 * set polarity (for edge-aligned PWM modes) in pwm_imx_tpm_apply_hw()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dirq.c46 * @polarity: polarity of the GSI to be mapped
52 int polarity) in acpi_register_gsi() argument
64 fwspec.param[1] = acpi_dev_get_irq_type(trigger, polarity); in acpi_register_gsi()
141 * @polarity: polarity attributes of hwirq
142 * @polarity: polarity attributes of hwirq
152 u8 polarity, u8 shareable, in acpi_irq_parse_one_match() argument
158 *ctx->res_flags = acpi_dev_irq_flags(triggering, polarity, shareable); in acpi_irq_parse_one_match()
161 ctx->fwspec->param[1] = acpi_dev_get_irq_type(triggering, polarity); in acpi_irq_parse_one_match()
200 irq->triggering, irq->polarity, in acpi_irq_parse_one_cb()
213 eirq->triggering, eirq->polarity, in acpi_irq_parse_one_cb()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Drfkill.c41 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill disable (gpio:%d polarity:%d)\n", in ath5k_rfkill_disable()
42 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_disable()
44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); in ath5k_rfkill_disable()
50 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill enable (gpio:%d polarity:%d)\n", in ath5k_rfkill_enable()
51 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable()
53 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable()
72 ah->rf_kill.polarity; in ath5k_is_rfkill_set()
91 ah->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol; in ath5k_rfkill_hw_start()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
Drfkill.c41 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill disable (gpio:%d polarity:%d)\n", in ath5k_rfkill_disable()
42 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_disable()
44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); in ath5k_rfkill_disable()
50 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill enable (gpio:%d polarity:%d)\n", in ath5k_rfkill_enable()
51 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable()
53 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable()
72 ah->rf_kill.polarity; in ath5k_is_rfkill_set()
91 ah->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol; in ath5k_rfkill_hw_start()
/kernel/linux/linux-6.6/drivers/acpi/
Dirq.c51 * @polarity: polarity of the GSI to be mapped
57 int polarity) in acpi_register_gsi() argument
69 fwspec.param[1] = acpi_dev_get_irq_type(trigger, polarity); in acpi_register_gsi()
153 * @polarity: polarity attributes of hwirq
154 * @polarity: polarity attributes of hwirq
165 u8 polarity, u8 shareable, in acpi_irq_parse_one_match() argument
172 *ctx->res_flags = acpi_dev_irq_flags(triggering, polarity, shareable, wake_capable); in acpi_irq_parse_one_match()
175 ctx->fwspec->param[1] = acpi_dev_get_irq_type(triggering, polarity); in acpi_irq_parse_one_match()
214 irq->triggering, irq->polarity, in acpi_irq_parse_one_cb()
228 eirq->triggering, eirq->polarity, in acpi_irq_parse_one_cb()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dmicrochip,pic32-evic.txt9 External interrupts have a software configurable edge polarity. Non external
10 interrupts have a type and polarity that is determined by the source of the
26 irq_type - is used to describe the type and polarity of an interrupt. For
29 IRQ_TYPE_EDGE_RISING or IRQ_TYPE_EDGE_FALLING to select the desired polarity.
34 polarity configuration. This array corresponds to the bits in the INTCON
49 and polarity.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dmicrochip,pic32-evic.txt9 External interrupts have a software configurable edge polarity. Non external
10 interrupts have a type and polarity that is determined by the source of the
26 irq_type - is used to describe the type and polarity of an interrupt. For
29 IRQ_TYPE_EDGE_RISING or IRQ_TYPE_EDGE_FALLING to select the desired polarity.
34 polarity configuration. This array corresponds to the bits in the INTCON
49 and polarity.
/kernel/linux/linux-5.10/include/trace/events/
Dpwm.h21 __field(enum pwm_polarity, polarity)
29 __entry->polarity = state->polarity;
33 TP_printk("%p: period=%llu duty_cycle=%llu polarity=%d enabled=%d",
35 __entry->polarity, __entry->enabled)
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
Dm88ds3103.h52 * @ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising
56 * @agc_inv: AGC polarity.
59 * @lnb_hv_pol: LNB H/V pin polarity. 0: pin high set to VOLTAGE_18, pin low to
61 * @lnb_en_pol: LNB enable pin polarity. 0: pin high to disable, pin low to
97 * @ts_clk_pol: TS clk polarity.Default: 0.
100 * @agc_inv: AGC polarity. Default: 0.
105 * @lnb_hv_pol: LNB H/V pin polarity. Default: 0. Values:
108 * @lnb_en_pol: LNB enable pin polarity. Default: 0. Values:
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dm88ds3103.h52 * @ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising
56 * @agc_inv: AGC polarity.
59 * @lnb_hv_pol: LNB H/V pin polarity. 0: pin high set to VOLTAGE_18, pin low to
61 * @lnb_en_pol: LNB enable pin polarity. 0: pin high to disable, pin low to
97 * @ts_clk_pol: TS clk polarity.Default: 0.
100 * @agc_inv: AGC polarity. Default: 0.
105 * @lnb_hv_pol: LNB H/V pin polarity. Default: 0. Values:
108 * @lnb_en_pol: LNB enable pin polarity. Default: 0. Values:

12345678910>>...80