Lines Matching defs:ret

30 	int ret;
42 ret = local->ops->set_hw_addr_filt(&local->hw, &filt,
44 trace_802154_drv_return_int(local, ret);
45 return ret;
52 int ret;
64 ret = local->ops->set_hw_addr_filt(&local->hw, &filt,
66 trace_802154_drv_return_int(local, ret);
67 return ret;
74 int ret;
86 ret = local->ops->set_hw_addr_filt(&local->hw, &filt,
88 trace_802154_drv_return_int(local, ret);
89 return ret;
96 int ret;
108 ret = local->ops->set_hw_addr_filt(&local->hw, &filt,
110 trace_802154_drv_return_int(local, ret);
111 return ret;
117 int ret;
127 ret = local->ops->set_promiscuous_mode(&local->hw, on);
128 trace_802154_drv_return_int(local, ret);
129 return ret;
136 int ret;
142 ret = drv_set_pan_id(local, addr_filt->pan_id);
143 if (ret < 0)
144 return ret;
146 ret = drv_set_short_addr(local, addr_filt->short_addr);
147 if (ret < 0)
148 return ret;
150 ret = drv_set_extended_addr(local, addr_filt->ieee_addr);
151 if (ret < 0)
152 return ret;
167 ret = drv_set_promiscuous_mode(local, true);
168 if (ret < 0)
169 return ret;
195 ret = drv_set_promiscuous_mode(local, false);
196 if (ret < 0)
197 return ret;
210 ret = local->ops->start(&local->hw);
211 trace_802154_drv_return_int(local, ret);
212 return ret;
235 int ret;
240 ret = local->ops->set_channel(&local->hw, page, channel);
241 trace_802154_drv_return_int(local, ret);
242 return ret;
247 int ret;
257 ret = local->ops->set_txpower(&local->hw, mbm);
258 trace_802154_drv_return_int(local, ret);
259 return ret;
265 int ret;
275 ret = local->ops->set_cca_mode(&local->hw, cca);
276 trace_802154_drv_return_int(local, ret);
277 return ret;
282 int ret;
292 ret = local->ops->set_lbt(&local->hw, mode);
293 trace_802154_drv_return_int(local, ret);
294 return ret;
300 int ret;
310 ret = local->ops->set_cca_ed_level(&local->hw, mbm);
311 trace_802154_drv_return_int(local, ret);
312 return ret;
319 int ret;
330 ret = local->ops->set_csma_params(&local->hw, min_be, max_be,
332 trace_802154_drv_return_int(local, ret);
333 return ret;
339 int ret;
349 ret = local->ops->set_frame_retries(&local->hw, max_frame_retries);
350 trace_802154_drv_return_int(local, ret);
351 return ret;