Home
last modified time | relevance | path

Searched refs:opencores_kbd (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/input/keyboard/
Dopencores-kbd.c18 struct opencores_kbd { struct
27 struct opencores_kbd *opencores_kbd = dev_id; in opencores_kbd_isr() argument
28 struct input_dev *input = opencores_kbd->input; in opencores_kbd_isr()
31 c = readb(opencores_kbd->addr); in opencores_kbd_isr()
41 struct opencores_kbd *opencores_kbd; in opencores_kbd_probe() local
55 opencores_kbd = devm_kzalloc(&pdev->dev, sizeof(*opencores_kbd), in opencores_kbd_probe()
57 if (!opencores_kbd) in opencores_kbd_probe()
66 opencores_kbd->input = input; in opencores_kbd_probe()
68 opencores_kbd->addr = devm_ioremap_resource(&pdev->dev, res); in opencores_kbd_probe()
69 if (IS_ERR(opencores_kbd->addr)) in opencores_kbd_probe()
[all …]