• Home
  • Raw
  • Download

Lines Matching defs:ctl

18 	struct tb_ctl *ctl;  member
43 #define tb_ctl_WARN(ctl, format, arg...) \ argument
46 #define tb_ctl_err(ctl, format, arg...) \ argument
49 #define tb_ctl_warn(ctl, format, arg...) \ argument
52 #define tb_ctl_info(ctl, format, arg...) \ argument
237 static void tb_cfg_print_error(struct tb_ctl *ctl, in tb_cfg_print_error()
304 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) in tb_ctl_pkg_alloc()
336 static int tb_ctl_tx(struct tb_ctl *ctl, void *data, size_t len, in tb_ctl_tx()
369 static void tb_ctl_handle_plug_event(struct tb_ctl *ctl, in tb_ctl_handle_plug_event()
440 static struct tb_cfg_result tb_ctl_rx(struct tb_ctl *ctl, void *buffer, in tb_ctl_rx()
477 struct tb_ctl *ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in tb_ctl_alloc() local
520 void tb_ctl_free(struct tb_ctl *ctl) in tb_ctl_free()
541 void tb_ctl_start(struct tb_ctl *ctl) in tb_ctl_start()
559 void tb_ctl_stop(struct tb_ctl *ctl) in tb_ctl_stop()
577 int tb_cfg_error(struct tb_ctl *ctl, u64 route, u32 port, in tb_cfg_error()
596 struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route, in tb_cfg_reset()
616 struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer, in tb_cfg_read_raw()
653 struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, void *buffer, in tb_cfg_write_raw()
685 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, in tb_cfg_read()
698 int tb_cfg_write(struct tb_ctl *ctl, void *buffer, u64 route, u32 port, in tb_cfg_write()
720 int tb_cfg_get_upstream_port(struct tb_ctl *ctl, u64 route) in tb_cfg_get_upstream_port()