| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_regs.h | 10 struct reg_info { struct 17 static const struct reg_info ixgbe_regs_general[] = { argument 29 static const struct reg_info ixgbevf_regs_general[] = { 40 static const struct reg_info ixgbe_regs_nvm[] = { 102 static const struct reg_info ixgbe_regs_rxdma[] = { 133 static const struct reg_info ixgbe_regs_rx[] = { 150 static struct reg_info ixgbe_regs_tx[] = { 191 static const struct reg_info ixgbe_regs_dcb[] = { 205 static const struct reg_info ixgbe_regs_mac[] = { 304 static const struct reg_info *ixgbevf_regs[] = { [all …]
|
| H A D | ixgbe_ethdev.c | 6955 const struct reg_info *reg_group; in ixgbe_get_reg_length() 6956 const struct reg_info **reg_set = (hw->mac.type == ixgbe_mac_82598EB) ? in ixgbe_get_reg_length() 6970 const struct reg_info *reg_group; in ixgbevf_get_reg_length() 6986 const struct reg_info *reg_group; in ixgbe_get_regs() 6987 const struct reg_info **reg_set = (hw->mac.type == ixgbe_mac_82598EB) ? in ixgbe_get_regs() 7018 const struct reg_info *reg_group; in ixgbevf_get_regs()
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_regs.h | 9 struct reg_info { struct 16 static const struct reg_info igb_regs_general[] = { argument 32 static const struct reg_info igb_regs_nvm[] = { 55 static const struct reg_info igb_regs_fctl[] = { 65 static const struct reg_info igb_regs_rxdma[] = { 77 static const struct reg_info igb_regs_rx[] = { 89 static const struct reg_info igb_regs_tx[] = { 125 static const struct reg_info igb_regs_mac[] = { 136 static const struct reg_info *igb_regs[] = { 151 static const struct reg_info *igbvf_regs[] = { [all …]
|
| H A D | igb_ethdev.c | 4888 const struct reg_info *reg_group; in eth_igb_get_reg_length() 4901 const struct reg_info *reg_group; in igbvf_get_reg_length() 4917 const struct reg_info *reg_group; in eth_igb_get_regs() 4947 const struct reg_info *reg_group; in igbvf_get_regs()
|
| /dpdk/examples/ethtool/lib/ |
| H A D | rte_ethtool.c | 25 struct rte_dev_reg_info reg_info; in rte_ethtool_get_drvinfo() local 68 memset(®_info, 0, sizeof(reg_info)); in rte_ethtool_get_drvinfo() 69 rte_eth_dev_get_reg_info(port_id, ®_info); in rte_ethtool_get_drvinfo() 70 n = reg_info.length; in rte_ethtool_get_drvinfo() 91 struct rte_dev_reg_info reg_info; in rte_ethtool_get_regs_len() local 94 memset(®_info, 0, sizeof(reg_info)); in rte_ethtool_get_regs_len() 100 return reg_info.length * reg_info.width; in rte_ethtool_get_regs_len() 106 struct rte_dev_reg_info reg_info; in rte_ethtool_get_regs() local 112 reg_info.data = data; in rte_ethtool_get_regs() 113 reg_info.length = 0; in rte_ethtool_get_regs() [all …]
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_vfio.c | 25 struct vfio_region_info reg_info = { .argsz = sizeof(reg_info) }; in vfio_map_dev_obj() local 34 ret = ioctl(*dev_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info); in vfio_map_dev_obj() 40 *addr = mmap(NULL, reg_info.size, in vfio_map_dev_obj() 42 *dev_fd, reg_info.offset); in vfio_map_dev_obj() 48 *size = reg_info.size; in vfio_map_dev_obj()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_regs_group.h | 12 struct reg_info { struct 20 ngbe_read_regs(struct ngbe_hw *hw, const struct reg_info *reg, in ngbe_read_regs() argument 31 ngbe_regs_group_count(const struct reg_info *regs) in ngbe_regs_group_count() 43 const struct reg_info *regs) in ngbe_read_regs_group()
|
| H A D | ngbe_ethdev.c | 18 static const struct reg_info ngbe_regs_general[] = { 28 static const struct reg_info ngbe_regs_nvm[] = { 32 static const struct reg_info ngbe_regs_interrupt[] = { 40 static const struct reg_info ngbe_regs_rxdma[] = { 44 static const struct reg_info ngbe_regs_rx[] = { 48 static struct reg_info ngbe_regs_tx[] = { 52 static const struct reg_info ngbe_regs_wakeup[] = { 56 static const struct reg_info ngbe_regs_mac[] = { 65 static const struct reg_info *ngbe_regs_others[] = { 2926 const struct reg_info *reg_group; in ngbe_get_reg_length() [all …]
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_regs_group.h | 12 struct reg_info { struct 20 txgbe_read_regs(struct txgbe_hw *hw, const struct reg_info *reg, in txgbe_read_regs() argument 32 txgbe_regs_group_count(const struct reg_info *regs) in txgbe_regs_group_count() 44 const struct reg_info *regs) in txgbe_read_regs_group()
|
| H A D | txgbe_ethdev_vf.c | 21 static const struct reg_info txgbevf_regs_general[] = { 30 static const struct reg_info txgbevf_regs_interrupt[] = { 34 static const struct reg_info txgbevf_regs_rxdma[] = { 38 static const struct reg_info txgbevf_regs_tx[] = { 43 static const struct reg_info *txgbevf_regs[] = { 1137 const struct reg_info *reg_group; in txgbevf_get_reg_length() 1153 const struct reg_info *reg_group; in txgbevf_get_regs()
|
| H A D | txgbe_ethdev.c | 28 static const struct reg_info txgbe_regs_general[] = { 38 static const struct reg_info txgbe_regs_nvm[] = { 50 static const struct reg_info txgbe_regs_rxdma[] = { 54 static const struct reg_info txgbe_regs_rx[] = { 58 static struct reg_info txgbe_regs_tx[] = { 62 static const struct reg_info txgbe_regs_wakeup[] = { 66 static const struct reg_info txgbe_regs_dcb[] = { 70 static const struct reg_info txgbe_regs_mac[] = { 79 static const struct reg_info *txgbe_regs_others[] = { 4443 const struct reg_info *reg_group; in txgbe_get_reg_length() [all …]
|
| /dpdk/drivers/bus/fslmc/portal/ |
| H A D | dpaa2_hw_dpio.c | 367 struct vfio_region_info reg_info = { .argsz = sizeof(reg_info)}; in dpaa2_create_dpio_device() local 456 reg_info.index = DPAA2_SWP_CENA_MEM_REGION; in dpaa2_create_dpio_device() 458 reg_info.index = DPAA2_SWP_CENA_REGION; in dpaa2_create_dpio_device() 460 if (ioctl(vdev_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { in dpaa2_create_dpio_device() 465 dpio_dev->ce_size = reg_info.size; in dpaa2_create_dpio_device() 466 dpio_dev->qbman_portal_ce_paddr = (size_t)mmap(NULL, reg_info.size, in dpaa2_create_dpio_device() 468 vdev_fd, reg_info.offset); in dpaa2_create_dpio_device() 470 reg_info.index = DPAA2_SWP_CINH_REGION; in dpaa2_create_dpio_device() 471 if (ioctl(vdev_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { in dpaa2_create_dpio_device() 476 dpio_dev->ci_size = reg_info.size; in dpaa2_create_dpio_device() [all …]
|
| /dpdk/app/proc-info/ |
| H A D | main.c | 1379 struct rte_dev_reg_info reg_info; in dump_regs() local 1404 memset(®_info, 0, sizeof(reg_info)); in dump_regs() 1405 ret = rte_eth_dev_get_reg_info(i, ®_info); in dump_regs() 1411 buf_size = reg_info.length * reg_info.width; in dump_regs() 1418 reg_info.data = buf_data; in dump_regs() 1419 reg_info.length = 0; in dump_regs() 1420 ret = rte_eth_dev_get_reg_info(i, ®_info); in dump_regs() 1444 dev_info.driver_name, reg_info.version); in dump_regs()
|
| /dpdk/drivers/bus/fslmc/ |
| H A D | fslmc_vfio.c | 573 struct vfio_region_info reg_info = { .argsz = sizeof(reg_info) }; in vfio_map_mcp_obj() local 579 ret = ioctl(mc_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info); in vfio_map_mcp_obj() 585 v_addr = (size_t)mmap(NULL, reg_info.size, in vfio_map_mcp_obj() 587 mc_fd, reg_info.offset); in vfio_map_mcp_obj()
|
| /dpdk/drivers/dma/hisilicon/ |
| H A D | hisi_dmadev.c | 492 } reg_info[] = { in hisi_dma_dump_common() local 512 for (i = 0; i < RTE_DIM(reg_info); i++) { in hisi_dma_dump_common() 513 if (hw->reg_layout != reg_info[i].reg_layout) in hisi_dma_dump_common() 515 hisi_dma_dump_range(hw, f, reg_info[i].start, reg_info[i].end); in hisi_dma_dump_common()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 11143 const struct i40e_reg_info *reg_info; in i40e_get_regs() local 11154 reg_info = &i40e_regs_adminq[reg_idx++]; in i40e_get_regs() 11157 arr_idx2 <= reg_info->count2; in i40e_get_regs() 11159 reg_offset = arr_idx * reg_info->stride1 + in i40e_get_regs() 11160 arr_idx2 * reg_info->stride2; in i40e_get_regs() 11161 reg_offset += reg_info->base_addr; in i40e_get_regs() 11170 reg_info = &i40e_regs_others[reg_idx++]; in i40e_get_regs() 11173 arr_idx2 <= reg_info->count2; in i40e_get_regs() 11175 reg_offset = arr_idx * reg_info->stride1 + in i40e_get_regs() 11176 arr_idx2 * reg_info->stride2; in i40e_get_regs() [all …]
|