/linux/Documentation/fb/ |
H A D | viafb.modes | 25 # Polarity negative negative 50 # Polarity negative negative 71 # Polarity negative negative 92 # Polarity positive positive 113 # Polarity positive positive 134 # Polarity positive positive 155 # Polarity positive positive 176 # Polarity positive positive 197 # Polarity positive positive 219 # Polarity positive positive [all …]
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | omap3isp.h | 31 * @clk_pol: Pixel clock polarity 33 * @hs_pol: Horizontal synchronization polarity 35 * @vs_pol: Vertical synchronization polarity 37 * @fld_pol: Field signal polarity 39 * @data_pol: Data polarity 64 * struct isp_csiphy_lane: CCP2/CSI2 lane position and polarity 66 * @pol: polarity of the lane 88 * @strobe_clk_pol: Strobe/clock polarity 98 * @vp_clk_pol: Video port output clock polarity
|
/linux/include/media/i2c/ |
H A D | tvp7002.h | 20 *@clk_polarity: Clock polarity 23 *@hs_polarity: HSYNC polarity 25 *@vs_polarity: VSYNC Polarity 27 *@fid_polarity: Active-high Field ID polarity. 30 * 1 - Operation with polarity inverted. 31 *@sog_polarity: Active high Sync on Green output polarity. 32 * 0 - Normal operation, 1 - Operation with polarity inverted
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-io.json | 97 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0… 107 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0… 117 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 1… 127 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 1… 147 …being sent from the ring stop.; Filters for the Clockwise and Even ring polarity on Virtual Ring 0… 157 … being sent from the ring stop.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 0… 167 …being sent from the ring stop.; Filters for the Clockwise and Even ring polarity on Virtual Ring 1… 177 … being sent from the ring stop.; Filters for the Clockwise and Odd ring polarity on Virtual Ring 1… 197 …ent from the ring stop.; Filters for the Counterclockwise and Even ring polarity on Virtual Ring 0… 207 …sent from the ring stop.; Filters for the Counterclockwise and Odd ring polarity on Virtual Ring 0… [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | rfkill.c | 41 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill disable (gpio:%d polarity:%d)\n", in ath5k_rfkill_disable() 42 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_disable() 44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); in ath5k_rfkill_disable() 50 ATH5K_DBG(ah, ATH5K_DEBUG_ANY, "rfkill enable (gpio:%d polarity:%d)\n", in ath5k_rfkill_enable() 51 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable() 53 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable() 72 ah->rf_kill.polarity; in ath5k_is_rfkill_set() 91 ah->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol; in ath5k_rfkill_hw_start()
|
/linux/drivers/pwm/ |
H A D | pwm-atmel-tcb.c | 123 enum pwm_polarity polarity) in atmel_tcb_pwm_disable() argument 135 * This is why we're reverting polarity in this case. in atmel_tcb_pwm_disable() 138 polarity = !polarity; in atmel_tcb_pwm_disable() 145 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable() 151 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable() 177 enum pwm_polarity polarity) in atmel_tcb_pwm_enable() argument 189 * This is why we're reverting polarity in this case. in atmel_tcb_pwm_enable() 192 polarity = !polarity; in atmel_tcb_pwm_enable() 202 /* Set CMR flags according to given polarity */ in atmel_tcb_pwm_enable() 203 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable() [all …]
|
H A D | pwm-omap-dmtimer.c | 29 * - PWM OMAP DM timer cannot change the polarity when pwm is active. When 30 * user requests a change in polarity when in active state: 32 * - Polarity is changed 122 * pwm_omap_dmtimer_polarity() - Detect the polarity of pwm. 125 * Return the polarity of pwm. 236 * pwm_omap_dmtimer_set_polarity() - Changes the polarity of the pwm dm timer. 239 * @polarity: New pwm polarity to be set 243 enum pwm_polarity polarity) in pwm_omap_dmtimer_set_polarity() argument 248 /* Disable the PWM before changing the polarity. */ in pwm_omap_dmtimer_set_polarity() 254 polarity == PWM_POLARITY_INVERSED, in pwm_omap_dmtimer_set_polarity() [all …]
|
H A D | pwm-stm32-lp.c | 64 bool enable, enum pwm_polarity polarity) in stm32_pwm_lp_compare_channel_apply() argument 79 /* Must disable CC channel (CCxE) to modify polarity (CCxP), then re-enable */ in stm32_pwm_lp_compare_channel_apply() 81 (polarity != FIELD_GET(STM32_LPTIM_CC2P, ccmr1)); in stm32_pwm_lp_compare_channel_apply() 84 val = FIELD_PREP(STM32_LPTIM_CC2P, polarity); in stm32_pwm_lp_compare_channel_apply() 88 (polarity != FIELD_GET(STM32_LPTIM_CC1P, ccmr1)); in stm32_pwm_lp_compare_channel_apply() 91 val = FIELD_PREP(STM32_LPTIM_CC1P, polarity); in stm32_pwm_lp_compare_channel_apply() 139 state->polarity); in stm32_pwm_lp_apply() 214 ((FIELD_GET(STM32_LPTIM_WAVPOL, cfgr) != state->polarity) && !priv->num_cc_chans)) { in stm32_pwm_lp_apply() 224 val |= FIELD_PREP(STM32_LPTIM_WAVPOL, state->polarity); in stm32_pwm_lp_apply() 272 ret = stm32_pwm_lp_compare_channel_apply(priv, pwm->hwpwm, true, state->polarity); in stm32_pwm_lp_apply() [all …]
|
H A D | pwm-renesas-tpu.c | 74 enum pwm_polarity polarity; member 113 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin() 118 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin() 123 tpd->polarity == PWM_POLARITY_INVERSED ? in tpu_pwm_set_pin() 173 * - Output 0 until TGRA, output 1 until TGRB (active low polarity) in tpu_pwm_timer_start() 174 * - Output 1 until TGRA, output 0 until TGRB (active high polarity in tpu_pwm_timer_start() 224 tpd->polarity = PWM_POLARITY_NORMAL; in tpu_pwm_request() 352 enum pwm_polarity polarity) in tpu_pwm_set_polarity() argument 357 tpd->polarity = polarity; in tpu_pwm_set_polarity() 402 if (state->polarity != pwm->state.polarity) { in tpu_pwm_apply() [all …]
|
H A D | pwm-mc33xs2410.c | 15 * - Configuration isn't atomic. When changing polarity, duty cycle or period 215 * polarity. For normal polarity, the channel must be disabled, the device then 217 * For inverted polarity, the channel must be enabled, the polarity must be set 255 else if (state->polarity == PWM_POLARITY_NORMAL) in mc33xs2410_pwm_apply() 260 /* Polarity */ in mc33xs2410_pwm_apply() 262 if (state->polarity == PWM_POLARITY_INVERSED && rel_dc >= 0) in mc33xs2410_pwm_apply() 270 !(state->polarity == PWM_POLARITY_NORMAL && rel_dc < 0)) in mc33xs2410_pwm_apply() 298 state->polarity = (val[2] & MC33XS2410_PWM_CTRL1_POL_INV(pwm->hwpwm + 1)) ? in mc33xs2410_pwm_get_state()
|
H A D | pwm-bcm-kona.c | 23 * 2) Changes to prescale, duty, period, and polarity do not take effect until 157 enum pwm_polarity polarity) in kona_pwmc_set_polarity() argument 174 if (polarity == PWM_POLARITY_NORMAL) in kona_pwmc_set_polarity() 231 if (state->polarity != pwm->state.polarity) { in kona_pwmc_apply() 237 err = kona_pwmc_set_polarity(chip, pwm, state->polarity); in kona_pwmc_apply() 241 pwm->state.polarity = state->polarity; in kona_pwmc_apply()
|
/linux/drivers/media/dvb-frontends/ |
H A D | m88ds3103.h | 52 * @ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising 56 * @agc_inv: AGC polarity. 59 * @lnb_hv_pol: LNB H/V pin polarity. 0: pin high set to VOLTAGE_18, pin low to 61 * @lnb_en_pol: LNB enable pin polarity. 0: pin high to disable, pin low to 97 * @ts_clk_pol: TS clk polarity.Default: 0. 100 * @agc_inv: AGC polarity. Default: 0. 105 * @lnb_hv_pol: LNB H/V pin polarity. Default: 0. Values: 108 * @lnb_en_pol: LNB enable pin polarity. Default: 0. Values:
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rtmv20-regulator.yaml | 100 richtek,strobe-polarity-high: 101 description: Strobe pin active polarity control. 104 richtek,vsync-polarity-high: 105 description: Vsync pin active polarity control. 150 richtek,strobe-polarity-high; 151 richtek,vsync-polarity-high;
|
/linux/drivers/irqchip/ |
H A D | irq-ftintc010.c | 84 u32 mode, polarity; in ft010_irq_set_type() local 87 polarity = readl(FT010_IRQ_POLARITY(f->base)); in ft010_irq_set_type() 92 polarity |= BIT(offset); in ft010_irq_set_type() 96 polarity &= ~BIT(offset); in ft010_irq_set_type() 100 polarity |= BIT(offset); in ft010_irq_set_type() 104 polarity &= ~BIT(offset); in ft010_irq_set_type() 112 writel(polarity, FT010_IRQ_POLARITY(f->base)); in ft010_irq_set_type()
|
H A D | irq-davinci-cp-intc.c | 75 unsigned int reg, mask, polarity, type; in davinci_cp_intc_set_irq_type() local 79 polarity = davinci_cp_intc_read(DAVINCI_CP_INTC_SYS_POLARITY(reg)); in davinci_cp_intc_set_irq_type() 84 polarity |= mask; in davinci_cp_intc_set_irq_type() 88 polarity &= ~mask; in davinci_cp_intc_set_irq_type() 92 polarity |= mask; in davinci_cp_intc_set_irq_type() 96 polarity &= ~mask; in davinci_cp_intc_set_irq_type() 103 davinci_cp_intc_write(polarity, DAVINCI_CP_INTC_SYS_POLARITY(reg)); in davinci_cp_intc_set_irq_type()
|
/linux/drivers/pnp/pnpacpi/ |
H A D | rsparser.c | 19 u8 *polarity, u8 *shareable) in decode_irq_flags() argument 25 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags() 29 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags() 33 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags() 37 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags() 43 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags() 208 gpio->polarity, in pnpacpi_allocated_resource() 319 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable, p->wake_capable); in pnpacpi_parse_irq_option() 343 flags = acpi_dev_irq_flags(p->triggering, p->polarity, p->shareable, p->wake_capable); in pnpacpi_parse_ext_irq_option() 664 u8 triggering, polarity, shareable; in pnpacpi_encode_irq() local [all …]
|
/linux/arch/x86/kernel/acpi/ |
H A D | boot.c | 365 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, 368 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument 387 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq() 400 int polarity) in mp_config_acpi_gsi() argument 423 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi() 434 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument 451 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq() 491 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument 496 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup() 497 polarity = 3; in acpi_sci_ioapic_setup() [all …]
|
/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 225 adi,ext1-burnout-current-polarity-sourcing: 228 When not present, the burnout current polarity for EXT1 is sinking. 229 When present, the burnout current polarity for EXT1 is sourcing. 240 adi,ext2-burnout-current-polarity-sourcing: 243 When not present, the burnout current polarity for EXT2 is sinking. 244 When present, the burnout current polarity for EXT2 is sourcing. 255 adi,viout-burnout-current-polarity-sourcing: 258 When not present, the burnout current polarity for VIOUT is sinking. 259 When present, the burnout current polarity for VIOUT is sourcing.
|
/linux/drivers/acpi/ |
H A D | resource.c | 338 * @polarity: Interrupt polarity as provided by ACPI. 342 unsigned long acpi_dev_irq_flags(u8 triggering, u8 polarity, u8 shareable, u8 wake_capable) in acpi_dev_irq_flags() argument 347 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags() 350 flags = polarity == ACPI_ACTIVE_LOW ? in acpi_dev_irq_flags() 366 * @polarity: Interrupt polarity as provided by ACPI. 368 unsigned int acpi_dev_get_irq_type(int triggering, int polarity) in acpi_dev_get_irq_type() argument 370 switch (polarity) { in acpi_dev_get_irq_type() 702 unsigned char polarity; member 712 static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity, in acpi_dev_irq_override() argument 722 entry->polarity == polarity && in acpi_dev_irq_override() [all …]
|
/linux/drivers/extcon/ |
H A D | extcon-usbc-cros-ec.c | 139 * @polarity: pointer to cable polarity (return value) 145 bool *polarity) in cros_ec_usb_get_role() argument 164 *polarity = resp.polarity; in cros_ec_usb_get_role() 254 bool polarity = false; in extcon_cros_ec_detect_cable() local 266 role = cros_ec_usb_get_role(info, &polarity); in extcon_cros_ec_detect_cable() 288 role, power_type, dr, pr, polarity, mux, dp, hpd); in extcon_cros_ec_detect_cable() 328 (union extcon_property_value)(int)polarity); in extcon_cros_ec_detect_cable() 331 (union extcon_property_value)(int)polarity); in extcon_cros_ec_detect_cable() 334 (union extcon_property_value)(int)polarity); in extcon_cros_ec_detect_cable()
|
/linux/drivers/staging/greybus/ |
H A D | pwm.c | 114 u8 which, u8 polarity) in gb_pwm_set_polarity_operation() argument 122 request.polarity = polarity; in gb_pwm_set_polarity_operation() 198 /* Set polarity */ in gb_pwm_apply() 199 if (state->polarity != pwm->state.polarity) { in gb_pwm_apply() 204 err = gb_pwm_set_polarity_operation(chip, pwm->hwpwm, state->polarity); in gb_pwm_apply()
|
/linux/Documentation/driver-api/ |
H A D | pwm.rst | 84 period). struct pwm_args contains 2 fields (period and polarity) and should 125 polarity 126 Changes the polarity of the PWM signal (read/write). 128 the polarity. 153 When implementing polarity support in a PWM driver, make sure to respect the 154 signal conventions in the PWM framework. By definition, normal polarity 157 polarity starts low for the duration of the duty cycle and goes high for the
|
/linux/include/trace/events/ |
H A D | pwm.h | 142 __field(enum pwm_polarity, polarity) 150 __entry->polarity = state->polarity; 155 TP_printk_pwm("period=%llu duty_cycle=%llu polarity=%d enabled=%d err=%d", 157 __entry->polarity, __entry->enabled, __entry->err)
|
/linux/drivers/staging/fbtft/ |
H A D | fb_upd161704.c | 47 write_reg(par, 0x0061, 0x001C); /* adjustment V10 positive polarity */ in init_display() 49 write_reg(par, 0x0062, 0x002C); /* adjustment V9 negative polarity */ in init_display() 50 write_reg(par, 0x0063, 0x0022); /* adjustment V34 positive polarity */ in init_display() 52 write_reg(par, 0x0064, 0x0027); /* adjustment V31 negative polarity */ in init_display() 54 write_reg(par, 0x0065, 0x0014); /* adjustment V61 negative polarity */ in init_display() 56 write_reg(par, 0x0066, 0x0010); /* adjustment V61 negative polarity */ in init_display()
|
/linux/drivers/media/platform/ti/am437x/ |
H A D | am437x-vpfe.h | 144 /* field id polarity */ 146 /* vertical sync polarity */ 148 /* horizontal sync polarity */ 173 /* field id polarity */ 175 /* vertical sync polarity */ 177 /* horizontal sync polarity */
|