Home
last modified time | relevance | path

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

123

/drivers/leds/trigger/
Dledtrig-backlight.c29 unsigned invert; member
52 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback()
70 return sprintf(buf, "%u\n", n->invert); in bl_trig_invert_show()
78 unsigned long invert; in bl_trig_invert_store() local
81 ret = kstrtoul(buf, 10, &invert); in bl_trig_invert_store()
85 if (invert > 1) in bl_trig_invert_store()
88 n->invert = invert; in bl_trig_invert_store()
91 if ((n->old_status == BLANK) ^ n->invert) in bl_trig_invert_store()
Dledtrig-oneshot.c26 unsigned int invert; member
37 oneshot_data->invert); in led_shot()
48 return sprintf(buf, "%u\n", oneshot_data->invert); in led_invert_show()
63 oneshot_data->invert = !!state; in led_invert_store()
65 if (oneshot_data->invert) in led_invert_store()
122 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
/drivers/macintosh/ams/
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); in ams_idev_poll()
46 input_report_abs(idev, ABS_Y, invert ? -y : y); in ams_idev_poll()
/drivers/platform/x86/
Dhdaps.c446 int invert; in hdaps_invert_store() local
448 if (sscanf(buf, "%d", &invert) != 1 || in hdaps_invert_store()
449 invert < 0 || invert > HDAPS_BOTH_AXES) in hdaps_invert_store()
452 hdaps_invert = invert; in hdaps_invert_store()
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 x-axis, "
/drivers/media/pci/saa7134/
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 = 1,
[all …]
/drivers/mfd/
Dwm8350-gpio.c179 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) in gpio_set_invert() argument
181 if (invert == WM8350_GPIO_INVERT_ON) in gpio_set_invert()
189 int pol, int pull, int invert, int debounce) in wm8350_gpio_config() argument
209 if (gpio_set_invert(wm8350, gpio, invert)) in wm8350_gpio_config()
Dpcf50633-gpio.c59 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) in pcf50633_gpio_invert_set() argument
64 val = !!invert << 3; in pcf50633_gpio_invert_set()
/drivers/gpio/
Dgpio-pca953x.c590 static int device_pca953x_init(struct pca953x_chip *chip, u32 invert) in device_pca953x_init() argument
605 if (invert) in device_pca953x_init()
615 static int device_pca957x_init(struct pca953x_chip *chip, u32 invert) in device_pca957x_init() argument
628 if (invert) in device_pca957x_init()
650 u32 invert = 0; in pca953x_probe() local
661 invert = pdata->invert; in pca953x_probe()
680 ret = device_pca953x_init(chip, invert); in pca953x_probe()
682 ret = device_pca957x_init(chip, invert); in pca953x_probe()
Dgpio-viperboard.c54 u8 invert; member
107 gamsg->invert = 0x00; in vprbrd_gpioa_get()
160 gamsg->invert = 0x00; in vprbrd_gpioa_set()
198 gamsg->invert = 0x00; in vprbrd_gpioa_direction_input()
240 gamsg->invert = 0x00; in vprbrd_gpioa_direction_output()
/drivers/media/dvb-frontends/
Dtda1002x.h32 u8 invert; member
45 u8 invert; member
Dtda10086.c274 dprintk ("%s %i %i\n", __func__, fe_params->inversion, state->config->invert); in tda10086_set_inversion()
278 if (state->config->invert) in tda10086_set_inversion()
282 if (!state->config->invert) in tda10086_set_inversion()
489 if (state->config->invert) in tda10086_get_frontend()
494 if (state->config->invert) in tda10086_get_frontend()
503 if (state->config->invert) in tda10086_get_frontend()
508 if (state->config->invert) in tda10086_get_frontend()
Dves1820.c98 if (!state->config->invert) reg0 |= 0x20; in ves1820_setup_reg0()
101 if (!state->config->invert) reg0 &= ~0x20; in ves1820_setup_reg0()
328 if (!state->config->invert) { in ves1820_get_frontend()
Dstv0297.h39 u8 invert:1; member
Dtda10086.h40 u8 invert; member
Dves1820.h38 u8 invert:1; member
/drivers/leds/
Dled-triggers.c263 int invert) in led_trigger_blink_setup() argument
274 invert); in led_trigger_blink_setup()
292 int invert) in led_trigger_blink_oneshot() argument
294 led_trigger_blink_setup(trig, delay_on, delay_off, 1, invert); in led_trigger_blink_oneshot()
Dled-core.c91 int invert) in led_blink_set_oneshot() argument
100 if (invert) in led_blink_set_oneshot()
/drivers/extcon/
Dextcon-sm5502.c37 bool invert; member
74 .invert = false,
80 .invert = true,
89 .invert = true,
546 if (!info->reg_data[i].invert) in sm5502_init_dev_type()
/drivers/pnp/pnpbios/
Dcore.c411 int invert; in pnpbios_setup() local
418 invert = (strncmp(str, "no-", 3) == 0); in pnpbios_setup()
419 if (invert) in pnpbios_setup()
422 pnpbios_dont_use_current_config = invert; in pnpbios_setup()
/drivers/clk/qcom/
Dclk-branch.c38 bool invert = (br->halt_check == BRANCH_HALT_ENABLE); in clk_branch_check_halt() local
44 if (invert) in clk_branch_check_halt()
/drivers/media/pci/mantis/
Dmantis_vp2033.c42 .invert = 1,
47 .invert = 1,
Dmantis_vp2040.c42 .invert = 1,
47 .invert = 1,
/drivers/pwm/
Dpwm-samsung.c346 unsigned int channel, bool invert) in pwm_samsung_set_invert() argument
356 if (invert) { in pwm_samsung_set_invert()
374 bool invert = (polarity == PWM_POLARITY_NORMAL); in pwm_samsung_set_polarity() local
377 pwm_samsung_set_invert(our_chip, pwm->hwpwm, invert); in pwm_samsung_set_polarity()
/drivers/media/pci/ttpci/
Dbudget-av.c587 .invert = 0,
600 .invert = 0,
612 .invert = 1,
672 .invert = 1,
677 .invert = 0,
682 .invert = 1,
796 .invert = 1,
886 .invert = 0,
/drivers/media/rc/
Dwinbond-cir.c233 static bool invert; /* default = 0 */ variable
234 module_param(invert, bool, 0444);
235 MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver");
895 if (invert) in wbcir_init_hw()
909 if (invert) in wbcir_init_hw()
974 if (invert) in wbcir_init_hw()

123