/linux-3.4.99/drivers/uwb/ |
D | uwb-internal.h | 40 extern int __uwb_dev_offair(struct uwb_dev *, struct uwb_rc *); 42 struct uwb_rc *parent_rc); 44 extern void uwbd_dev_onair(struct uwb_rc *, struct uwb_beca_e *); 46 void uwb_notify(struct uwb_rc *rc, struct uwb_dev *uwb_dev, enum uwb_notifs event); 49 extern struct uwb_rc *__uwb_rc_try_get(struct uwb_rc *); 50 static inline struct uwb_rc *__uwb_rc_get(struct uwb_rc *rc) in __uwb_rc_get() 56 static inline void __uwb_rc_put(struct uwb_rc *rc) in __uwb_rc_put() 61 extern int uwb_rc_reset(struct uwb_rc *rc); 62 extern int uwb_rc_beacon(struct uwb_rc *rc, 64 extern int uwb_rc_scan(struct uwb_rc *rc, [all …]
|
D | ie.c | 110 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 113 struct device *dev = &uwb_rc->uwb_dev.dev; in uwb_rc_get_ie() 124 result = uwb_rc_vcmd(uwb_rc, "GET_IE", cmd, sizeof(*cmd), in uwb_rc_get_ie() 155 int uwb_rc_set_ie(struct uwb_rc *rc, struct uwb_rc_cmd_set_ie *cmd) in uwb_rc_set_ie() 184 void uwb_rc_ie_init(struct uwb_rc *uwb_rc) in uwb_rc_ie_init() argument 186 mutex_init(&uwb_rc->ies_mutex); in uwb_rc_ie_init() 200 int uwb_rc_ie_setup(struct uwb_rc *uwb_rc) in uwb_rc_ie_setup() argument 205 capacity = uwb_rc_get_ie(uwb_rc, &ie_info); in uwb_rc_ie_setup() 209 mutex_lock(&uwb_rc->ies_mutex); in uwb_rc_ie_setup() 211 uwb_rc->ies = (struct uwb_rc_cmd_set_ie *)ie_info; in uwb_rc_ie_setup() [all …]
|
D | whc-rc.c | 65 struct uwb_rc *uwb_rc; /* UWB host controller */ member 92 static int whcrc_cmd(struct uwb_rc *uwb_rc, in whcrc_cmd() argument 96 struct whcrc *whcrc = uwb_rc->priv; in whcrc_cmd() 111 uwb_rc_reset_all(uwb_rc); in whcrc_cmd() 135 static int whcrc_reset(struct uwb_rc *rc) in whcrc_reset() 178 uwb_rc_neh_grok(whcrc->uwb_rc, whcrc->evt_buf, size); in whcrc_event_work() 303 static int whcrc_start_rc(struct uwb_rc *rc) in whcrc_start_rc() 334 void whcrc_stop_rc(struct uwb_rc *rc) in whcrc_stop_rc() 366 struct uwb_rc *uwb_rc; in whcrc_probe() local 371 uwb_rc = uwb_rc_alloc(); in whcrc_probe() [all …]
|
D | hwa-rc.c | 84 struct uwb_rc *uwb_rc; /* UWB host controller */ member 117 int hwarc_filter_evt_beacon_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_beacon_WUSB_0100() 175 int hwarc_filter_evt_drp_avail_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_drp_avail_WUSB_0100() 250 int hwarc_filter_evt_drp_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_evt_drp_WUSB_0100() 309 int hwarc_filter_cmd_scan_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_cmd_scan_WUSB_0100() 347 int hwarc_filter_cmd_set_drp_ie_WUSB_0100(struct uwb_rc *rc, in hwarc_filter_cmd_set_drp_ie_WUSB_0100() 392 int hwarc_filter_cmd_WUSB_0100(struct uwb_rc *rc, struct uwb_rccb **header, in hwarc_filter_cmd_WUSB_0100() 424 int hwarc_filter_cmd(struct uwb_rc *rc, struct uwb_rccb **header, in hwarc_filter_cmd() 445 ssize_t hwarc_get_event_size(struct uwb_rc *rc, const struct uwb_rceb *rceb, in hwarc_get_event_size() 498 int hwarc_filter_event_WUSB_0100(struct uwb_rc *rc, struct uwb_rceb **header, in hwarc_filter_event_WUSB_0100() [all …]
|
D | lc-rc.c | 46 struct uwb_rc *rc = dev_get_drvdata(dev); in uwb_rc_index_match() 53 static struct uwb_rc *uwb_rc_find_by_index(int index) in uwb_rc_find_by_index() 56 struct uwb_rc *rc = NULL; in uwb_rc_find_by_index() 82 struct uwb_rc *rc = container_of(uwb_dev, struct uwb_rc, uwb_dev); in uwb_rc_sys_release() 89 void uwb_rc_init(struct uwb_rc *rc) in uwb_rc_init() 111 struct uwb_rc *uwb_rc_alloc(void) in uwb_rc_alloc() 113 struct uwb_rc *rc; in uwb_rc_alloc() 136 static int uwb_rc_sys_add(struct uwb_rc *rc) in uwb_rc_sys_add() 142 static void __uwb_rc_sys_rm(struct uwb_rc *rc) in __uwb_rc_sys_rm() 157 int uwb_rc_mac_addr_setup(struct uwb_rc *rc) in uwb_rc_mac_addr_setup() [all …]
|
D | radio.c | 25 static int uwb_radio_select_channel(struct uwb_rc *rc) in uwb_radio_select_channel() 42 static void uwb_radio_channel_changed(struct uwb_rc *rc, int channel) in uwb_radio_channel_changed() 62 static int uwb_radio_change_channel(struct uwb_rc *rc, int channel) in uwb_radio_change_channel() 97 struct uwb_rc *rc = pal->rc; in uwb_radio_start() 121 struct uwb_rc *rc = pal->rc; in uwb_radio_stop() 141 int uwb_radio_force_channel(struct uwb_rc *rc, int channel) in uwb_radio_force_channel() 161 int uwb_radio_setup(struct uwb_rc *rc) in uwb_radio_setup() 173 void uwb_radio_reset_state(struct uwb_rc *rc) in uwb_radio_reset_state() 199 void uwb_radio_shutdown(struct uwb_rc *rc) in uwb_radio_shutdown()
|
D | neh.c | 106 struct uwb_rc *rc; 163 int __uwb_rc_ctx_get(struct uwb_rc *rc, struct uwb_rc_neh *neh) in __uwb_rc_ctx_get() 183 void __uwb_rc_ctx_put(struct uwb_rc *rc, struct uwb_rc_neh *neh) in __uwb_rc_ctx_put() 209 struct uwb_rc_neh *uwb_rc_neh_add(struct uwb_rc *rc, struct uwb_rccb *cmd, in uwb_rc_neh_add() 256 static void __uwb_rc_neh_rm(struct uwb_rc *rc, struct uwb_rc_neh *neh) in __uwb_rc_neh_rm() 270 void uwb_rc_neh_rm(struct uwb_rc *rc, struct uwb_rc_neh *neh) in uwb_rc_neh_rm() 290 void uwb_rc_neh_arm(struct uwb_rc *rc, struct uwb_rc_neh *neh) in uwb_rc_neh_arm() 329 struct uwb_rc_neh *uwb_rc_neh_lookup(struct uwb_rc *rc, in uwb_rc_neh_lookup() 379 void uwb_rc_notif(struct uwb_rc *rc, struct uwb_rceb *rceb, ssize_t size) in uwb_rc_notif() 408 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 | 59 int uwb_rc_dev_addr_mgmt(struct uwb_rc *rc, in uwb_rc_dev_addr_mgmt() 124 static int uwb_rc_addr_set(struct uwb_rc *rc, in uwb_rc_addr_set() 162 static int uwb_rc_addr_get(struct uwb_rc *rc, in uwb_rc_addr_get() 203 int uwb_rc_mac_addr_get(struct uwb_rc *rc, in uwb_rc_mac_addr_get() 211 int uwb_rc_dev_addr_get(struct uwb_rc *rc, in uwb_rc_dev_addr_get() 219 int uwb_rc_mac_addr_set(struct uwb_rc *rc, in uwb_rc_mac_addr_set() 231 int uwb_rc_dev_addr_set(struct uwb_rc *rc, in uwb_rc_dev_addr_set() 277 int uwb_rc_dev_addr_assign(struct uwb_rc *rc) in uwb_rc_dev_addr_assign() 299 struct uwb_rc *rc = evt->rc; in uwbd_evt_handle_rc_dev_addr_conflict() 312 struct uwb_rc *rc = uwb_dev->rc; in uwb_rc_mac_addr_show() [all …]
|
D | rsv.c | 149 struct uwb_rc *rc = rsv->rc; in uwb_rsv_get_stream() 179 struct uwb_rc *rc = rsv->rc; in uwb_rsv_put_stream() 202 struct uwb_rc *rc = container_of(bow, struct uwb_rc, bow); in uwb_rsv_backoff_win_timer() 220 void uwb_rsv_backoff_win_increment(struct uwb_rc *rc) in uwb_rsv_backoff_win_increment() 400 struct uwb_rc *rc = rsv->rc; in uwb_rsv_handle_timeout_work() 455 static struct uwb_rsv *uwb_rsv_alloc(struct uwb_rc *rc) in uwb_rsv_alloc() 489 struct uwb_rsv *uwb_rsv_create(struct uwb_rc *rc, uwb_rsv_cb_f cb, void *pal_priv) in uwb_rsv_create() 551 struct uwb_rc *rc = rsv->rc; in uwb_rsv_establish() 609 struct uwb_rc *rc = rsv->rc; in uwb_rsv_try_move() 638 void uwb_rsv_handle_drp_avail_change(struct uwb_rc *rc) in uwb_rsv_handle_drp_avail_change() [all …]
|
D | reset.c | 71 int uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name, in uwb_rc_cmd_async() 123 static void uwb_rc_cmd_done(struct uwb_rc *rc, void *arg, in uwb_rc_cmd_done() 170 ssize_t __uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, in __uwb_rc_cmd() 226 ssize_t uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name, in uwb_rc_cmd() 269 ssize_t uwb_rc_vcmd(struct uwb_rc *rc, const char *cmd_name, in uwb_rc_vcmd() 290 int uwb_rc_reset(struct uwb_rc *rc) in uwb_rc_reset() 324 struct uwb_rc *rc = evt->rc; in uwbd_msg_handle_reset() 349 void uwb_rc_reset_all(struct uwb_rc *rc) in uwb_rc_reset_all() 366 void uwb_rc_pre_reset(struct uwb_rc *rc) in uwb_rc_pre_reset() 376 int uwb_rc_post_reset(struct uwb_rc *rc) in uwb_rc_post_reset()
|
D | beacon.c | 43 static int uwb_rc_start_beacon(struct uwb_rc *rc, u16 bpst_offset, u8 channel) in uwb_rc_start_beacon() 73 static int uwb_rc_stop_beacon(struct uwb_rc *rc) in uwb_rc_stop_beacon() 115 int uwb_rc_beacon(struct uwb_rc *rc, int channel, unsigned bpst_offset) in uwb_rc_beacon() 172 struct uwb_beca_e *__uwb_beca_find_bydev(struct uwb_rc *rc, in __uwb_beca_find_bydev() 187 struct uwb_beca_e *__uwb_beca_find_bymac(struct uwb_rc *rc, in __uwb_beca_find_bymac() 209 struct uwb_dev *uwb_dev_get_by_devaddr(struct uwb_rc *rc, in uwb_dev_get_by_devaddr() 229 struct uwb_dev *uwb_dev_get_by_macaddr(struct uwb_rc *rc, in uwb_dev_get_by_macaddr() 261 struct uwb_beca_e *__uwb_beca_add(struct uwb_rc *rc, in __uwb_beca_add() 283 void uwb_beca_purge(struct uwb_rc *rc) in uwb_beca_purge() 299 void uwb_beca_release(struct uwb_rc *rc) in uwb_beca_release() [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 | drp.c | 58 static void uwb_rc_set_drp_cmd_done(struct uwb_rc *rc, void *arg, in uwb_rc_set_drp_cmd_done() 100 int uwb_rc_send_all_drp_ie(struct uwb_rc *rc) in uwb_rc_send_all_drp_ie() 251 struct uwb_rc *rc = rsv->rc; in handle_conflict_normal() 293 struct uwb_rc *rc = rsv->rc; in handle_conflict_expanding() 337 static void uwb_drp_handle_conflict_rsv(struct uwb_rc *rc, struct uwb_rsv *rsv, in uwb_drp_handle_conflict_rsv() 361 static void uwb_drp_handle_all_conflict_rsv(struct uwb_rc *rc, in uwb_drp_handle_all_conflict_rsv() 377 static void uwb_drp_process_target(struct uwb_rc *rc, struct uwb_rsv *rsv, in uwb_drp_process_target() 453 static void uwb_drp_process_owner(struct uwb_rc *rc, struct uwb_rsv *rsv, in uwb_drp_process_owner() 546 struct uwb_rc *rc = cnflt->rc; in uwb_cnflt_update_work() 578 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 | uwbd.c | 213 struct uwb_rc *rc; in uwbd_event_handle_message() 231 struct uwb_rc *rc; in uwbd_event_handle() 269 struct uwb_rc *rc = param; in uwbd() 304 void uwbd_start(struct uwb_rc *rc) in uwbd_start() 315 void uwbd_stop(struct uwb_rc *rc) in uwbd_stop() 335 struct uwb_rc *rc = evt->rc; in uwbd_event_queue() 352 void uwbd_flush(struct uwb_rc *rc) in uwbd_flush()
|
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() 165 struct uwb_rc *rc = file->private_data; in command_write() 211 struct uwb_rc *rc = s->private; in reservations_print() 261 struct uwb_rc *rc = s->private; in drp_avail_print() 313 void uwb_dbg_add_rc(struct uwb_rc *rc) in uwb_dbg_add_rc() 350 void uwb_dbg_del_rc(struct uwb_rc *rc) in uwb_dbg_del_rc() 394 struct uwb_rc *rc = pal->rc; in uwb_dbg_create_pal_dir()
|
D | pal.c | 43 struct uwb_rc *rc = pal->rc; in uwb_pal_register() 75 struct uwb_rc *rc = pal->rc; in uwb_pal_unregister() 96 void uwb_rc_pal_init(struct uwb_rc *rc) in uwb_rc_pal_init()
|
D | lc-dev.c | 56 int uwb_notifs_register(struct uwb_rc *rc, struct uwb_notifs_handler *new) in uwb_notifs_register() 69 int uwb_notifs_deregister(struct uwb_rc *rc, struct uwb_notifs_handler *entry) in uwb_notifs_deregister() 85 void uwb_notify(struct uwb_rc *rc, struct uwb_dev *uwb_dev, enum uwb_notifs event) in uwb_notify() 308 struct uwb_rc *parent_rc) in uwb_dev_add() 356 struct uwb_dev *uwb_dev_try_get(struct uwb_rc *rc, struct uwb_dev *uwb_dev) in uwb_dev_try_get() 369 int __uwb_dev_offair(struct uwb_dev *uwb_dev, struct uwb_rc *rc) in __uwb_dev_offair() 425 void uwbd_dev_onair(struct uwb_rc *rc, struct uwb_beca_e *bce) in uwbd_dev_onair() 476 int uwb_dev_for_each(struct uwb_rc *rc, uwb_dev_for_each_f function, void *priv) in uwb_dev_for_each()
|
D | scan.c | 57 int uwb_rc_scan(struct uwb_rc *rc, in uwb_rc_scan() 104 struct uwb_rc *rc = uwb_dev->rc; in uwb_rc_scan_show() 121 struct uwb_rc *rc = uwb_dev->rc; in uwb_rc_scan_store()
|
D | est.c | 354 ssize_t uwb_est_get_size(struct uwb_rc *uwb_rc, struct uwb_est *est, in uwb_est_get_size() argument 360 struct device *dev = &uwb_rc->uwb_dev.dev; in uwb_est_get_size() 430 ssize_t uwb_est_find_size(struct uwb_rc *rc, const struct uwb_rceb *rceb, in uwb_est_find_size()
|
/linux-3.4.99/include/linux/ |
D | uwb.h | 40 struct uwb_rc; 64 struct uwb_rc *rc; /* radio controller */ 240 struct uwb_rc *rc; 318 struct uwb_rsv *uwb_rsv_create(struct uwb_rc *rc, uwb_rsv_cb_f cb, 371 struct uwb_rc { struct 378 int (*start)(struct uwb_rc *rc); argument 379 void (*stop)(struct uwb_rc *rc); argument 380 int (*cmd)(struct uwb_rc *, const struct uwb_rccb *, size_t); argument 381 int (*reset)(struct uwb_rc *rc); argument 382 int (*filter_cmd)(struct uwb_rc *, struct uwb_rccb **, size_t *); argument [all …]
|
/linux-3.4.99/Documentation/ABI/testing/ |
D | sysfs-class-uwb_rc | 1 What: /sys/class/uwb_rc 12 What: /sys/class/uwb_rc/beacon_timeout_ms 21 What: /sys/class/uwb_rc/uwbN/ 28 What: /sys/class/uwb_rc/uwbN/beacon 46 What: /sys/class/uwb_rc/uwbN/scan 62 What: /sys/class/uwb_rc/uwbN/mac_address 72 What: /sys/class/uwb_rc/uwbN/wusbhc 80 What: /sys/class/uwb_rc/uwbN/<EUI-48>/ 89 What: /sys/class/uwb_rc/uwbN/<EUI-48>/BPST 98 What: /sys/class/uwb_rc/uwbN/<EUI-48>/DevAddr [all …]
|
D | sysfs-class-uwb_rc-wusbhc | 1 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_chid 12 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_trust_timeout 27 What: /sys/class/uwb_rc/uwbN/wusbhc/wusb_phy_rate
|
/linux-3.4.99/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()
|
/linux-3.4.99/drivers/usb/host/whci/ |
D | hcd.c | 265 wusbhc->uwb_rc = uwb_rc_get_by_grandpa(umc->dev.parent); in whc_probe() 266 if (!wusbhc->uwb_rc) { in whc_probe() 314 uwb_rc_put(wusbhc->uwb_rc); in whc_probe() 334 uwb_rc_put(wusbhc->uwb_rc); in whc_remove()
|