/drivers/uwb/ |
D | uwb-internal.h | 41 extern int __uwb_dev_offair(struct uwb_dev *, struct uwb_rc *); 43 struct uwb_rc *parent_rc); 45 extern void uwbd_dev_onair(struct uwb_rc *, struct uwb_beca_e *); 47 void uwb_notify(struct uwb_rc *rc, struct uwb_dev *uwb_dev, enum uwb_notifs event); 50 extern struct uwb_rc *__uwb_rc_try_get(struct uwb_rc *); 51 static inline struct uwb_rc *__uwb_rc_get(struct uwb_rc *rc) in __uwb_rc_get() 57 static inline void __uwb_rc_put(struct uwb_rc *rc) in __uwb_rc_put() 62 extern int uwb_rc_reset(struct uwb_rc *rc); 63 extern int uwb_rc_beacon(struct uwb_rc *rc, 65 extern int uwb_rc_scan(struct uwb_rc *rc, [all …]
|
D | ie.c | 108 ssize_t uwb_rc_get_ie(struct uwb_rc *uwb_rc, struct uwb_rc_evt_get_ie **pget_ie) in uwb_rc_get_ie() argument 111 struct device *dev = &uwb_rc->uwb_dev.dev; in uwb_rc_get_ie() 122 result = uwb_rc_vcmd(uwb_rc, "GET_IE", cmd, sizeof(*cmd), in uwb_rc_get_ie() 153 int uwb_rc_set_ie(struct uwb_rc *rc, struct uwb_rc_cmd_set_ie *cmd) in uwb_rc_set_ie() 182 void uwb_rc_ie_init(struct uwb_rc *uwb_rc) in uwb_rc_ie_init() argument 184 mutex_init(&uwb_rc->ies_mutex); in uwb_rc_ie_init() 198 int uwb_rc_ie_setup(struct uwb_rc *uwb_rc) in uwb_rc_ie_setup() argument 203 capacity = uwb_rc_get_ie(uwb_rc, &ie_info); in uwb_rc_ie_setup() 207 mutex_lock(&uwb_rc->ies_mutex); in uwb_rc_ie_setup() 209 uwb_rc->ies = (struct uwb_rc_cmd_set_ie *)ie_info; in uwb_rc_ie_setup() [all …]
|
D | hwa-rc.c | 83 struct uwb_rc *uwb_rc; /* UWB host controller */ member 116 int hwarc_filter_evt_beacon_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_beacon_WUSB_0100() 174 int hwarc_filter_evt_drp_avail_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_drp_avail_WUSB_0100() 249 int hwarc_filter_evt_drp_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_drp_WUSB_0100() 308 int hwarc_filter_cmd_scan_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_cmd_scan_WUSB_0100() 346 int hwarc_filter_cmd_set_drp_ie_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_cmd_set_drp_ie_WUSB_0100() 391 int hwarc_filter_cmd_WUSB_0100(struct uwb_rc *rc, struct uwb_rccb **header, in hwarc_filter_cmd_WUSB_0100() 423 int hwarc_filter_cmd(struct uwb_rc *rc, struct uwb_rccb **header, in hwarc_filter_cmd() 444 ssize_t hwarc_get_event_size(struct uwb_rc *rc, const struct uwb_rceb *rceb, in hwarc_get_event_size() 497 int hwarc_filter_event_WUSB_0100(struct uwb_rc *rc, struct uwb_rceb **header, in hwarc_filter_event_WUSB_0100() [all …]
|
D | whc-rc.c | 63 struct uwb_rc *uwb_rc; /* UWB host controller */ member 90 static int whcrc_cmd(struct uwb_rc *uwb_rc, in whcrc_cmd() argument 94 struct whcrc *whcrc = uwb_rc->priv; in whcrc_cmd() 109 uwb_rc_reset_all(uwb_rc); in whcrc_cmd() 133 static int whcrc_reset(struct uwb_rc *rc) in whcrc_reset() 176 uwb_rc_neh_grok(whcrc->uwb_rc, whcrc->evt_buf, size); in whcrc_event_work() 301 static int whcrc_start_rc(struct uwb_rc *rc) in whcrc_start_rc() 332 void whcrc_stop_rc(struct uwb_rc *rc) in whcrc_stop_rc() 364 struct uwb_rc *uwb_rc; in whcrc_probe() local 369 uwb_rc = uwb_rc_alloc(); in whcrc_probe() [all …]
|
D | lc-rc.c | 44 struct uwb_rc *rc = dev_get_drvdata(dev); in uwb_rc_index_match() 51 static struct uwb_rc *uwb_rc_find_by_index(int index) in uwb_rc_find_by_index() 54 struct uwb_rc *rc = NULL; in uwb_rc_find_by_index() 80 struct uwb_rc *rc = container_of(uwb_dev, struct uwb_rc, uwb_dev); in uwb_rc_sys_release() 87 void uwb_rc_init(struct uwb_rc *rc) in uwb_rc_init() 109 struct uwb_rc *uwb_rc_alloc(void) in uwb_rc_alloc() 111 struct uwb_rc *rc; in uwb_rc_alloc() 134 static int uwb_rc_sys_add(struct uwb_rc *rc) in uwb_rc_sys_add() 140 static void __uwb_rc_sys_rm(struct uwb_rc *rc) in __uwb_rc_sys_rm() 155 int uwb_rc_mac_addr_setup(struct uwb_rc *rc) in uwb_rc_mac_addr_setup() [all …]
|
D | radio.c | 24 static int uwb_radio_select_channel(struct uwb_rc *rc) in uwb_radio_select_channel() 41 static void uwb_radio_channel_changed(struct uwb_rc *rc, int channel) in uwb_radio_channel_changed() 61 static int uwb_radio_change_channel(struct uwb_rc *rc, int channel) in uwb_radio_change_channel() 96 struct uwb_rc *rc = pal->rc; in uwb_radio_start() 120 struct uwb_rc *rc = pal->rc; in uwb_radio_stop() 140 int uwb_radio_force_channel(struct uwb_rc *rc, int channel) in uwb_radio_force_channel() 160 int uwb_radio_setup(struct uwb_rc *rc) in uwb_radio_setup() 172 void uwb_radio_reset_state(struct uwb_rc *rc) in uwb_radio_reset_state() 198 void uwb_radio_shutdown(struct uwb_rc *rc) in uwb_radio_shutdown()
|
D | rsv.c | 147 struct uwb_rc *rc = rsv->rc; in uwb_rsv_get_stream() 177 struct uwb_rc *rc = rsv->rc; in uwb_rsv_put_stream() 200 struct uwb_rc *rc = container_of(bow, struct uwb_rc, bow); in uwb_rsv_backoff_win_timer() 218 void uwb_rsv_backoff_win_increment(struct uwb_rc *rc) in uwb_rsv_backoff_win_increment() 398 struct uwb_rc *rc = rsv->rc; in uwb_rsv_handle_timeout_work() 453 static struct uwb_rsv *uwb_rsv_alloc(struct uwb_rc *rc) in uwb_rsv_alloc() 487 struct uwb_rsv *uwb_rsv_create(struct uwb_rc *rc, uwb_rsv_cb_f cb, void *pal_priv) in uwb_rsv_create() 549 struct uwb_rc *rc = rsv->rc; in uwb_rsv_establish() 607 struct uwb_rc *rc = rsv->rc; in uwb_rsv_try_move() 636 void uwb_rsv_handle_drp_avail_change(struct uwb_rc *rc) in uwb_rsv_handle_drp_avail_change() [all …]
|
D | neh.c | 104 struct uwb_rc *rc; 160 int __uwb_rc_ctx_get(struct uwb_rc *rc, struct uwb_rc_neh *neh) in __uwb_rc_ctx_get() 180 void __uwb_rc_ctx_put(struct uwb_rc *rc, struct uwb_rc_neh *neh) in __uwb_rc_ctx_put() 206 struct uwb_rc_neh *uwb_rc_neh_add(struct uwb_rc *rc, struct uwb_rccb *cmd, in uwb_rc_neh_add() 253 static void __uwb_rc_neh_rm(struct uwb_rc *rc, struct uwb_rc_neh *neh) in __uwb_rc_neh_rm() 267 void uwb_rc_neh_rm(struct uwb_rc *rc, struct uwb_rc_neh *neh) in uwb_rc_neh_rm() 287 void uwb_rc_neh_arm(struct uwb_rc *rc, struct uwb_rc_neh *neh) in uwb_rc_neh_arm() 326 struct uwb_rc_neh *uwb_rc_neh_lookup(struct uwb_rc *rc, in uwb_rc_neh_lookup() 376 void uwb_rc_notif(struct uwb_rc *rc, struct uwb_rceb *rceb, ssize_t size) in uwb_rc_notif() 405 static void uwb_rc_neh_grok_event(struct uwb_rc *rc, struct uwb_rceb *rceb, size_t size) in uwb_rc_neh_grok_event() [all …]
|
D | address.c | 58 int uwb_rc_dev_addr_mgmt(struct uwb_rc *rc, in uwb_rc_dev_addr_mgmt() 123 static int uwb_rc_addr_set(struct uwb_rc *rc, in uwb_rc_addr_set() 161 static int uwb_rc_addr_get(struct uwb_rc *rc, in uwb_rc_addr_get() 202 int uwb_rc_mac_addr_get(struct uwb_rc *rc, in uwb_rc_mac_addr_get() 210 int uwb_rc_dev_addr_get(struct uwb_rc *rc, in uwb_rc_dev_addr_get() 218 int uwb_rc_mac_addr_set(struct uwb_rc *rc, in uwb_rc_mac_addr_set() 230 int uwb_rc_dev_addr_set(struct uwb_rc *rc, in uwb_rc_dev_addr_set() 276 int uwb_rc_dev_addr_assign(struct uwb_rc *rc) in uwb_rc_dev_addr_assign() 298 struct uwb_rc *rc = evt->rc; in uwbd_evt_handle_rc_dev_addr_conflict() 311 struct uwb_rc *rc = uwb_dev->rc; in uwb_rc_mac_addr_show() [all …]
|
D | beacon.c | 42 static int uwb_rc_start_beacon(struct uwb_rc *rc, u16 bpst_offset, u8 channel) in uwb_rc_start_beacon() 72 static int uwb_rc_stop_beacon(struct uwb_rc *rc) in uwb_rc_stop_beacon() 114 int uwb_rc_beacon(struct uwb_rc *rc, int channel, unsigned bpst_offset) in uwb_rc_beacon() 171 struct uwb_beca_e *__uwb_beca_find_bydev(struct uwb_rc *rc, in __uwb_beca_find_bydev() 186 struct uwb_beca_e *__uwb_beca_find_bymac(struct uwb_rc *rc, in __uwb_beca_find_bymac() 208 struct uwb_dev *uwb_dev_get_by_devaddr(struct uwb_rc *rc, in uwb_dev_get_by_devaddr() 228 struct uwb_dev *uwb_dev_get_by_macaddr(struct uwb_rc *rc, in uwb_dev_get_by_macaddr() 260 struct uwb_beca_e *__uwb_beca_add(struct uwb_rc *rc, in __uwb_beca_add() 282 void uwb_beca_purge(struct uwb_rc *rc) in uwb_beca_purge() 298 void uwb_beca_release(struct uwb_rc *rc) in uwb_beca_release() [all …]
|
D | reset.c | 68 int uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name, in uwb_rc_cmd_async() 120 static void uwb_rc_cmd_done(struct uwb_rc *rc, void *arg, in uwb_rc_cmd_done() 167 ssize_t __uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, in __uwb_rc_cmd() 223 ssize_t uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, in uwb_rc_cmd() 266 ssize_t uwb_rc_vcmd(struct uwb_rc *rc, const char *cmd_name, in uwb_rc_vcmd() 287 int uwb_rc_reset(struct uwb_rc *rc) in uwb_rc_reset() 321 struct uwb_rc *rc = evt->rc; in uwbd_msg_handle_reset() 344 void uwb_rc_reset_all(struct uwb_rc *rc) in uwb_rc_reset_all() 361 void uwb_rc_pre_reset(struct uwb_rc *rc) in uwb_rc_pre_reset() 371 void uwb_rc_post_reset(struct uwb_rc *rc) in uwb_rc_post_reset()
|
D | drp.c | 57 static void uwb_rc_set_drp_cmd_done(struct uwb_rc *rc, void *arg, in uwb_rc_set_drp_cmd_done() 99 int uwb_rc_send_all_drp_ie(struct uwb_rc *rc) in uwb_rc_send_all_drp_ie() 250 struct uwb_rc *rc = rsv->rc; in handle_conflict_normal() 292 struct uwb_rc *rc = rsv->rc; in handle_conflict_expanding() 336 static void uwb_drp_handle_conflict_rsv(struct uwb_rc *rc, struct uwb_rsv *rsv, in uwb_drp_handle_conflict_rsv() 360 static void uwb_drp_handle_all_conflict_rsv(struct uwb_rc *rc, in uwb_drp_handle_all_conflict_rsv() 376 static void uwb_drp_process_target(struct uwb_rc *rc, struct uwb_rsv *rsv, in uwb_drp_process_target() 452 static void uwb_drp_process_owner(struct uwb_rc *rc, struct uwb_rsv *rsv, in uwb_drp_process_owner() 545 struct uwb_rc *rc = cnflt->rc; in uwb_cnflt_update_work() 577 static void uwb_drp_handle_alien_drp(struct uwb_rc *rc, struct uwb_ie_drp *drp_ie) in uwb_drp_handle_alien_drp() [all …]
|
D | drp-avail.c | 49 void uwb_drp_avail_init(struct uwb_rc *rc) in uwb_drp_avail_init() 61 void uwb_drp_available(struct uwb_rc *rc, struct uwb_mas_bm *avail) in uwb_drp_available() 74 int uwb_drp_avail_reserve_pending(struct uwb_rc *rc, struct uwb_mas_bm *mas) in uwb_drp_avail_reserve_pending() 91 void uwb_drp_avail_reserve(struct uwb_rc *rc, struct uwb_mas_bm *mas) in uwb_drp_avail_reserve() 103 void uwb_drp_avail_release(struct uwb_rc *rc, struct uwb_mas_bm *mas) in uwb_drp_avail_release() 117 void uwb_drp_avail_ie_update(struct uwb_rc *rc) in uwb_drp_avail_ie_update() 274 struct uwb_rc *rc = evt->rc; in uwbd_evt_handle_rc_drp_avail()
|
D | uwb-debug.c | 85 static int cmd_rsv_establish(struct uwb_rc *rc, in cmd_rsv_establish() 122 static int cmd_rsv_terminate(struct uwb_rc *rc, in cmd_rsv_terminate() 150 static int cmd_ie_add(struct uwb_rc *rc, struct uwb_dbg_cmd_ie *ie_to_add) in cmd_ie_add() 157 static int cmd_ie_rm(struct uwb_rc *rc, struct uwb_dbg_cmd_ie *ie_to_rm) in cmd_ie_rm() 172 struct uwb_rc *rc = file->private_data; in command_write() 218 struct uwb_rc *rc = s->private; in reservations_print() 268 struct uwb_rc *rc = s->private; in drp_avail_print() 320 void uwb_dbg_add_rc(struct uwb_rc *rc) in uwb_dbg_add_rc() 357 void uwb_dbg_del_rc(struct uwb_rc *rc) in uwb_dbg_del_rc() 401 struct uwb_rc *rc = pal->rc; in uwb_dbg_create_pal_dir()
|
D | uwbd.c | 212 struct uwb_rc *rc; in uwbd_event_handle_message() 230 struct uwb_rc *rc; in uwbd_event_handle() 268 struct uwb_rc *rc = param; in uwbd() 303 void uwbd_start(struct uwb_rc *rc) in uwbd_start() 314 void uwbd_stop(struct uwb_rc *rc) in uwbd_stop() 334 struct uwb_rc *rc = evt->rc; in uwbd_event_queue() 351 void uwbd_flush(struct uwb_rc *rc) in uwbd_flush()
|
D | lc-dev.c | 53 int uwb_notifs_register(struct uwb_rc *rc, struct uwb_notifs_handler *new) in uwb_notifs_register() 66 int uwb_notifs_deregister(struct uwb_rc *rc, struct uwb_notifs_handler *entry) in uwb_notifs_deregister() 82 void uwb_notify(struct uwb_rc *rc, struct uwb_dev *uwb_dev, enum uwb_notifs event) in uwb_notify() 305 struct uwb_rc *parent_rc) in uwb_dev_add() 353 struct uwb_dev *uwb_dev_try_get(struct uwb_rc *rc, struct uwb_dev *uwb_dev) in uwb_dev_try_get() 366 int __uwb_dev_offair(struct uwb_dev *uwb_dev, struct uwb_rc *rc) in __uwb_dev_offair() 422 void uwbd_dev_onair(struct uwb_rc *rc, struct uwb_beca_e *bce) in uwbd_dev_onair() 473 int uwb_dev_for_each(struct uwb_rc *rc, uwb_dev_for_each_f function, void *priv) in uwb_dev_for_each()
|
D | pal.c | 42 struct uwb_rc *rc = pal->rc; in uwb_pal_register() 74 struct uwb_rc *rc = pal->rc; in uwb_pal_unregister() 95 void uwb_rc_pal_init(struct uwb_rc *rc) in uwb_rc_pal_init()
|
D | scan.c | 55 int uwb_rc_scan(struct uwb_rc *rc, in uwb_rc_scan() 102 struct uwb_rc *rc = uwb_dev->rc; in uwb_rc_scan_show() 119 struct uwb_rc *rc = uwb_dev->rc; in uwb_rc_scan_store()
|
D | est.c | 352 ssize_t uwb_est_get_size(struct uwb_rc *uwb_rc, struct uwb_est *est, in uwb_est_get_size() argument 358 struct device *dev = &uwb_rc->uwb_dev.dev; in uwb_est_get_size() 428 ssize_t uwb_est_find_size(struct uwb_rc *rc, const struct uwb_rceb *rceb, in uwb_est_find_size()
|
/drivers/usb/host/whci/ |
D | hcd.c | 236 wusbhc->uwb_rc = uwb_rc_get_by_grandpa(umc->dev.parent); in whc_probe() 237 if (!wusbhc->uwb_rc) { in whc_probe() 285 uwb_rc_put(wusbhc->uwb_rc); in whc_probe() 305 uwb_rc_put(wusbhc->uwb_rc); in whc_remove()
|
/drivers/uwb/i1480/i1480u-wlp/ |
D | netdev.c | 59 struct uwb_rc *rc, in i1480u_set_ip_mas() 106 static int i1480u_mas_set_dev(struct uwb_dev *uwb_dev, struct uwb_rc *rc, in i1480u_mas_set_dev() 149 struct uwb_rc *rc = i1480u->wlp.rc; in i1480u_bw_alloc_cb() 203 struct uwb_rc *rc; in i1480u_open()
|
D | lc.c | 200 struct uwb_rc *rc; in i1480u_add() 284 struct uwb_rc *rc = i1480u->wlp.rc; in i1480u_rm()
|
/drivers/usb/wusbcore/ |
D | reservation.c | 78 struct uwb_rc *rc = wusbhc->uwb_rc; in wusbhc_rsv_establish()
|
D | pal.c | 41 wusbhc->pal.rc = wusbhc->uwb_rc; in wusbhc_pal_register()
|
D | wusbhc.h | 251 struct uwb_rc *uwb_rc; member
|