Searched refs:invert (Results 1 - 25 of 65) sorted by relevance

123

/drivers/leds/trigger/
H A Dledtrig-backlight.c29 unsigned invert; member in struct:bl_trig_notifier
52 if ((n->old_status == UNBLANK) ^ n->invert) {
70 return sprintf(buf, "%u\n", n->invert);
78 unsigned long invert; local
81 ret = kstrtoul(buf, 10, &invert);
85 if (invert > 1)
88 n->invert = invert;
91 if ((n->old_status == BLANK) ^ n->invert)
H A Dledtrig-oneshot.c26 unsigned int invert; member in struct:oneshot_trig_data
37 oneshot_data->invert);
48 return sprintf(buf, "%u\n", oneshot_data->invert);
63 oneshot_data->invert = !!state;
65 if (oneshot_data->invert)
122 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
/drivers/media/dvb-frontends/
H A Dtda1002x.h32 u8 invert; member in struct:tda1002x_config
45 u8 invert; member in struct:tda10023_config
H A Dstv0297.h39 u8 invert:1; member in struct:stv0297_config
H A Dtda10086.h40 u8 invert; member in struct:tda10086_config
H A Dves1820.h38 u8 invert:1; member in struct:ves1820_config
H A Ds5h1420.h35 u8 invert:1; member in struct:s5h1420_config
H A Dstv0299.h74 u8 invert:1; member in struct:stv0299_config
H A Dtdhd1.h35 .invert = 1,
H A Dtda1004x.h51 TDA10046_GP00_I = 0x80, /* GPIO3=0, GPIO1=0, invert in sleep mode*/
52 TDA10046_GP01_I = 0x82, /* GPIO3=0, GPIO1=1, invert in sleep mode */
53 TDA10046_GP10_I = 0x88, /* GPIO3=1, GPIO1=0, invert in sleep mode */
54 TDA10046_GP11_I = 0x8a, /* GPIO3=1, GPIO1=1, invert in sleep mode */
75 u8 invert; member in struct:tda1004x_config
H A Dtda10086.c274 dprintk ("%s %i %i\n", __func__, fe_params->inversion, state->config->invert);
278 if (state->config->invert)
282 if (!state->config->invert)
489 if (state->config->invert)
494 if (state->config->invert)
503 if (state->config->invert)
508 if (state->config->invert)
H A Dbsbe1.h100 .invert = 1,
/drivers/macintosh/ams/
H A Dams-input.c26 static bool invert; variable
27 module_param(invert, bool, S_IWUSR | S_IRUGO);
28 MODULE_PARM_DESC(invert, "Invert input data on X and Y axis");
45 input_report_abs(idev, ABS_X, invert ? -x : x);
46 input_report_abs(idev, ABS_Y, invert ? -y : y);
/drivers/mfd/
H A Dpcf50633-gpio.c59 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) argument
64 val = !!invert << 3;
H A Dwm8350-gpio.c179 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) argument
181 if (invert == WM8350_GPIO_INVERT_ON)
189 int pol, int pull, int invert, int debounce)
209 if (gpio_set_invert(wm8350, gpio, invert))
188 wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, int pol, int pull, int invert, int debounce) argument
/drivers/clk/qcom/
H A Dclk-branch.c38 bool invert = (br->halt_check == BRANCH_HALT_ENABLE); local
44 if (invert)
/drivers/leds/
H A Dled-core.c91 int invert)
100 if (invert)
88 led_blink_set_oneshot(struct led_classdev *led_cdev, unsigned long *delay_on, unsigned long *delay_off, int invert) argument
H A Dled-triggers.c263 int invert)
274 invert);
292 int invert)
294 led_trigger_blink_setup(trig, delay_on, delay_off, 1, invert);
259 led_trigger_blink_setup(struct led_trigger *trig, unsigned long *delay_on, unsigned long *delay_off, int oneshot, int invert) argument
289 led_trigger_blink_oneshot(struct led_trigger *trig, unsigned long *delay_on, unsigned long *delay_off, int invert) argument
/drivers/platform/x86/
H A Dhdaps.c446 int invert; local
448 if (sscanf(buf, "%d", &invert) != 1 ||
449 invert < 0 || invert > HDAPS_BOTH_AXES)
452 hdaps_invert = invert;
465 static DEVICE_ATTR(invert, 0644, hdaps_invert_show, hdaps_invert_store);
636 module_param_named(invert, hdaps_invert, int, 0);
637 MODULE_PARM_DESC(invert, "invert data along each axis. 1 invert
[all...]
/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c402 .invert = 1,
414 .invert = 1,
510 .invert = 0,
521 .invert = 1,
532 .invert = 1,
662 .invert = 1,
674 .invert = 1,
688 .invert = 1,
701 .invert = 1,
714 .invert
[all...]
/drivers/gpio/
H A Dgpio-pca953x.c589 static int device_pca953x_init(struct pca953x_chip *chip, u32 invert) argument
604 if (invert)
614 static int device_pca957x_init(struct pca953x_chip *chip, u32 invert) argument
627 if (invert)
649 u32 invert = 0; local
660 invert = pdata->invert;
679 ret = device_pca953x_init(chip, invert);
681 ret = device_pca957x_init(chip, invert);
H A Dgpio-viperboard.c54 u8 invert; member in struct:vprbrd_gpioa_msg
107 gamsg->invert = 0x00;
160 gamsg->invert = 0x00;
198 gamsg->invert = 0x00;
240 gamsg->invert = 0x00;
/drivers/media/pci/mantis/
H A Dmantis_vp2033.c42 .invert = 1,
47 .invert = 1,
H A Dmantis_vp2040.c42 .invert = 1,
47 .invert = 1,
/drivers/extcon/
H A Dextcon-sm5502.c37 bool invert; member in struct:reg_data
74 .invert = false,
80 .invert = true,
89 .invert = true,
546 if (!info->reg_data[i].invert)

Completed in 744 milliseconds

123