Lines Matching defs:bce
80 uwb_bce_put(uwb_dev->bce);
132 struct uwb_beca_e *bce;
136 bce = uwb_dev->bce;
137 mutex_lock(&bce->mutex);
138 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo;
139 bpst = bce->be->wBPSTOffset
141 mutex_unlock(&bce->mutex);
161 return uwb_bce_print_IEs(uwb_dev, uwb_dev->bce, buf, PAGE_SIZE);
169 struct uwb_beca_e *bce = uwb_dev->bce;
172 mutex_lock(&bce->mutex);
173 result = stats_show(&uwb_dev->bce->lqe_stats, buf);
174 mutex_unlock(&bce->mutex);
183 struct uwb_beca_e *bce = uwb_dev->bce;
186 mutex_lock(&bce->mutex);
187 result = stats_store(&uwb_dev->bce->lqe_stats, buf, size);
188 mutex_unlock(&bce->mutex);
197 struct uwb_beca_e *bce = uwb_dev->bce;
200 mutex_lock(&bce->mutex);
201 result = stats_show(&uwb_dev->bce->rssi_stats, buf);
202 mutex_unlock(&bce->mutex);
211 struct uwb_beca_e *bce = uwb_dev->bce;
214 mutex_lock(&bce->mutex);
215 result = stats_store(&uwb_dev->bce->rssi_stats, buf, size);
216 mutex_unlock(&bce->mutex);
356 list_del(&uwb_dev->bce->node);
357 uwb_bce_put(uwb_dev->bce);
376 void uwbd_dev_offair(struct uwb_beca_e *bce)
380 uwb_dev = bce->uwb_dev;
398 * NOTE: uwb_beca.mutex is held, bce->mutex is held
400 void uwbd_dev_onair(struct uwb_rc *rc, struct uwb_beca_e *bce)
407 uwb_mac_addr_print(macbuf, sizeof(macbuf), bce->mac_addr);
408 uwb_dev_addr_print(devbuf, sizeof(devbuf), &bce->dev_addr);
416 uwb_dev->mac_addr = *bce->mac_addr;
417 uwb_dev->dev_addr = bce->dev_addr;
426 bce->uwb_dev = uwb_dev;
427 uwb_dev->bce = bce;
428 uwb_bce_get(bce); /* released in uwb_dev_sys_release() */