Home
last modified time | relevance | path

Searched refs:devs (Results 1 – 6 of 6) sorted by relevance

/dpdk/lib/compressdev/
H A Drte_compressdev.c24 .devs = rte_comp_devices,
79 return &compressdev_globals.devs[dev_id]; in rte_compressdev_get_dev()
92 dev = &compressdev_globals.devs[i]; in rte_compressdev_pmd_get_named_dev()
127 if ((strcmp(compressdev_globals.devs[i].data->name, name) in rte_compressdev_get_dev_id()
129 (compressdev_globals.devs[i].attached == in rte_compressdev_get_dev_id()
147 struct rte_compressdev *devs = compressdev_globals.devs; in rte_compressdev_devices_get() local
152 if (devs[i].attached == RTE_COMPRESSDEV_ATTACHED) { in rte_compressdev_devices_get()
155 cmp = strncmp(devs[i].device->driver->name, in rte_compressdev_devices_get()
160 devices[count++] = devs[i].data->dev_id; in rte_compressdev_devices_get()
H A Drte_compressdev_pmd.h45 struct rte_compressdev *devs; /**< Device information array */ member
/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_device.c176 uint32_t *devs) in fsdev_find_all_devs() argument
201 devs[i] = (uint32_t)strtoul(addr[i], NULL, 16); in fsdev_find_all_devs()
203 qsort(devs, count, sizeof(uint32_t), cmprator); in fsdev_find_all_devs()
/dpdk/lib/cryptodev/
H A Drte_cryptodev.c41 .devs = rte_crypto_devices,
634 return &cryptodev_globals.devs[dev_id]; in rte_cryptodev_pmd_get_dev()
647 dev = &cryptodev_globals.devs[i]; in rte_cryptodev_pmd_get_named_dev()
694 if ((strcmp(cryptodev_globals.devs[i].data->name, name) in rte_cryptodev_get_dev_id()
696 (cryptodev_globals.devs[i].attached == in rte_cryptodev_get_dev_id()
716 if (cryptodev_globals.devs[i].driver_id == driver_id && in rte_cryptodev_device_count_by_driver()
717 cryptodev_globals.devs[i].attached == in rte_cryptodev_device_count_by_driver()
729 struct rte_cryptodev *devs = cryptodev_globals.devs; in rte_cryptodev_devices_get() local
735 if (devs[i].attached == RTE_CRYPTODEV_ATTACHED) { in rte_cryptodev_devices_get()
738 cmp = strncmp(devs[i].device->driver->name, in rte_cryptodev_devices_get()
[all …]
H A Dcryptodev_pmd.h122 struct rte_cryptodev *devs; /**< Device information array */ member
/dpdk/app/test-pmd/
H A Dcmdline.c14649 struct rte_pmd_i40e_ddp_device_id *devs; in cmd_ddp_info_parsed() local
14711 devs = (struct rte_pmd_i40e_ddp_device_id *)malloc(buff_size); in cmd_ddp_info_parsed()
14712 if (devs) { in cmd_ddp_info_parsed()
14714 (uint8_t *)devs, buff_size, in cmd_ddp_info_parsed()
14720 devs[i].vendor_dev_id >> 16, in cmd_ddp_info_parsed()
14721 devs[i].vendor_dev_id & 0xFFFF, in cmd_ddp_info_parsed()
14722 devs[i].sub_vendor_dev_id >> 16, in cmd_ddp_info_parsed()
14723 devs[i].sub_vendor_dev_id & 0xFFFF); in cmd_ddp_info_parsed()
14727 free(devs); in cmd_ddp_info_parsed()