/drivers/leds/trigger/ |
D | ledtrig-backlight.c | 29 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()
|
D | ledtrig-oneshot.c | 26 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/ |
D | ams-input.c | 26 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/ |
D | hdaps.c | 446 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/ |
D | saa7134-dvb.c | 402 .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/ |
D | wm8350-gpio.c | 179 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()
|
D | pcf50633-gpio.c | 59 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/ |
D | gpio-pca953x.c | 590 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()
|
D | gpio-viperboard.c | 54 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/ |
D | tda1002x.h | 32 u8 invert; member 45 u8 invert; member
|
D | tda10086.c | 274 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()
|
D | ves1820.c | 98 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()
|
D | stv0297.h | 39 u8 invert:1; member
|
D | tda10086.h | 40 u8 invert; member
|
D | ves1820.h | 38 u8 invert:1; member
|
/drivers/leds/ |
D | led-triggers.c | 263 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()
|
D | led-core.c | 91 int invert) in led_blink_set_oneshot() argument 100 if (invert) in led_blink_set_oneshot()
|
/drivers/extcon/ |
D | extcon-sm5502.c | 37 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/ |
D | core.c | 411 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/ |
D | clk-branch.c | 38 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/ |
D | mantis_vp2033.c | 42 .invert = 1, 47 .invert = 1,
|
D | mantis_vp2040.c | 42 .invert = 1, 47 .invert = 1,
|
/drivers/pwm/ |
D | pwm-samsung.c | 346 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/ |
D | budget-av.c | 587 .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/ |
D | winbond-cir.c | 233 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()
|