Lines Matching refs:tg
625 struct csid_testgen_config *tg = &csid->testgen; in csid_set_stream() local
642 if (!tg->enabled && in csid_set_stream()
646 if (tg->enabled) { in csid_set_stream()
677 val = tg->payload_mode; in csid_set_stream()
738 if (tg->enabled) { in csid_set_stream()
744 if (tg->enabled) { in csid_set_stream()
1023 struct csid_testgen_config *tg = &csid->testgen; in csid_set_test_pattern() local
1029 tg->enabled = !!value; in csid_set_test_pattern()
1033 tg->payload_mode = CSID_PAYLOAD_MODE_INCREMENTING; in csid_set_test_pattern()
1036 tg->payload_mode = CSID_PAYLOAD_MODE_ALTERNATING_55_AA; in csid_set_test_pattern()
1039 tg->payload_mode = CSID_PAYLOAD_MODE_ALL_ZEROES; in csid_set_test_pattern()
1042 tg->payload_mode = CSID_PAYLOAD_MODE_ALL_ONES; in csid_set_test_pattern()
1045 tg->payload_mode = CSID_PAYLOAD_MODE_RANDOM; in csid_set_test_pattern()