Home
last modified time | relevance | path

Searched refs:desc_data (Results 1 – 3 of 3) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_regs.c172 uint32_t *desc_data; in hns3_get_32_bit_regs() local
202 desc_data = &desc[i].data[0]; in hns3_get_32_bit_regs()
206 desc_data = (uint32_t *)(&desc[i]); in hns3_get_32_bit_regs()
210 *reg_val++ = rte_le_to_cpu_32(*desc_data++); in hns3_get_32_bit_regs()
229 uint64_t *desc_data; in hns3_get_64_bit_regs() local
259 desc_data = (uint64_t *)(&desc[i].data[0]); in hns3_get_64_bit_regs()
263 desc_data = (uint64_t *)(&desc[i]); in hns3_get_64_bit_regs()
267 *reg_val++ = rte_le_to_cpu_64(*desc_data++); in hns3_get_64_bit_regs()
H A Dhns3_intr.c2007 uint32_t *desc_data; in hns3_get_hw_error_status() local
2012 desc_data = (uint32_t *)&desc[desc_offset]; in hns3_get_hw_error_status()
2013 status = rte_le_to_cpu_32(*(desc_data + data_offset)); in hns3_get_hw_error_status()
2317 uint32_t *desc_data; in hns3_handle_hw_error_v2() local
2339 desc_data = rte_zmalloc("hns3_ras", buf_len, 0); in hns3_handle_hw_error_v2()
2340 if (desc_data == NULL) { in hns3_handle_hw_error_v2()
2351 memcpy(desc_data, &desc[0].data[0], buf_len); in hns3_handle_hw_error_v2()
2353 buf[i] = rte_le_to_cpu_32(desc_data[i]); in hns3_handle_hw_error_v2()
2359 rte_free(desc_data); in hns3_handle_hw_error_v2()
H A Dhns3_stats.c318 uint64_t *desc_data; in hns3_update_mac_stats() local
342 desc_data = (uint64_t *)(&desc[0].data[0]); in hns3_update_mac_stats()
348 *data += rte_le_to_cpu_64(*desc_data); in hns3_update_mac_stats()
350 desc_data++; in hns3_update_mac_stats()