Home
last modified time | relevance | path

Searched refs:fn_list (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Dcn68xx_device.c143 oct->fn_list.setup_iq_regs = lio_cn6xxx_setup_iq_regs; in lio_setup_cn68xx_octeon_device()
144 oct->fn_list.setup_oq_regs = lio_cn6xxx_setup_oq_regs; in lio_setup_cn68xx_octeon_device()
146 oct->fn_list.process_interrupt_regs = lio_cn6xxx_process_interrupt_regs; in lio_setup_cn68xx_octeon_device()
147 oct->fn_list.soft_reset = lio_cn68xx_soft_reset; in lio_setup_cn68xx_octeon_device()
148 oct->fn_list.setup_device_regs = lio_cn68xx_setup_device_regs; in lio_setup_cn68xx_octeon_device()
149 oct->fn_list.update_iq_read_idx = lio_cn6xxx_update_read_index; in lio_setup_cn68xx_octeon_device()
151 oct->fn_list.bar1_idx_setup = lio_cn6xxx_bar1_idx_setup; in lio_setup_cn68xx_octeon_device()
152 oct->fn_list.bar1_idx_write = lio_cn6xxx_bar1_idx_write; in lio_setup_cn68xx_octeon_device()
153 oct->fn_list.bar1_idx_read = lio_cn6xxx_bar1_idx_read; in lio_setup_cn68xx_octeon_device()
155 oct->fn_list.enable_interrupt = lio_cn6xxx_enable_interrupt; in lio_setup_cn68xx_octeon_device()
[all …]
Dcn66xx_device.c666 oct->fn_list.setup_iq_regs = lio_cn66xx_setup_iq_regs; in lio_setup_cn66xx_octeon_device()
667 oct->fn_list.setup_oq_regs = lio_cn6xxx_setup_oq_regs; in lio_setup_cn66xx_octeon_device()
669 oct->fn_list.soft_reset = lio_cn6xxx_soft_reset; in lio_setup_cn66xx_octeon_device()
670 oct->fn_list.setup_device_regs = lio_cn6xxx_setup_device_regs; in lio_setup_cn66xx_octeon_device()
671 oct->fn_list.update_iq_read_idx = lio_cn6xxx_update_read_index; in lio_setup_cn66xx_octeon_device()
673 oct->fn_list.bar1_idx_setup = lio_cn6xxx_bar1_idx_setup; in lio_setup_cn66xx_octeon_device()
674 oct->fn_list.bar1_idx_write = lio_cn6xxx_bar1_idx_write; in lio_setup_cn66xx_octeon_device()
675 oct->fn_list.bar1_idx_read = lio_cn6xxx_bar1_idx_read; in lio_setup_cn66xx_octeon_device()
677 oct->fn_list.process_interrupt_regs = lio_cn6xxx_process_interrupt_regs; in lio_setup_cn66xx_octeon_device()
678 oct->fn_list.enable_interrupt = lio_cn6xxx_enable_interrupt; in lio_setup_cn66xx_octeon_device()
[all …]
Docteon_mem_ops.c35 mask = oct->fn_list.bar1_idx_read(oct, idx); in octeon_toggle_bar1_swapmode()
37 oct->fn_list.bar1_idx_write(oct, idx, mask); in octeon_toggle_bar1_swapmode()
123 index_reg_val = oct->fn_list.bar1_idx_read(oct, MEMOPS_IDX); in __octeon_pci_rw_core_mem()
125 oct->fn_list.bar1_idx_setup(oct, addr, MEMOPS_IDX, 1); in __octeon_pci_rw_core_mem()
154 oct->fn_list.bar1_idx_write(oct, MEMOPS_IDX, index_reg_val); in __octeon_pci_rw_core_mem()
Dcn23xx_vf_device.c665 oct->fn_list.setup_iq_regs = cn23xx_setup_vf_iq_regs; in cn23xx_setup_octeon_vf_device()
666 oct->fn_list.setup_oq_regs = cn23xx_setup_vf_oq_regs; in cn23xx_setup_octeon_vf_device()
667 oct->fn_list.setup_mbox = cn23xx_setup_vf_mbox; in cn23xx_setup_octeon_vf_device()
668 oct->fn_list.free_mbox = cn23xx_free_vf_mbox; in cn23xx_setup_octeon_vf_device()
670 oct->fn_list.msix_interrupt_handler = cn23xx_vf_msix_interrupt_handler; in cn23xx_setup_octeon_vf_device()
672 oct->fn_list.setup_device_regs = cn23xx_setup_vf_device_regs; in cn23xx_setup_octeon_vf_device()
673 oct->fn_list.update_iq_read_idx = cn23xx_update_read_index; in cn23xx_setup_octeon_vf_device()
675 oct->fn_list.enable_interrupt = cn23xx_enable_vf_interrupt; in cn23xx_setup_octeon_vf_device()
676 oct->fn_list.disable_interrupt = cn23xx_disable_vf_interrupt; in cn23xx_setup_octeon_vf_device()
678 oct->fn_list.enable_io_queues = cn23xx_enable_vf_io_queues; in cn23xx_setup_octeon_vf_device()
[all …]
Dcn23xx_pf_device.c1352 oct->fn_list.setup_iq_regs = cn23xx_setup_iq_regs; in setup_cn23xx_octeon_pf_device()
1353 oct->fn_list.setup_oq_regs = cn23xx_setup_oq_regs; in setup_cn23xx_octeon_pf_device()
1354 oct->fn_list.setup_mbox = cn23xx_setup_pf_mbox; in setup_cn23xx_octeon_pf_device()
1355 oct->fn_list.free_mbox = cn23xx_free_pf_mbox; in setup_cn23xx_octeon_pf_device()
1357 oct->fn_list.process_interrupt_regs = cn23xx_interrupt_handler; in setup_cn23xx_octeon_pf_device()
1358 oct->fn_list.msix_interrupt_handler = cn23xx_pf_msix_interrupt_handler; in setup_cn23xx_octeon_pf_device()
1360 oct->fn_list.soft_reset = cn23xx_pf_soft_reset; in setup_cn23xx_octeon_pf_device()
1361 oct->fn_list.setup_device_regs = cn23xx_setup_pf_device_regs; in setup_cn23xx_octeon_pf_device()
1362 oct->fn_list.update_iq_read_idx = cn23xx_update_read_index; in setup_cn23xx_octeon_pf_device()
1364 oct->fn_list.bar1_idx_setup = cn23xx_bar1_idx_setup; in setup_cn23xx_octeon_pf_device()
[all …]
Dlio_vf_main.c181 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in stop_pci_io()
475 oct->fn_list.disable_io_queues(oct); in octeon_destroy_resources()
508 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in octeon_destroy_resources()
540 oct->fn_list.free_mbox(oct); in octeon_destroy_resources()
2167 octeon_dev->fn_list.enable_interrupt(octeon_dev, in setup_nic_devices()
2329 if (oct->fn_list.setup_device_regs(oct)) { in octeon_device_init()
2363 if (oct->fn_list.setup_mbox(oct)) { in octeon_device_init()
2392 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in octeon_device_init()
2402 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in octeon_device_init()
2406 if (oct->fn_list.enable_io_queues(oct)) { in octeon_device_init()
Dlio_main.c317 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in stop_pci_io()
996 oct->fn_list.disable_io_queues(oct); in octeon_destroy_resources()
1029 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in octeon_destroy_resources()
1069 oct->fn_list.free_mbox(oct); in octeon_destroy_resources()
1131 oct->fn_list.soft_reset(oct); in octeon_destroy_resources()
4131 if (octeon_dev->fn_list.soft_reset(octeon_dev)) in octeon_device_init()
4161 ret = octeon_dev->fn_list.setup_device_regs(octeon_dev); in octeon_device_init()
4201 if (octeon_dev->fn_list.setup_mbox(octeon_dev)) { in octeon_device_init()
4220 ret = octeon_dev->fn_list.setup_device_regs(octeon_dev); in octeon_device_init()
4239 octeon_dev->fn_list.enable_interrupt(octeon_dev, OCTEON_ALL_INTR); in octeon_device_init()
[all …]
Drequest_manager.c141 oct->fn_list.setup_iq_regs(oct, iq_no); in octeon_init_instr_queue()
236 if (oct->fn_list.enable_io_queues(oct)) { in octeon_setup_iq()
457 iq->octeon_read_index = oct->fn_list.update_iq_read_idx(iq); in octeon_flush_iq()
Dlio_core.c942 ret = oct->fn_list.msix_interrupt_handler(ioq_vector); in liquidio_msix_intr_handler()
991 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in liquidio_legacy_intr_handler()
993 ret = oct->fn_list.process_interrupt_regs(oct); in liquidio_legacy_intr_handler()
1000 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in liquidio_legacy_intr_handler()
Dlio_ethtool.c551 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in lio_irq_reallocate_irqs()
594 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in lio_irq_reallocate_irqs()
1104 oct->fn_list.disable_io_queues(oct); in lio_reset_queues()
1145 oct->fn_list.free_mbox(oct); in lio_reset_queues()
1175 if (oct->fn_list.setup_device_regs(oct)) { in lio_reset_queues()
1192 if (oct->fn_list.setup_mbox(oct)) { in lio_reset_queues()
1207 if (oct->fn_list.enable_io_queues(oct)) { in lio_reset_queues()
Docteon_device.h476 struct octeon_fn_list fn_list; member
Docteon_console.c558 oct->fn_list.bar1_idx_setup(oct, addr, oct->console_nb_info.bar1_index, in octeon_init_consoles()
Docteon_droq.c304 oct->fn_list.setup_oq_regs(oct, q_no); in octeon_init_droq()