| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | pcba_core.c | 112 struct testcase_info *tc_info; in parse_testcase() local 153 tc_info = (struct testcase_info *) in parse_testcase() 155 if (tc_info == NULL) { in parse_testcase() 159 tc_info->x = 0; in parse_testcase() 160 tc_info->y = 0; in parse_testcase() 161 tc_info->base_info = &info[j]; in parse_testcase() 162 if (tc_info->base_info->category) //manual test in parse_testcase() 163 list_add(&tc_info->list, &manual_test_list_head); in parse_testcase() 165 list_add(&tc_info->list, &auto_test_list_head); in parse_testcase() 180 int start_test_pthread(struct testcase_info *tc_info) in start_test_pthread() argument [all …]
|
| H A D | udisk_test.c | 20 struct testcase_info *tc_info = (struct testcase_info*)argv; in udisk_test() local 27 if(tc_info->y <= 0) in udisk_test() 28 tc_info->y = get_cur_print_y(); in udisk_test() 30 y = tc_info->y; in udisk_test() 72 tc_info->result = -1; in udisk_test() 94 tc_info->result = 0; in udisk_test() 103 tc_info->result = -1; in udisk_test() 113 tc_info->result = -1; in udisk_test() 124 tc_info->result = 0; in udisk_test() 128 tc_info->result = -1; in udisk_test() [all …]
|
| H A D | sdcard_test.c | 19 struct testcase_info *tc_info = (struct testcase_info *)argv; in sdcard_test() local 26 if (tc_info->y <= 0) in sdcard_test() 27 tc_info->y = get_cur_print_y(); in sdcard_test() 28 y = tc_info->y; in sdcard_test() 56 tc_info->result = -1; in sdcard_test() 65 tc_info->result = -1; in sdcard_test() 77 tc_info->result = 0; in sdcard_test() 99 tc_info->result = -1; in sdcard_test() 123 tc_info->result = 0; in sdcard_test() 128 tc_info->result = -1; in sdcard_test()
|
| H A D | audio_record_test.c | 45 struct testcase_info *tc_info = (struct testcase_info *)argv; in audio_record_test() local 47 if (tc_info->y <= 0) in audio_record_test() 48 tc_info->y = get_cur_print_y(); in audio_record_test() 49 y = tc_info->y; in audio_record_test() 74 tc_info->result = -1; in audio_record_test() 87 tc_info->result = -1; in audio_record_test() 100 tc_info->result = 0; in audio_record_test() 106 tc_info->result = -1; in audio_record_test()
|
| H A D | ddr_test.c | 213 struct testcase_info *tc_info = (struct testcase_info *)argv; in ddr_test() local 216 if (tc_info->y <= 0) in ddr_test() 217 tc_info->y = get_cur_print_y(); in ddr_test() 219 y = tc_info->y; in ddr_test() 220 ui_print_xy_rgba(0, tc_info->y, 255, 255, 0, 255, "%s:[%s..]\n", in ddr_test() 230 ui_print_xy_rgba(0, tc_info->y, 255, 0, 0, 255, in ddr_test() 238 ui_print_xy_rgba(0, tc_info->y, 255, 0, 0, 255, in ddr_test() 244 tc_info->result = 1; in ddr_test() 245 ui_print_xy_rgba(0, tc_info->y, 0, 255, 0, 255, "%s:[%s] { %d MB }\n", in ddr_test() 250 tc_info->result = -1; in ddr_test() [all …]
|
| H A D | emmc_test.c | 98 struct testcase_info *tc_info = (struct testcase_info *)argv; in emmc_test() local 105 if (tc_info->y <= 0) in emmc_test() 106 tc_info->y = get_cur_print_y(); in emmc_test() 108 ui_print_xy_rgba(0, tc_info->y, 255, 255, 0, 255, "%s:[%s..]\n", in emmc_test() 133 ui_print_xy_rgba(0, tc_info->y, 0, 255, 0, 255, in emmc_test() 138 tc_info->result = 1; in emmc_test() 140 ui_print_xy_rgba(0, tc_info->y, 0, 255, 0, 255, in emmc_test() 145 tc_info->result = -1; in emmc_test()
|
| H A D | rtc_test.c | 130 struct testcase_info *tc_info = (struct testcase_info *)argc; in rtc_test() local 143 if (tc_info->y <= 0) in rtc_test() 144 tc_info->y = get_cur_print_y(); in rtc_test() 145 y = tc_info->y; in rtc_test() 208 "%s/echo_%s_test_result", "/tmp",tc_info->base_info->name); in rtc_test() 233 tc_info->result = -1; in rtc_test() 245 tc_info->result = 0; in rtc_test() 258 tc_info->result = -1; in rtc_test() 266 tc_info->result = 0; in rtc_test() 270 tc_info->result = -1; in rtc_test()
|
| H A D | audio_play_test.c | 45 struct testcase_info *tc_info = (struct testcase_info *)argv; in audio_play_test() local 47 if (tc_info->y <= 0) in audio_play_test() 48 tc_info->y = get_cur_print_y(); in audio_play_test() 49 y = tc_info->y; in audio_play_test() 71 tc_info->result = 0; in audio_play_test() 77 tc_info->result = -1; in audio_play_test()
|
| H A D | key_test.c | 25 static struct testcase_info *tc_info; variable 32 ui_print_xy_rgba(0, tc_info->y, 0, 255, 0, 255, in set_gkey() 150 tc_info = (struct testcase_info *)argc; in key_test() 152 if (tc_info->y <= 0) in key_test() 153 tc_info->y = get_cur_print_y(); in key_test() 155 ui_print_xy_rgba(0, tc_info->y, 255, 255, 0, 255, "%s: Waiting press key...\n", PCBA_KEY); in key_test()
|
| H A D | screen_test.c | 133 struct testcase_info *tc_info = (struct testcase_info *)argv; in screen_test() local 155 if (tc_info->y <= 0) in screen_test() 156 tc_info->y = get_cur_print_y(); in screen_test() 158 ui_print_xy_rgba(0, tc_info->y, 255, 255, 0, 255, \ in screen_test() 161 lcd_y = tc_info->y; in screen_test() 173 tc_info->result = 0; in screen_test()
|
| H A D | wlan_test.c | 186 struct testcase_info *tc_info = (struct testcase_info *)argv; in wlan_test() local 190 if (tc_info->y <= 0) in wlan_test() 191 tc_info->y = get_cur_print_y(); in wlan_test() 193 y = tc_info->y; in wlan_test() 235 tc_info->result = 0; in wlan_test() 258 tc_info->result = -1; in wlan_test() 323 tc_info->result = 0; in wlan_test() 331 tc_info->result = -1; in wlan_test()
|
| H A D | bt_test.c | 1130 struct testcase_info *tc_info = (struct testcase_info *)argv; in bt_test() local 1134 if(tc_info->y <= 0) in bt_test() 1135 tc_info->y = get_cur_print_y(); in bt_test() 1137 ui_print_xy_rgba(0,tc_info->y,255,255,0,255,"%s:[%s..] \n", in bt_test() 1179 ui_print_xy_rgba(0,tc_info->y,0,255,0,255,"%s:[%s]\n", in bt_test() 1181 tc_info->result = 0; in bt_test() 1184 ui_print_xy_rgba(0,tc_info->y,255,0,0,255,"%s:[%s]\n", in bt_test() 1186 tc_info->result = -1; in bt_test()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 941 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_put_l2_node() local 947 rc = rhashtable_remove_fast(&tc_info->l2_table, &l2_node->node, in bnxt_tc_put_l2_node() 948 tc_info->l2_ht_params); in bnxt_tc_put_l2_node() 997 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_get_ref_flow_handle() local 1001 l2_node = bnxt_tc_get_l2_node(bp, &tc_info->l2_table, in bnxt_tc_get_ref_flow_handle() 1002 tc_info->l2_ht_params, in bnxt_tc_get_ref_flow_handle() 1147 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_get_ref_decap_handle() local 1151 decap_l2_node = bnxt_tc_get_l2_node(bp, &tc_info->decap_l2_table, in bnxt_tc_get_ref_decap_handle() 1152 tc_info->decap_l2_ht_params, in bnxt_tc_get_ref_decap_handle() 1185 struct bnxt_tc_info *tc_info = bp->tc_info; in bnxt_tc_put_decap_l2_node() local [all …]
|
| H A D | bnxt_tc.h | 226 return bp->tc_info && bp->tc_info->enabled; in bnxt_tc_flower_enabled()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_tm.c | 470 if (hdev->tm_info.tc_info[pri_id].tc_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pri_schd_mode_cfg() 605 kinfo->tc_info[i].enable = true; in hclge_tm_vport_tc_info_update() 606 kinfo->tc_info[i].tqp_offset = i * kinfo->rss_size; in hclge_tm_vport_tc_info_update() 607 kinfo->tc_info[i].tqp_count = kinfo->rss_size; in hclge_tm_vport_tc_info_update() 608 kinfo->tc_info[i].tc = i; in hclge_tm_vport_tc_info_update() 611 kinfo->tc_info[i].enable = false; in hclge_tm_vport_tc_info_update() 612 kinfo->tc_info[i].tqp_offset = 0; in hclge_tm_vport_tc_info_update() 613 kinfo->tc_info[i].tqp_count = 1; in hclge_tm_vport_tc_info_update() 614 kinfo->tc_info[i].tc = 0; in hclge_tm_vport_tc_info_update() 639 hdev->tm_info.tc_info[i].tc_id = i; in hclge_tm_tc_info_init() [all …]
|
| H A D | hclge_dcb.c | 20 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info() 25 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info() 58 if (hdev->tm_info.tc_info[i].tc_sch_mode == in hclge_tm_info_to_ieee_ets() 132 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_validate() 146 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_validate()
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | palinfo.c | 296 pal_tc_info_u_t tc_info; in vm_info() local 383 if ((status=ia64_pal_vm_info(i,j, &tc_info, &tc_pages)) != 0) in vm_info() 392 cache_types[j+tc_info.tc_unified], i+1, in vm_info() 393 tc_info.tc_num_sets, in vm_info() 394 tc_info.tc_associativity, in vm_info() 395 tc_info.tc_num_entries); in vm_info() 397 if (tc_info.tc_pf) in vm_info() 399 if (tc_info.tc_unified) in vm_info() 401 if (tc_info.tc_reduce_tr) in vm_info() 409 if (tc_info.tc_unified) in vm_info()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_lib.c | 36 vsi->tc_cfg.tc_info[i].netdev_tc, in ice_vsi_cfg_netdev_tc() 37 vsi->tc_cfg.tc_info[i].qcount_tx, in ice_vsi_cfg_netdev_tc() 38 vsi->tc_cfg.tc_info[i].qoffset); in ice_vsi_cfg_netdev_tc() 44 netdev_tc = vsi->tc_cfg.tc_info[ets_tc].netdev_tc; in ice_vsi_cfg_netdev_tc() 89 if (ice_find_q_in_range(vsi->tc_cfg.tc_info[tc].qoffset, in ice_is_pfc_causing_hung_q() 90 vsi->tc_cfg.tc_info[tc + 1].qoffset, in ice_is_pfc_causing_hung_q() 218 qoffset = vsi->tc_cfg.tc_info[n].qoffset; in ice_vsi_cfg_dcb_rings() 219 qcount = vsi->tc_cfg.tc_info[n].qcount_tx; in ice_vsi_cfg_dcb_rings()
|
| H A D | ice_lib.c | 802 vsi->tc_cfg.tc_info[i].qoffset = 0; in ice_vsi_setup_q_map() 803 vsi->tc_cfg.tc_info[i].qcount_rx = 1; in ice_vsi_setup_q_map() 804 vsi->tc_cfg.tc_info[i].qcount_tx = 1; in ice_vsi_setup_q_map() 805 vsi->tc_cfg.tc_info[i].netdev_tc = 0; in ice_vsi_setup_q_map() 811 vsi->tc_cfg.tc_info[i].qoffset = offset; in ice_vsi_setup_q_map() 812 vsi->tc_cfg.tc_info[i].qcount_rx = qcount_rx; in ice_vsi_setup_q_map() 813 vsi->tc_cfg.tc_info[i].qcount_tx = tx_numq_tc; in ice_vsi_setup_q_map() 814 vsi->tc_cfg.tc_info[i].netdev_tc = netdev_tc++; in ice_vsi_setup_q_map()
|
| H A D | ice.h | 163 struct ice_tc_info tc_info[ICE_MAX_TRAFFIC_CLASS]; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_dcb.c | 946 uint32_t tc_info; in cxgb4_ieee_read_ets() local 969 tc_info = be32_to_cpu(pcmd.u.dcb.pgid.pgid); in cxgb4_ieee_read_ets() 985 bwg = (tc_info >> ((7 - i) * 4)) & 0xF; in cxgb4_ieee_read_ets()
|
| /OK3568_Linux_fs/kernel/arch/ia64/include/asm/ |
| H A D | pal.h | 1597 ia64_pal_vm_info (u64 tc_level, u64 tc_type, pal_tc_info_u_t *tc_info, u64 *tc_pages) in ia64_pal_vm_info() argument 1601 if (tc_info) in ia64_pal_vm_info() 1602 tc_info->pti_val = iprv.v0; in ia64_pal_vm_info()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 290 if (!kinfo->tc_info[i].enable) in hns3_nic_set_real_num_queue() 294 kinfo->tc_info[i].tc, in hns3_nic_set_real_num_queue() 295 kinfo->tc_info[i].tqp_count, in hns3_nic_set_real_num_queue() 296 kinfo->tc_info[i].tqp_offset); in hns3_nic_set_real_num_queue() 3917 struct hnae3_tc_info *tc_info = &kinfo->tc_info[i]; in hns3_init_tx_ring_tc() local 3920 if (!tc_info->enable) in hns3_init_tx_ring_tc() 3923 for (j = 0; j < tc_info->tqp_count; j++) { in hns3_init_tx_ring_tc() 3926 q = priv->ring[tc_info->tqp_offset + j].tqp; in hns3_init_tx_ring_tc() 3928 tc_info->tc); in hns3_init_tx_ring_tc()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 1829 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map_mqprio() 1830 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map_mqprio() 1831 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map_mqprio() 1837 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map_mqprio() 1838 vsi->tc_config.tc_info[i].qcount = 1; in i40e_vsi_setup_queue_map_mqprio() 1839 vsi->tc_config.tc_info[i].netdev_tc = 0; in i40e_vsi_setup_queue_map_mqprio() 1977 vsi->tc_config.tc_info[i].qoffset = offset; in i40e_vsi_setup_queue_map() 1978 vsi->tc_config.tc_info[i].qcount = qcount; in i40e_vsi_setup_queue_map() 1988 vsi->tc_config.tc_info[i].netdev_tc = netdev_tc++; in i40e_vsi_setup_queue_map() 1999 vsi->tc_config.tc_info[i].qoffset = 0; in i40e_vsi_setup_queue_map() [all …]
|
| H A D | i40e_debugfs.c | 473 i, vsi->tc_config.tc_info[i].qoffset, in i40e_dbg_dump_vsi_seid() 474 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid() 475 vsi->tc_config.tc_info[i].netdev_tc); in i40e_dbg_dump_vsi_seid()
|