Lines Matching refs:perf_ctx
141 struct perf_ctx;
144 struct perf_ctx *perf;
169 struct perf_ctx *perf;
187 struct perf_ctx { struct
205 int (*cmd_recv)(struct perf_ctx *perf, int *pidx, enum perf_cmd *cmd, argument
247 static void perf_terminate_test(struct perf_ctx *perf);
260 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send()
304 static int perf_spad_cmd_recv(struct perf_ctx *perf, int *pidx, in perf_spad_cmd_recv()
351 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()
571 struct perf_ctx *perf = peer->perf; in perf_setup_inbuf()
658 static int perf_init_service(struct perf_ctx *perf) in perf_init_service()
696 static int perf_enable_service(struct perf_ctx *perf) in perf_enable_service()
740 static void perf_disable_service(struct perf_ctx *perf) in perf_disable_service()
863 struct perf_ctx *perf = data; in perf_dma_filter()
873 struct perf_ctx *perf = pthr->perf; in perf_init_test()
925 struct perf_ctx *perf = pthr->perf; in perf_run_test()
968 struct perf_ctx *perf = pthr->perf; in perf_sync_test()
997 struct perf_ctx *perf = pthr->perf; in perf_clear_test()
1051 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) in perf_set_tcnt()
1066 static void perf_terminate_test(struct perf_ctx *perf) in perf_terminate_test()
1081 struct perf_ctx *perf = peer->perf; in perf_submit_test()
1117 static int perf_read_stats(struct perf_ctx *perf, char *buf, in perf_read_stats()
1152 static void perf_init_threads(struct perf_ctx *perf) in perf_init_threads()
1172 static void perf_clear_threads(struct perf_ctx *perf) in perf_clear_threads()
1185 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_info()
1268 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_run()
1290 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_run()
1319 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_tcnt()
1332 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_tcnt()
1353 static void perf_setup_dbgfs(struct perf_ctx *perf) in perf_setup_dbgfs()
1380 static void perf_clear_dbgfs(struct perf_ctx *perf) in perf_clear_dbgfs()
1390 static struct perf_ctx *perf_create_data(struct ntb_dev *ntb) in perf_create_data()
1392 struct perf_ctx *perf; in perf_create_data()
1411 struct perf_ctx *perf = peer->perf; in perf_setup_peer_mw()
1438 static int perf_init_peers(struct perf_ctx *perf) in perf_init_peers()
1486 struct perf_ctx *perf; in perf_probe()
1514 struct perf_ctx *perf = ntb->ctx; in perf_remove()