/linux-4.4.14/drivers/pwm/ |
D | pwm-atmel-tcb.c | 34 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 …]
|
D | sysfs.c | 135 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);
|
D | pwm-renesas-tpu.c | 83 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()
|
D | core.c | 241 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()
|
D | pwm-tiehrpwm.c | 131 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()
|
D | pwm-ep93xx.c | 123 enum pwm_polarity polarity) in ep93xx_pwm_polarity() argument 136 if (polarity == PWM_POLARITY_INVERSED) in ep93xx_pwm_polarity()
|
D | pwm-sun4i.c | 190 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()
|
D | pwm-bcm2835.c | 105 enum pwm_polarity polarity) in bcm2835_set_polarity() argument 112 if (polarity == PWM_POLARITY_NORMAL) in bcm2835_set_polarity()
|
D | pwm-berlin.c | 99 enum pwm_polarity polarity) in berlin_pwm_set_polarity() argument 106 if (polarity == PWM_POLARITY_NORMAL) in berlin_pwm_set_polarity()
|
D | pwm-atmel-hlcdc.c | 141 enum pwm_polarity polarity) in atmel_hlcdc_pwm_set_polarity() argument 147 if (polarity == PWM_POLARITY_NORMAL) in atmel_hlcdc_pwm_set_polarity()
|
D | pwm-vt8500.c | 169 enum pwm_polarity polarity) in vt8500_pwm_set_polarity() argument 176 if (polarity == PWM_POLARITY_INVERSED) in vt8500_pwm_set_polarity()
|
D | pwm-bcm-kona.c | 177 enum pwm_polarity polarity) in kona_pwmc_set_polarity() argument 194 if (polarity == PWM_POLARITY_NORMAL) in kona_pwmc_set_polarity()
|
D | pwm-tiecap.c | 126 enum pwm_polarity polarity) in ecap_pwm_set_polarity() argument 133 if (polarity == PWM_POLARITY_INVERSED) in ecap_pwm_set_polarity()
|
D | pwm-atmel.c | 211 enum pwm_polarity polarity) in atmel_pwm_set_polarity() argument 219 if (polarity == PWM_POLARITY_NORMAL) in atmel_pwm_set_polarity()
|
D | pwm-lpc18xx-sct.c | 231 enum pwm_polarity polarity) in lpc18xx_pwm_set_polarity() argument 252 if (pwm->polarity == PWM_POLARITY_NORMAL) { in lpc18xx_pwm_enable()
|
D | pwm-fsl-ftm.c | 282 enum pwm_polarity polarity) in fsl_pwm_set_polarity() argument 289 if (polarity == PWM_POLARITY_INVERSED) in fsl_pwm_set_polarity()
|
D | pwm-samsung.c | 401 enum pwm_polarity polarity) in pwm_samsung_set_polarity() argument 404 bool invert = (polarity == PWM_POLARITY_NORMAL); in pwm_samsung_set_polarity()
|
D | pwm-rockchip.c | 139 enum pwm_polarity polarity) in rockchip_pwm_set_polarity() argument
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | rfkill.c | 42 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_disable() 44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); in ath5k_rfkill_disable() 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()
|
D | led.c | 51 #define ATH_LED(pin, polarity) .driver_data = (((pin) << 8) | (polarity)) argument
|
D | ath5k.h | 1191 bool polarity; member
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | iosapic.h | 89 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/ |
D | gpio_mouse.c | 30 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/ |
D | iosapic.c | 145 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 …]
|
D | acpi.c | 610 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/ |
D | boot.c | 324 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/ |
D | gsi.c | 20 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()
|
D | pci_link.c | 72 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 …]
|
D | resource.c | 333 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()
|
D | pci_irq.c | 399 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()
|
D | tables.c | 128 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/ |
D | cp_intc.c | 58 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/ |
D | pwm.h | 107 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 \
|
D | gpio_mouse.h | 44 int polarity; member
|
D | acpi.h | 219 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);
|
D | fs_enet_pd.h | 103 u8 polarity; member
|
D | irq.h | 747 unsigned long polarity; member
|
/linux-4.4.14/arch/x86/kernel/ |
D | devicetree.c | 172 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/ |
D | rsparser.c | 32 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/ |
D | au1550_spi.h | 11 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/ |
D | xen.c | 109 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()
|
D | intel_mid_pci.c | 215 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/ |
D | uic.c | 127 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/ |
D | gpio-tz1090.c | 274 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()
|
D | gpio-dwapb.c | 220 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()
|
D | gpio-pl061.c | 149 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()
|
D | gpio-mvebu.c | 479 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()
|
D | gpiolib-acpi.c | 231 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/ |
D | ths8200.c | 216 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()
|
D | adv7604.c | 1371 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/ |
D | tvp7002.txt | 16 - pclk-sample: Clock polarity of the bus. Default value when this property is 24 - field-even-active: Active-high Field ID output polarity control of the bus. 28 1 = FID output polarity inverted
|
D | adv7604.txt | 43 - 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.
|
D | tvp514x.txt | 21 - pclk-sample: Clock polarity of the endpoint.
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | rsirq.c | 89 {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),
|
D | rsdumpinfo.c | 69 {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",
|
D | rsserial.c | 94 {ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.gpio.polarity),
|
/linux-4.4.14/Documentation/ |
D | pwm.txt | 77 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/ |
D | sfi.c | 435 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/ |
D | v4l2-of.c | 48 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/ |
D | io_apic.h | 74 polarity : 1, member 89 polarity : 1, member 177 int node, int trigger, int polarity);
|
D | acpi.h | 56 int trigger, int polarity);
|
D | apicdef.h | 366 polarity : 1, member 379 polarity : 1, member
|
/linux-4.4.14/Documentation/devicetree/bindings/gpio/ |
D | gpio.txt | 86 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 …]
|
D | moxa,moxart-gpio.txt | 6 the second cell is used to specify polarity:
|
D | pl061-gpio.txt | 7 - bit 0 specifies polarity (0 for normal, 1 for inverted)
|
D | cirrus,clps711x-mctrl-gpio.txt | 7 the second cell is used to specify the gpio polarity:
|
D | gpio-74x164.txt | 8 the second cell is used to specify the gpio polarity:
|
D | fujitsu,mb86s70-gpio.txt | 11 - bit 0 specifies polarity (0 for normal, 1 for inverted).
|
D | zx296702-gpio.txt | 7 - bit 0 specifies polarity (0 for normal, 1 for inverted)
|
D | gpio-xgene.txt | 11 - second cell is used to specify the gpio polarity:
|
D | gpio-palmas.txt | 11 - second cell is used to specify the gpio polarity:
|
D | gpio-clps711x.txt | 10 the second cell is used to specify the gpio polarity:
|
D | gpio_lpc32xx.txt | 17 - bit 0 specifies polarity (0 for normal, 1 for inverted)
|
D | gpio-mpc8xxx.txt | 10 the second cell is used to specify the gpio polarity:
|
D | nxp,lpc1850-gpio.txt | 11 - Second cell is used to specify polarity
|
D | gpio-74xx-mmio.txt | 20 the second cell is used to specify the GPIO polarity:
|
D | gpio-sx150x.txt | 18 bit 0: polarity (0: normal, 1: inverted)
|
D | gpio-xgene-sb.txt | 14 - second cell is used to specify the gpio polarity:
|
D | gpio-adnp.txt | 10 - bit 0: polarity (0: normal, 1: inverted)
|
D | nvidia,tegra20-gpio.txt | 11 - bit 0 specifies polarity (0 for normal, 1 for inverted)
|
D | abilis,tb10x-gpio.txt | 9 - bit 0 specifies polarity (0 for normal, 1 for inverted).
|
D | fsl-imx-gpio.txt | 11 the second cell is used to specify the gpio polarity:
|
D | gpio-vf610.txt | 14 the second cell is used to specify the gpio polarity:
|
D | snps-dwapb-gpio.txt | 16 the second cell is used to specify the gpio polarity:
|
D | brcm,kona-gpio.txt | 23 - bit 0 specifies polarity (0 for normal, 1 for inverted)
|
D | gpio-mxs.txt | 16 the second cell is used to specify the gpio polarity:
|
D | 8xxx_gpio.txt | 41 trigger polarity). Note that the available
|
D | brcm,brcmstb-gpio.txt | 19 bit[0]: polarity (0 for active-high, 1 for active-low)
|
D | gpio-mcp23s08.txt | 61 configures the IRQ output polarity as active high.
|
/linux-4.4.14/drivers/hwmon/ |
D | ds1621.c | 53 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/ |
D | socrates_fpga_pic.c | 196 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/ |
D | rockchip-thermal.txt | 25 - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW 44 rockchip,hw-tshut-polarity = <0>;
|
/linux-4.4.14/include/trace/events/ |
D | rcu.h | 365 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/ |
D | ti,omap2-dss.txt | 53 - ti,invert-polarity: invert the polarity of the video signal
|
D | ti,omap3-dss.txt | 64 - ti,invert-polarity: invert the polarity of the video signal
|
D | ti,omap4-dss.txt | 70 - ti,invert-polarity: invert the polarity of the video signal
|
/linux-4.4.14/arch/x86/kernel/apic/ |
D | io_apic.c | 93 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/ |
D | mmc.txt | 20 - 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/ |
D | nau8825.txt | 15 - 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/ |
D | ds1621 | 39 * 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
|
D | it87 | 98 Force PWM polarity to active high (DANGEROUS). Some chips are
|
/linux-4.4.14/Documentation/devicetree/bindings/iio/frequency/ |
D | adf4350.txt | 22 - 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/ |
D | uv_irq.h | 20 polarity : 1, member
|
/linux-4.4.14/drivers/staging/media/cxd2099/ |
D | cxd2099.h | 33 u8 polarity:1; member
|
D | cxd2099.c | 365 if (ci->cfg.polarity) { in init() 384 if (ci->cfg.polarity) { in init()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-pwm | 64 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/ |
D | brcm,cygnus-gpio.txt | 16 bit[0]: polarity (0 for active high and 1 for active low) 99 /* Bluetooth that uses the ASIU GPIO 5, with polarity inverted */
|
D | brcm,bcm2835-gpio.txt | 12 - bit 0 specifies polarity (0 for normal, 1 for inverted)
|
D | img,pistachio-pinctrl.txt | 24 second cell indicates the polarity. See <dt-bindings/gpio/gpio.h> for
|
/linux-4.4.14/Documentation/devicetree/bindings/serial/ |
D | nxp,sc16is7xx.txt | 21 the second cell is used to specify the GPIO polarity: 57 the second cell is used to specify the GPIO polarity:
|
D | maxim,max310x.txt | 22 the second cell is used to specify the GPIO polarity:
|
/linux-4.4.14/Documentation/devicetree/bindings/pwm/ |
D | pwm.txt | 48 - PWM_POLARITY_INVERTED: invert the PWM signal polarity 50 Example with optional PWM specifier for inverse polarity
|
/linux-4.4.14/include/acpi/ |
D | acrestyp.h | 175 u8 polarity; member 359 u8 polarity; member 384 u8 polarity; /* For values, see Interrupt Attributes above */ member
|
D | acpi_drivers.h | 83 int *polarity, char **name);
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | hw.c | 894 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 …]
|
D | hw.h | 650 void via_set_sync_polarity(u32 devices, u8 polarity);
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-rockchip.c | 1499 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/ |
D | phy-miphy365x.txt | 36 - 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)
|
D | phy-miphy28lp.txt | 41 - st,px_rx_pol_inv : to invert polarity of RXn/RXp (respectively negative line and positive
|
/linux-4.4.14/drivers/staging/panel/ |
D | Kconfig | 166 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/ |
D | sbs_sbs-battery.txt | 13 a flag specifying its polarity.
|
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/ |
D | exynos_dp.txt | 60 VSYNC polarity configuration. 63 HSYNC polarity configuration.
|
/linux-4.4.14/sound/soc/samsung/ |
D | speyside.c | 120 int polarity) in speyside_set_polarity() argument 122 speyside_jack_polarity = !polarity; in speyside_set_polarity()
|
/linux-4.4.14/Documentation/devicetree/bindings/usb/ |
D | fsl-usb.txt | 41 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/ |
D | cvmx-led-defs.h | 145 uint64_t polarity:1; member 147 uint64_t polarity:1;
|
/linux-4.4.14/drivers/nfc/pn544/ |
D | i2c.c | 205 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/ |
D | gpio.c | 433 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/ |
D | sysfs-bus-iio-ad7192 | 7 the polarity of the excitation voltage is reversed on
|
/linux-4.4.14/Documentation/devicetree/bindings/eeprom/ |
D | at25.txt | 13 - spi-cpol : SPI inverse clock polarity, as per spi-bus bindings.
|
/linux-4.4.14/Documentation/devicetree/bindings/hwmon/ |
D | g762.txt | 15 - "pwm_polarity": pwm polarity. Accepted values are 0 (positive duty)
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | usb-host.c | 364 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/ |
D | currituck.dts | 147 /* 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
|
D | xcalibur1501.dts | 257 polarity = <0x00>; 266 polarity = <0x00>; 275 polarity = <0x00>; 284 polarity = <0x00>; 293 polarity = <0x00>;
|
D | akebono.dts | 275 /* 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
|
D | xpedite5301.dts | 249 polarity = <0x00>; 257 polarity = <0x00>; 265 polarity = <0x00>; 273 polarity = <0x00>;
|
D | xpedite5370.dts | 247 polarity = <0x00>; 255 polarity = <0x00>; 263 polarity = <0x00>; 271 polarity = <0x00>;
|
D | xpedite5330.dts | 285 polarity = <0x00>; 293 polarity = <0x00>; 301 polarity = <0x00>; 309 polarity = <0x00>;
|
D | redwood.dts | 263 /* 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
|
D | katmai.dts | 347 /* 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
|
D | xpedite5200.dts | 115 polarity = <0x00>; 124 polarity = <0x00>;
|
D | xpedite5200_xmon.dts | 119 polarity = <0x00>; 128 polarity = <0x00>;
|
D | makalu.dts | 296 /* Legacy interrupts (note the weird polarity, the bridge seems 337 /* Legacy interrupts (note the weird polarity, the bridge seems
|
D | mvme5100.dts | 107 * Do not change the interrupt sense/polarity from
|
D | icon.dts | 343 /* Legacy interrupts (note the weird polarity, the bridge seems 384 /* Legacy interrupts (note the weird polarity, the bridge seems
|
D | kilauea.dts | 350 /* Legacy interrupts (note the weird polarity, the bridge seems 391 /* Legacy interrupts (note the weird polarity, the bridge seems
|
D | canyonlands.dts | 481 /* Legacy interrupts (note the weird polarity, the bridge seems 523 /* Legacy interrupts (note the weird polarity, the bridge seems
|
D | glacier.dts | 518 /* Legacy interrupts (note the weird polarity, the bridge seems 560 /* Legacy interrupts (note the weird polarity, the bridge seems
|
D | haleakala.dts | 265 /* Legacy interrupts (note the weird polarity, the bridge seems
|
D | bluestone.dts | 369 /* Legacy interrupts (note the weird polarity, the bridge seems
|
/linux-4.4.14/drivers/iio/accel/ |
D | mma9551_core.h | 70 u8 app_id, u8 bitnum, int polarity);
|
D | mma9551_core.c | 540 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/ |
D | ioapic.h | 55 u8 polarity:1; member
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | smsc911x.txt | 16 - smsc,irq-active-high : Indicates the IRQ polarity is active-high
|
/linux-4.4.14/include/xen/interface/ |
D | physdev.h | 216 uint8_t polarity; member
|
/linux-4.4.14/Documentation/spi/ |
D | spidev | 30 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;
|
D | spi-summary | 99 - 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/ |
D | arm_arch_timer.c | 814 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/ |
D | cc770.txt | 37 - bosch,polarity-dominant : see data sheet.
|
/linux-4.4.14/sound/aoa/codecs/ |
D | onyx.c | 372 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/ |
D | ti,omap3isp.txt | 48 lane-polarities : lane polarity (required on CSI-2)
|
D | video-interfaces.txt | 87 - data-active: similar to HSYNC and VSYNC, specifies data line polarity.
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | common.h | 647 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/ |
D | atmel,lcdc.txt | 62 - atmel,lcdcon-backlight-inverted: invert backlight PWM polarity
|
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/ |
D | brcm,bcm7038-l1-intc.txt | 18 - No polarity/level/edge settings
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | rk3288-evb.dtsi | 232 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
D | rk3288-rock2-som.dtsi | 255 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
D | rk3288-veyron.dtsi | 378 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
|
D | rk3288-r89.dts | 355 rockchip,hw-tshut-polarity = <0>;
|
D | omap3-gta04.dtsi | 486 ti,invert-polarity;
|
D | rk3288-firefly.dtsi | 522 rockchip,hw-tshut-polarity = <0>;
|
D | rk3288-popmetal.dts | 489 rockchip,hw-tshut-polarity = <0>;
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | uv_irq.c | 40 entry->polarity = 0; in uv_program_mmr()
|
/linux-4.4.14/sound/oss/ |
D | ad1848_mixer.h | 61 unsigned int polarity:1; /* volume polarity: 0=normal, 1=reversed */ member
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | pixcir_i2c_ts.c | 240 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/ |
D | e1000_hw.c | 37 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/ |
D | op_model_cell.c | 290 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/ |
D | hci_bcm.c | 659 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/ |
D | main.c | 1161 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/ |
D | kvm.h | 93 __u8 polarity:1; member
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fbtft-core.c | 248 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/ |
D | ptp.txt | 75 - 2 Time stamp external triggers, programmable polarity (opt. interrupt)
|
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/ |
D | arm,pl172.txt | 54 - mpmc,cs-active-high: Set chip select polarity to active high.
|
/linux-4.4.14/Documentation/devicetree/bindings/spi/ |
D | spi-bus.txt | 51 inverse clock polarity (CPOL) mode
|
/linux-4.4.14/Documentation/fb/ |
D | pxafb.txt | 57 pixel clock polarity
|
D | matroxfb.txt | 258 sync:X - sync. pulse - bit 0 inverts HSYNC polarity, bit 1 VSYNC polarity.
|
/linux-4.4.14/sound/pci/ |
D | maestro3.c | 2244 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/ |
D | marvell.c | 165 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/ |
D | subr.c | 61 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/ |
D | lg2160.c | 337 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/ |
D | dsi.c | 241 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/ |
D | soc-camera.txt | 101 e.g. signal polarity inversion. soc_mbus_get_fmtdesc() can be used to obtain a
|
D | omap3isp.txt | 80 of the VS signal polarity. This is automatically correct when using the serial
|
/linux-4.4.14/Documentation/DocBook/ |
D | device-drivers.xml.db | 1148 API-enum-pwm-polarity 1154 API-pwmchip-add-with-polarity 1161 API-pwm-set-polarity
|
/linux-4.4.14/drivers/char/ |
D | hpet.c | 1009 irqp->triggering, irqp->polarity); in hpet_resources()
|
/linux-4.4.14/sound/pci/asihpi/ |
D | hpi.h | 1568 u16 hpi_bitstream_set_data_polarity(u32 h_control, u16 polarity);
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 1534 enum drxi2s_polarity polarity;/**< I2S wordstrobe polarity */ member
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 58 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/ |
D | sony-laptop.c | 4364 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/ |
D | carrier.txt | 308 used to configure the interrupt pin, mode and polarity. Especially
|
/linux-4.4.14/drivers/iommu/ |
D | intel_irq_remapping.c | 1252 entry->polarity = info->ioapic_polarity; in intel_irq_remapping_prepare_irte()
|