Lines Matching refs:bce
98 uwb_bce_put(uwb_dev->bce); in uwb_dev_sys_release()
150 struct uwb_beca_e *bce; in uwb_dev_BPST_show() local
154 bce = uwb_dev->bce; in uwb_dev_BPST_show()
155 mutex_lock(&bce->mutex); in uwb_dev_BPST_show()
156 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo; in uwb_dev_BPST_show()
157 bpst = bce->be->wBPSTOffset in uwb_dev_BPST_show()
159 mutex_unlock(&bce->mutex); in uwb_dev_BPST_show()
179 return uwb_bce_print_IEs(uwb_dev, uwb_dev->bce, buf, PAGE_SIZE); in uwb_dev_IEs_show()
187 struct uwb_beca_e *bce = uwb_dev->bce; in uwb_dev_LQE_show() local
190 mutex_lock(&bce->mutex); in uwb_dev_LQE_show()
191 result = stats_show(&uwb_dev->bce->lqe_stats, buf); in uwb_dev_LQE_show()
192 mutex_unlock(&bce->mutex); in uwb_dev_LQE_show()
201 struct uwb_beca_e *bce = uwb_dev->bce; in uwb_dev_LQE_store() local
204 mutex_lock(&bce->mutex); in uwb_dev_LQE_store()
205 result = stats_store(&uwb_dev->bce->lqe_stats, buf, size); in uwb_dev_LQE_store()
206 mutex_unlock(&bce->mutex); in uwb_dev_LQE_store()
215 struct uwb_beca_e *bce = uwb_dev->bce; in uwb_dev_RSSI_show() local
218 mutex_lock(&bce->mutex); in uwb_dev_RSSI_show()
219 result = stats_show(&uwb_dev->bce->rssi_stats, buf); in uwb_dev_RSSI_show()
220 mutex_unlock(&bce->mutex); in uwb_dev_RSSI_show()
229 struct uwb_beca_e *bce = uwb_dev->bce; in uwb_dev_RSSI_store() local
232 mutex_lock(&bce->mutex); in uwb_dev_RSSI_store()
233 result = stats_store(&uwb_dev->bce->rssi_stats, buf, size); in uwb_dev_RSSI_store()
234 mutex_unlock(&bce->mutex); in uwb_dev_RSSI_store()
366 list_del(&uwb_dev->bce->node); in __uwb_dev_offair()
367 uwb_bce_put(uwb_dev->bce); in __uwb_dev_offair()
386 void uwbd_dev_offair(struct uwb_beca_e *bce) in uwbd_dev_offair() argument
390 uwb_dev = bce->uwb_dev; in uwbd_dev_offair()
410 void uwbd_dev_onair(struct uwb_rc *rc, struct uwb_beca_e *bce) in uwbd_dev_onair() argument
417 uwb_mac_addr_print(macbuf, sizeof(macbuf), bce->mac_addr); in uwbd_dev_onair()
418 uwb_dev_addr_print(devbuf, sizeof(devbuf), &bce->dev_addr); in uwbd_dev_onair()
427 uwb_dev->mac_addr = *bce->mac_addr; in uwbd_dev_onair()
428 uwb_dev->dev_addr = bce->dev_addr; in uwbd_dev_onair()
432 bce->uwb_dev = uwb_dev; in uwbd_dev_onair()
433 uwb_dev->bce = bce; in uwbd_dev_onair()
434 uwb_bce_get(bce); /* released in uwb_dev_sys_release() */ in uwbd_dev_onair()
450 bce->uwb_dev = NULL; in uwbd_dev_onair()
451 uwb_bce_put(bce); in uwbd_dev_onair()