Lines Matching refs:ctl_pkg
42 struct ctl_pkg *rx_packets[TB_CTL_RX_PKG_COUNT];
159 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find()
180 static int check_header(const struct ctl_pkg *pkg, u32 len, in check_header()
230 static struct tb_cfg_result decode_error(const struct ctl_pkg *response) in decode_error()
248 static struct tb_cfg_result parse_header(const struct ctl_pkg *pkg, u32 len, in parse_header()
310 static void tb_ctl_pkg_free(struct ctl_pkg *pkg) in tb_ctl_pkg_free()
319 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) in tb_ctl_pkg_alloc()
321 struct ctl_pkg *pkg = kzalloc(sizeof(*pkg), GFP_KERNEL); in tb_ctl_pkg_alloc()
340 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); in tb_ctl_tx_callback()
355 struct ctl_pkg *pkg; in tb_ctl_tx()
385 struct ctl_pkg *pkg, size_t size) in tb_ctl_handle_event()
390 static void tb_ctl_rx_submit(struct ctl_pkg *pkg) in tb_ctl_rx_submit()
400 static int tb_async_error(const struct ctl_pkg *pkg) in tb_async_error()
422 struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); in tb_ctl_rx_callback()
797 const struct ctl_pkg *pkg) in tb_cfg_match()
823 static bool tb_cfg_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in tb_cfg_copy()