Home
last modified time | relevance | path

Searched refs:polarity (Results 1 – 200 of 212) sorted by relevance

12

/linux-4.4.14/drivers/pwm/
Dpwm-atmel-tcb.c34 enum pwm_polarity polarity; /* PWM polarity */ member
54 enum pwm_polarity polarity) in atmel_tcb_pwm_set_polarity() argument
58 tcbpwm->polarity = polarity; in atmel_tcb_pwm_set_polarity()
86 tcbpwm->polarity = PWM_POLARITY_NORMAL; in atmel_tcb_pwm_request()
141 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_disable() local
152 polarity = !polarity; in atmel_tcb_pwm_disable()
160 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
166 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
197 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_enable() local
208 polarity = !polarity; in atmel_tcb_pwm_enable()
[all …]
Dsysfs.c135 const char *polarity = "unknown"; in polarity_show() local
139 polarity = "normal"; in polarity_show()
143 polarity = "inversed"; in polarity_show()
147 return sprintf(buf, "%s\n", polarity); in polarity_show()
155 enum pwm_polarity polarity; in polarity_store() local
159 polarity = PWM_POLARITY_NORMAL; in polarity_store()
161 polarity = PWM_POLARITY_INVERSED; in polarity_store()
165 ret = pwm_set_polarity(pwm, polarity); in polarity_store()
173 static DEVICE_ATTR_RW(polarity);
Dpwm-renesas-tpu.c83 enum pwm_polarity polarity; member
119 pwm->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
124 pwm->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
129 pwm->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin()
232 pwm->polarity = PWM_POLARITY_NORMAL; in tpu_pwm_request()
336 enum pwm_polarity polarity) in tpu_pwm_set_polarity() argument
340 pwm->polarity = polarity; in tpu_pwm_set_polarity()
Dcore.c241 enum pwm_polarity polarity) in pwmchip_add_with_polarity() argument
271 pwm->polarity = polarity; in pwmchip_add_with_polarity()
467 int pwm_set_polarity(struct pwm_device *pwm, enum pwm_polarity polarity) in pwm_set_polarity() argument
484 err = pwm->chip->ops->set_polarity(pwm->chip, pwm, polarity); in pwm_set_polarity()
488 pwm->polarity = polarity; in pwm_set_polarity()
755 pwm_set_polarity(pwm, chosen->polarity); in pwm_get()
Dpwm-tiehrpwm.c131 enum pwm_polarity polarity[NUM_PWM_CHANNEL]; member
214 if (pc->polarity[chan] == PWM_POLARITY_INVERSED) in configure_polarity()
222 if (pc->polarity[chan] == PWM_POLARITY_INVERSED) in configure_polarity()
324 struct pwm_device *pwm, enum pwm_polarity polarity) in ehrpwm_pwm_set_polarity() argument
329 pc->polarity[pwm->hwpwm] = polarity; in ehrpwm_pwm_set_polarity()
Dpwm-ep93xx.c123 enum pwm_polarity polarity) in ep93xx_pwm_polarity() argument
136 if (polarity == PWM_POLARITY_INVERSED) in ep93xx_pwm_polarity()
Dpwm-sun4i.c190 enum pwm_polarity polarity) in sun4i_pwm_set_polarity() argument
205 if (polarity != PWM_POLARITY_NORMAL) in sun4i_pwm_set_polarity()
357 pwm->chip.pwms[i].polarity = PWM_POLARITY_INVERSED; in sun4i_pwm_probe()
Dpwm-bcm2835.c105 enum pwm_polarity polarity) in bcm2835_set_polarity() argument
112 if (polarity == PWM_POLARITY_NORMAL) in bcm2835_set_polarity()
Dpwm-berlin.c99 enum pwm_polarity polarity) in berlin_pwm_set_polarity() argument
106 if (polarity == PWM_POLARITY_NORMAL) in berlin_pwm_set_polarity()
Dpwm-atmel-hlcdc.c141 enum pwm_polarity polarity) in atmel_hlcdc_pwm_set_polarity() argument
147 if (polarity == PWM_POLARITY_NORMAL) in atmel_hlcdc_pwm_set_polarity()
Dpwm-vt8500.c169 enum pwm_polarity polarity) in vt8500_pwm_set_polarity() argument
176 if (polarity == PWM_POLARITY_INVERSED) in vt8500_pwm_set_polarity()
Dpwm-bcm-kona.c177 enum pwm_polarity polarity) in kona_pwmc_set_polarity() argument
194 if (polarity == PWM_POLARITY_NORMAL) in kona_pwmc_set_polarity()
Dpwm-tiecap.c126 enum pwm_polarity polarity) in ecap_pwm_set_polarity() argument
133 if (polarity == PWM_POLARITY_INVERSED) in ecap_pwm_set_polarity()
Dpwm-atmel.c211 enum pwm_polarity polarity) in atmel_pwm_set_polarity() argument
219 if (polarity == PWM_POLARITY_NORMAL) in atmel_pwm_set_polarity()
Dpwm-lpc18xx-sct.c231 enum pwm_polarity polarity) in lpc18xx_pwm_set_polarity() argument
252 if (pwm->polarity == PWM_POLARITY_NORMAL) { in lpc18xx_pwm_enable()
Dpwm-fsl-ftm.c282 enum pwm_polarity polarity) in fsl_pwm_set_polarity() argument
289 if (polarity == PWM_POLARITY_INVERSED) in fsl_pwm_set_polarity()
Dpwm-samsung.c401 enum pwm_polarity polarity) in pwm_samsung_set_polarity() argument
404 bool invert = (polarity == PWM_POLARITY_NORMAL); in pwm_samsung_set_polarity()
Dpwm-rockchip.c139 enum pwm_polarity polarity) in rockchip_pwm_set_polarity() argument
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Drfkill.c42 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()
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()
Dled.c51 #define ATH_LED(pin, polarity) .driver_data = (((pin) << 8) | (polarity)) argument
Dath5k.h1191 bool polarity; member
/linux-4.4.14/arch/ia64/include/asm/
Diosapic.h89 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity,
93 unsigned long polarity,
99 unsigned long polarity,
109 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument
111 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument
113 polarity,trigger) (gsi) argument
/linux-4.4.14/drivers/input/mouse/
Dgpio_mouse.c30 gpio_get_value(gpio->bleft) ^ gpio->polarity); in gpio_mouse_scan()
33 gpio_get_value(gpio->bmiddle) ^ gpio->polarity); in gpio_mouse_scan()
36 gpio_get_value(gpio->bright) ^ gpio->polarity); in gpio_mouse_scan()
38 x = (gpio_get_value(gpio->right) ^ gpio->polarity) in gpio_mouse_scan()
39 - (gpio_get_value(gpio->left) ^ gpio->polarity); in gpio_mouse_scan()
40 y = (gpio_get_value(gpio->down) ^ gpio->polarity) in gpio_mouse_scan()
41 - (gpio_get_value(gpio->up) ^ gpio->polarity); in gpio_mouse_scan()
/linux-4.4.14/arch/ia64/kernel/
Diosapic.c145 unsigned char polarity: 1; /* interrupt polarity member
233 pol = iosapic_intr_info[irq].polarity; in set_rte()
499 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq()
555 unsigned long polarity, unsigned long trigger) in register_intr() argument
587 (info->trigger != trigger || info->polarity != polarity)){ in register_intr()
598 iosapic_intr_info[irq].polarity = polarity; in register_intr()
717 unsigned long polarity, unsigned long trigger) in iosapic_register_intr() argument
748 irq = iosapic_find_sharable_irq(trigger, polarity); in iosapic_register_intr()
757 err = register_intr(gsi, irq, dmode, polarity, trigger); in iosapic_register_intr()
775 (polarity == IOSAPIC_POL_HIGH ? "high" : "low"), in iosapic_register_intr()
[all …]
Dacpi.c610 int acpi_register_gsi(struct device *dev, u32 gsi, int triggering, int polarity) in acpi_register_gsi() argument
619 (polarity == in acpi_register_gsi()
/linux-4.4.14/arch/x86/kernel/acpi/
Dboot.c324 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
349 mp_irq.irqflag = (trigger << 2) | polarity; in mp_override_legacy_irq()
368 int polarity) in mp_config_acpi_gsi() argument
391 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi()
432 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
437 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
438 polarity = 3; in acpi_sci_ioapic_setup()
445 polarity = acpi_sci_flags & ACPI_MADT_POLARITY_MASK; in acpi_sci_ioapic_setup()
447 mp_override_legacy_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
448 acpi_penalize_sci_irq(bus_irq, trigger, polarity); in acpi_sci_ioapic_setup()
[all …]
/linux-4.4.14/drivers/acpi/
Dgsi.c20 static unsigned int acpi_gsi_get_irq_type(int trigger, int polarity) in acpi_gsi_get_irq_type() argument
22 switch (polarity) { in acpi_gsi_get_irq_type()
74 int polarity) in acpi_register_gsi() argument
85 fwspec.param[1] = acpi_gsi_get_irq_type(trigger, polarity); in acpi_register_gsi()
Dpci_link.c72 u8 polarity; /* All IRQs */ member
128 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible()
154 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible()
315 resource->res.data.irq.polarity = in acpi_pci_link_set()
316 link->irq.polarity; in acpi_pci_link_set()
333 resource->res.data.extended_irq.polarity = in acpi_pci_link_set()
334 link->irq.polarity; in acpi_pci_link_set()
587 int *polarity, char **name) in acpi_pci_link_allocate_irq() argument
627 if (polarity) in acpi_pci_link_allocate_irq()
628 *polarity = link->irq.polarity; in acpi_pci_link_allocate_irq()
[all …]
Dresource.c333 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable) in acpi_dev_irq_flags() argument
338 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags()
341 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags()
359 u8 triggering, u8 polarity, u8 shareable, in acpi_dev_get_irqresource() argument
383 if (triggering != trig || polarity != pol) { in acpi_dev_get_irqresource()
387 polarity = pol; in acpi_dev_get_irqresource()
391 res->flags = acpi_dev_irq_flags(triggering, polarity, shareable); in acpi_dev_get_irqresource()
392 irq = acpi_register_gsi(NULL, gsi, triggering, polarity); in acpi_dev_get_irqresource()
438 irq->triggering, irq->polarity, in acpi_dev_resource_interrupt()
448 ext_irq->triggering, ext_irq->polarity, in acpi_dev_resource_interrupt()
Dpci_irq.c399 int polarity = ACPI_ACTIVE_LOW; in acpi_pci_irq_enable() local
430 &triggering, &polarity, in acpi_pci_irq_enable()
450 rc = acpi_register_gsi(&dev->dev, gsi, triggering, polarity); in acpi_pci_irq_enable()
468 (polarity == ACPI_ACTIVE_LOW) ? "low" : "high", dev->irq); in acpi_pci_irq_enable()
Dtables.c128 u16 polarity, trigger; in acpi_table_print_madt_entry() local
132 polarity = p->inti_flags & ACPI_MADT_POLARITY_MASK; in acpi_table_print_madt_entry()
137 mps_inti_flags_polarity[polarity], in acpi_table_print_madt_entry()
/linux-4.4.14/arch/arm/mach-davinci/
Dcp_intc.c58 unsigned polarity = cp_intc_read(CP_INTC_SYS_POLARITY(reg)); in cp_intc_set_irq_type() local
63 polarity |= mask; in cp_intc_set_irq_type()
67 polarity &= ~mask; in cp_intc_set_irq_type()
71 polarity |= mask; in cp_intc_set_irq_type()
75 polarity &= ~mask; in cp_intc_set_irq_type()
82 cp_intc_write(polarity, CP_INTC_SYS_POLARITY(reg)); in cp_intc_set_irq_type()
/linux-4.4.14/include/linux/
Dpwm.h107 enum pwm_polarity polarity; member
140 int pwm_set_polarity(struct pwm_device *pwm, enum pwm_polarity polarity);
144 return pwm ? pwm->polarity : PWM_POLARITY_NORMAL; in pwm_get_polarity()
164 enum pwm_polarity polarity);
206 enum pwm_polarity polarity);
305 enum pwm_polarity polarity; member
315 .polarity = _polarity \
Dgpio_mouse.h44 int polarity; member
Dacpi.h219 int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity);
227 extern int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity);
229 #define acpi_get_override_irq(gsi, trigger, polarity) (-1) argument
243 void acpi_penalize_sci_irq(int irq, int trigger, int polarity);
320 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable);
Dfs_enet_pd.h103 u8 polarity; member
Dirq.h747 unsigned long polarity; member
/linux-4.4.14/arch/x86/kernel/
Ddevicetree.c172 u32 polarity; member
180 .polarity = 1,
185 .polarity = 0,
190 .polarity = 1,
195 .polarity = 0,
212 ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->trigger, it->polarity); in dt_irqdomain_alloc()
/linux-4.4.14/drivers/pnp/pnpacpi/
Drsparser.c32 u8 *polarity, u8 *shareable) in decode_irq_flags() argument
38 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags()
42 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags()
46 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags()
50 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags()
56 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags()
312 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->sharable); in pnpacpi_parse_irq_option()
336 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->sharable); in pnpacpi_parse_ext_irq_option()
657 u8 triggering, polarity, shareable; in pnpacpi_encode_irq() local
666 decode_irq_flags(dev, p->flags, &triggering, &polarity, &shareable); in pnpacpi_encode_irq()
[all …]
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/
Dau1550_spi.h11 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
12 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
/linux-4.4.14/arch/x86/pci/
Dxen.c109 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument
119 static int xen_register_gsi(u32 gsi, int gsi_override, int triggering, int polarity) in xen_register_gsi() argument
128 gsi, triggering, polarity); in xen_register_gsi()
134 setup_gsi.polarity = (polarity == ACPI_ACTIVE_HIGH ? 0 : 1); in xen_register_gsi()
148 int trigger, int polarity) in acpi_register_gsi_xen() argument
150 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen()
496 int trigger, polarity; in pci_xen_initial_domain() local
498 if (acpi_get_override_irq(irq, &trigger, &polarity) == -1) in pci_xen_initial_domain()
Dintel_mid_pci.c215 int polarity; in intel_mid_pci_irq_enable() local
223 polarity = IOAPIC_POL_HIGH; in intel_mid_pci_irq_enable()
238 polarity = IOAPIC_POL_LOW; in intel_mid_pci_irq_enable()
242 ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), 1, polarity); in intel_mid_pci_irq_enable()
/linux-4.4.14/arch/powerpc/sysdev/
Duic.c127 int trigger, polarity; in uic_set_irq_type() local
136 trigger = 1; polarity = 1; in uic_set_irq_type()
139 trigger = 1; polarity = 0; in uic_set_irq_type()
142 trigger = 0; polarity = 1; in uic_set_irq_type()
145 trigger = 0; polarity = 0; in uic_set_irq_type()
157 pr = (pr & mask) | (polarity << (31-src)); in uic_set_irq_type()
/linux-4.4.14/drivers/gpio/
Dgpio-tz1090.c274 unsigned int offset, unsigned int polarity) in tz1090_gpio_irq_polarity() argument
276 tz1090_gpio_mod_bit(bank, REG_GPIO_IRQ_PLRT, offset, polarity); in tz1090_gpio_irq_polarity()
324 unsigned int polarity; in gpio_set_irq_type() local
329 polarity = REG_GPIO_IRQ_PLRT_LOW; in gpio_set_irq_type()
333 polarity = REG_GPIO_IRQ_PLRT_HIGH; in gpio_set_irq_type()
337 polarity = REG_GPIO_IRQ_PLRT_LOW; in gpio_set_irq_type()
341 polarity = REG_GPIO_IRQ_PLRT_HIGH; in gpio_set_irq_type()
345 polarity = REG_GPIO_IRQ_PLRT_LOW; in gpio_set_irq_type()
357 tz1090_gpio_irq_polarity(bank, data->hwirq, polarity); in gpio_set_irq_type()
Dgpio-dwapb.c220 unsigned long level, polarity, flags; in dwapb_irq_set_type() local
228 polarity = dwapb_read(gpio, GPIO_INT_POLARITY); in dwapb_irq_set_type()
237 polarity |= BIT(bit); in dwapb_irq_set_type()
241 polarity &= ~BIT(bit); in dwapb_irq_set_type()
245 polarity |= BIT(bit); in dwapb_irq_set_type()
249 polarity &= ~BIT(bit); in dwapb_irq_set_type()
256 dwapb_write(gpio, GPIO_INT_POLARITY, polarity); in dwapb_irq_set_type()
Dgpio-pl061.c149 bool polarity = trigger & IRQ_TYPE_LEVEL_HIGH; in pl061_irq_type() local
156 if (polarity) in pl061_irq_type()
163 polarity ? "HIGH" : "LOW"); in pl061_irq_type()
Dgpio-mvebu.c479 u32 polarity; in mvebu_gpio_irq_handler() local
481 polarity = readl_relaxed(mvebu_gpioreg_in_pol(mvchip)); in mvebu_gpio_irq_handler()
482 polarity ^= 1 << i; in mvebu_gpio_irq_handler()
483 writel_relaxed(polarity, mvebu_gpioreg_in_pol(mvchip)); in mvebu_gpio_irq_handler()
Dgpiolib-acpi.c231 if (agpio->polarity == ACPI_ACTIVE_HIGH) in acpi_gpiochip_request_interrupt()
236 switch (agpio->polarity) { in acpi_gpiochip_request_interrupt()
423 agpio->polarity == ACPI_ACTIVE_LOW; in acpi_find_gpio()
/linux-4.4.14/drivers/media/i2c/
Dths8200.c216 uint8_t polarity = 0; in ths8200_setup() local
337 polarity |= 0x01; /* HS_IN */ in ths8200_setup()
338 polarity |= 0x08; /* HS_OUT */ in ths8200_setup()
341 polarity |= 0x02; /* VS_IN */ in ths8200_setup()
342 polarity |= 0x10; /* VS_OUT */ in ths8200_setup()
349 ths8200_write(sd, THS8200_DTG2_CNTL, 0x44 | polarity); in ths8200_setup()
357 polarity, bt->hfrontporch, bt->hbackporch, in ths8200_setup()
Dadv7604.c1371 u8 polarity; in read_stdi() local
1386 polarity = cp_read(sd, 0xb5); in read_stdi()
1387 if ((polarity & 0x03) == 0x01) { in read_stdi()
1388 stdi->hs_pol = polarity & 0x10 in read_stdi()
1389 ? (polarity & 0x08 ? '+' : '-') : 'x'; in read_stdi()
1390 stdi->vs_pol = polarity & 0x40 in read_stdi()
1391 ? (polarity & 0x20 ? '+' : '-') : 'x'; in read_stdi()
1397 polarity = hdmi_read(sd, 0x05); in read_stdi()
1398 stdi->hs_pol = polarity & 0x20 ? '+' : '-'; in read_stdi()
1399 stdi->vs_pol = polarity & 0x10 ? '+' : '-'; in read_stdi()
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/
Dtvp7002.txt16 - 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
Dadv7604.txt43 - hsync-active: Horizontal synchronization polarity. Defaults to active low.
44 - vsync-active: Vertical synchronization polarity. Defaults to active low.
45 - pclk-sample: Pixel clock polarity. Defaults to output on the falling edge.
Dtvp514x.txt21 - pclk-sample: Clock polarity of the endpoint.
/linux-4.4.14/drivers/acpi/acpica/
Drsirq.c89 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.polarity),
127 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.polarity),
174 ACPI_RS_OFFSET(data.irq.polarity),
213 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.extended_irq.polarity),
Drsdumpinfo.c69 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(irq.polarity), "Polarity",
259 {ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(extended_irq.polarity), "Polarity",
300 {ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(gpio.polarity), "Polarity",
Drsserial.c94 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.gpio.polarity),
/linux-4.4.14/Documentation/
Dpwm.txt77 polarity - Changes the polarity of the PWM signal (read/write).
79 the polarity. The polarity can only be changed if the PWM is not
101 When implementing polarity support in a PWM driver, make sure to respect the
102 signal conventions in the PWM framework. By definition, normal polarity
105 polarity starts low for the duration of the duty cycle and goes high for the
/linux-4.4.14/arch/x86/platform/intel-mid/
Dsfi.c435 int polarity; in sfi_parse_devs() local
454 polarity = 1; in sfi_parse_devs()
458 polarity = 1; in sfi_parse_devs()
461 polarity = 1; in sfi_parse_devs()
464 polarity = 0; in sfi_parse_devs()
467 polarity = 1; in sfi_parse_devs()
470 ioapic_set_alloc_attr(&info, NUMA_NO_NODE, 1, polarity); in sfi_parse_devs()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-of.c48 const __be32 *polarity = NULL; in v4l2_of_parse_csi_bus() local
52 polarity = of_prop_next_u32(prop, polarity, &v); in v4l2_of_parse_csi_bus()
53 if (!polarity) in v4l2_of_parse_csi_bus()
/linux-4.4.14/arch/x86/include/asm/
Dio_apic.h74 polarity : 1, member
89 polarity : 1, member
177 int node, int trigger, int polarity);
Dacpi.h56 int trigger, int polarity);
Dapicdef.h366 polarity : 1, member
379 polarity : 1, member
/linux-4.4.14/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 …]
Dmoxa,moxart-gpio.txt6 the second cell is used to specify polarity:
Dpl061-gpio.txt7 - bit 0 specifies polarity (0 for normal, 1 for inverted)
Dcirrus,clps711x-mctrl-gpio.txt7 the second cell is used to specify the gpio polarity:
Dgpio-74x164.txt8 the second cell is used to specify the gpio polarity:
Dfujitsu,mb86s70-gpio.txt11 - bit 0 specifies polarity (0 for normal, 1 for inverted).
Dzx296702-gpio.txt7 - bit 0 specifies polarity (0 for normal, 1 for inverted)
Dgpio-xgene.txt11 - second cell is used to specify the gpio polarity:
Dgpio-palmas.txt11 - second cell is used to specify the gpio polarity:
Dgpio-clps711x.txt10 the second cell is used to specify the gpio polarity:
Dgpio_lpc32xx.txt17 - bit 0 specifies polarity (0 for normal, 1 for inverted)
Dgpio-mpc8xxx.txt10 the second cell is used to specify the gpio polarity:
Dnxp,lpc1850-gpio.txt11 - Second cell is used to specify polarity
Dgpio-74xx-mmio.txt20 the second cell is used to specify the GPIO polarity:
Dgpio-sx150x.txt18 bit 0: polarity (0: normal, 1: inverted)
Dgpio-xgene-sb.txt14 - second cell is used to specify the gpio polarity:
Dgpio-adnp.txt10 - bit 0: polarity (0: normal, 1: inverted)
Dnvidia,tegra20-gpio.txt11 - bit 0 specifies polarity (0 for normal, 1 for inverted)
Dabilis,tb10x-gpio.txt9 - bit 0 specifies polarity (0 for normal, 1 for inverted).
Dfsl-imx-gpio.txt11 the second cell is used to specify the gpio polarity:
Dgpio-vf610.txt14 the second cell is used to specify the gpio polarity:
Dsnps-dwapb-gpio.txt16 the second cell is used to specify the gpio polarity:
Dbrcm,kona-gpio.txt23 - bit 0 specifies polarity (0 for normal, 1 for inverted)
Dgpio-mxs.txt16 the second cell is used to specify the gpio polarity:
D8xxx_gpio.txt41 trigger polarity). Note that the available
Dbrcm,brcmstb-gpio.txt19 bit[0]: polarity (0 for active-high, 1 for active-low)
Dgpio-mcp23s08.txt61 configures the IRQ output polarity as active high.
/linux-4.4.14/drivers/hwmon/
Dds1621.c53 static int polarity = -1; variable
54 module_param(polarity, int, 0);
55 MODULE_PARM_DESC(polarity, "Output's polarity: 0 = active high, 1 = active low");
164 if (polarity == 0) in ds1621_init_client()
166 else if (polarity == 1) in ds1621_init_client()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dsocrates_fpga_pic.c196 int polarity; in socrates_fpga_pic_set_type() local
204 polarity = 1; in socrates_fpga_pic_set_type()
207 polarity = 0; in socrates_fpga_pic_set_type()
214 if (polarity) in socrates_fpga_pic_set_type()
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Drockchip-thermal.txt25 - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW
44 rockchip,hw-tshut-polarity = <0>;
/linux-4.4.14/include/trace/events/
Drcu.h365 TP_PROTO(const char *polarity, long long oldnesting, long long newnesting),
367 TP_ARGS(polarity, oldnesting, newnesting),
370 __field(const char *, polarity)
376 __entry->polarity = polarity;
381 TP_printk("%s %llx %llx", __entry->polarity,
719 #define trace_rcu_dyntick(polarity, oldnesting, newnesting) do { } while (0) argument
/linux-4.4.14/Documentation/devicetree/bindings/display/ti/
Dti,omap2-dss.txt53 - ti,invert-polarity: invert the polarity of the video signal
Dti,omap3-dss.txt64 - ti,invert-polarity: invert the polarity of the video signal
Dti,omap4-dss.txt70 - ti,invert-polarity: invert the polarity of the video signal
/linux-4.4.14/arch/x86/kernel/apic/
Dio_apic.c93 int polarity; member
868 int trigger, int polarity) in ioapic_set_alloc_attr() argument
874 info->ioapic_polarity = polarity; in ioapic_set_alloc_attr()
879 int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity);
886 int trigger, polarity; in ioapic_copy_alloc_attr() local
899 if (acpi_get_override_irq(gsi, &trigger, &polarity) >= 0) { in ioapic_copy_alloc_attr()
901 dst->ioapic_polarity = polarity; in ioapic_copy_alloc_attr()
948 data->entry.polarity = data->polarity = info->ioapic_polarity; in mp_check_pin_attr()
952 data->polarity == info->ioapic_polarity; in mp_check_pin_attr()
1264 entry.polarity == IOAPIC_POL_LOW ? "low " : "high", in io_apic_print_entries()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dmmc.txt20 - cd-inverted: when present, polarity on the CD line is inverted. See the note
22 - wp-inverted: when present, polarity on the WP line is inverted. See the note
52 *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line
53 polarity properties, we have to fix the meaning of the "normal" and "inverted"
61 dedicated pins can be specified, using *-inverted properties. GPIO polarity can
67 polarity is in effect.
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dnau8825.txt15 - nuvoton,jkdet-polarity: JKDET pin polarity. 0 - active high, 1 - active low.
86 nuvoton,jkdet-polarity = <GPIO_ACTIVE_LOW>;
/linux-4.4.14/Documentation/hwmon/
Dds162139 * polarity int
40 Output's polarity: 0 = active high, 1 = active low
49 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity
52 As for the thermostat, behavior can also be programmed using the polarity
58 is somewhat misleading in this point since setting the polarity bit does
Dit8798 Force PWM polarity to active high (DANGEROUS). Some chips are
/linux-4.4.14/Documentation/devicetree/bindings/iio/frequency/
Dadf4350.txt22 - adi,phase-detector-polarity-positive-enable: Enables positive phase
23 detector polarity. Default = negative.
82 adi,phase-detector-polarity-positive-enable;
/linux-4.4.14/arch/x86/include/asm/uv/
Duv_irq.h20 polarity : 1, member
/linux-4.4.14/drivers/staging/media/cxd2099/
Dcxd2099.h33 u8 polarity:1; member
Dcxd2099.c365 if (ci->cfg.polarity) { in init()
384 if (ci->cfg.polarity) { in init()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-pwm64 What: /sys/class/pwm/pwmchipN/pwmX/polarity
69 Sets the output polarity of the PWM signal to "normal" or
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dbrcm,cygnus-gpio.txt16 bit[0]: polarity (0 for active high and 1 for active low)
99 /* Bluetooth that uses the ASIU GPIO 5, with polarity inverted */
Dbrcm,bcm2835-gpio.txt12 - bit 0 specifies polarity (0 for normal, 1 for inverted)
Dimg,pistachio-pinctrl.txt24 second cell indicates the polarity. See <dt-bindings/gpio/gpio.h> for
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Dnxp,sc16is7xx.txt21 the second cell is used to specify the GPIO polarity:
57 the second cell is used to specify the GPIO polarity:
Dmaxim,max310x.txt22 the second cell is used to specify the GPIO polarity:
/linux-4.4.14/Documentation/devicetree/bindings/pwm/
Dpwm.txt48 - PWM_POLARITY_INVERTED: invert the PWM signal polarity
50 Example with optional PWM specifier for inverse polarity
/linux-4.4.14/include/acpi/
Dacrestyp.h175 u8 polarity; member
359 u8 polarity; member
384 u8 polarity; /* For values, see Interrupt Attributes above */ member
Dacpi_drivers.h83 int *polarity, char **name);
/linux-4.4.14/drivers/video/fbdev/via/
Dhw.c894 void via_set_sync_polarity(u32 devices, u8 polarity) in via_set_sync_polarity() argument
896 if (polarity & ~(VIA_HSYNC_NEGATIVE | VIA_VSYNC_NEGATIVE)) { in via_set_sync_polarity()
898 polarity); in via_set_sync_polarity()
903 via_write_misc_reg_mask(polarity << 6, 0xC0); in via_set_sync_polarity()
905 via_write_reg_mask(VIACR, 0x9B, polarity << 5, 0x60); in via_set_sync_polarity()
907 via_write_reg_mask(VIACR, 0x99, polarity << 5, 0x60); in via_set_sync_polarity()
909 via_write_reg_mask(VIACR, 0x97, polarity << 5, 0x60); in via_set_sync_polarity()
1750 u8 polarity = 0; in get_sync() local
1753 polarity |= VIA_HSYNC_NEGATIVE; in get_sync()
1755 polarity |= VIA_VSYNC_NEGATIVE; in get_sync()
[all …]
Dhw.h650 void via_set_sync_polarity(u32 devices, u8 polarity);
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-rockchip.c1499 u32 data, data_old, polarity; in rockchip_irq_demux() local
1506 polarity = readl_relaxed(bank->reg_base + in rockchip_irq_demux()
1509 polarity &= ~BIT(irq); in rockchip_irq_demux()
1511 polarity |= BIT(irq); in rockchip_irq_demux()
1512 writel(polarity, in rockchip_irq_demux()
1534 u32 polarity; in rockchip_irq_set_type() local
1563 polarity = readl_relaxed(gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()
1576 polarity &= ~mask; in rockchip_irq_set_type()
1578 polarity |= mask; in rockchip_irq_set_type()
1583 polarity |= mask; in rockchip_irq_set_type()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dphy-miphy365x.txt36 - st,pcie-tx-pol-inv : Bool property to invert the polarity PCIe Tx (Txn/Txp)
37 - st,sata-tx-pol-inv : Bool property to invert the polarity SATA Tx (Txn/Txp)
Dphy-miphy28lp.txt41 - st,px_rx_pol_inv : to invert polarity of RXn/RXp (respectively negative line and positive
/linux-4.4.14/drivers/staging/panel/
DKconfig166 int "Parallel port pin number & polarity connected to the LCD E signal (-17...17) "
181 int "Parallel port pin number & polarity connected to the LCD RS signal (-17...17) "
196 int "Parallel port pin number & polarity connected to the LCD RW signal (-17...17) "
211 int "Parallel port pin number & polarity connected to the LCD SCL signal (-17...17) "
226 int "Parallel port pin number & polarity connected to the LCD SDA signal (-17...17) "
241 int "Parallel port pin number & polarity connected to the LCD backlight signal (-17...17) "
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Dsbs_sbs-battery.txt13 a flag specifying its polarity.
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/
Dexynos_dp.txt60 VSYNC polarity configuration.
63 HSYNC polarity configuration.
/linux-4.4.14/sound/soc/samsung/
Dspeyside.c120 int polarity) in speyside_set_polarity() argument
122 speyside_jack_polarity = !polarity; in speyside_set_polarity()
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dfsl-usb.txt41 port power polarity of internal PHY signal DRVVBUS is inverted.
43 the PWR_FAULT signal polarity is inverted.
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-led-defs.h145 uint64_t polarity:1; member
147 uint64_t polarity:1;
/linux-4.4.14/drivers/nfc/pn544/
Di2c.c205 int polarity, retry, ret; in pn544_hci_i2c_platform_init() local
214 for (polarity = 0; polarity < 2; polarity++) { in pn544_hci_i2c_platform_init()
215 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init()
233 (polarity == 0 ? "low" : "high")); in pn544_hci_i2c_platform_init()
/linux-4.4.14/arch/arm/plat-orion/
Dgpio.c433 u32 polarity; in gpio_irq_handler() local
435 polarity = readl(GPIO_IN_POL(ochip)); in gpio_irq_handler()
436 polarity ^= 1 << i; in gpio_irq_handler()
437 writel(polarity, GPIO_IN_POL(ochip)); in gpio_irq_handler()
/linux-4.4.14/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-ad71927 the polarity of the excitation voltage is reversed on
/linux-4.4.14/Documentation/devicetree/bindings/eeprom/
Dat25.txt13 - spi-cpol : SPI inverse clock polarity, as per spi-bus bindings.
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/
Dg762.txt15 - "pwm_polarity": pwm polarity. Accepted values are 0 (positive duty)
/linux-4.4.14/arch/arm/mach-omap2/
Dusb-host.c364 int gpio, int polarity) in usbhs_add_regulator() argument
398 config->enable_high = polarity; in usbhs_add_regulator()
/linux-4.4.14/arch/powerpc/boot/dts/
Dcurrituck.dts147 /* Legacy interrupts (note the weird polarity, the bridge seems
184 /* Legacy interrupts (note the weird polarity, the bridge seems
221 /* Legacy interrupts (note the weird polarity, the bridge seems
Dxcalibur1501.dts257 polarity = <0x00>;
266 polarity = <0x00>;
275 polarity = <0x00>;
284 polarity = <0x00>;
293 polarity = <0x00>;
Dakebono.dts275 /* Legacy interrupts (note the weird polarity, the bridge seems
315 /* Legacy interrupts (note the weird polarity, the bridge seems
355 /* Legacy interrupts (note the weird polarity, the bridge seems
395 /* Legacy interrupts (note the weird polarity, the bridge seems
Dxpedite5301.dts249 polarity = <0x00>;
257 polarity = <0x00>;
265 polarity = <0x00>;
273 polarity = <0x00>;
Dxpedite5370.dts247 polarity = <0x00>;
255 polarity = <0x00>;
263 polarity = <0x00>;
271 polarity = <0x00>;
Dxpedite5330.dts285 polarity = <0x00>;
293 polarity = <0x00>;
301 polarity = <0x00>;
309 polarity = <0x00>;
Dredwood.dts263 /* Legacy interrupts (note the weird polarity, the bridge seems
304 /* Legacy interrupts (note the weird polarity, the bridge seems
345 /* Legacy interrupts (note the weird polarity, the bridge seems
Dkatmai.dts347 /* Legacy interrupts (note the weird polarity, the bridge seems
388 /* Legacy interrupts (note the weird polarity, the bridge seems
429 /* Legacy interrupts (note the weird polarity, the bridge seems
Dxpedite5200.dts115 polarity = <0x00>;
124 polarity = <0x00>;
Dxpedite5200_xmon.dts119 polarity = <0x00>;
128 polarity = <0x00>;
Dmakalu.dts296 /* Legacy interrupts (note the weird polarity, the bridge seems
337 /* Legacy interrupts (note the weird polarity, the bridge seems
Dmvme5100.dts107 * Do not change the interrupt sense/polarity from
Dicon.dts343 /* Legacy interrupts (note the weird polarity, the bridge seems
384 /* Legacy interrupts (note the weird polarity, the bridge seems
Dkilauea.dts350 /* Legacy interrupts (note the weird polarity, the bridge seems
391 /* Legacy interrupts (note the weird polarity, the bridge seems
Dcanyonlands.dts481 /* Legacy interrupts (note the weird polarity, the bridge seems
523 /* Legacy interrupts (note the weird polarity, the bridge seems
Dglacier.dts518 /* Legacy interrupts (note the weird polarity, the bridge seems
560 /* Legacy interrupts (note the weird polarity, the bridge seems
Dhaleakala.dts265 /* Legacy interrupts (note the weird polarity, the bridge seems
Dbluestone.dts369 /* Legacy interrupts (note the weird polarity, the bridge seems
/linux-4.4.14/drivers/iio/accel/
Dmma9551_core.h70 u8 app_id, u8 bitnum, int polarity);
Dmma9551_core.c540 u8 app_id, u8 bitnum, int polarity) in mma9551_gpio_config() argument
588 pol_val = polarity ? pol_mask : 0; in mma9551_gpio_config()
/linux-4.4.14/arch/x86/kvm/
Dioapic.h55 u8 polarity:1; member
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dsmsc911x.txt16 - smsc,irq-active-high : Indicates the IRQ polarity is active-high
/linux-4.4.14/include/xen/interface/
Dphysdev.h216 uint8_t polarity; member
/linux-4.4.14/Documentation/spi/
Dspidev30 chipselect polarity, etc) as usual, so you won't always need to override
86 (clock polarity, idle high iff this is set) or SPI_CPHA (clock phase,
119 - From userspace, you can't currently change the chip select polarity;
Dspi-summary99 - CPOL indicates the initial clock polarity. CPOL=0 means the
121 a slave, and the slave can tell the chosen polarity by sampling the
123 support for example both modes 0 and 3: they don't care about polarity,
/linux-4.4.14/drivers/clocksource/
Darm_arch_timer.c814 int trigger, polarity; in map_generic_timer_interrupt() local
822 polarity = (flags & ACPI_GTDT_INTERRUPT_POLARITY) ? ACPI_ACTIVE_LOW in map_generic_timer_interrupt()
825 return acpi_register_gsi(NULL, interrupt, trigger, polarity); in map_generic_timer_interrupt()
/linux-4.4.14/Documentation/devicetree/bindings/net/can/
Dcc770.txt37 - bosch,polarity-dominant : see data sheet.
/linux-4.4.14/sound/aoa/codecs/
Donyx.c372 u8 polarity = (pv >> 16) & FLAG_POLARITY_INVERT; in onyx_snd_single_bit_get() local
380 ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; in onyx_snd_single_bit_get()
392 u8 polarity = (pv >> 16) & FLAG_POLARITY_INVERT; in onyx_snd_single_bit_put() local
406 if (!!ucontrol->value.integer.value[0] ^ polarity) in onyx_snd_single_bit_put()
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dti,omap3isp.txt48 lane-polarities : lane polarity (required on CSI-2)
Dvideo-interfaces.txt87 - data-active: similar to HSYNC and VSYNC, specifies data line polarity.
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h647 int polarity, int attempts, int delay, u32 *valp);
649 int polarity, int attempts, int delay) in t3_wait_op_done() argument
651 return t3_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t3_wait_op_done()
/linux-4.4.14/Documentation/devicetree/bindings/display/
Datmel,lcdc.txt62 - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,bcm7038-l1-intc.txt18 - No polarity/level/edge settings
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-evb.dtsi232 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
Drk3288-rock2-som.dtsi255 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
Drk3288-veyron.dtsi378 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
Drk3288-r89.dts355 rockchip,hw-tshut-polarity = <0>;
Domap3-gta04.dtsi486 ti,invert-polarity;
Drk3288-firefly.dtsi522 rockchip,hw-tshut-polarity = <0>;
Drk3288-popmetal.dts489 rockchip,hw-tshut-polarity = <0>;
/linux-4.4.14/arch/x86/platform/uv/
Duv_irq.c40 entry->polarity = 0; in uv_program_mmr()
/linux-4.4.14/sound/oss/
Dad1848_mixer.h61 unsigned int polarity:1; /* volume polarity: 0=normal, 1=reversed */ member
/linux-4.4.14/drivers/input/touchscreen/
Dpixcir_i2c_ts.c240 enum pixcir_int_mode mode, bool polarity) in pixcir_set_int_mode() argument
255 if (polarity) in pixcir_set_int_mode()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_hw.c37 e1000_rev_polarity *polarity);
3270 e1000_rev_polarity polarity; in e1000_phy_igp_get_info() local
3284 ret_val = e1000_check_polarity(hw, &polarity); in e1000_phy_igp_get_info()
3288 phy_info->cable_polarity = polarity; in e1000_phy_igp_get_info()
3349 e1000_rev_polarity polarity; in e1000_phy_m88_get_info() local
3372 ret_val = e1000_check_polarity(hw, &polarity); in e1000_phy_m88_get_info()
3375 phy_info->cable_polarity = polarity; in e1000_phy_m88_get_info()
5030 e1000_rev_polarity *polarity) in e1000_check_polarity() argument
5041 *polarity = ((phy_data & M88E1000_PSSR_REV_POLARITY) >> in e1000_check_polarity()
5066 *polarity = (phy_data & IGP01E1000_PHY_POLARITY_MASK) ? in e1000_check_polarity()
[all …]
/linux-4.4.14/arch/powerpc/oprofile/
Dop_model_cell.c290 u32 bus_word, bus_type, count_cycles, polarity, input_control; in set_pm_event() local
309 polarity = GET_POLARITY(unit_mask); in set_pm_event()
321 pm_regs.pm07_cntrl[ctr] |= PM07_CTR_POLARITY(polarity); in set_pm_event()
/linux-4.4.14/drivers/bluetooth/
Dhci_bcm.c659 dev->irq_polarity = irq->polarity; in bcm_resource()
665 dev->irq_polarity = gpio->polarity; in bcm_resource()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dmain.c1161 u16 polarity; in wl12xx_pre_upload() local
1193 ret = wl12xx_top_reg_read(wl, OCP_REG_POLARITY, &polarity); in wl12xx_pre_upload()
1198 polarity &= ~POLARITY_LOW; in wl12xx_pre_upload()
1199 ret = wl12xx_top_reg_write(wl, OCP_REG_POLARITY, polarity); in wl12xx_pre_upload()
/linux-4.4.14/arch/x86/include/uapi/asm/
Dkvm.h93 __u8 polarity:1; member
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-core.c248 bool polarity = !!(bd->props.state & BL_CORE_DRIVER1); in fbtft_backlight_update_status() local
252 __func__, polarity, bd->props.power, bd->props.fb_blank); in fbtft_backlight_update_status()
255 gpio_set_value(par->gpio.led[0], polarity); in fbtft_backlight_update_status()
257 gpio_set_value(par->gpio.led[0], !polarity); in fbtft_backlight_update_status()
/linux-4.4.14/Documentation/ptp/
Dptp.txt75 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Darm,pl172.txt54 - mpmc,cs-active-high: Set chip select polarity to active high.
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-bus.txt51 inverse clock polarity (CPOL) mode
/linux-4.4.14/Documentation/fb/
Dpxafb.txt57 pixel clock polarity
Dmatroxfb.txt258 sync:X - sync. pulse - bit 0 inverts HSYNC polarity, bit 1 VSYNC polarity.
/linux-4.4.14/sound/pci/
Dmaestro3.c2244 u16 gpo, polarity; in snd_m3_amp_enable() local
2249 polarity = enable ? 0 : 1; in snd_m3_amp_enable()
2250 polarity = polarity << chip->amp_gpio; in snd_m3_amp_enable()
2258 outw((GPO_SECONDARY_AC97 | GPO_PRIMARY_AC97 | polarity), in snd_m3_amp_enable()
/linux-4.4.14/drivers/net/phy/
Dmarvell.c165 static int marvell_set_polarity(struct phy_device *phydev, int polarity) in marvell_set_polarity() argument
178 switch (polarity) { in marvell_set_polarity()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c61 static int t1_wait_op_done(adapter_t *adapter, int reg, u32 mask, int polarity, in t1_wait_op_done() argument
67 if (!!val == polarity) in t1_wait_op_done()
/linux-4.4.14/drivers/media/dvb-frontends/
Dlg2160.c337 int polarity) in lg2160_tuner_pwr_save_polarity() argument
347 val |= (polarity) ? 0x01 : 0x00; in lg2160_tuner_pwr_save_polarity()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddsi.c241 u8 polarity; member
1837 unsigned polarity, lane_number; in dsi_set_lane_config() local
1848 polarity = dsi->lanes[t].polarity; in dsi_set_lane_config()
1851 r = FLD_MOD(r, polarity, offset + 3, offset + 3); in dsi_set_lane_config()
1973 unsigned p = dsi->lanes[i].polarity; in dsi_cio_enable_lane_override()
3815 lanes[lane].polarity = pol; in dsi_configure_pins()
/linux-4.4.14/Documentation/video4linux/
Dsoc-camera.txt101 e.g. signal polarity inversion. soc_mbus_get_fmtdesc() can be used to obtain a
Domap3isp.txt80 of the VS signal polarity. This is automatically correct when using the serial
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db1148 API-enum-pwm-polarity
1154 API-pwmchip-add-with-polarity
1161 API-pwm-set-polarity
/linux-4.4.14/drivers/char/
Dhpet.c1009 irqp->triggering, irqp->polarity); in hpet_resources()
/linux-4.4.14/sound/pci/asihpi/
Dhpi.h1568 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity);
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
Ddrx_driver.h1534 enum drxi2s_polarity polarity;/**< I2S wordstrobe polarity */ member
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c58 int polarity, int attempts, int delay, u32 *valp) in t4_wait_op_done_val() argument
63 if (!!(val & mask) == polarity) { in t4_wait_op_done_val()
76 int polarity, int attempts, int delay) in t4_wait_op_done() argument
78 return t4_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t4_wait_op_done()
/linux-4.4.14/drivers/platform/x86/
Dsony-laptop.c4364 interrupt->irq.polarity = p->polarity; in sony_pic_read_possible_resource()
4751 irq->irq.polarity, in sony_pic_add()
/linux-4.4.14/Documentation/fmc/
Dcarrier.txt308 used to configure the interrupt pin, mode and polarity. Especially
/linux-4.4.14/drivers/iommu/
Dintel_irq_remapping.c1252 entry->polarity = info->ioapic_polarity; in intel_irq_remapping_prepare_irte()

12