Lines Matching refs:this_ts
131 static struct gsl_ts *this_ts; variable
237 this_ts->irq = of_get_named_gpio_flags(np, "irq_gpio_number", 0, in gsl_init()
239 this_ts->rst = of_get_named_gpio_flags(np, "rst_gpio_number", 0, in gsl_init()
242 if (gpio_is_valid(this_ts->rst)) { in gsl_init()
243 if (devm_gpio_request(&this_ts->client->dev, this_ts->rst, NULL) != 0) { in gsl_init()
244 dev_err(&this_ts->client->dev, "gpio_request this_ts->rst error\n"); in gsl_init()
247 gpio_direction_output(this_ts->rst, 0); in gsl_init()
248 gpio_set_value(this_ts->rst, 1); in gsl_init()
250 dev_info(&this_ts->client->dev, "rst pin invalid\n"); in gsl_init()
258 if (gpio_is_valid(this_ts->rst)) in gsl_shutdown_low()
259 gpio_set_value(this_ts->rst, 0); in gsl_shutdown_low()
265 if (gpio_is_valid(this_ts->rst)) in gsl_shutdown_high()
266 gpio_set_value(this_ts->rst, 1); in gsl_shutdown_high()
1162 this_ts = ts; in gsl_ts_probe()