Home
last modified time | relevance | path

Searched refs:gpio_enable (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dpixcir_i2c_ts.c80 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()
545 tsdata->gpio_enable = devm_gpiod_get_optional(dev, "enable", in pixcir_i2c_ts_probe()
547 if (IS_ERR(tsdata->gpio_enable)) { in pixcir_i2c_ts_probe()
548 error = PTR_ERR(tsdata->gpio_enable); in pixcir_i2c_ts_probe()
554 if (tsdata->gpio_enable) in pixcir_i2c_ts_probe()
/OK3568_Linux_fs/kernel/drivers/fsi/
H A Dfsi-master-gpio.c30 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 Dfsi-master-ast-cf.c95 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()
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_sup.c1575 uint16_t gpio_enable; in qla2x00_beacon_blink() local
1589 gpio_enable = RD_REG_WORD_PIO(PIO_REG(ha, gpioe)); in qla2x00_beacon_blink()
1592 gpio_enable = rd_reg_word(&reg->gpioe); in qla2x00_beacon_blink()
1597 gpio_enable |= GPIO_LED_MASK; in qla2x00_beacon_blink()
1600 WRT_REG_WORD_PIO(PIO_REG(ha, gpioe), gpio_enable); in qla2x00_beacon_blink()
1602 wrt_reg_word(&reg->gpioe, gpio_enable); in qla2x00_beacon_blink()
1628 uint16_t gpio_enable; in qla2x00_beacon_on() local
1646 gpio_enable = RD_REG_WORD_PIO(PIO_REG(ha, gpioe)); in qla2x00_beacon_on()
1649 gpio_enable = rd_reg_word(&reg->gpioe); in qla2x00_beacon_on()
1652 gpio_enable |= GPIO_LED_MASK; in qla2x00_beacon_on()
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A Dpinctrl-pistachio.c867 static inline void gpio_enable(struct pistachio_gpio_bank *bank, in gpio_enable() function
1202 gpio_enable(bank, offset); in pistachio_gpio_direction_input()
1214 gpio_enable(bank, offset); in pistachio_gpio_direction_output()
/OK3568_Linux_fs/kernel/drivers/media/pci/bt8xx/
H A Dbttvp.h343 u32 gpio_enable; member
H A Dbttv-driver.c4298 btv->state.gpio_enable = btread(BT848_GPIO_OUT_EN); in bttv_suspend()
4340 gpio_inout(0xffffff, btv->state.gpio_enable); in bttv_resume()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dioctl_mp.c3651 u8 gpio_id, gpio_enable; in rtw_mp_gpio() local
3666 ret = sscanf(input, "%hhd,%hhd", &gpio_id, &gpio_enable); in rtw_mp_gpio()
3673 else if (gpio_enable != 0 && gpio_enable != 1) { in rtw_mp_gpio()
3677 RTW_INFO("%s: gpio_id = %hhd, gpio_enable = %hhd\n", __func__, gpio_id , gpio_enable); in rtw_mp_gpio()
3680 pmp_priv->gpio_enable = gpio_enable; in rtw_mp_gpio()
3684 sprintf(extra, "Set gpio_id:%d, gpio_enable:%d => done\n", gpio_id, gpio_enable); in rtw_mp_gpio()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/test/mp/
H A Dhal_test_mp_config.c410 hal_status = rtw_hal_mac_sw_gpio_ctrl(hal_info, arg->gpio_enable, arg->gpio_id); in rtw_hal_mp_config_set_gpio()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/mp/
H A Dphl_test_mp_def.h279 u8 gpio_enable; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_mp.h469 u8 gpio_enable; member
917 u8 gpio_enable; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dqla1280.h208 uint16_t gpio_enable; member
H A Dqla1280.c2215 WRT_REG_WORD(&reg->gpio_enable, in qla1280_nvram_config()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_mp.c3106 pmp_arg.gpio_enable = pmppriv->gpio_enable; in rtw_mp_phl_config_arg()