Searched refs:VTPCI_OPS (Results 1 – 9 of 9) sorted by relevance
| /f-stack/dpdk/drivers/crypto/virtio/ |
| H A D | virtio_pci.c | 246 VTPCI_OPS(hw)->read_dev_cfg(hw, offset, dst, length); in vtpci_read_cryptodev_config() 253 VTPCI_OPS(hw)->write_dev_cfg(hw, offset, src, length); in vtpci_write_cryptodev_config() 267 VTPCI_OPS(hw)->set_features(hw, features); in vtpci_cryptodev_negotiate_features() 275 VTPCI_OPS(hw)->set_status(hw, VIRTIO_CONFIG_STATUS_RESET); in vtpci_cryptodev_reset() 277 VTPCI_OPS(hw)->get_status(hw); in vtpci_cryptodev_reset() 290 status |= VTPCI_OPS(hw)->get_status(hw); in vtpci_cryptodev_set_status() 292 VTPCI_OPS(hw)->set_status(hw, status); in vtpci_cryptodev_set_status() 298 return VTPCI_OPS(hw)->get_status(hw); in vtpci_cryptodev_get_status() 304 return VTPCI_OPS(hw)->get_isr(hw); in vtpci_cryptodev_isr()
|
| H A D | virtqueue.h | 151 VTPCI_OPS(vq->hw)->notify_queue(vq->hw, vq); in virtqueue_notify()
|
| H A D | virtio_pci.h | 204 #define VTPCI_OPS(hw) (crypto_virtio_hw_internal[(hw)->dev_id].vtpci_ops) macro
|
| H A D | virtio_cryptodev.c | 276 VTPCI_OPS(hw)->del_queue(hw, vq); in virtio_crypto_queue_release() 311 vq_size = VTPCI_OPS(hw)->get_queue_num(hw, vtpci_queue_idx); in virtio_crypto_queue_setup() 633 host_features = VTPCI_OPS(hw)->get_features(hw); in virtio_negotiate_features()
|
| H A D | virtio_rxtx.c | 393 if (VTPCI_OPS(hw)->setup_queue(hw, vq) < 0) { in virtio_crypto_vring_start()
|
| /f-stack/dpdk/drivers/net/virtio/ |
| H A D | virtio_pci.c | 470 VTPCI_OPS(hw)->read_dev_cfg(hw, offset, dst, length); in vtpci_read_dev_config() 477 VTPCI_OPS(hw)->write_dev_cfg(hw, offset, src, length); in vtpci_write_dev_config() 490 VTPCI_OPS(hw)->set_features(hw, features); in vtpci_negotiate_features() 498 VTPCI_OPS(hw)->set_status(hw, VIRTIO_CONFIG_STATUS_RESET); in vtpci_reset() 500 VTPCI_OPS(hw)->get_status(hw); in vtpci_reset() 513 status |= VTPCI_OPS(hw)->get_status(hw); in vtpci_set_status() 515 VTPCI_OPS(hw)->set_status(hw, status); in vtpci_set_status() 521 return VTPCI_OPS(hw)->get_status(hw); in vtpci_get_status() 527 return VTPCI_OPS(hw)->get_isr(hw); in vtpci_isr()
|
| H A D | virtio_ethdev.c | 461 vq_size = VTPCI_OPS(hw)->get_queue_num(hw, vtpci_queue_idx); in virtio_init_queue() 638 if (VTPCI_OPS(hw)->setup_queue(hw, vq) < 0) { in virtio_init_queue() 733 VTPCI_OPS(hw)->set_config_irq(hw, VIRTIO_MSI_NO_VECTOR); in virtio_dev_close() 1346 host_features = VTPCI_OPS(hw)->get_features(hw); in virtio_negotiate_features() 1608 if (VTPCI_OPS(hw)->set_queue_irq(hw, hw->vqs[i * 2], i + 1) == in virtio_queues_bind_intr() 1626 VTPCI_OPS(hw)->set_queue_irq(hw, in virtio_queues_unbind_intr() 1888 VTPCI_OPS(hw) = &virtio_user_ops; in virtio_set_vtpci_ops() 1892 VTPCI_OPS(hw) = &modern_ops; in virtio_set_vtpci_ops() 1894 VTPCI_OPS(hw) = &legacy_ops; in virtio_set_vtpci_ops() 2305 if (VTPCI_OPS(hw)->set_config_irq(hw, 0) == in virtio_dev_configure() [all …]
|
| H A D | virtio_pci.h | 297 #define VTPCI_OPS(hw) (virtio_hw_internal[(hw)->port_id].vtpci_ops) macro
|
| H A D | virtqueue.h | 590 VTPCI_OPS(vq->hw)->notify_queue(vq->hw, vq); in virtqueue_notify()
|