Lines Matching refs:perf_ctx
141 struct perf_ctx;
144 struct perf_ctx *perf;
166 struct perf_ctx *perf;
184 struct perf_ctx { struct
202 int (*cmd_recv)(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, argument
244 static void perf_terminate_test(struct perf_ctx *perf);
257 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send()
303 static int perf_spad_cmd_recv(struct perf_ctx *perf, int *pidx, in perf_spad_cmd_recv()
350 struct perf_ctx *perf = peer->perf; in perf_msg_cmd_send()
393 static int perf_msg_cmd_recv(struct perf_ctx *perf, int *pidx, in perf_msg_cmd_recv()
423 struct perf_ctx *perf = peer->perf; in perf_cmd_send()
456 static int perf_cmd_recv(struct perf_ctx *perf) in perf_cmd_recv()
484 struct perf_ctx *perf = ctx; in perf_link_event()
506 struct perf_ctx *perf = ctx; in perf_db_event()
517 struct perf_ctx *perf = ctx; in perf_msg_event()
539 struct perf_ctx *perf = peer->perf; in perf_setup_outbuf()
570 struct perf_ctx *perf = peer->perf; in perf_setup_inbuf()
654 static int perf_init_service(struct perf_ctx *perf) in perf_init_service()
692 static int perf_enable_service(struct perf_ctx *perf) in perf_enable_service()
736 static void perf_disable_service(struct perf_ctx *perf) in perf_disable_service()
851 struct perf_ctx *perf = data; in perf_dma_filter()
861 struct perf_ctx *perf = pthr->perf; in perf_init_test()
894 struct perf_ctx *perf = pthr->perf; in perf_run_test()
937 struct perf_ctx *perf = pthr->perf; in perf_sync_test()
966 struct perf_ctx *perf = pthr->perf; in perf_clear_test()
1015 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) in perf_set_tcnt()
1030 static void perf_terminate_test(struct perf_ctx *perf) in perf_terminate_test()
1045 struct perf_ctx *perf = peer->perf; in perf_submit_test()
1080 static int perf_read_stats(struct perf_ctx *perf, char *buf, in perf_read_stats()
1115 static void perf_init_threads(struct perf_ctx *perf) in perf_init_threads()
1135 static void perf_clear_threads(struct perf_ctx *perf) in perf_clear_threads()
1148 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_info()
1228 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_run()
1250 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_run()
1279 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_tcnt()
1292 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_tcnt()
1313 static void perf_setup_dbgfs(struct perf_ctx *perf) in perf_setup_dbgfs()
1340 static void perf_clear_dbgfs(struct perf_ctx *perf) in perf_clear_dbgfs()
1350 static struct perf_ctx *perf_create_data(struct ntb_dev *ntb) in perf_create_data()
1352 struct perf_ctx *perf; in perf_create_data()
1371 struct perf_ctx *perf = peer->perf; in perf_setup_peer_mw()
1396 static int perf_init_peers(struct perf_ctx *perf) in perf_init_peers()
1433 struct perf_ctx *perf; in perf_probe()
1461 struct perf_ctx *perf = ntb->ctx; in perf_remove()