Searched refs:bt_en_gpio (Results 1 – 3 of 3) sorted by relevance
858 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() local1113 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()
142 int bt_en_gpio; member
3345 int retry = 0, bt_en_gpio = plat_priv->pinctrl_info.bt_en_gpio; in cnss_qca6290_powerup() local3383 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()