Lines Matching refs:oct_dev

305 	struct octeon_device *oct = lio->oct_dev;  in setup_link_status_change_wq()
343 struct octeon_device *oct = lio->oct_dev; in update_link_status()
385 struct octeon_device *oct_dev = NULL; in liquidio_vf_probe() local
387 oct_dev = octeon_allocate_device(pdev->device, in liquidio_vf_probe()
390 if (!oct_dev) { in liquidio_vf_probe()
394 oct_dev->msix_on = LIO_FLAG_MSIX_ENABLED; in liquidio_vf_probe()
400 pci_set_drvdata(pdev, oct_dev); in liquidio_vf_probe()
403 oct_dev->pci_dev = pdev; in liquidio_vf_probe()
405 oct_dev->subsystem_id = pdev->subsystem_vendor | in liquidio_vf_probe()
408 if (octeon_device_init(oct_dev)) { in liquidio_vf_probe()
413 dev_dbg(&oct_dev->pci_dev->dev, "Device is ready\n"); in liquidio_vf_probe()
600 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in send_rx_ctrl_cmd()
751 struct octeon_device *oct_dev = pci_get_drvdata(pdev); in liquidio_vf_remove() local
753 dev_dbg(&oct_dev->pci_dev->dev, "Stopping device\n"); in liquidio_vf_remove()
755 if (oct_dev->app_mode == CVM_DRV_NIC_APP) in liquidio_vf_remove()
756 liquidio_stop_nic_module(oct_dev); in liquidio_vf_remove()
761 octeon_destroy_resources(oct_dev); in liquidio_vf_remove()
763 dev_info(&oct_dev->pci_dev->dev, "Device removed\n"); in liquidio_vf_remove()
768 octeon_free_device_mem(oct_dev); in liquidio_vf_remove()
814 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
838 dma_unmap_single(&lio->oct_dev->pci_dev->dev, in free_netsgbuf()
846 dma_unmap_page(&lio->oct_dev->pci_dev->dev, in free_netsgbuf()
852 iq = skb_iq(lio->oct_dev, skb); in free_netsgbuf()
882 dma_unmap_single(&lio->oct_dev->pci_dev->dev, in free_netsgbuf_with_resp()
890 dma_unmap_page(&lio->oct_dev->pci_dev->dev, in free_netsgbuf_with_resp()
896 iq = skb_iq(lio->oct_dev, skb); in free_netsgbuf_with_resp()
912 struct octeon_device *oct = lio->oct_dev; in liquidio_open()
959 struct octeon_device *oct = lio->oct_dev; in liquidio_stop()
1041 struct octeon_device *oct = lio->oct_dev; in liquidio_set_uc_list()
1071 octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_uc_list()
1082 struct octeon_device *oct = lio->oct_dev; in liquidio_set_mcast_list()
1115 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_mcast_list()
1133 struct octeon_device *oct = lio->oct_dev; in liquidio_set_mac()
1159 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_mac()
1188 oct = lio->oct_dev; in liquidio_get_stats64()
1325 oct = lio->oct_dev; in handle_timestamp()
1430 oct = lio->oct_dev; in liquidio_xmit()
1432 q_idx = skb_iq(lio->oct_dev, skb); in liquidio_xmit()
1659 struct octeon_device *oct = lio->oct_dev; in liquidio_vlan_rx_add_vid()
1672 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_vlan_rx_add_vid()
1687 struct octeon_device *oct = lio->oct_dev; in liquidio_vlan_rx_kill_vid()
1700 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_vlan_rx_kill_vid()
1721 struct octeon_device *oct = lio->oct_dev; in liquidio_set_rxcsum_command()
1734 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_rxcsum_command()
1756 struct octeon_device *oct = lio->oct_dev; in liquidio_vxlan_port_command()
1770 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_vxlan_port_command()
2134 lio->oct_dev = octeon_dev; in setup_nic_devices()
2182 if (lio->oct_dev->chip_id == OCTEON_CN23XX_VF_VID) in setup_nic_devices()