Lines Matching defs:ctl
58 #define tb_ctl_WARN(ctl, format, arg...) \ argument
61 #define tb_ctl_err(ctl, format, arg...) \ argument
64 #define tb_ctl_warn(ctl, format, arg...) \ argument
67 #define tb_ctl_info(ctl, format, arg...) \ argument
70 #define tb_ctl_dbg(ctl, format, arg...) \ argument
73 #define tb_ctl_dbg_once(ctl, format, arg...) \ argument
131 static int tb_cfg_request_enqueue(struct tb_ctl *ctl, in tb_cfg_request_enqueue()
151 struct tb_ctl *ctl = req->ctl; in tb_cfg_request_dequeue() local
167 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find()
271 static void tb_cfg_print_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_print_error()
327 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) in tb_ctl_pkg_alloc()
359 static int tb_ctl_tx(struct tb_ctl *ctl, const void *data, size_t len, in tb_ctl_tx()
395 static bool tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, in tb_ctl_handle_event()
538 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, in tb_cfg_request()
604 struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, in tb_cfg_request_sync()
645 struct tb_ctl *ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in tb_ctl_alloc() local
693 void tb_ctl_free(struct tb_ctl *ctl) in tb_ctl_free()
718 void tb_ctl_start(struct tb_ctl *ctl) in tb_ctl_start()
739 void tb_ctl_stop(struct tb_ctl *ctl) in tb_ctl_stop()
765 int tb_cfg_ack_notification(struct tb_ctl *ctl, u64 route, in tb_cfg_ack_notification()
828 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug) in tb_cfg_ack_plug()
894 struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route) in tb_cfg_reset()
936 struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, in tb_cfg_read_raw()
1007 struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, const void *buffer, in tb_cfg_write_raw()
1065 static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_get_error()
1088 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, in tb_cfg_read()
1114 int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port, in tb_cfg_write()
1151 int tb_cfg_get_upstream_port(struct tb_ctl *ctl, u64 route) in tb_cfg_get_upstream_port()