Lines Matching refs:reset
295 if (arizona->pdata.reset)
296 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 0);
301 if (arizona->pdata.reset) {
305 /* Meet requirements for minimum reset duration */
312 gpiod_set_raw_value_cansleep(arizona->pdata.reset, 1);
817 pdata->reset = devm_gpiod_get(arizona->dev, "wlf,reset", GPIOD_OUT_LOW);
818 if (IS_ERR(pdata->reset)) {
819 ret = PTR_ERR(pdata->reset);
832 pdata->reset = NULL;
1076 if (!arizona->pdata.reset) {
1077 /* Start out with /RESET low to put the chip into reset */
1078 arizona->pdata.reset = devm_gpiod_get(arizona->dev, "reset",
1080 if (IS_ERR(arizona->pdata.reset)) {
1081 ret = PTR_ERR(arizona->pdata.reset);
1088 arizona->pdata.reset = NULL;
1130 /* If we have a /RESET GPIO we'll already be reset */
1131 if (!arizona->pdata.reset) {
1134 dev_err(dev, "Failed to reset device: %d\n", ret);