Lines Matching refs:retval
36 int retval; in lua_sysfs_read() local
45 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in lua_sysfs_read()
48 return retval ? retval : real_size; in lua_sysfs_read()
58 int retval; in lua_sysfs_write() local
64 retval = roccat_common2_send(usb_dev, command, buf, real_size); in lua_sysfs_write()
67 return retval ? retval : real_size; in lua_sysfs_write()
123 int retval; in lua_init_specials() local
132 retval = lua_init_lua_device_struct(usb_dev, lua); in lua_init_specials()
133 if (retval) { in lua_init_specials()
138 retval = lua_create_sysfs_attributes(intf); in lua_init_specials()
139 if (retval) { in lua_init_specials()
147 return retval; in lua_init_specials()
164 int retval; in lua_probe() local
169 retval = hid_parse(hdev); in lua_probe()
170 if (retval) { in lua_probe()
175 retval = hid_hw_start(hdev, HID_CONNECT_DEFAULT); in lua_probe()
176 if (retval) { in lua_probe()
181 retval = lua_init_specials(hdev); in lua_probe()
182 if (retval) { in lua_probe()
192 return retval; in lua_probe()