Searched refs:polarity (Results 51 - 75 of 201) sorted by relevance

123456789

/linux-master/drivers/pwm/
H A Dpwm-ab8500.c44 if (state->polarity != PWM_POLARITY_NORMAL)
152 state->polarity = PWM_POLARITY_NORMAL;
H A Dpwm-apple.c49 if (state->polarity == PWM_POLARITY_INVERSED)
89 state->polarity = PWM_POLARITY_NORMAL;
H A Dpwm-dwc-core.c103 if (state->polarity != PWM_POLARITY_INVERSED)
148 state->polarity = PWM_POLARITY_INVERSED;
H A Dpwm-stm32-lp.c94 (FIELD_GET(STM32_LPTIM_WAVPOL, cfgr) != state->polarity)) {
96 val |= FIELD_PREP(STM32_LPTIM_WAVPOL, state->polarity);
175 state->polarity = FIELD_GET(STM32_LPTIM_WAVPOL, val);
H A Dpwm-sunplus.c13 * - Only supports normal polarity.
62 if (state->polarity != pwm->state.polarity)
157 state->polarity = PWM_POLARITY_NORMAL;
H A Dpwm-bcm-iproc.c85 state->polarity = PWM_POLARITY_NORMAL;
87 state->polarity = PWM_POLARITY_INVERSED;
166 /* set polarity */
169 if (state->polarity == PWM_POLARITY_NORMAL)
213 /* Set full drive and normal polarity for all channels */
H A Dpwm-rockchip.c92 state->polarity = PWM_POLARITY_INVERSED;
94 state->polarity = PWM_POLARITY_NORMAL;
139 if (state->polarity == PWM_POLARITY_INVERSED)
146 * Unlock and set polarity at the same time,
147 * the configuration of duty, period and polarity
205 if (state->polarity != curstate.polarity && enabled &&
H A Dpwm-lpc18xx-sct.c234 static int lpc18xx_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity) argument
250 if (polarity == PWM_POLARITY_NORMAL) {
315 if (state->polarity != pwm->state.polarity && pwm->state.enabled) {
332 err = lpc18xx_pwm_enable(chip, pwm, state->polarity);
H A Dpwm-atmel.c17 * state->polarity isn't honored.
304 pwm->state.polarity == state->polarity &&
340 if (state->polarity == PWM_POLARITY_NORMAL)
391 state->polarity = PWM_POLARITY_INVERSED;
393 state->polarity = PWM_POLARITY_NORMAL;
H A Dpwm-stm32.c381 enum pwm_polarity polarity)
390 polarity == PWM_POLARITY_NORMAL ? 0 : mask);
452 if (state->polarity != pwm->state.polarity)
453 stm32_pwm_set_polarity(priv, pwm->hwpwm, state->polarity);
497 state->polarity = (ccer & (TIM_CCER_CC1P << (ch * 4))) ?
380 stm32_pwm_set_polarity(struct stm32_pwm *priv, unsigned int ch, enum pwm_polarity polarity) argument
H A Dpwm-twl-led.c19 * - The hardware could support inverted polarity (with a similar limitation as
160 if (state->polarity != PWM_POLARITY_NORMAL)
267 if (state->polarity != pwm->state.polarity)
H A Dpwm-imx27.c9 * polarity.
144 state->polarity = PWM_POLARITY_NORMAL;
147 state->polarity = PWM_POLARITY_INVERSED;
150 dev_warn(pwmchip_parent(chip), "can't set polarity, output disconnected");
280 if (state->polarity == PWM_POLARITY_INVERSED)
/linux-master/drivers/acpi/
H A Dpci_irq.c392 * are always polarity high by specification; PCI legacy
397 int polarity = acpi_irq_model == ACPI_IRQ_MODEL_GIC || local
428 &triggering, &polarity,
453 rc = acpi_register_gsi(&dev->dev, gsi, triggering, polarity);
471 (polarity == ACPI_ACTIVE_LOW) ? "low" : "high", dev->irq);
/linux-master/drivers/gpio/
H A Dgpio-ws16c48.c171 unsigned int polarity; local
177 polarity = irq_data->mask;
180 polarity = 0;
192 /* Set interrupt polarity */
193 ret = regmap_update_bits(ws16c48gpio->map, WS16C48_POL + idx, irq_data->mask, polarity);
H A Dgpiolib-acpi.c100 * @polarity: interrupt polarity as provided by ACPI
111 int polarity; member in struct:acpi_gpio_info
282 acpi_gpio_to_gpiod_flags(const struct acpi_resource_gpio *agpio, int polarity) argument
295 * and the polarity instead. If the pin is pulled up we assume
298 * polarity values will be switched. See also
303 return polarity == GPIO_ACTIVE_LOW ? GPIOD_OUT_LOW : GPIOD_OUT_HIGH;
305 return polarity == GPIO_ACTIVE_LOW ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW;
326 int polarity = GPIO_ACTIVE_HIGH; local
327 enum gpiod_flags flags = acpi_gpio_to_gpiod_flags(agpio, polarity);
[all...]
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dx86-android-tablets.h41 int polarity; /* ACPI_ACTIVE_HIGH / ACPI_ACTIVE_LOW / ACPI_ACTIVE_BOTH */ member in struct:x86_acpi_irq_data
/linux-master/drivers/acpi/arm64/
H A Dgtdt.c74 int trigger, polarity; local
79 polarity = (flags & ACPI_GTDT_INTERRUPT_POLARITY) ? ACPI_ACTIVE_LOW
82 return acpi_register_gsi(NULL, interrupt, trigger, polarity);
/linux-master/drivers/infiniband/hw/irdma/
H A Duk.c516 * @polarity: compatibility parameter
519 u32 num_sges, u8 polarity)
578 * @polarity: polarity of wqe valid bit
581 u32 num_sges, u8 polarity)
583 u8 inline_valid = polarity << IRDMA_INLINE_VALID_S;
898 cq->polarity = 1;
980 u8 polarity; local
990 polarity = (u8)FIELD_GET(IRDMA_CQ_VALID, qword3);
991 if (polarity !
518 irdma_copy_inline_data_gen_1(u8 *wqe, struct ib_sge *sge_list, u32 num_sges, u8 polarity) argument
580 irdma_copy_inline_data(u8 *wqe, struct ib_sge *sge_list, u32 num_sges, u8 polarity) argument
1496 u8 polarity, temp; local
[all...]
H A Dctrl.c199 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
231 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
267 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
351 temp = FIELD_PREP(IRDMA_CQPSQ_QHASH_WQEVALID, cqp->polarity) |
479 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
548 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
589 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
773 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
811 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity);
847 FIELD_PREP(IRDMA_CQPSQ_WQEVALID, cqp->polarity) |
3353 u8 polarity; local
3809 u8 polarity; local
3862 u8 polarity; local
4011 u8 polarity; local
[all...]
/linux-master/drivers/platform/chrome/
H A Dcros_ec_typec.c699 enum typec_orientation polarity; local
702 polarity = TYPEC_ORIENTATION_NONE;
703 else if (!resp->polarity)
704 polarity = TYPEC_ORIENTATION_NORMAL;
706 polarity = TYPEC_ORIENTATION_REVERSE;
709 typec_set_orientation(port, polarity);
716 enum typec_orientation polarity; local
721 polarity = TYPEC_ORIENTATION_NONE;
722 else if (!resp->polarity)
723 polarity
[all...]
/linux-master/include/trace/events/
H A Drcu.h469 * polarity: "Start", "End", "StillNonIdle" for entering, exiting or still not
482 TP_PROTO(const char *polarity, long oldnesting, long newnesting, int dynticks),
484 TP_ARGS(polarity, oldnesting, newnesting, dynticks),
487 __field(const char *, polarity)
494 __entry->polarity = polarity;
500 TP_printk("%s %lx %lx %#3x", __entry->polarity,
/linux-master/drivers/iio/accel/
H A Dmma9551_core.h62 u8 app_id, u8 bitnum, int polarity);
/linux-master/include/xen/interface/
H A Dphysdev.h198 uint8_t polarity; member in struct:physdev_setup_gsi
/linux-master/arch/x86/kvm/
H A Dioapic.h64 u8 polarity:1; member in struct:kvm_ioapic_redirect_entry::__anon1
/linux-master/arch/x86/include/asm/
H A Dio_apic.h155 int node, int trigger, int polarity);

Completed in 228 milliseconds

123456789