Lines Matching refs:uwb_rc
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
383 int (*filter_event)(struct uwb_rc *, struct uwb_rceb **, const size_t, argument
457 struct uwb_rc *rc;
479 struct uwb_dev *uwb_dev_get_by_devaddr(struct uwb_rc *rc,
481 struct uwb_dev *uwb_dev_get_by_rc(struct uwb_dev *, struct uwb_rc *);
490 struct uwb_dev *uwb_dev_try_get(struct uwb_rc *rc, struct uwb_dev *uwb_dev);
504 int uwb_dev_for_each(struct uwb_rc *rc, uwb_dev_for_each_f func, void *priv);
506 struct uwb_rc *uwb_rc_alloc(void);
507 struct uwb_rc *uwb_rc_get_by_dev(const struct uwb_dev_addr *);
508 struct uwb_rc *uwb_rc_get_by_grandpa(const struct device *);
509 void uwb_rc_put(struct uwb_rc *rc);
511 typedef void (*uwb_rc_cmd_cb_f)(struct uwb_rc *rc, void *arg,
514 int uwb_rc_cmd_async(struct uwb_rc *rc, const char *cmd_name,
518 ssize_t uwb_rc_cmd(struct uwb_rc *rc, const char *cmd_name,
521 ssize_t uwb_rc_vcmd(struct uwb_rc *rc, const char *cmd_name,
528 int uwb_rc_dev_addr_set(struct uwb_rc *, const struct uwb_dev_addr *);
529 int uwb_rc_dev_addr_get(struct uwb_rc *, struct uwb_dev_addr *);
530 int uwb_rc_mac_addr_set(struct uwb_rc *, const struct uwb_mac_addr *);
531 int uwb_rc_mac_addr_get(struct uwb_rc *, struct uwb_mac_addr *);
582 static inline unsigned __uwb_dev_addr_assigned(struct uwb_rc *rc, in __uwb_dev_addr_assigned()
594 void uwb_rc_init(struct uwb_rc *);
595 int uwb_rc_add(struct uwb_rc *, struct device *dev, void *rc_priv);
596 void uwb_rc_rm(struct uwb_rc *);
597 void uwb_rc_neh_grok(struct uwb_rc *, void *, size_t);
598 void uwb_rc_neh_error(struct uwb_rc *, int);
599 void uwb_rc_reset_all(struct uwb_rc *rc);
600 void uwb_rc_pre_reset(struct uwb_rc *rc);
601 int uwb_rc_post_reset(struct uwb_rc *rc);
634 int uwb_notifs_register(struct uwb_rc *, struct uwb_notifs_handler *);
635 int uwb_notifs_deregister(struct uwb_rc *, struct uwb_notifs_handler *);
684 ssize_t uwb_est_find_size(struct uwb_rc *rc, const struct uwb_rceb *rceb,
735 int uwb_rc_ie_add(struct uwb_rc *uwb_rc, const struct uwb_ie_hdr *ies, size_t size);
736 int uwb_rc_ie_rm(struct uwb_rc *uwb_rc, enum uwb_ie element_id);