Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.14.4/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
/linux-6.14.4/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
/linux-6.14.4/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 …]
/linux-6.14.4/tools/perf/pmu-events/arch/x86/ivytown/
Duncore-io.json97 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0…
107 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0…
117 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1…
127 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1…
147 …being sent from the ring stop.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0…
157 … being sent from the ring stop.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0…
167 …being sent from the ring stop.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1…
177 … being sent from the ring stop.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1…
197 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0…
207 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0…
[all …]
/linux-6.14.4/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()
/linux-6.14.4/include/linux/
Dpwm.h16 * enum pwm_polarity - polarity of a PWM signal
32 * @polarity: reference polarity
44 enum pwm_polarity polarity; member
60 * duty_offset_ns and so can represent offsets other than zero (with .polarity =
61 * PWM_POLARITY_NORMAL) and period - duty_cycle (.polarity =
81 * @polarity: PWM polarity
91 enum pwm_polarity polarity; member
166 return state.polarity; in pwm_get_polarity()
183 * and polarity fields with the reference values defined in pwm->args.
204 state->polarity = args.polarity; in pwm_init_state()
[all …]
/linux-6.14.4/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()
Dresource.c337 * @polarity: Interrupt polarity as provided by ACPI.
341 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable, u8 wake_capable) in acpi_dev_irq_flags() argument
346 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags()
349 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags()
365 * @polarity: Interrupt polarity as provided by ACPI.
367 unsigned int acpi_dev_get_irq_type(int triggering, int polarity) in acpi_dev_get_irq_type() argument
369 switch (polarity) { in acpi_dev_get_irq_type()
687 unsigned char polarity; member
697 static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity, in acpi_dev_irq_override() argument
707 entry->polarity == polarity && in acpi_dev_irq_override()
[all …]
/linux-6.14.4/drivers/pwm/
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 …]
Dpwm-atmel-tcb.c123 enum pwm_polarity polarity) in atmel_tcb_pwm_disable() argument
135 * This is why we're reverting polarity in this case. in atmel_tcb_pwm_disable()
138 polarity = !polarity; in atmel_tcb_pwm_disable()
145 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
151 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
177 enum pwm_polarity polarity) in atmel_tcb_pwm_enable() argument
189 * This is why we're reverting polarity in this case. in atmel_tcb_pwm_enable()
192 polarity = !polarity; in atmel_tcb_pwm_enable()
202 /* Set CMR flags according to given polarity */ in atmel_tcb_pwm_enable()
203 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
[all …]
Dcore.c57 * representing waveforms with inverted polarity using negative values in DEFINE_GUARD()
82 .polarity = PWM_POLARITY_NORMAL, in pwm_wf2state()
89 .polarity = PWM_POLARITY_INVERSED, in pwm_wf2state()
103 if (state->polarity == PWM_POLARITY_NORMAL) in pwm_state2wf()
461 * The lowlevel driver either ignored .polarity (which is a bug) or as in pwm_apply_debug()
462 * best effort inverted .polarity and fixed .duty_cycle respectively. in pwm_apply_debug()
465 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_debug()
466 s2.polarity = state->polarity; in pwm_apply_debug()
474 if (s2.polarity != state->polarity && in pwm_apply_debug()
476 dev_warn(pwmchip_parent(chip), ".apply ignored .polarity\n"); in pwm_apply_debug()
[all …]
Dpwm-omap-dmtimer.c29 * - PWM OMAP DM timer cannot change the polarity when pwm is active. When
30 * user requests a change in polarity when in active state:
32 * - Polarity is changed
122 * pwm_omap_dmtimer_polarity() - Detect the polarity of pwm.
125 * Return the polarity of pwm.
236 * pwm_omap_dmtimer_set_polarity() - Changes the polarity of the pwm dm timer.
239 * @polarity: New pwm polarity to be set
243 enum pwm_polarity polarity) in pwm_omap_dmtimer_set_polarity() argument
248 /* Disable the PWM before changing the polarity. */ in pwm_omap_dmtimer_set_polarity()
254 polarity == PWM_POLARITY_INVERSED, in pwm_omap_dmtimer_set_polarity()
[all …]
Dpwm-renesas-tpu.c74 enum pwm_polarity polarity; member
113 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
118 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
123 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
173 * - Output 0 until TGRA, output 1 until TGRB (active low polarity) in tpu_pwm_timer_start()
174 * - Output 1 until TGRA, output 0 until TGRB (active high polarity in tpu_pwm_timer_start()
224 tpd->polarity = PWM_POLARITY_NORMAL; in tpu_pwm_request()
352 enum pwm_polarity polarity) in tpu_pwm_set_polarity() argument
357 tpd->polarity = polarity; in tpu_pwm_set_polarity()
402 if (state->polarity != pwm->state.polarity) { in tpu_pwm_apply()
[all …]
/linux-6.14.4/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:
/linux-6.14.4/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.
/linux-6.14.4/Documentation/devicetree/bindings/media/i2c/
Dtvp7002.txt10 - hsync-active: HSYNC Polarity configuration for the bus. Default value when
13 - vsync-active: VSYNC Polarity configuration for the bus. Default value when
16 - pclk-sample: Clock polarity of the bus. Default value when this property is
24 - field-even-active: Active-high Field ID output polarity control of the bus.
28 1 = FID output polarity inverted
/linux-6.14.4/include/linux/mfd/
Dstm32-timers.h76 #define TIM_CCER_CCxP(x) BIT(1 + 4 * ((x) - 1)) /* Capt/Comp x Polarity (x ∈ {1, .. 4}) */
78 #define TIM_CCER_CCxNP(x) BIT(3 + 4 * ((x) - 1)) /* Capt/Comp xN Polarity (x ∈ {1, .. 4}) */
80 #define TIM_CCER_CC1P TIM_CCER_CCxP(1) /* Capt/Comp 1 Polarity */
82 #define TIM_CCER_CC1NP TIM_CCER_CCxNP(1) /* Capt/Comp 1N Polarity */
84 #define TIM_CCER_CC2P TIM_CCER_CCxP(2) /* Capt/Comp 2 Polarity */
86 #define TIM_CCER_CC2NP TIM_CCER_CCxNP(2) /* Capt/Comp 2N Polarity */
88 #define TIM_CCER_CC3P TIM_CCER_CCxP(3) /* Capt/Comp 3 Polarity */
90 #define TIM_CCER_CC3NP TIM_CCER_CCxNP(3) /* Capt/Comp 3N Polarity */
92 #define TIM_CCER_CC4P TIM_CCER_CCxP(4) /* Capt/Comp 4 Polarity */
94 #define TIM_CCER_CC4NP TIM_CCER_CCxNP(4) /* Capt/Comp 4N Polarity */
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/regulator/
Drichtek,rtmv20-regulator.yaml100 richtek,strobe-polarity-high:
101 description: Strobe pin active polarity control.
104 richtek,vsync-polarity-high:
105 description: Vsync pin active polarity control.
150 richtek,strobe-polarity-high;
151 richtek,vsync-polarity-high;
/linux-6.14.4/drivers/irqchip/
Dirq-ftintc010.c84 u32 mode, polarity; in ft010_irq_set_type() local
87 polarity = readl(FT010_IRQ_POLARITY(f->base)); in ft010_irq_set_type()
92 polarity |= BIT(offset); in ft010_irq_set_type()
96 polarity &= ~BIT(offset); in ft010_irq_set_type()
100 polarity |= BIT(offset); in ft010_irq_set_type()
104 polarity &= ~BIT(offset); in ft010_irq_set_type()
112 writel(polarity, FT010_IRQ_POLARITY(f->base)); in ft010_irq_set_type()
Dirq-davinci-cp-intc.c76 unsigned int reg, mask, polarity, type; in davinci_cp_intc_set_irq_type() local
80 polarity = davinci_cp_intc_read(DAVINCI_CP_INTC_SYS_POLARITY(reg)); in davinci_cp_intc_set_irq_type()
85 polarity |= mask; in davinci_cp_intc_set_irq_type()
89 polarity &= ~mask; in davinci_cp_intc_set_irq_type()
93 polarity |= mask; in davinci_cp_intc_set_irq_type()
97 polarity &= ~mask; in davinci_cp_intc_set_irq_type()
104 davinci_cp_intc_write(polarity, DAVINCI_CP_INTC_SYS_POLARITY(reg)); in davinci_cp_intc_set_irq_type()
/linux-6.14.4/drivers/pnp/pnpacpi/
Drsparser.c19 u8 *polarity, u8 *shareable) in decode_irq_flags() argument
25 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags()
29 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags()
33 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags()
37 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags()
43 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags()
208 gpio->polarity, in pnpacpi_allocated_resource()
319 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable, p->wake_capable); in pnpacpi_parse_irq_option()
343 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable, p->wake_capable); in pnpacpi_parse_ext_irq_option()
664 u8 triggering, polarity, shareable; in pnpacpi_encode_irq() local
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/iio/addac/
Dadi,ad74115.yaml225 adi,ext1-burnout-current-polarity-sourcing:
228 When not present, the burnout current polarity for EXT1 is sinking.
229 When present, the burnout current polarity for EXT1 is sourcing.
240 adi,ext2-burnout-current-polarity-sourcing:
243 When not present, the burnout current polarity for EXT2 is sinking.
244 When present, the burnout current polarity for EXT2 is sourcing.
255 adi,viout-burnout-current-polarity-sourcing:
258 When not present, the burnout current polarity for VIOUT is sinking.
259 When present, the burnout current polarity for VIOUT is sourcing.
/linux-6.14.4/Documentation/devicetree/bindings/gpio/
Dgpio.txt86 A gpio-specifier should contain a flag indicating the GPIO polarity; active-
90 The gpio-specifier's polarity flag should represent the physical level at the
97 When the device's signal polarity is configurable, the binding for the
100 a) Define a single static polarity for the signal, with the expectation that
102 that signal polarity.
104 The static choice of polarity may be either:
112 In particular, the polarity cannot be derived from the gpio-specifier, since
114 concepts of configurable signal polarity in the device, and possible board-
119 b) Pick a single option for device signal polarity, and document this choice
120 in the binding. The gpio-specifier should represent the polarity of the signal
[all …]
/linux-6.14.4/arch/x86/kernel/acpi/
Dboot.c365 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity,
368 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
387 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq()
400 int polarity) in mp_config_acpi_gsi() argument
423 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi()
434 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument
451 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq()
491 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
496 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
497 polarity = 3; in acpi_sci_ioapic_setup()
[all …]
/linux-6.14.4/drivers/extcon/
Dextcon-usbc-cros-ec.c139 * @polarity: pointer to cable polarity (return value)
145 bool *polarity) in cros_ec_usb_get_role() argument
164 *polarity = resp.polarity; in cros_ec_usb_get_role()
254 bool polarity = false; in extcon_cros_ec_detect_cable() local
266 role = cros_ec_usb_get_role(info, &polarity); in extcon_cros_ec_detect_cable()
288 role, power_type, dr, pr, polarity, mux, dp, hpd); in extcon_cros_ec_detect_cable()
328 (union extcon_property_value)(int)polarity); in extcon_cros_ec_detect_cable()
331 (union extcon_property_value)(int)polarity); in extcon_cros_ec_detect_cable()
334 (union extcon_property_value)(int)polarity); in extcon_cros_ec_detect_cable()

12345678910>>...44