Searched refs:applesmc_idev (Results 1 – 1 of 1) sorted by relevance
147 static struct input_dev *applesmc_idev; variable1186 applesmc_idev = input_allocate_device(); in applesmc_create_accelerometer()1187 if (!applesmc_idev) { in applesmc_create_accelerometer()1196 applesmc_idev->name = "applesmc"; in applesmc_create_accelerometer()1197 applesmc_idev->id.bustype = BUS_HOST; in applesmc_create_accelerometer()1198 applesmc_idev->dev.parent = &pdev->dev; in applesmc_create_accelerometer()1199 input_set_abs_params(applesmc_idev, ABS_X, in applesmc_create_accelerometer()1201 input_set_abs_params(applesmc_idev, ABS_Y, in applesmc_create_accelerometer()1204 ret = input_setup_polling(applesmc_idev, applesmc_idev_poll); in applesmc_create_accelerometer()1208 input_set_poll_interval(applesmc_idev, APPLESMC_POLL_INTERVAL); in applesmc_create_accelerometer()[all …]