Home
last modified time | relevance | path

Searched refs:tb_ctl (Results 1 – 3 of 3) sorted by relevance

/drivers/thunderbolt/
Dctl.h13 struct tb_ctl;
17 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, hotplug_cb cb, void *cb_data);
18 void tb_ctl_start(struct tb_ctl *ctl);
19 void tb_ctl_stop(struct tb_ctl *ctl);
20 void tb_ctl_free(struct tb_ctl *ctl);
56 int tb_cfg_error(struct tb_ctl *ctl, u64 route, u32 port,
58 struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route,
60 struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer,
64 struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, void *buffer,
68 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port,
[all …]
Dctl.c18 struct tb_ctl *ctl;
28 struct tb_ctl { struct
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()
474 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, hotplug_cb cb, void *cb_data) in tb_ctl_alloc()
477 struct tb_ctl *ctl = kzalloc(sizeof(*ctl), GFP_KERNEL); in tb_ctl_alloc()
520 void tb_ctl_free(struct tb_ctl *ctl) in tb_ctl_free()
[all …]
Dtb.h105 struct tb_ctl *ctl;