Lines Matching defs:ret
20 int ret;
27 ret = -ENOMEM;
46 ret = -EINVAL;
61 ret = wl1271_cmd_send(wl, CMD_CHANNEL_SWITCH, cmd, sizeof(*cmd), 0);
62 if (ret < 0) {
70 return ret;
76 int ret = 0;
83 ret = -ENOMEM;
89 ret = wl1271_cmd_send(wl, CMD_SMART_CONFIG_START, cmd, sizeof(*cmd), 0);
90 if (ret < 0) {
98 return ret;
104 int ret = 0;
110 ret = -ENOMEM;
114 ret = wl1271_cmd_send(wl, CMD_SMART_CONFIG_STOP, cmd, sizeof(*cmd), 0);
115 if (ret < 0) {
123 return ret;
130 int ret = 0;
142 ret = -ENOMEM;
149 ret = wl1271_cmd_send(wl, CMD_SMART_CONFIG_SET_GROUP_KEY, cmd,
151 if (ret < 0) {
159 return ret;
165 int ret = 0;
180 ret = wl1271_cmd_send(wl,
183 if (ret < 0) {
190 return ret;
196 int ret = 0;
207 ret = wl1271_cmd_send(wl, CMD_DFS_RADAR_DETECTION_DEBUG,
209 if (ret < 0) {
216 return ret;
222 int ret = 0;
233 ret = wl1271_cmd_send(wl, CMD_DFS_MASTER_RESTART,
235 if (ret < 0) {
241 return ret;