Lines Matching refs:tid_data
2748 struct cudbg_tid_data *tid_data) in cudbg_read_tid() argument
2761 tid_data->dbig_cmd = val; in cudbg_read_tid()
2765 tid_data->dbig_conf = val; in cudbg_read_tid()
2779 tid_data->dbig_rsp_stat = val; in cudbg_read_tid()
2785 tid_data->data[i] = t4_read_reg(padap, in cudbg_read_tid()
2788 tid_data->tid = tid; in cudbg_read_tid()
2814 static int cudbg_is_ipv6_entry(struct cudbg_tid_data *tid_data, in cudbg_is_ipv6_entry() argument
2820 le_type = cudbg_get_le_type(tid_data->tid, tcam_region); in cudbg_is_ipv6_entry()
2821 if (tid_data->tid & 1) in cudbg_is_ipv6_entry()
2825 ipv6 = tid_data->data[16] & 0x8000; in cudbg_is_ipv6_entry()
2827 ipv6 = tid_data->data[16] & 0x8000; in cudbg_is_ipv6_entry()
2829 ipv6 = tid_data->data[9] == 0x00C00000; in cudbg_is_ipv6_entry()
2897 struct cudbg_tid_data *tid_data; in cudbg_collect_le_tcam() local
2912 tid_data = (struct cudbg_tid_data *)(temp_buff.data + bytes); in cudbg_collect_le_tcam()
2915 rc = cudbg_read_tid(pdbg_init, i, tid_data); in cudbg_collect_le_tcam()
2925 if (cudbg_is_ipv6_entry(tid_data, tcam_region)) { in cudbg_collect_le_tcam()
2937 tid_data++; in cudbg_collect_le_tcam()