Lines Matching refs:pad
31 struct dc_pad *pad = maple_get_drvdata(mapledev); in dc_pad_callback() local
32 struct input_dev *dev = pad->dev; in dc_pad_callback()
65 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_open() local
67 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, in dc_pad_open()
75 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_close() local
77 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, in dc_pad_close()
101 struct dc_pad *pad; in probe_maple_controller() local
105 pad = kzalloc(sizeof(struct dc_pad), GFP_KERNEL); in probe_maple_controller()
107 if (!pad || !idev) { in probe_maple_controller()
112 pad->dev = idev; in probe_maple_controller()
113 pad->mdev = mdev; in probe_maple_controller()
139 idev->dev.platform_data = pad; in probe_maple_controller()
149 maple_set_drvdata(mdev, pad); in probe_maple_controller()
155 kfree(pad); in probe_maple_controller()
163 struct dc_pad *pad = maple_get_drvdata(mdev); in remove_maple_controller() local
166 input_unregister_device(pad->dev); in remove_maple_controller()
168 kfree(pad); in remove_maple_controller()