Searched refs:polarity (Results 126 - 150 of 201) sorted by relevance

123456789

/linux-master/drivers/iio/accel/
H A Dmma9551_core.c524 * @polarity: The polarity parameter is described in section 6.2.2, page 66,
525 * of the Software Reference Manual. Basically, polarity=0 means
527 * while polarity=1 means the line is inverted.
538 u8 app_id, u8 bitnum, int polarity)
586 pol_val = polarity ? pol_mask : 0;
591 dev_err(&client->dev, "error setting GPIO polarity\n");
537 mma9551_gpio_config(struct i2c_client *client, enum mma9551_gpio_pin pin, u8 app_id, u8 bitnum, int polarity) argument
/linux-master/drivers/input/touchscreen/
H A Dpixcir_i2c_ts.c274 * @polarity : 1 for active high, 0 for active low.
277 enum pixcir_int_mode mode, bool polarity)
292 if (polarity)
347 /* LEVEL_TOUCH interrupt with active low polarity */
276 pixcir_set_int_mode(struct pixcir_i2c_ts_data *ts, enum pixcir_int_mode mode, bool polarity) argument
/linux-master/drivers/pwm/
H A Dpwm-rz-mtu3.c13 * only handles normal polarity.
307 state->polarity = PWM_POLARITY_NORMAL;
412 if (state->polarity != PWM_POLARITY_NORMAL)
H A Dpwm-rcar.c168 /* This HW/driver only supports normal polarity */
169 if (state->polarity != PWM_POLARITY_NORMAL)
H A Dpwm-brcmstb.c200 if (state->polarity != PWM_POLARITY_NORMAL)
H A Dpwm-spear.c169 if (state->polarity != PWM_POLARITY_NORMAL)
H A Dpwm-stmpe.c267 if (state->polarity != PWM_POLARITY_NORMAL)
H A Dpwm-lpss.c235 state->polarity = PWM_POLARITY_NORMAL;
H A Dpwm-jz4740.c191 * Set polarity.
199 * Here, we don't do that, and instead invert the polarity of the PWM
203 if ((state->polarity == PWM_POLARITY_NORMAL) ^ state->enabled)
H A Dpwm-lp3943.c188 if (state->polarity != PWM_POLARITY_NORMAL)
H A Dpwm-atmel-hlcdc.c128 if (state->polarity == PWM_POLARITY_NORMAL)
H A Dpwm-bcm2835.c102 /* set polarity */
105 if (state->polarity == PWM_POLARITY_NORMAL)
H A Dpwm-pca9685.c375 if (state->polarity != PWM_POLARITY_NORMAL)
455 /* The (per-channel) polarity is fixed */
456 state->polarity = PWM_POLARITY_NORMAL;
/linux-master/drivers/regulator/
H A Dpwm-regulator.c161 if (pstate.polarity == PWM_POLARITY_INVERSED)
174 * This is happening when the user needs an inversed polarity, but the
210 * This is happening when the user needs an inversed polarity, but the
342 if (pstate.polarity == PWM_POLARITY_INVERSED)
/linux-master/drivers/tty/serial/8250/
H A D8250_aspeed_vuart.c177 bool polarity)
181 if (polarity)
391 "could not get regmap for aspeed,sirq-polarity-sense\n");
494 np, "aspeed,sirq-polarity-sense", 2, 0,
498 "aspeed,sirq-polarity-sense property not found\n");
532 "invalid sirq polarity in aspeed,lpc-interrupts property\n");
176 aspeed_vuart_set_sirq_polarity(struct aspeed_vuart *vuart, bool polarity) argument
/linux-master/drivers/platform/x86/x86-android-tablets/
H A Dcore.c93 irq = acpi_register_gsi(NULL, data->index, data->trigger, data->polarity);
111 irq_type = acpi_dev_get_irq_type(data->trigger, data->polarity);
/linux-master/sound/aoa/codecs/
H A Donyx.c372 u8 polarity = (pv >> 16) & FLAG_POLARITY_INVERT; local
380 ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity;
392 u8 polarity = (pv >> 16) & FLAG_POLARITY_INVERT; local
406 if (!!ucontrol->value.integer.value[0] ^ polarity)
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c422 u32 level, polarity, mask; local
436 polarity = mask;
438 polarity = 0;
447 wr32m(wx, WX_GPIO_POLARITY, mask, polarity);
/linux-master/drivers/input/misc/
H A Dda7280.c223 u8 polarity; member in struct:da7280_gpi_ctl
777 char gpi_str3[] = "dlg,gpi0-polarity";
863 haptics->gpi_ctl[i].polarity = 0;
866 haptics->gpi_ctl[i].polarity =
1106 haptics->gpi_ctl[i].polarity);
/linux-master/drivers/gpio/
H A Dgpio-mvebu.c479 * the polarity to catch the next line transaction.
490 * polarity LEVEL mask
518 * Configure interrupt polarity.
542 * set initial polarity based on current input level
587 /* Swap polarity (race with GPIO line) */
588 u32 polarity; local
592 &polarity);
593 polarity ^= BIT(i);
596 polarity);
710 if (state->polarity !
[all...]
/linux-master/drivers/ptp/
H A Dptp_ocp.c118 u32 polarity; member in struct:ts_reg
200 u32 polarity; member in struct:signal_reg
306 bool polarity; member in struct:ptp_ocp_signal
2076 s.polarity = bp->signal[gen].polarity;
2123 iowrite32(bp->signal[gen].polarity, &reg->polarity);
2318 val = ioread32(&reg->polarity);
2319 s->polarity = val ? true : false;
3107 /* period [duty [phase [polarity]]] */
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dhw.h36 /* VIA output device sync polarity */
636 void via_set_sync_polarity(u32 devices, u8 polarity);
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.h253 u8 polarity; member in struct:dsi_lane_config
/linux-master/drivers/counter/
H A D104-quad-8.c629 enum counter_signal_polarity *polarity)
638 *polarity = (index_polarity == POSITIVE_INDEX_POLARITY) ? COUNTER_SIGNAL_POLARITY_POSITIVE :
646 enum counter_signal_polarity polarity)
648 const u32 pol = (polarity == COUNTER_SIGNAL_POLARITY_POSITIVE) ? POSITIVE_INDEX_POLARITY :
1269 /* Disable index function; negative index polarity */
627 quad8_polarity_read(struct counter_device *counter, struct counter_signal *signal, enum counter_signal_polarity *polarity) argument
644 quad8_polarity_write(struct counter_device *counter, struct counter_signal *signal, enum counter_signal_polarity polarity) argument
/linux-master/drivers/staging/fbtft/
H A Dfbtft.h231 bool polarity; member in struct:fbtft_par

Completed in 313 milliseconds

123456789