/linux-master/drivers/iio/accel/ |
H A D | mma9551_core.c | 524 * @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 D | pixcir_i2c_ts.c | 274 * @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 D | pwm-rz-mtu3.c | 13 * only handles normal polarity. 307 state->polarity = PWM_POLARITY_NORMAL; 412 if (state->polarity != PWM_POLARITY_NORMAL)
|
H A D | pwm-rcar.c | 168 /* This HW/driver only supports normal polarity */ 169 if (state->polarity != PWM_POLARITY_NORMAL)
|
H A D | pwm-brcmstb.c | 200 if (state->polarity != PWM_POLARITY_NORMAL)
|
H A D | pwm-spear.c | 169 if (state->polarity != PWM_POLARITY_NORMAL)
|
H A D | pwm-stmpe.c | 267 if (state->polarity != PWM_POLARITY_NORMAL)
|
H A D | pwm-lpss.c | 235 state->polarity = PWM_POLARITY_NORMAL;
|
H A D | pwm-jz4740.c | 191 * 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 D | pwm-lp3943.c | 188 if (state->polarity != PWM_POLARITY_NORMAL)
|
H A D | pwm-atmel-hlcdc.c | 128 if (state->polarity == PWM_POLARITY_NORMAL)
|
H A D | pwm-bcm2835.c | 102 /* set polarity */ 105 if (state->polarity == PWM_POLARITY_NORMAL)
|
H A D | pwm-pca9685.c | 375 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 D | pwm-regulator.c | 161 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 D | 8250_aspeed_vuart.c | 177 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 D | core.c | 93 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 D | onyx.c | 372 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 D | txgbe_phy.c | 422 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 D | da7280.c | 223 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 D | gpio-mvebu.c | 479 * 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 D | ptp_ocp.c | 118 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, ®->polarity); 2318 val = ioread32(®->polarity); 2319 s->polarity = val ? true : false; 3107 /* period [duty [phase [polarity]]] */ [all...] |
/linux-master/drivers/video/fbdev/via/ |
H A D | hw.h | 36 /* VIA output device sync polarity */ 636 void via_set_sync_polarity(u32 devices, u8 polarity);
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | dsi.h | 253 u8 polarity; member in struct:dsi_lane_config
|
/linux-master/drivers/counter/ |
H A D | 104-quad-8.c | 629 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 D | fbtft.h | 231 bool polarity; member in struct:fbtft_par
|