Home
last modified time | relevance | path

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

/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c110 struct octeon_device *oct = lio->oct_dev; in lio_get_settings()
148 oct = lio->oct_dev; in lio_get_drvinfo()
163 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_get_channels()
185 struct octeon_device *oct_dev = lio->oct_dev; in lio_get_eeprom_len() local
189 board_info = (struct octeon_board_info *)(&oct_dev->boardinfo); in lio_get_eeprom_len()
202 struct octeon_device *oct_dev = lio->oct_dev; in lio_get_eeprom() local
209 eeprom->magic = oct_dev->pci_dev->vendor; in lio_get_eeprom()
210 board_info = (struct octeon_board_info *)(&oct_dev->boardinfo); in lio_get_eeprom()
223 struct octeon_device *oct = lio->oct_dev; in octnet_gpio_access()
241 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl, nparams); in octnet_gpio_access()
[all …]
Docteon_device.h399 struct octeon_device *oct_dev; member
507 #define octeon_write_csr(oct_dev, reg_off, value) \ argument
508 writel(value, oct_dev->mmio[0].hw_addr + reg_off)
510 #define octeon_write_csr64(oct_dev, reg_off, val64) \ argument
511 writeq(val64, oct_dev->mmio[0].hw_addr + reg_off)
513 #define octeon_read_csr(oct_dev, reg_off) \ argument
514 readl(oct_dev->mmio[0].hw_addr + reg_off)
516 #define octeon_read_csr64(oct_dev, reg_off) \ argument
517 readq(oct_dev->mmio[0].hw_addr + reg_off)
Dlio_main.c756 if (octnet_iq_is_full(lio->oct_dev, iq)) in check_txq_status()
762 if (octnet_iq_is_full(lio->oct_dev, lio->txq)) in check_txq_status()
992 struct octeon_device *oct_dev = NULL; in liquidio_probe() local
995 oct_dev = octeon_allocate_device(pdev->device, in liquidio_probe()
997 if (!oct_dev) { in liquidio_probe()
1006 pci_set_drvdata(pdev, oct_dev); in liquidio_probe()
1009 oct_dev->pci_dev = (void *)pdev; in liquidio_probe()
1011 hs = &handshake[oct_dev->octeon_id]; in liquidio_probe()
1016 if (oct_dev->octeon_id == 0) in liquidio_probe()
1020 if (octeon_device_init(oct_dev)) { in liquidio_probe()
[all …]
Docteon_droq.h244 struct octeon_device *oct_dev; member
339 int octeon_init_droq(struct octeon_device *oct_dev,
352 int octeon_delete_droq(struct octeon_device *oct_dev, u32 q_no);
Docteon_network.h63 struct octeon_device *oct_dev; member
168 struct octeon_device *oct = droq->oct_dev; in lio_map_ring_info()
Docteon_droq.c251 droq->oct_dev = oct; in octeon_init_droq()