Lines Matching refs:dev_sol_gpio
1790 if (sol_gpio->dev_sol_gpio < 0 || sol_gpio->dev_sol_irq <= 0) in cnss_enable_dev_sol_irq()
1806 if (sol_gpio->dev_sol_gpio < 0 || sol_gpio->dev_sol_irq <= 0) in cnss_disable_dev_sol_irq()
1821 if (sol_gpio->dev_sol_gpio < 0) in cnss_get_dev_sol_value()
1824 return gpio_get_value(sol_gpio->dev_sol_gpio); in cnss_get_dev_sol_value()
1858 sol_gpio->dev_sol_gpio = of_get_named_gpio(dev->of_node, in cnss_init_dev_sol_gpio()
1860 if (sol_gpio->dev_sol_gpio < 0) in cnss_init_dev_sol_gpio()
1864 sol_gpio->dev_sol_gpio); in cnss_init_dev_sol_gpio()
1866 ret = gpio_request(sol_gpio->dev_sol_gpio, "wlan_dev_sol_gpio"); in cnss_init_dev_sol_gpio()
1873 gpio_direction_input(sol_gpio->dev_sol_gpio); in cnss_init_dev_sol_gpio()
1874 sol_gpio->dev_sol_irq = gpio_to_irq(sol_gpio->dev_sol_gpio); in cnss_init_dev_sol_gpio()
1886 gpio_free(sol_gpio->dev_sol_gpio); in cnss_init_dev_sol_gpio()
1895 if (sol_gpio->dev_sol_gpio < 0) in cnss_deinit_dev_sol_gpio()
1899 gpio_free(sol_gpio->dev_sol_gpio); in cnss_deinit_dev_sol_gpio()