Lines Matching refs:TestData
113 typedef struct TestData { struct
116 } TestData; argument
363 static uint32_t pwm_read(QTestState *qts, const TestData *td, unsigned offset) in pwm_read()
368 static void pwm_write(QTestState *qts, const TestData *td, unsigned offset, in pwm_write()
396 static uint32_t pwm_read_ppr(QTestState *qts, const TestData *td) in pwm_read_ppr()
401 static void pwm_write_ppr(QTestState *qts, const TestData *td, uint32_t value) in pwm_write_ppr()
406 static uint32_t pwm_read_csr(QTestState *qts, const TestData *td) in pwm_read_csr()
411 static void pwm_write_csr(QTestState *qts, const TestData *td, uint32_t value) in pwm_write_csr()
416 static uint32_t pwm_read_pcr(QTestState *qts, const TestData *td) in pwm_read_pcr()
421 static void pwm_write_pcr(QTestState *qts, const TestData *td, uint32_t value) in pwm_write_pcr()
426 static uint32_t pwm_read_cnr(QTestState *qts, const TestData *td) in pwm_read_cnr()
431 static void pwm_write_cnr(QTestState *qts, const TestData *td, uint32_t value) in pwm_write_cnr()
436 static uint32_t pwm_read_cmr(QTestState *qts, const TestData *td) in pwm_read_cmr()
441 static void pwm_write_cmr(QTestState *qts, const TestData *td, uint32_t value) in pwm_write_cmr()
446 static int mft_compute_index(const TestData *td) in mft_compute_index()
467 static void mft_init(QTestState *qts, const TestData *td) in mft_init()
506 static void mft_verify_rpm(QTestState *qts, const TestData *td, uint64_t duty) in mft_verify_rpm()
557 const TestData *td = test_data; in test_init()
571 const TestData *td = test_data; in test_oneshot()
602 const TestData *td = test_data; in test_toggle()
669 static void pwm_add_test(const char *name, const TestData* td, in pwm_add_test()
681 TestData test_data_list[ARRAY_SIZE(pwm_module_list) * ARRAY_SIZE(pwm_list)]; in main()
699 TestData *td = &test_data_list[i * ARRAY_SIZE(pwm_list) + j]; in main()