Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c219 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 …]
Dlio_core.c49 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 …]
Dlio_main.c472 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 …]
Dlio_vf_main.c305 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 …]
Docteon_device.h408 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))
Docteon_main.h185 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()
Docteon_droq.h254 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);
Docteon_mailbox.c239 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()
Docteon_network.h127 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()
Docteon_mailbox.h86 struct octeon_device *oct_dev; member
Dcn23xx_vf_device.c290 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()
Docteon_iq.h77 struct octeon_device *oct_dev; member
Docteon_device.c840 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()
Docteon_droq.c236 droq->oct_dev = oct; in octeon_init_droq()
500 struct octeon_device *oct = droq->oct_dev; in octeon_retry_droq_refill()
Dcn23xx_pf_device.c682 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()
Drequest_manager.c84 iq->oct_dev = oct; in octeon_init_instr_queue()