Lines Matching refs:tool_ctx
110 struct tool_ctx { struct
129 struct tool_ctx *tc = ctx; in tool_link_event() argument
142 struct tool_ctx *tc = ctx; in tool_db_event()
157 static ssize_t tool_dbfn_read(struct tool_ctx *tc, char __user *ubuf, in tool_dbfn_read()
184 static ssize_t tool_dbfn_write(struct tool_ctx *tc, in tool_dbfn_write()
230 static ssize_t tool_spadfn_read(struct tool_ctx *tc, char __user *ubuf, in tool_spadfn_read()
263 static ssize_t tool_spadfn_write(struct tool_ctx *tc, in tool_spadfn_write()
312 struct tool_ctx *tc = filep->private_data; in tool_db_read()
321 struct tool_ctx *tc = filep->private_data; in tool_db_write()
335 struct tool_ctx *tc = filep->private_data; in tool_mask_read()
344 struct tool_ctx *tc = filep->private_data; in tool_mask_write()
358 struct tool_ctx *tc = filep->private_data; in tool_peer_db_read()
367 struct tool_ctx *tc = filep->private_data; in tool_peer_db_write()
381 struct tool_ctx *tc = filep->private_data; in tool_peer_mask_read()
390 struct tool_ctx *tc = filep->private_data; in tool_peer_mask_write()
404 struct tool_ctx *tc = filep->private_data; in tool_spad_read()
413 struct tool_ctx *tc = filep->private_data; in tool_spad_write()
426 struct tool_ctx *tc = filep->private_data; in tool_peer_spad_read()
435 struct tool_ctx *tc = filep->private_data; in tool_peer_spad_write()
445 static void tool_setup_dbgfs(struct tool_ctx *tc) in tool_setup_dbgfs()
479 struct tool_ctx *tc; in tool_probe()
516 struct tool_ctx *tc = ntb->ctx; in tool_remove()