Searched refs:gpio_enable (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | pixcir_i2c_ts.c | 80 struct gpio_desc *gpio_enable; member 342 if (ts->gpio_enable) { in pixcir_start() 343 gpiod_set_value_cansleep(ts->gpio_enable, 1); in pixcir_start() 388 if (ts->gpio_enable) in pixcir_stop() 389 gpiod_set_value_cansleep(ts->gpio_enable, 0); in pixcir_stop() 534 tsdata->gpio_enable = devm_gpiod_get_optional(dev, "enable", in pixcir_i2c_ts_probe() 536 if (IS_ERR(tsdata->gpio_enable)) in pixcir_i2c_ts_probe() 537 return dev_err_probe(dev, PTR_ERR(tsdata->gpio_enable), in pixcir_i2c_ts_probe() 540 if (tsdata->gpio_enable) in pixcir_i2c_ts_probe()
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-master-gpio.c | 30 struct gpio_desc *gpio_enable; /* FSI enable */ member 662 gpiod_direction_output(master->gpio_enable, 1); in fsi_master_gpio_init() 676 gpiod_direction_output(master->gpio_enable, 1); in fsi_master_gpio_init_external() 692 gpiod_set_value(master->gpio_enable, enable ? 1 : 0); in fsi_master_gpio_link_enable() 818 master->gpio_enable = gpio; in fsi_master_gpio_probe()
|
H A D | fsi-master-ast-cf.c | 95 struct gpio_desc *gpio_enable; /* FSI enable */ member 795 gpiod_direction_output(master->gpio_enable, 1); in setup_gpios_for_copro() 1037 gpiod_direction_output(master->gpio_enable, 1); in fsi_master_acf_setup_external() 1053 gpiod_set_value(master->gpio_enable, enable ? 1 : 0); in fsi_master_acf_link_enable() 1277 master->gpio_enable = gpio; in fsi_master_acf_probe()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_sup.c | 1591 uint16_t gpio_enable; in qla2x00_beacon_blink() local 1605 gpio_enable = RD_REG_WORD_PIO(PIO_REG(ha, gpioe)); in qla2x00_beacon_blink() 1608 gpio_enable = rd_reg_word(®->gpioe); in qla2x00_beacon_blink() 1613 gpio_enable |= GPIO_LED_MASK; in qla2x00_beacon_blink() 1616 WRT_REG_WORD_PIO(PIO_REG(ha, gpioe), gpio_enable); in qla2x00_beacon_blink() 1618 wrt_reg_word(®->gpioe, gpio_enable); in qla2x00_beacon_blink() 1644 uint16_t gpio_enable; in qla2x00_beacon_on() local 1662 gpio_enable = RD_REG_WORD_PIO(PIO_REG(ha, gpioe)); in qla2x00_beacon_on() 1665 gpio_enable = rd_reg_word(®->gpioe); in qla2x00_beacon_on() 1668 gpio_enable |= GPIO_LED_MASK; in qla2x00_beacon_on() [all …]
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bttvp.h | 300 u32 gpio_enable; member
|
H A D | bttv-driver.c | 3533 btv->state.gpio_enable = btread(BT848_GPIO_OUT_EN); in bttv_suspend() 3552 gpio_inout(0xffffff, btv->state.gpio_enable); in bttv_resume()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-pistachio.c | 868 static inline void gpio_enable(struct pistachio_gpio_bank *bank, in gpio_enable() function 1203 gpio_enable(bank, offset); in pistachio_gpio_direction_input() 1215 gpio_enable(bank, offset); in pistachio_gpio_direction_output()
|
/openbmc/linux/drivers/scsi/ |
H A D | qla1280.h | 207 uint16_t gpio_enable; member
|
H A D | qla1280.c | 2205 WRT_REG_WORD(®->gpio_enable, in qla1280_nvram_config()
|