Searched refs:fn_list (Results 1 – 13 of 13) sorted by relevance
/drivers/net/ethernet/cavium/liquidio/ |
D | cn68xx_device.c | 143 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 …]
|
D | cn66xx_device.c | 666 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 …]
|
D | octeon_mem_ops.c | 35 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()
|
D | cn23xx_vf_device.c | 665 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 …]
|
D | cn23xx_pf_device.c | 1352 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 …]
|
D | lio_vf_main.c | 181 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()
|
D | lio_main.c | 317 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 …]
|
D | request_manager.c | 141 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()
|
D | lio_core.c | 942 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()
|
D | lio_ethtool.c | 551 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()
|
D | octeon_device.h | 476 struct octeon_fn_list fn_list; member
|
D | octeon_console.c | 558 oct->fn_list.bar1_idx_setup(oct, addr, oct->console_nb_info.bar1_index, in octeon_init_consoles()
|
D | octeon_droq.c | 304 oct->fn_list.setup_oq_regs(oct, q_no); in octeon_init_droq()
|