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()
657 static int perf_init_service(struct perf_ctx *perf) in perf_init_service()
695 static int perf_enable_service(struct perf_ctx *perf) in perf_enable_service()
739 static void perf_disable_service(struct perf_ctx *perf) in perf_disable_service()
862 struct perf_ctx *perf = data; in perf_dma_filter()
872 struct perf_ctx *perf = pthr->perf; in perf_init_test()
924 struct perf_ctx *perf = pthr->perf; in perf_run_test()
967 struct perf_ctx *perf = pthr->perf; in perf_sync_test()
996 struct perf_ctx *perf = pthr->perf; in perf_clear_test()
1050 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) in perf_set_tcnt()
1065 static void perf_terminate_test(struct perf_ctx *perf) in perf_terminate_test()
1080 struct perf_ctx *perf = peer->perf; in perf_submit_test()
1116 static int perf_read_stats(struct perf_ctx *perf, char *buf, in perf_read_stats()
1151 static void perf_init_threads(struct perf_ctx *perf) in perf_init_threads()
1171 static void perf_clear_threads(struct perf_ctx *perf) in perf_clear_threads()
1184 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_info()
1267 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_run()
1289 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_run()
1318 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_tcnt()
1331 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_tcnt()
1352 static void perf_setup_dbgfs(struct perf_ctx *perf) in perf_setup_dbgfs()
1379 static void perf_clear_dbgfs(struct perf_ctx *perf) in perf_clear_dbgfs()
1389 static struct perf_ctx *perf_create_data(struct ntb_dev *ntb) in perf_create_data()
1391 struct perf_ctx *perf; in perf_create_data()
1410 struct perf_ctx *perf = peer->perf; in perf_setup_peer_mw()
1437 static int perf_init_peers(struct perf_ctx *perf) in perf_init_peers()
1485 struct perf_ctx *perf; in perf_probe()
1513 struct perf_ctx *perf = ntb->ctx; in perf_remove()