iqs5xx 239 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client); iqs5xx 241 drivers/input/touchscreen/iqs5xx.c gpiod_set_value_cansleep(iqs5xx->reset_gpio, 1); iqs5xx 244 drivers/input/touchscreen/iqs5xx.c gpiod_set_value_cansleep(iqs5xx->reset_gpio, 0); iqs5xx 438 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client); iqs5xx 441 drivers/input/touchscreen/iqs5xx.c if (iqs5xx->bl_status == IQS5XX_BL_STATUS_RESET) iqs5xx 444 drivers/input/touchscreen/iqs5xx.c mutex_lock(&iqs5xx->lock); iqs5xx 459 drivers/input/touchscreen/iqs5xx.c mutex_unlock(&iqs5xx->lock); iqs5xx 469 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = input_get_drvdata(input); iqs5xx 471 drivers/input/touchscreen/iqs5xx.c return iqs5xx_set_state(iqs5xx->client, IQS5XX_RESUME); iqs5xx 476 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = input_get_drvdata(input); iqs5xx 478 drivers/input/touchscreen/iqs5xx.c iqs5xx_set_state(iqs5xx->client, IQS5XX_SUSPEND); iqs5xx 483 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client); iqs5xx 491 drivers/input/touchscreen/iqs5xx.c if (!iqs5xx->input) { iqs5xx 505 drivers/input/touchscreen/iqs5xx.c input_set_drvdata(input, iqs5xx); iqs5xx 506 drivers/input/touchscreen/iqs5xx.c iqs5xx->input = input; iqs5xx 509 drivers/input/touchscreen/iqs5xx.c touchscreen_parse_properties(iqs5xx->input, true, &prop); iqs5xx 550 drivers/input/touchscreen/iqs5xx.c input_abs_set_max(iqs5xx->input, iqs5xx 567 drivers/input/touchscreen/iqs5xx.c input_abs_set_max(iqs5xx->input, iqs5xx 592 drivers/input/touchscreen/iqs5xx.c error = input_mt_init_slots(iqs5xx->input, IQS5XX_NUM_CONTACTS, iqs5xx 603 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client); iqs5xx 688 drivers/input/touchscreen/iqs5xx.c iqs5xx->bl_status = dev_id_info->bl_status; iqs5xx 704 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = data; iqs5xx 706 drivers/input/touchscreen/iqs5xx.c struct i2c_client *client = iqs5xx->client; iqs5xx 707 drivers/input/touchscreen/iqs5xx.c struct input_dev *input = iqs5xx->input; iqs5xx 715 drivers/input/touchscreen/iqs5xx.c if (iqs5xx->bl_status == IQS5XX_BL_STATUS_RESET) iqs5xx 886 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = i2c_get_clientdata(client); iqs5xx 890 drivers/input/touchscreen/iqs5xx.c if (iqs5xx->bl_status == IQS5XX_BL_STATUS_NONE) iqs5xx 901 drivers/input/touchscreen/iqs5xx.c mutex_lock(&iqs5xx->lock); iqs5xx 910 drivers/input/touchscreen/iqs5xx.c iqs5xx->bl_status = IQS5XX_BL_STATUS_RESET; iqs5xx 942 drivers/input/touchscreen/iqs5xx.c if (!error && iqs5xx->bl_status == IQS5XX_BL_STATUS_RESET) iqs5xx 947 drivers/input/touchscreen/iqs5xx.c mutex_unlock(&iqs5xx->lock); iqs5xx 958 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = dev_get_drvdata(dev); iqs5xx 959 drivers/input/touchscreen/iqs5xx.c struct i2c_client *client = iqs5xx->client; iqs5xx 961 drivers/input/touchscreen/iqs5xx.c bool input_reg = !iqs5xx->input; iqs5xx 986 drivers/input/touchscreen/iqs5xx.c error = input_register_device(iqs5xx->input); iqs5xx 1011 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = dev_get_drvdata(dev); iqs5xx 1012 drivers/input/touchscreen/iqs5xx.c struct input_dev *input = iqs5xx->input; iqs5xx 1021 drivers/input/touchscreen/iqs5xx.c error = iqs5xx_set_state(iqs5xx->client, IQS5XX_SUSPEND); iqs5xx 1030 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx = dev_get_drvdata(dev); iqs5xx 1031 drivers/input/touchscreen/iqs5xx.c struct input_dev *input = iqs5xx->input; iqs5xx 1040 drivers/input/touchscreen/iqs5xx.c error = iqs5xx_set_state(iqs5xx->client, IQS5XX_RESUME); iqs5xx 1052 drivers/input/touchscreen/iqs5xx.c struct iqs5xx_private *iqs5xx; iqs5xx 1055 drivers/input/touchscreen/iqs5xx.c iqs5xx = devm_kzalloc(&client->dev, sizeof(*iqs5xx), GFP_KERNEL); iqs5xx 1056 drivers/input/touchscreen/iqs5xx.c if (!iqs5xx) iqs5xx 1059 drivers/input/touchscreen/iqs5xx.c i2c_set_clientdata(client, iqs5xx); iqs5xx 1060 drivers/input/touchscreen/iqs5xx.c iqs5xx->client = client; iqs5xx 1062 drivers/input/touchscreen/iqs5xx.c iqs5xx->reset_gpio = devm_gpiod_get(&client->dev, iqs5xx 1064 drivers/input/touchscreen/iqs5xx.c if (IS_ERR(iqs5xx->reset_gpio)) { iqs5xx 1065 drivers/input/touchscreen/iqs5xx.c error = PTR_ERR(iqs5xx->reset_gpio); iqs5xx 1070 drivers/input/touchscreen/iqs5xx.c mutex_init(&iqs5xx->lock); iqs5xx 1081 drivers/input/touchscreen/iqs5xx.c client->name, iqs5xx); iqs5xx 1093 drivers/input/touchscreen/iqs5xx.c if (iqs5xx->input) { iqs5xx 1094 drivers/input/touchscreen/iqs5xx.c error = input_register_device(iqs5xx->input);