Lines Matching refs:rdev

11 rdev_add_virtual_intf_deprecated(struct cfg802154_registered_device *rdev,  in rdev_add_virtual_intf_deprecated()  argument
16 return rdev->ops->add_virtual_intf_deprecated(&rdev->wpan_phy, name, in rdev_add_virtual_intf_deprecated()
21 rdev_del_virtual_intf_deprecated(struct cfg802154_registered_device *rdev, in rdev_del_virtual_intf_deprecated() argument
24 rdev->ops->del_virtual_intf_deprecated(&rdev->wpan_phy, dev); in rdev_del_virtual_intf_deprecated()
28 rdev_suspend(struct cfg802154_registered_device *rdev) in rdev_suspend() argument
31 trace_802154_rdev_suspend(&rdev->wpan_phy); in rdev_suspend()
32 ret = rdev->ops->suspend(&rdev->wpan_phy); in rdev_suspend()
33 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_suspend()
38 rdev_resume(struct cfg802154_registered_device *rdev) in rdev_resume() argument
41 trace_802154_rdev_resume(&rdev->wpan_phy); in rdev_resume()
42 ret = rdev->ops->resume(&rdev->wpan_phy); in rdev_resume()
43 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_resume()
48 rdev_add_virtual_intf(struct cfg802154_registered_device *rdev, char *name, in rdev_add_virtual_intf() argument
54 trace_802154_rdev_add_virtual_intf(&rdev->wpan_phy, name, type, in rdev_add_virtual_intf()
56 ret = rdev->ops->add_virtual_intf(&rdev->wpan_phy, name, in rdev_add_virtual_intf()
59 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_add_virtual_intf()
64 rdev_del_virtual_intf(struct cfg802154_registered_device *rdev, in rdev_del_virtual_intf() argument
69 trace_802154_rdev_del_virtual_intf(&rdev->wpan_phy, wpan_dev); in rdev_del_virtual_intf()
70 ret = rdev->ops->del_virtual_intf(&rdev->wpan_phy, wpan_dev); in rdev_del_virtual_intf()
71 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_del_virtual_intf()
76 rdev_set_channel(struct cfg802154_registered_device *rdev, u8 page, u8 channel) in rdev_set_channel() argument
80 trace_802154_rdev_set_channel(&rdev->wpan_phy, page, channel); in rdev_set_channel()
81 ret = rdev->ops->set_channel(&rdev->wpan_phy, page, channel); in rdev_set_channel()
82 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_channel()
87 rdev_set_cca_mode(struct cfg802154_registered_device *rdev, in rdev_set_cca_mode() argument
92 trace_802154_rdev_set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode()
93 ret = rdev->ops->set_cca_mode(&rdev->wpan_phy, cca); in rdev_set_cca_mode()
94 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_cca_mode()
99 rdev_set_cca_ed_level(struct cfg802154_registered_device *rdev, s32 ed_level) in rdev_set_cca_ed_level() argument
103 trace_802154_rdev_set_cca_ed_level(&rdev->wpan_phy, ed_level); in rdev_set_cca_ed_level()
104 ret = rdev->ops->set_cca_ed_level(&rdev->wpan_phy, ed_level); in rdev_set_cca_ed_level()
105 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_cca_ed_level()
110 rdev_set_tx_power(struct cfg802154_registered_device *rdev, in rdev_set_tx_power() argument
115 trace_802154_rdev_set_tx_power(&rdev->wpan_phy, power); in rdev_set_tx_power()
116 ret = rdev->ops->set_tx_power(&rdev->wpan_phy, power); in rdev_set_tx_power()
117 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_tx_power()
122 rdev_set_pan_id(struct cfg802154_registered_device *rdev, in rdev_set_pan_id() argument
127 trace_802154_rdev_set_pan_id(&rdev->wpan_phy, wpan_dev, pan_id); in rdev_set_pan_id()
128 ret = rdev->ops->set_pan_id(&rdev->wpan_phy, wpan_dev, pan_id); in rdev_set_pan_id()
129 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_pan_id()
134 rdev_set_short_addr(struct cfg802154_registered_device *rdev, in rdev_set_short_addr() argument
139 trace_802154_rdev_set_short_addr(&rdev->wpan_phy, wpan_dev, short_addr); in rdev_set_short_addr()
140 ret = rdev->ops->set_short_addr(&rdev->wpan_phy, wpan_dev, short_addr); in rdev_set_short_addr()
141 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_short_addr()
146 rdev_set_backoff_exponent(struct cfg802154_registered_device *rdev, in rdev_set_backoff_exponent() argument
151 trace_802154_rdev_set_backoff_exponent(&rdev->wpan_phy, wpan_dev, in rdev_set_backoff_exponent()
153 ret = rdev->ops->set_backoff_exponent(&rdev->wpan_phy, wpan_dev, in rdev_set_backoff_exponent()
155 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_backoff_exponent()
160 rdev_set_max_csma_backoffs(struct cfg802154_registered_device *rdev, in rdev_set_max_csma_backoffs() argument
165 trace_802154_rdev_set_csma_backoffs(&rdev->wpan_phy, wpan_dev, in rdev_set_max_csma_backoffs()
167 ret = rdev->ops->set_max_csma_backoffs(&rdev->wpan_phy, wpan_dev, in rdev_set_max_csma_backoffs()
169 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_max_csma_backoffs()
174 rdev_set_max_frame_retries(struct cfg802154_registered_device *rdev, in rdev_set_max_frame_retries() argument
179 trace_802154_rdev_set_max_frame_retries(&rdev->wpan_phy, wpan_dev, in rdev_set_max_frame_retries()
181 ret = rdev->ops->set_max_frame_retries(&rdev->wpan_phy, wpan_dev, in rdev_set_max_frame_retries()
183 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_max_frame_retries()
188 rdev_set_lbt_mode(struct cfg802154_registered_device *rdev, in rdev_set_lbt_mode() argument
193 trace_802154_rdev_set_lbt_mode(&rdev->wpan_phy, wpan_dev, mode); in rdev_set_lbt_mode()
194 ret = rdev->ops->set_lbt_mode(&rdev->wpan_phy, wpan_dev, mode); in rdev_set_lbt_mode()
195 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_lbt_mode()
200 rdev_set_ackreq_default(struct cfg802154_registered_device *rdev, in rdev_set_ackreq_default() argument
205 trace_802154_rdev_set_ackreq_default(&rdev->wpan_phy, wpan_dev, in rdev_set_ackreq_default()
207 ret = rdev->ops->set_ackreq_default(&rdev->wpan_phy, wpan_dev, ackreq); in rdev_set_ackreq_default()
208 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_set_ackreq_default()
212 static inline int rdev_trigger_scan(struct cfg802154_registered_device *rdev, in rdev_trigger_scan() argument
217 if (!rdev->ops->trigger_scan) in rdev_trigger_scan()
220 trace_802154_rdev_trigger_scan(&rdev->wpan_phy, request); in rdev_trigger_scan()
221 ret = rdev->ops->trigger_scan(&rdev->wpan_phy, request); in rdev_trigger_scan()
222 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_trigger_scan()
226 static inline int rdev_abort_scan(struct cfg802154_registered_device *rdev, in rdev_abort_scan() argument
231 if (!rdev->ops->abort_scan) in rdev_abort_scan()
234 trace_802154_rdev_abort_scan(&rdev->wpan_phy, wpan_dev); in rdev_abort_scan()
235 ret = rdev->ops->abort_scan(&rdev->wpan_phy, wpan_dev); in rdev_abort_scan()
236 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_abort_scan()
240 static inline int rdev_send_beacons(struct cfg802154_registered_device *rdev, in rdev_send_beacons() argument
245 if (!rdev->ops->send_beacons) in rdev_send_beacons()
248 trace_802154_rdev_send_beacons(&rdev->wpan_phy, request); in rdev_send_beacons()
249 ret = rdev->ops->send_beacons(&rdev->wpan_phy, request); in rdev_send_beacons()
250 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_send_beacons()
254 static inline int rdev_stop_beacons(struct cfg802154_registered_device *rdev, in rdev_stop_beacons() argument
259 if (!rdev->ops->stop_beacons) in rdev_stop_beacons()
262 trace_802154_rdev_stop_beacons(&rdev->wpan_phy, wpan_dev); in rdev_stop_beacons()
263 ret = rdev->ops->stop_beacons(&rdev->wpan_phy, wpan_dev); in rdev_stop_beacons()
264 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_stop_beacons()
268 static inline int rdev_associate(struct cfg802154_registered_device *rdev, in rdev_associate() argument
274 if (!rdev->ops->associate) in rdev_associate()
277 trace_802154_rdev_associate(&rdev->wpan_phy, wpan_dev, coord); in rdev_associate()
278 ret = rdev->ops->associate(&rdev->wpan_phy, wpan_dev, coord); in rdev_associate()
279 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_associate()
283 static inline int rdev_disassociate(struct cfg802154_registered_device *rdev, in rdev_disassociate() argument
289 if (!rdev->ops->disassociate) in rdev_disassociate()
292 trace_802154_rdev_disassociate(&rdev->wpan_phy, wpan_dev, target); in rdev_disassociate()
293 ret = rdev->ops->disassociate(&rdev->wpan_phy, wpan_dev, target); in rdev_disassociate()
294 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_disassociate()
301 rdev_get_llsec_table(struct cfg802154_registered_device *rdev, in rdev_get_llsec_table() argument
305 rdev->ops->get_llsec_table(&rdev->wpan_phy, wpan_dev, table); in rdev_get_llsec_table()
309 rdev_lock_llsec_table(struct cfg802154_registered_device *rdev, in rdev_lock_llsec_table() argument
312 rdev->ops->lock_llsec_table(&rdev->wpan_phy, wpan_dev); in rdev_lock_llsec_table()
316 rdev_unlock_llsec_table(struct cfg802154_registered_device *rdev, in rdev_unlock_llsec_table() argument
319 rdev->ops->unlock_llsec_table(&rdev->wpan_phy, wpan_dev); in rdev_unlock_llsec_table()
323 rdev_get_llsec_params(struct cfg802154_registered_device *rdev, in rdev_get_llsec_params() argument
327 return rdev->ops->get_llsec_params(&rdev->wpan_phy, wpan_dev, params); in rdev_get_llsec_params()
331 rdev_set_llsec_params(struct cfg802154_registered_device *rdev, in rdev_set_llsec_params() argument
336 return rdev->ops->set_llsec_params(&rdev->wpan_phy, wpan_dev, params, in rdev_set_llsec_params()
341 rdev_add_llsec_key(struct cfg802154_registered_device *rdev, in rdev_add_llsec_key() argument
346 return rdev->ops->add_llsec_key(&rdev->wpan_phy, wpan_dev, id, key); in rdev_add_llsec_key()
350 rdev_del_llsec_key(struct cfg802154_registered_device *rdev, in rdev_del_llsec_key() argument
354 return rdev->ops->del_llsec_key(&rdev->wpan_phy, wpan_dev, id); in rdev_del_llsec_key()
358 rdev_add_seclevel(struct cfg802154_registered_device *rdev, in rdev_add_seclevel() argument
362 return rdev->ops->add_seclevel(&rdev->wpan_phy, wpan_dev, sl); in rdev_add_seclevel()
366 rdev_del_seclevel(struct cfg802154_registered_device *rdev, in rdev_del_seclevel() argument
370 return rdev->ops->del_seclevel(&rdev->wpan_phy, wpan_dev, sl); in rdev_del_seclevel()
374 rdev_add_device(struct cfg802154_registered_device *rdev, in rdev_add_device() argument
378 return rdev->ops->add_device(&rdev->wpan_phy, wpan_dev, dev_desc); in rdev_add_device()
382 rdev_del_device(struct cfg802154_registered_device *rdev, in rdev_del_device() argument
385 return rdev->ops->del_device(&rdev->wpan_phy, wpan_dev, extended_addr); in rdev_del_device()
389 rdev_add_devkey(struct cfg802154_registered_device *rdev, in rdev_add_devkey() argument
393 return rdev->ops->add_devkey(&rdev->wpan_phy, wpan_dev, extended_addr, in rdev_add_devkey()
398 rdev_del_devkey(struct cfg802154_registered_device *rdev, in rdev_del_devkey() argument
402 return rdev->ops->del_devkey(&rdev->wpan_phy, wpan_dev, extended_addr, in rdev_del_devkey()