Lines Matching refs:reset
294 if (arizona->pdata.reset)
295 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 0);
300 if (arizona->pdata.reset) {
304 /* Meet requirements for minimum reset duration */
311 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 1);
800 pdata->reset = devm_gpiod_get(arizona->dev, "wlf,reset", GPIOD_OUT_LOW);
801 if (IS_ERR(pdata->reset)) {
802 ret = PTR_ERR(pdata->reset);
815 pdata->reset = NULL;
1026 if (!arizona->pdata.reset) {
1027 /* Start out with /RESET low to put the chip into reset */
1028 arizona->pdata.reset = devm_gpiod_get(arizona->dev, "reset",
1030 if (IS_ERR(arizona->pdata.reset)) {
1031 ret = PTR_ERR(arizona->pdata.reset);
1038 arizona->pdata.reset = NULL;
1080 /* If we have a /RESET GPIO we'll already be reset */
1081 if (!arizona->pdata.reset) {
1084 dev_err(dev, "Failed to reset device: %d\n", ret);