Lines Matching defs:tc
208 struct tool_ctx *tc; member
233 struct tool_ctx *tc; member
239 struct tool_ctx *tc; member
244 struct tool_ctx *tc; member
291 struct tool_ctx *tc = ctx; in tool_link_event() local
306 struct tool_ctx *tc = ctx; in tool_db_event() local
320 struct tool_ctx *tc = ctx; in tool_msg_event() local
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()
408 struct tool_ctx *tc = filep->private_data; in tool_port_read() local
425 struct tool_ctx *tc = peer->tc; in tool_peer_port_read() local
439 static int tool_init_peers(struct tool_ctx *tc) in tool_init_peers()
465 struct tool_ctx *tc = filep->private_data; in tool_link_write() local
492 struct tool_ctx *tc = peer->tc; in tool_peer_link_read() local
514 struct tool_ctx *tc = peer->tc; in tool_peer_link_event_write() local
569 static int tool_setup_mw(struct tool_ctx *tc, int pidx, int widx, in tool_setup_mw()
619 static void tool_free_mw(struct tool_ctx *tc, int pidx, int widx) in tool_free_mw()
804 static int tool_setup_peer_mw(struct tool_ctx *tc, int pidx, int widx, in tool_setup_peer_mw()
847 static void tool_free_peer_mw(struct tool_ctx *tc, int widx) in tool_free_peer_mw()
958 static int tool_init_mws(struct tool_ctx *tc) in tool_init_mws()
1006 static void tool_clear_mws(struct tool_ctx *tc) in tool_clear_mws()
1028 struct tool_ctx *tc = filep->private_data; in tool_db_read() local
1036 struct tool_ctx *tc = filep->private_data; in tool_db_write() local
1049 struct tool_ctx *tc = filep->private_data; in tool_db_valid_mask_read() local
1061 struct tool_ctx *tc = filep->private_data; in tool_db_mask_read() local
1069 struct tool_ctx *tc = filep->private_data; in tool_db_mask_write() local
1082 struct tool_ctx *tc = filep->private_data; in tool_peer_db_read() local
1090 struct tool_ctx *tc = filep->private_data; in tool_peer_db_write() local
1103 struct tool_ctx *tc = filep->private_data; in tool_peer_db_mask_read() local
1113 struct tool_ctx *tc = filep->private_data; in tool_peer_db_mask_write() local
1128 struct tool_ctx *tc = filep->private_data; in tool_db_event_write() local
1233 static int tool_init_spads(struct tool_ctx *tc) in tool_init_spads()
1318 struct tool_ctx *tc = filep->private_data; in tool_msg_sts_read() local
1326 struct tool_ctx *tc = filep->private_data; in tool_msg_sts_write() local
1339 struct tool_ctx *tc = filep->private_data; in tool_msg_inbits_read() local
1351 struct tool_ctx *tc = filep->private_data; in tool_msg_outbits_read() local
1363 struct tool_ctx *tc = filep->private_data; in tool_msg_mask_write() local
1378 struct tool_ctx *tc = filep->private_data; in tool_msg_event_write() local
1397 static int tool_init_msgs(struct tool_ctx *tc) in tool_init_msgs()
1440 struct tool_ctx *tc; in tool_create_data() local
1460 static void tool_clear_data(struct tool_ctx *tc) in tool_clear_data()
1467 static int tool_init_ntb(struct tool_ctx *tc) in tool_init_ntb()
1472 static void tool_clear_ntb(struct tool_ctx *tc) in tool_clear_ntb()
1478 static void tool_setup_dbgfs(struct tool_ctx *tc) in tool_setup_dbgfs()
1600 static void tool_clear_dbgfs(struct tool_ctx *tc) in tool_clear_dbgfs()
1607 struct tool_ctx *tc; in tool_probe() local
1649 struct tool_ctx *tc = ntb->ctx; in tool_remove() local