Lines Matching refs:ret
186 int ret;
208 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
211 return ret;
225 int ret;
232 ret = wl18xx_acx_clear_statistics(wl);
233 if (ret < 0) {
234 count = ret;
253 int ret;
256 ret = kstrtou8_from_user(user_buf, count, 10, &channel);
257 if (ret < 0) {
267 ret = pm_runtime_get_sync(wl->dev);
268 if (ret < 0) {
273 ret = wl18xx_cmd_radar_detection_debug(wl, channel);
274 if (ret < 0)
275 count = ret;
296 int ret;
298 ret = kstrtoul_from_user(user_buf, count, 0, &value);
299 if (ret < 0)
300 return ret;
309 ret = pm_runtime_get_sync(wl->dev);
310 if (ret < 0) {
315 ret = wl18xx_acx_dynamic_fw_traces(wl);
316 if (ret < 0)
317 count = ret;
350 int ret;
352 ret = kstrtoul_from_user(user_buf, count, 10, &value);
353 if (ret < 0) {
371 ret = pm_runtime_get_sync(wl->dev);
372 if (ret < 0) {