Searched refs:lua (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/hid/
H A Dhid-roccat-lua.c27 #include "hid-roccat-lua.h"
34 struct lua_device *lua = hid_get_drvdata(dev_get_drvdata(dev)); lua_sysfs_read() local
44 mutex_lock(&lua->lua_lock); lua_sysfs_read()
46 mutex_unlock(&lua->lua_lock); lua_sysfs_read()
56 struct lua_device *lua = hid_get_drvdata(dev_get_drvdata(dev)); lua_sysfs_write() local
63 mutex_lock(&lua->lua_lock); lua_sysfs_write()
65 mutex_unlock(&lua->lua_lock); lua_sysfs_write()
111 struct lua_device *lua) lua_init_lua_device_struct()
113 mutex_init(&lua->lua_lock); lua_init_lua_device_struct()
122 struct lua_device *lua; lua_init_specials() local
125 lua = kzalloc(sizeof(*lua), GFP_KERNEL); lua_init_specials()
126 if (!lua) { lua_init_specials()
130 hid_set_drvdata(hdev, lua); lua_init_specials()
132 retval = lua_init_lua_device_struct(usb_dev, lua); lua_init_specials()
146 kfree(lua); lua_init_specials()
153 struct lua_device *lua; lua_remove_specials() local
157 lua = hid_get_drvdata(hdev); lua_remove_specials()
158 kfree(lua); lua_remove_specials()
206 .name = "lua",
110 lua_init_lua_device_struct(struct usb_device *usb_dev, struct lua_device *lua) lua_init_lua_device_struct() argument
H A DMakefile81 hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o

Completed in 100 milliseconds