Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
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()
Dsysfs.c137 return sprintf(buf, "%s\n", pwm->polarity ? "inversed" : "normal"); in pwm_polarity_show()
145 enum pwm_polarity polarity; in pwm_polarity_store() local
149 polarity = PWM_POLARITY_NORMAL; in pwm_polarity_store()
151 polarity = PWM_POLARITY_INVERSED; in pwm_polarity_store()
155 ret = pwm_set_polarity(pwm, polarity); in pwm_polarity_store()
163 static DEVICE_ATTR(polarity, 0644, pwm_polarity_show, pwm_polarity_store);
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.c189 enum pwm_polarity polarity) in sun4i_pwm_set_polarity() argument
204 if (polarity != PWM_POLARITY_NORMAL) in sun4i_pwm_set_polarity()
336 pwm->chip.pwms[i].polarity = PWM_POLARITY_INVERSED; in sun4i_pwm_probe()
Dcore.c431 int pwm_set_polarity(struct pwm_device *pwm, enum pwm_polarity polarity) in pwm_set_polarity() argument
444 err = pwm->chip->ops->set_polarity(pwm->chip, pwm, polarity); in pwm_set_polarity()
448 pwm->polarity = polarity; in pwm_set_polarity()
674 pwm_set_polarity(pwm, chosen->polarity); in pwm_get()
Dpwm-bcm2835.c105 enum pwm_polarity polarity) in bcm2835_set_polarity() argument
112 if (polarity == PWM_POLARITY_NORMAL) in bcm2835_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-rockchip.c86 if (pwm->polarity == PWM_POLARITY_INVERSED) in rockchip_pwm_set_enable_v2()
139 enum pwm_polarity polarity) in rockchip_pwm_set_polarity() argument
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.c154 enum pwm_polarity polarity) in kona_pwmc_set_polarity() argument
169 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.c200 enum pwm_polarity polarity) in atmel_pwm_set_polarity() argument
208 if (polarity == PWM_POLARITY_NORMAL) in atmel_pwm_set_polarity()
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()
/linux-4.1.27/arch/ia64/include/asm/
Diosapic.h93 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity,
97 unsigned long polarity,
103 unsigned long polarity,
113 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument
115 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument
117 polarity,trigger) (gsi) argument
/linux-4.1.27/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.1.27/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.1.27/drivers/acpi/
Dgsi.c17 static unsigned int acpi_gsi_get_irq_type(int trigger, int polarity) in acpi_gsi_get_irq_type() argument
19 switch (polarity) { in acpi_gsi_get_irq_type()
73 int polarity) in acpi_register_gsi() argument
76 unsigned int irq_type = acpi_gsi_get_irq_type(trigger, polarity); in acpi_register_gsi()
Dpci_link.c76 u8 polarity; /* All IRQs */ member
132 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible()
158 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible()
319 resource->res.data.irq.polarity = in acpi_pci_link_set()
320 link->irq.polarity; in acpi_pci_link_set()
337 resource->res.data.extended_irq.polarity = in acpi_pci_link_set()
338 link->irq.polarity; in acpi_pci_link_set()
585 int *polarity, char **name) in acpi_pci_link_allocate_irq() argument
625 if (polarity) in acpi_pci_link_allocate_irq()
626 *polarity = link->irq.polarity; in acpi_pci_link_allocate_irq()
[all …]
Dresource.c322 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable) in acpi_dev_irq_flags() argument
327 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags()
330 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags()
348 u8 triggering, u8 polarity, u8 shareable, in acpi_dev_get_irqresource() argument
372 if (triggering != trig || polarity != pol) { in acpi_dev_get_irqresource()
376 polarity = pol; in acpi_dev_get_irqresource()
380 res->flags = acpi_dev_irq_flags(triggering, polarity, shareable); in acpi_dev_get_irqresource()
381 irq = acpi_register_gsi(NULL, gsi, triggering, polarity); in acpi_dev_get_irqresource()
427 irq->triggering, irq->polarity, in acpi_dev_resource_interrupt()
437 ext_irq->triggering, ext_irq->polarity, in acpi_dev_resource_interrupt()
Dpci_irq.c403 int polarity = ACPI_ACTIVE_LOW; in acpi_pci_irq_enable() local
434 &triggering, &polarity, in acpi_pci_irq_enable()
454 rc = acpi_register_gsi(&dev->dev, gsi, triggering, polarity); in acpi_pci_irq_enable()
472 (polarity == ACPI_ACTIVE_LOW) ? "low" : "high", dev->irq); in acpi_pci_irq_enable()
Dtables.c132 u16 polarity, trigger; in acpi_table_print_madt_entry() local
136 polarity = p->inti_flags & ACPI_MADT_POLARITY_MASK; in acpi_table_print_madt_entry()
141 mps_inti_flags_polarity[polarity], in acpi_table_print_madt_entry()
/linux-4.1.27/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()
404 int polarity) in mp_register_gsi() argument
412 polarity = polarity == ACPI_ACTIVE_HIGH ? 0 : 1; in mp_register_gsi()
414 if (mp_set_gsi_attr(gsi, trigger, polarity, node)) { in mp_register_gsi()
425 mp_config_acpi_gsi(dev, gsi, trigger, polarity); in mp_register_gsi()
476 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
481 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
[all …]
/linux-4.1.27/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.1.27/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.1.27/arch/x86/kernel/
Ddevicetree.c172 u32 polarity; member
180 .polarity = 1,
185 .polarity = 0,
190 .polarity = 1,
195 .polarity = 0,
219 if (mp_set_gsi_attr(gsi, it->trigger, it->polarity, cpu_to_node(0))) in ioapic_xlate()
/linux-4.1.27/drivers/pnp/pnpacpi/
Drsparser.c32 int *polarity, int *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 int 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.1.27/include/linux/
Dpwm.h92 enum pwm_polarity polarity; member
120 int pwm_set_polarity(struct pwm_device *pwm, enum pwm_polarity polarity);
143 enum pwm_polarity polarity);
278 enum pwm_polarity polarity; member
288 .polarity = _polarity \
Dgpio_mouse.h44 int polarity; member
Dacpi.h181 int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity);
186 extern int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity);
188 #define acpi_get_override_irq(gsi, trigger, polarity) (-1) argument
201 void acpi_penalize_sci_irq(int irq, int trigger, int polarity);
311 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable);
Dfs_enet_pd.h103 u8 polarity; member
Dirq.h691 unsigned long polarity; member
/linux-4.1.27/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.1.27/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.c211 int polarity; in intel_mid_pci_irq_enable() local
217 polarity = 0; /* active high */ in intel_mid_pci_irq_enable()
219 polarity = 1; /* active low */ in intel_mid_pci_irq_enable()
225 if (mp_set_gsi_attr(dev->irq, 1, polarity, dev_to_node(&dev->dev))) in intel_mid_pci_irq_enable()
/linux-4.1.27/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.1.27/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-mvebu.c489 u32 polarity; in mvebu_gpio_irq_handler() local
491 polarity = readl_relaxed(mvebu_gpioreg_in_pol(mvchip)); in mvebu_gpio_irq_handler()
492 polarity ^= 1 << i; in mvebu_gpio_irq_handler()
493 writel_relaxed(polarity, mvebu_gpioreg_in_pol(mvchip)); in mvebu_gpio_irq_handler()
Dgpiolib-acpi.c230 if (agpio->polarity == ACPI_ACTIVE_HIGH) in acpi_gpiochip_request_interrupt()
235 switch (agpio->polarity) { in acpi_gpiochip_request_interrupt()
419 agpio->polarity == ACPI_ACTIVE_LOW; in acpi_find_gpio()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-of.c47 const __be32 *polarity = NULL; in v4l2_of_parse_csi_bus() local
51 polarity = of_prop_next_u32(prop, polarity, &v); in v4l2_of_parse_csi_bus()
52 if (!polarity) in v4l2_of_parse_csi_bus()
/linux-4.1.27/arch/x86/kernel/apic/
Dio_apic.c83 int polarity; member
835 int polarity; in irq_polarity() local
844 polarity = default_ISA_polarity(idx); in irq_polarity()
846 polarity = default_PCI_polarity(idx); in irq_polarity()
850 polarity = 0; in irq_polarity()
856 polarity = 1; in irq_polarity()
861 polarity = 1; in irq_polarity()
867 polarity = 1; in irq_polarity()
871 return polarity; in irq_polarity()
1228 entry->polarity = attr->polarity; in native_setup_ioapic_entry()
[all …]
/linux-4.1.27/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.c1327 u8 polarity; in read_stdi() local
1342 polarity = cp_read(sd, 0xb5); in read_stdi()
1343 if ((polarity & 0x03) == 0x01) { in read_stdi()
1344 stdi->hs_pol = polarity & 0x10 in read_stdi()
1345 ? (polarity & 0x08 ? '+' : '-') : 'x'; in read_stdi()
1346 stdi->vs_pol = polarity & 0x40 in read_stdi()
1347 ? (polarity & 0x20 ? '+' : '-') : 'x'; in read_stdi()
1353 polarity = hdmi_read(sd, 0x05); in read_stdi()
1354 stdi->hs_pol = polarity & 0x20 ? '+' : '-'; in read_stdi()
1355 stdi->vs_pol = polarity & 0x10 ? '+' : '-'; in read_stdi()
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
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 …]
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:
Dfujitsu,mb86s70-gpio.txt11 - bit 0 specifies polarity (0 for normal, 1 for inverted).
Dgpio-74x164.txt8 the second cell is used to specify the gpio polarity:
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-74xx-mmio.txt20 the second cell is used to specify the GPIO polarity:
Dgpio-sx150x.txt18 bit 0: polarity (0: normal, 1: inverted)
Dgpio-adnp.txt10 - bit 0: polarity (0: normal, 1: inverted)
Dgpio-xgene-sb.txt14 - second cell is used to specify the gpio polarity:
Dabilis,tb10x-gpio.txt9 - bit 0 specifies polarity (0 for normal, 1 for inverted).
Dnvidia,tegra20-gpio.txt11 - 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
Dgpio-mcp23s08.txt61 configures the IRQ output polarity as active high.
/linux-4.1.27/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.txt41 - hsync-active: Horizontal synchronization polarity. Defaults to active low.
42 - vsync-active: Vertical synchronization polarity. Defaults to active low.
43 - pclk-sample: Pixel clock polarity. Defaults to output on the falling edge.
Dtvp514x.txt21 - pclk-sample: Clock polarity of the endpoint.
/linux-4.1.27/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.1.27/arch/x86/include/asm/
Dio_apic.h74 polarity : 1, member
89 polarity : 1, member
168 int polarity; member
206 extern int mp_set_gsi_attr(u32 gsi, int trigger, int polarity, int node);
Dacpi.h52 int trigger, int polarity);
Dapicdef.h366 polarity : 1, member
379 polarity : 1, member
/linux-4.1.27/arch/x86/platform/intel-mid/
Dsfi.c438 int polarity; in sfi_parse_devs() local
456 polarity = 1; in sfi_parse_devs()
460 polarity = 1; in sfi_parse_devs()
463 polarity = 1; in sfi_parse_devs()
466 polarity = 0; in sfi_parse_devs()
469 polarity = 1; in sfi_parse_devs()
472 ret = mp_set_gsi_attr(irq, 1, polarity, NUMA_NO_NODE); in sfi_parse_devs()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/thermal/
Drockchip-thermal.txt18 - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW
35 rockchip,hw-tshut-polarity = <0>;
/linux-4.1.27/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.1.27/arch/powerpc/platforms/85xx/
Dsocrates_fpga_pic.c195 int polarity; in socrates_fpga_pic_set_type() local
203 polarity = 1; in socrates_fpga_pic_set_type()
206 polarity = 0; in socrates_fpga_pic_set_type()
213 if (polarity) in socrates_fpga_pic_set_type()
/linux-4.1.27/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,
720 #define trace_rcu_dyntick(polarity, oldnesting, newnesting) do { } while (0) argument
/linux-4.1.27/Documentation/devicetree/bindings/video/
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
Dexynos_dp.txt60 VSYNC polarity configuration.
63 HSYNC polarity configuration.
Datmel,lcdc.txt62 - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
/linux-4.1.27/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
46 *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line
47 polarity properties, we have to fix the meaning of the "normal" and "inverted"
55 dedicated pins can be specified, using *-inverted properties. GPIO polarity can
61 polarity is in effect.
/linux-4.1.27/drivers/net/ethernet/icplus/
Dipg.c249 u8 polarity, data; in mdio_read() local
251 polarity = ipg_r8(PHY_CTRL); in mdio_read()
252 polarity &= (IPG_PC_DUPLEX_POLARITY | IPG_PC_LINK_POLARITY); in mdio_read()
276 data |= polarity | IPG_PC_MGMTDIR; in mdio_read()
282 send_three_state(ioaddr, polarity); in mdio_read()
284 read_phy_bit(ioaddr, polarity); in mdio_read()
292 (read_phy_bit(ioaddr, polarity) << (p[6].len - 1 - i)); in mdio_read()
295 send_three_state(ioaddr, polarity); in mdio_read()
296 send_three_state(ioaddr, polarity); in mdio_read()
297 send_three_state(ioaddr, polarity); in mdio_read()
[all …]
/linux-4.1.27/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
Dit8794 Force PWM polarity to active high (DANGEROUS). Some chips are
/linux-4.1.27/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.1.27/arch/x86/include/asm/uv/
Duv_irq.h20 polarity : 1, member
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/pinctrl/
Dbrcm,cygnus-gpio.txt16 bit[0]: polarity (0 for active high and 1 for active low)
93 /* Bluetooth that uses the ASIU GPIO 5, with polarity inverted */
Dbrcm,bcm2835-gpio.txt12 - bit 0 specifies polarity (0 for normal, 1 for inverted)
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-rockchip.c1428 u32 data, data_old, polarity; in rockchip_irq_demux() local
1435 polarity = readl_relaxed(bank->reg_base + in rockchip_irq_demux()
1438 polarity &= ~BIT(irq); in rockchip_irq_demux()
1440 polarity |= BIT(irq); in rockchip_irq_demux()
1441 writel(polarity, in rockchip_irq_demux()
1463 u32 polarity; in rockchip_irq_set_type() local
1491 polarity = readl_relaxed(gc->reg_base + GPIO_INT_POLARITY); in rockchip_irq_set_type()
1504 polarity &= ~mask; in rockchip_irq_set_type()
1506 polarity |= mask; in rockchip_irq_set_type()
1511 polarity |= mask; in rockchip_irq_set_type()
[all …]
/linux-4.1.27/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.1.27/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.1.27/include/acpi/
Dacrestyp.h175 u8 polarity; member
359 u8 polarity; member
384 u8 polarity; /* For values, see Interrupt Attributes above */ member
Dacpi_drivers.h87 int *polarity, char **name);
/linux-4.1.27/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.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/power_supply/
Dsbs_sbs-battery.txt13 a flag specifying its polarity.
/linux-4.1.27/arch/x86/platform/uv/
Duv_irq.c164 entry->polarity = 0; in arch_enable_uv_irq()
216 entry->polarity = 0; in uv_set_irq_affinity()
/linux-4.1.27/sound/soc/samsung/
Dspeyside.c120 int polarity) in speyside_set_polarity() argument
122 speyside_jack_polarity = !polarity; in speyside_set_polarity()
/linux-4.1.27/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.1.27/arch/mips/include/asm/octeon/
Dcvmx-led-defs.h145 uint64_t polarity:1; member
147 uint64_t polarity:1;
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-ad71927 the polarity of the excitation voltage is reversed on
/linux-4.1.27/Documentation/devicetree/bindings/serial/
Dnxp,sc16is7xx.txt20 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.1.27/arch/arm/boot/dts/
Drk3288-evb.dtsi184 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
Domap3-gta04.dtsi458 ti,invert-polarity;
/linux-4.1.27/Documentation/devicetree/bindings/misc/
Dat25.txt13 - spi-cpol : SPI inverse clock polarity, as per spi-bus bindings.
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/
Dg762.txt15 - "pwm_polarity": pwm polarity. Accepted values are 0 (positive duty)
/linux-4.1.27/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.1.27/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
Dxpedite5370.dts247 polarity = <0x00>;
255 polarity = <0x00>;
263 polarity = <0x00>;
271 polarity = <0x00>;
Dxpedite5301.dts249 polarity = <0x00>;
257 polarity = <0x00>;
265 polarity = <0x00>;
273 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
Dkilauea.dts350 /* Legacy interrupts (note the weird polarity, the bridge seems
391 /* Legacy interrupts (note the weird polarity, the bridge seems
Dicon.dts343 /* Legacy interrupts (note the weird polarity, the bridge seems
384 /* 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
Dcanyonlands.dts481 /* Legacy interrupts (note the weird polarity, the bridge seems
523 /* 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.1.27/drivers/iio/accel/
Dmma9551_core.h70 u8 app_id, u8 bitnum, int polarity);
Dmma9551_core.c543 u8 app_id, u8 bitnum, int polarity) in mma9551_gpio_config() argument
591 pol_val = polarity ? pol_mask : 0; in mma9551_gpio_config()
/linux-4.1.27/arch/x86/kvm/
Dioapic.h54 u8 polarity:1; member
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dsmsc911x.txt16 - smsc,irq-active-high : Indicates the IRQ polarity is active-high
/linux-4.1.27/include/xen/interface/
Dphysdev.h216 uint8_t polarity; member
/linux-4.1.27/drivers/clocksource/
Darm_arch_timer.c822 int trigger, polarity; in map_generic_timer_interrupt() local
830 polarity = (flags & ACPI_GTDT_INTERRUPT_POLARITY) ? ACPI_ACTIVE_LOW in map_generic_timer_interrupt()
833 return acpi_register_gsi(NULL, interrupt, trigger, polarity); in map_generic_timer_interrupt()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/net/can/
Dcc770.txt37 - bosch,polarity-dominant : see data sheet.
/linux-4.1.27/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.1.27/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.1.27/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()
Dt3_hw.c56 int polarity, int attempts, int delay, u32 *valp) in t3_wait_op_done_val() argument
61 if (!!(val & mask) == polarity) { in t3_wait_op_done_val()
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,bcm7038-l1-intc.txt18 - No polarity/level/edge settings
/linux-4.1.27/sound/oss/
Dad1848_mixer.h61 unsigned int polarity:1; /* volume polarity: 0=normal, 1=reversed */ member
Dad1848.c470 if (devc->mix_devices[dev][chn].polarity == 1) /* Reverse */ in oss_change_bits()
/linux-4.1.27/drivers/input/touchscreen/
Dpixcir_i2c_ts.c227 enum pixcir_int_mode mode, bool polarity) in pixcir_set_int_mode() argument
242 if (polarity) in pixcir_set_int_mode()
/linux-4.1.27/Documentation/gpio/
Dsysfs.txt135 /* change the polarity of a GPIO node in sysfs */
152 Drivers can use gpiod_sysfs_set_active_low() to hide GPIO line polarity
Dgpio-legacy.txt754 /* change the polarity of a GPIO node in sysfs */
771 Drivers can use gpio_sysfs_set_active_low() to hide GPIO line polarity
/linux-4.1.27/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()
5038 e1000_rev_polarity *polarity) in e1000_check_polarity() argument
5049 *polarity = ((phy_data & M88E1000_PSSR_REV_POLARITY) >> in e1000_check_polarity()
5074 *polarity = (phy_data & IGP01E1000_PHY_POLARITY_MASK) ? in e1000_check_polarity()
[all …]
/linux-4.1.27/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.1.27/arch/x86/include/uapi/asm/
Dkvm.h93 __u8 polarity:1; member
/linux-4.1.27/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.1.27/Documentation/ptp/
Dptp.txt75 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dspi-bus.txt51 inverse clock polarity (CPOL) mode
/linux-4.1.27/drivers/staging/fbtft/
Dfbtft-core.c250 bool polarity = !!(bd->props.state & BL_CORE_DRIVER1); in fbtft_backlight_update_status() local
254 __func__, polarity, bd->props.power, bd->props.fb_blank); in fbtft_backlight_update_status()
257 gpio_set_value(par->gpio.led[0], polarity); in fbtft_backlight_update_status()
259 gpio_set_value(par->gpio.led[0], !polarity); in fbtft_backlight_update_status()
/linux-4.1.27/Documentation/fb/
Dpxafb.txt57 pixel clock polarity
Dmatroxfb.txt258 sync:X - sync. pulse - bit 0 inverts HSYNC polarity, bit 1 VSYNC polarity.
/linux-4.1.27/sound/pci/
Dmaestro3.c2227 u16 gpo, polarity; in snd_m3_amp_enable() local
2232 polarity = enable ? 0 : 1; in snd_m3_amp_enable()
2233 polarity = polarity << chip->amp_gpio; in snd_m3_amp_enable()
2241 outw((GPO_SECONDARY_AC97 | GPO_PRIMARY_AC97 | polarity), in snd_m3_amp_enable()
/linux-4.1.27/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.1.27/drivers/iommu/
Dintel_irq_remapping.c1028 entry->polarity = attr->polarity; in intel_setup_ioapic_entry()
Damd_iommu.c4115 entry->polarity = attr->polarity; in setup_ioapic_entry()
/linux-4.1.27/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.1.27/drivers/video/fbdev/omap2/dss/
Ddsi.c240 u8 polarity; member
1836 unsigned polarity, lane_number; in dsi_set_lane_config() local
1847 polarity = dsi->lanes[t].polarity; in dsi_set_lane_config()
1850 r = FLD_MOD(r, polarity, offset + 3, offset + 3); in dsi_set_lane_config()
1972 unsigned p = dsi->lanes[i].polarity; in dsi_cio_enable_lane_override()
3814 lanes[lane].polarity = pol; in dsi_configure_pins()
/linux-4.1.27/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.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c57 int polarity, int attempts, int delay, u32 *valp) in t4_wait_op_done_val() argument
62 if (!!(val & mask) == polarity) { in t4_wait_op_done_val()
75 int polarity, int attempts, int delay) in t4_wait_op_done() argument
77 return t4_wait_op_done_val(adapter, reg, mask, polarity, attempts, in t4_wait_op_done()
/linux-4.1.27/drivers/char/
Dhpet.c1010 irqp->triggering, irqp->polarity); in hpet_resources()
/linux-4.1.27/sound/pci/asihpi/
Dhpi.h1568 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity);
Dhpifunc.c1612 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity) in hpi_bitstream_set_data_polarity() argument
1615 polarity, 0); in hpi_bitstream_set_data_polarity()
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/
Ddrx_driver.h1534 enum drxi2s_polarity polarity;/**< I2S wordstrobe polarity */ member
/linux-4.1.27/drivers/platform/x86/
Dsony-laptop.c4366 interrupt->irq.polarity = p->polarity; in sony_pic_read_possible_resource()
4753 irq->irq.polarity, in sony_pic_add()
/linux-4.1.27/Documentation/fmc/
Dcarrier.txt308 used to configure the interrupt pin, mode and polarity. Especially
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_hw.c134 int polarity, int attempts, int delay, uint32_t *valp) in csio_hw_wait_op_done_val() argument
140 if (!!(val & mask) == polarity) { in csio_hw_wait_op_done_val()
/linux-4.1.27/drivers/misc/sgi-xp/
Dxpc_uv.c43 polarity : 1, member
/linux-4.1.27/sound/soc/codecs/
Dwm8996.h25 typedef void (*wm8996_polarity_fn)(struct snd_soc_codec *codec, int polarity);
/linux-4.1.27/drivers/media/pci/ngene/
Dngene-core.c1574 .polarity = 0,
/linux-4.1.27/drivers/media/pci/ddbridge/
Dddbridge-core.c1042 .polarity = 1,
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2800lib.c1178 unsigned int polarity = in rt2800_brightness_set() local
1191 rt2x00_set_field32(&reg, LED_CFG_LED_POLAR, polarity); in rt2800_brightness_set()
1225 polarity); in rt2800_brightness_set()
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt645 x86 allows the operating system to program the interrupt polarity
647 to consider the polarity. However, due to bitrot in the handling of