Searched refs:oct_dev (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 110 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 …]
|
D | octeon_device.h | 399 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)
|
D | lio_main.c | 756 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 …]
|
D | octeon_droq.h | 244 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);
|
D | octeon_network.h | 63 struct octeon_device *oct_dev; member 168 struct octeon_device *oct = droq->oct_dev; in lio_map_ring_info()
|
D | octeon_droq.c | 251 droq->oct_dev = oct; in octeon_init_droq()
|