/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
D | lio_ethtool.c | 219 struct octeon_device *oct = lio->oct_dev; in lio_get_link_ksettings() 402 oct = lio->oct_dev; in lio_set_link_ksettings() 442 oct = lio->oct_dev; in lio_get_drvinfo() 458 oct = lio->oct_dev; in lio_get_vf_drvinfo() 471 struct octeon_device *oct = lio->oct_dev; in lio_send_queue_count_update() 485 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in lio_send_queue_count_update() 500 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_get_channels() 606 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_set_channels() 670 struct octeon_device *oct_dev = lio->oct_dev; in lio_get_eeprom_len() local 674 board_info = (struct octeon_board_info *)(&oct_dev->boardinfo); in lio_get_eeprom_len() [all …]
|
D | lio_core.c | 49 for (i = 0; i < lio->oct_dev->num_iqs; i++) { in lio_delete_glists() 58 lio_dma_free(lio->oct_dev, in lio_delete_glists() 161 struct octeon_device *oct = lio->oct_dev; in liquidio_set_feature() 174 ret = octnet_send_nic_ctrl_pkt(lio->oct_dev, &nctrl); in liquidio_set_feature() 256 struct octeon_device *oct = lio->oct_dev; in liquidio_link_ctrl_cmd_completion() 445 struct octeon_device *oct = lio->oct_dev; in octnet_poll_check_rxq_oom_status() 459 struct octeon_device *oct = lio->oct_dev; in setup_rx_oom_poll_fn() 485 struct octeon_device *oct = lio->oct_dev; in cleanup_rx_oom_poll_fn() 519 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, iq_num, in lio_update_txq_status() 588 struct octeon_device *oct = lio->oct_dev; in liquidio_push_packet() [all …]
|
D | lio_main.c | 472 lio->oct_dev->num_iqs].s.q_no; in check_txq_status() 473 if (octnet_iq_is_full(lio->oct_dev, iq)) in check_txq_status() 477 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, iq, in check_txq_status() 533 struct octeon_device *oct = lio->oct_dev; in setup_link_status_change_wq() 572 struct octeon_device *oct = lio->oct_dev; in update_link_status() 616 struct octeon_device *oct = lio->oct_dev; in lio_sync_octeon_time() 666 struct octeon_device *oct = lio->oct_dev; in setup_sync_octeon_time_wq() 832 struct octeon_device *oct_dev = NULL; in liquidio_probe() local 835 oct_dev = octeon_allocate_device(pdev->device, in liquidio_probe() 837 if (!oct_dev) { in liquidio_probe() [all …]
|
D | lio_vf_main.c | 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() [all …]
|
D | octeon_device.h | 408 struct octeon_device *oct_dev; member 740 #define octeon_write_csr(oct_dev, reg_off, value) \ argument 741 writel(value, (oct_dev)->mmio[0].hw_addr + (reg_off)) 743 #define octeon_write_csr64(oct_dev, reg_off, val64) \ argument 744 writeq(val64, (oct_dev)->mmio[0].hw_addr + (reg_off)) 746 #define octeon_read_csr(oct_dev, reg_off) \ argument 747 readl((oct_dev)->mmio[0].hw_addr + (reg_off)) 749 #define octeon_read_csr64(oct_dev, reg_off) \ argument 750 readq((oct_dev)->mmio[0].hw_addr + (reg_off))
|
D | octeon_main.h | 185 wait_for_sc_completion_timeout(struct octeon_device *oct_dev, in wait_for_sc_completion_timeout() argument 201 dev_err(&oct_dev->pci_dev->dev, "%s: sc is timeout\n", in wait_for_sc_completion_timeout() 206 dev_err(&oct_dev->pci_dev->dev, "%s: sc is interrupted\n", in wait_for_sc_completion_timeout() 211 dev_err(&oct_dev->pci_dev->dev, "%s: sc has fatal timeout\n", in wait_for_sc_completion_timeout()
|
D | octeon_droq.h | 254 struct octeon_device *oct_dev; member 337 int octeon_init_droq(struct octeon_device *oct_dev, 350 int octeon_delete_droq(struct octeon_device *oct_dev, u32 q_no);
|
D | octeon_mailbox.c | 239 struct octeon_device *oct = mbox->oct_dev; in octeon_mbox_process_cmd() 310 mbox_cmd.fn(mbox->oct_dev, &mbox_cmd, in octeon_mbox_process_message() 329 mbox_cmd.fn(mbox->oct_dev, &mbox_cmd, mbox_cmd.fn_arg); in octeon_mbox_process_message()
|
D | octeon_network.h | 127 struct octeon_device *oct_dev; member 577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs() 580 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, qno, in wake_txqs()
|
D | octeon_mailbox.h | 86 struct octeon_device *oct_dev; member
|
D | cn23xx_vf_device.c | 290 mbox->oct_dev = oct; in cn23xx_setup_vf_mbox() 474 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_handle_vf_mbox_intr() 490 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_vf_msix_interrupt_handler()
|
D | octeon_iq.h | 77 struct octeon_device *oct_dev; member
|
D | octeon_device.c | 840 ioq_vector->oct_dev = oct; in octeon_allocate_ioq_vector() 1439 oct = droq->oct_dev; in lio_enable_irq() 1448 oct = iq->oct_dev; in lio_enable_irq()
|
D | octeon_droq.c | 236 droq->oct_dev = oct; in octeon_init_droq() 500 struct octeon_device *oct = droq->oct_dev; in octeon_retry_droq_refill()
|
D | cn23xx_pf_device.c | 682 struct octeon_device *oct = mbox->oct_dev; in cn23xx_pf_mbox_thread() 730 mbox->oct_dev = oct; in cn23xx_setup_pf_mbox() 945 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_pf_msix_interrupt_handler()
|
D | request_manager.c | 84 iq->oct_dev = oct; in octeon_init_instr_queue()
|