Lines Matching refs:dma_test
28 struct dma_test *dma_test; member
92 struct dma_test { struct
122 static void dma_test_free_rings(struct dma_test *dt) in dma_test_free_rings() argument
136 static int dma_test_start_rings(struct dma_test *dt) in dma_test_start_rings()
211 static void dma_test_stop_rings(struct dma_test *dt) in dma_test_stop_rings()
234 struct dma_test *dt = tf->dma_test; in dma_test_rx_callback()
261 static int dma_test_submit_rx(struct dma_test *dt, size_t npackets) in dma_test_submit_rx()
290 tf->dma_test = dt; in dma_test_submit_rx()
303 struct dma_test *dt = tf->dma_test; in dma_test_tx_callback()
312 static int dma_test_submit_tx(struct dma_test *dt, size_t npackets) in dma_test_submit_tx()
326 tf->dma_test = dt; in dma_test_submit_tx()
362 struct dma_test *dt = tb_service_get_drvdata(svc); \
375 struct dma_test *dt = tb_service_get_drvdata(svc); \
391 static void lanes_get(const struct dma_test *dt, u64 *val) in lanes_get()
401 static void lanes_set(struct dma_test *dt, u64 val) in lanes_set()
407 static void speed_get(const struct dma_test *dt, u64 *val) in speed_get()
424 static void speed_set(struct dma_test *dt, u64 val) in speed_set()
430 static void packets_to_receive_get(const struct dma_test *dt, u64 *val) in packets_to_receive_get()
440 static void packets_to_receive_set(struct dma_test *dt, u64 val) in packets_to_receive_set()
447 static void packets_to_send_get(const struct dma_test *dt, u64 *val) in packets_to_send_get()
457 static void packets_to_send_set(struct dma_test *dt, u64 val) in packets_to_send_set()
464 static int dma_test_set_bonding(struct dma_test *dt) in dma_test_set_bonding()
477 static bool dma_test_validate_config(struct dma_test *dt) in dma_test_validate_config()
487 static void dma_test_check_errors(struct dma_test *dt, int ret) in dma_test_check_errors()
510 struct dma_test *dt = tb_service_get_drvdata(svc); in test_store()
596 struct dma_test *dt = tb_service_get_drvdata(svc); in status_show()
622 struct dma_test *dt = tb_service_get_drvdata(svc); in dma_test_debugfs_init()
639 struct dma_test *dt; in dma_test_probe()
658 struct dma_test *dt = tb_service_get_drvdata(svc); in dma_test_remove()