Lines Matching refs:tool_ctx

208 	struct tool_ctx *tc;
233 struct tool_ctx *tc;
239 struct tool_ctx *tc;
244 struct tool_ctx *tc;
256 struct tool_ctx { struct
291 struct tool_ctx *tc = ctx; in tool_link_event() argument
306 struct tool_ctx *tc = ctx; in tool_db_event()
320 struct tool_ctx *tc = ctx; in tool_msg_event()
341 static ssize_t tool_fn_read(struct tool_ctx *tc, char __user *ubuf, in tool_fn_read()
359 static ssize_t tool_fn_write(struct tool_ctx *tc, in tool_fn_write()
413 struct tool_ctx *tc = filep->private_data; in tool_port_read()
430 struct tool_ctx *tc = peer->tc; in tool_peer_port_read()
444 static int tool_init_peers(struct tool_ctx *tc) in tool_init_peers()
470 struct tool_ctx *tc = filep->private_data; in tool_link_write()
497 struct tool_ctx *tc = peer->tc; in tool_peer_link_read()
519 struct tool_ctx *tc = peer->tc; in tool_peer_link_event_write()
574 static int tool_setup_mw(struct tool_ctx *tc, int pidx, int widx, in tool_setup_mw()
624 static void tool_free_mw(struct tool_ctx *tc, int pidx, int widx) in tool_free_mw()
809 static int tool_setup_peer_mw(struct tool_ctx *tc, int pidx, int widx, in tool_setup_peer_mw()
852 static void tool_free_peer_mw(struct tool_ctx *tc, int widx) in tool_free_peer_mw()
963 static int tool_init_mws(struct tool_ctx *tc) in tool_init_mws()
1009 static void tool_clear_mws(struct tool_ctx *tc) in tool_clear_mws()
1031 struct tool_ctx *tc = filep->private_data; in tool_db_read()
1039 struct tool_ctx *tc = filep->private_data; in tool_db_write()
1052 struct tool_ctx *tc = filep->private_data; in tool_db_valid_mask_read()
1064 struct tool_ctx *tc = filep->private_data; in tool_db_mask_read()
1072 struct tool_ctx *tc = filep->private_data; in tool_db_mask_write()
1085 struct tool_ctx *tc = filep->private_data; in tool_peer_db_read()
1093 struct tool_ctx *tc = filep->private_data; in tool_peer_db_write()
1106 struct tool_ctx *tc = filep->private_data; in tool_peer_db_mask_read()
1116 struct tool_ctx *tc = filep->private_data; in tool_peer_db_mask_write()
1131 struct tool_ctx *tc = filep->private_data; in tool_db_event_write()
1236 static int tool_init_spads(struct tool_ctx *tc) in tool_init_spads()
1321 struct tool_ctx *tc = filep->private_data; in tool_msg_sts_read()
1329 struct tool_ctx *tc = filep->private_data; in tool_msg_sts_write()
1342 struct tool_ctx *tc = filep->private_data; in tool_msg_inbits_read()
1354 struct tool_ctx *tc = filep->private_data; in tool_msg_outbits_read()
1366 struct tool_ctx *tc = filep->private_data; in tool_msg_mask_write()
1381 struct tool_ctx *tc = filep->private_data; in tool_msg_event_write()
1400 static int tool_init_msgs(struct tool_ctx *tc) in tool_init_msgs()
1441 static struct tool_ctx *tool_create_data(struct ntb_dev *ntb) in tool_create_data()
1443 struct tool_ctx *tc; in tool_create_data()
1463 static void tool_clear_data(struct tool_ctx *tc) in tool_clear_data()
1470 static int tool_init_ntb(struct tool_ctx *tc) in tool_init_ntb()
1475 static void tool_clear_ntb(struct tool_ctx *tc) in tool_clear_ntb()
1481 static void tool_setup_dbgfs(struct tool_ctx *tc) in tool_setup_dbgfs()
1605 static void tool_clear_dbgfs(struct tool_ctx *tc) in tool_clear_dbgfs()
1612 struct tool_ctx *tc; in tool_probe()
1654 struct tool_ctx *tc = ntb->ctx; in tool_remove()