Lines Matching refs:dock
88 struct input_dev *dock; member
534 struct input_dev *dock = info->dock; in max77693_muic_dock_button_handler() local
568 input_event(dock, EV_KEY, code, attached); in max77693_muic_dock_button_handler()
569 input_sync(dock); in max77693_muic_dock_button_handler()
1103 info->dock = devm_input_allocate_device(&pdev->dev); in max77693_muic_probe()
1104 if (!info->dock) { in max77693_muic_probe()
1108 info->dock->name = "max77693-muic/dock"; in max77693_muic_probe()
1109 info->dock->phys = "max77693-muic/extcon"; in max77693_muic_probe()
1110 info->dock->dev.parent = &pdev->dev; in max77693_muic_probe()
1112 __set_bit(EV_REP, info->dock->evbit); in max77693_muic_probe()
1114 input_set_capability(info->dock, EV_KEY, KEY_VOLUMEUP); in max77693_muic_probe()
1115 input_set_capability(info->dock, EV_KEY, KEY_VOLUMEDOWN); in max77693_muic_probe()
1116 input_set_capability(info->dock, EV_KEY, KEY_PLAYPAUSE); in max77693_muic_probe()
1117 input_set_capability(info->dock, EV_KEY, KEY_PREVIOUSSONG); in max77693_muic_probe()
1118 input_set_capability(info->dock, EV_KEY, KEY_NEXTSONG); in max77693_muic_probe()
1120 ret = input_register_device(info->dock); in max77693_muic_probe()
1262 input_unregister_device(info->dock); in max77693_muic_remove()