Home
last modified time | relevance | path

Searched refs:bt_en_gpio (Results 1 – 3 of 3) sorted by relevance

/wlan-driver/platform/cnss2/
H A Dpower.c858 pinctrl_info->bt_en_gpio = of_get_named_gpio(dev->of_node, in cnss_get_pinctrl()
860 cnss_pr_dbg("BT GPIO: %d\n", pinctrl_info->bt_en_gpio); in cnss_get_pinctrl()
862 pinctrl_info->bt_en_gpio = -EINVAL; in cnss_get_pinctrl()
1110 int ret = 0, bt_en_gpio = plat_priv->pinctrl_info.bt_en_gpio; in cnss_select_pinctrl_enable() local
1113 if (bt_en_gpio < 0 || plat_priv->device_id != QCA6490_DEVICE_ID) in cnss_select_pinctrl_enable()
1116 if (gpio_get_value(bt_en_gpio)) { in cnss_select_pinctrl_enable()
1123 if (!gpio_get_value(bt_en_gpio)) { in cnss_select_pinctrl_enable()
H A Dmain.h142 int bt_en_gpio; member
H A Dpci.c3345 int retry = 0, bt_en_gpio = plat_priv->pinctrl_info.bt_en_gpio; in cnss_qca6290_powerup() local
3383 retry, bt_en_gpio); in cnss_qca6290_powerup()
3384 if (bt_en_gpio >= 0) in cnss_qca6290_powerup()
3385 gpio_direction_output(bt_en_gpio, 0); in cnss_qca6290_powerup()
3387 gpio_get_value(bt_en_gpio)); in cnss_qca6290_powerup()