/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A 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 in lio_setup_cn68xx_octeon_device() [all...] |
H A 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()
|
H A 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 in lio_setup_cn66xx_octeon_device() [all...] |
H A 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 in cn23xx_setup_octeon_vf_device() [all...] |
H A D | cn23xx_pf_device.c | 529 /* Enabling these interrupt in oct->fn_list.enable_interrupt() in cn23xx_pf_setup_global_output_regs() 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 in setup_cn23xx_octeon_pf_device() [all...] |
H A 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 in octeon_device_init() [all...] |
H A 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 in octeon_device_init() [all...] |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | octeon_device.h | 476 struct octeon_fn_list fn_list; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn68xx_device.c | 142 oct->fn_list.setup_iq_regs = lio_cn6xxx_setup_iq_regs; in lio_setup_cn68xx_octeon_device() 143 oct->fn_list.setup_oq_regs = lio_cn6xxx_setup_oq_regs; in lio_setup_cn68xx_octeon_device() 145 oct->fn_list.process_interrupt_regs = lio_cn6xxx_process_interrupt_regs; in lio_setup_cn68xx_octeon_device() 146 oct->fn_list.soft_reset = lio_cn68xx_soft_reset; in lio_setup_cn68xx_octeon_device() 147 oct->fn_list.setup_device_regs = lio_cn68xx_setup_device_regs; in lio_setup_cn68xx_octeon_device() 148 oct->fn_list.update_iq_read_idx = lio_cn6xxx_update_read_index; in lio_setup_cn68xx_octeon_device() 150 oct->fn_list.bar1_idx_setup = lio_cn6xxx_bar1_idx_setup; in lio_setup_cn68xx_octeon_device() 151 oct->fn_list.bar1_idx_write = lio_cn6xxx_bar1_idx_write; in lio_setup_cn68xx_octeon_device() 152 oct->fn_list.bar1_idx_read = lio_cn6xxx_bar1_idx_read; in lio_setup_cn68xx_octeon_device() 154 oct->fn_list in lio_setup_cn68xx_octeon_device() [all...] |
H A 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()
|
H A 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 in lio_setup_cn66xx_octeon_device() [all...] |
H A 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 in cn23xx_setup_octeon_vf_device() [all...] |
H A D | cn23xx_pf_device.c | 529 /* Enabling these interrupt in oct->fn_list.enable_interrupt() in cn23xx_pf_setup_global_output_regs() 1350 oct->fn_list.setup_iq_regs = cn23xx_setup_iq_regs; in setup_cn23xx_octeon_pf_device() 1351 oct->fn_list.setup_oq_regs = cn23xx_setup_oq_regs; in setup_cn23xx_octeon_pf_device() 1352 oct->fn_list.setup_mbox = cn23xx_setup_pf_mbox; in setup_cn23xx_octeon_pf_device() 1353 oct->fn_list.free_mbox = cn23xx_free_pf_mbox; in setup_cn23xx_octeon_pf_device() 1355 oct->fn_list.process_interrupt_regs = cn23xx_interrupt_handler; in setup_cn23xx_octeon_pf_device() 1356 oct->fn_list.msix_interrupt_handler = cn23xx_pf_msix_interrupt_handler; in setup_cn23xx_octeon_pf_device() 1358 oct->fn_list.soft_reset = cn23xx_pf_soft_reset; in setup_cn23xx_octeon_pf_device() 1359 oct->fn_list.setup_device_regs = cn23xx_setup_pf_device_regs; in setup_cn23xx_octeon_pf_device() 1360 oct->fn_list in setup_cn23xx_octeon_pf_device() [all...] |
H A D | lio_vf_main.c | 180 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in stop_pci_io() 473 oct->fn_list.disable_io_queues(oct); in octeon_destroy_resources() 506 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in octeon_destroy_resources() 538 oct->fn_list.free_mbox(oct); in octeon_destroy_resources() 2156 octeon_dev->fn_list.enable_interrupt(octeon_dev, in setup_nic_devices() 2318 if (oct->fn_list.setup_device_regs(oct)) { in octeon_device_init() 2352 if (oct->fn_list.setup_mbox(oct)) { in octeon_device_init() 2381 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in octeon_device_init() 2391 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in octeon_device_init() 2395 if (oct->fn_list in octeon_device_init() [all...] |
H A D | lio_main.c | 311 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in stop_pci_io() 988 oct->fn_list.disable_io_queues(oct); in octeon_destroy_resources() 1021 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in octeon_destroy_resources() 1061 oct->fn_list.free_mbox(oct); in octeon_destroy_resources() 1123 oct->fn_list.soft_reset(oct); in octeon_destroy_resources() 4116 if (octeon_dev->fn_list.soft_reset(octeon_dev)) in octeon_device_init() 4146 ret = octeon_dev->fn_list.setup_device_regs(octeon_dev); in octeon_device_init() 4186 if (octeon_dev->fn_list.setup_mbox(octeon_dev)) { in octeon_device_init() 4205 ret = octeon_dev->fn_list.setup_device_regs(octeon_dev); in octeon_device_init() 4224 octeon_dev->fn_list in octeon_device_init() [all...] |
H A D | request_manager.c | 132 oct->fn_list.setup_iq_regs(oct, iq_no); in octeon_init_instr_queue() 228 if (oct->fn_list.enable_io_queues(oct)) { in octeon_setup_iq() 453 iq->octeon_read_index = oct->fn_list.update_iq_read_idx(iq); in octeon_flush_iq()
|
H A D | lio_ethtool.c | 552 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in lio_irq_reallocate_irqs() 595 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in lio_irq_reallocate_irqs() 1107 oct->fn_list.disable_io_queues(oct); in lio_reset_queues() 1148 oct->fn_list.free_mbox(oct); in lio_reset_queues() 1178 if (oct->fn_list.setup_device_regs(oct)) { in lio_reset_queues() 1195 if (oct->fn_list.setup_mbox(oct)) { in lio_reset_queues() 1210 if (oct->fn_list.enable_io_queues(oct)) { in lio_reset_queues()
|
H A D | lio_core.c | 946 ret = oct->fn_list.msix_interrupt_handler(ioq_vector); in liquidio_msix_intr_handler() 995 oct->fn_list.disable_interrupt(oct, OCTEON_ALL_INTR); in liquidio_legacy_intr_handler() 997 ret = oct->fn_list.process_interrupt_regs(oct); in liquidio_legacy_intr_handler() 1004 oct->fn_list.enable_interrupt(oct, OCTEON_ALL_INTR); in liquidio_legacy_intr_handler()
|
H A D | octeon_device.h | 476 struct octeon_fn_list fn_list; member
|
/kernel/linux/linux-5.10/net/dccp/ |
H A D | feat.c | 293 #define dccp_feat_print_fnlist(fn_list) { \ 297 list_for_each_entry(___entry, fn_list, node) \ 302 #define dccp_feat_print_fnlist(fn_list) 428 static struct dccp_feat_entry *dccp_feat_list_lookup(struct list_head *fn_list, in dccp_feat_list_lookup() argument 433 list_for_each_entry(entry, fn_list, node) { in dccp_feat_list_lookup() 475 * @fn_list: feature-negotiation list to update 481 static int dccp_feat_push_change(struct list_head *fn_list, u8 feat, u8 local, in dccp_feat_push_change() argument 484 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_change() 502 * @fn_list: feature-negotiation list to add to 509 static int dccp_feat_push_confirm(struct list_head *fn_list, u argument 530 dccp_push_empty_confirm(struct list_head *fn_list, u8 feat, u8 local) dccp_push_empty_confirm() argument 541 dccp_feat_list_purge(struct list_head *fn_list) dccp_feat_list_purge() argument 1504 dccp_feat_activate_values(struct sock *sk, struct list_head *fn_list) dccp_feat_activate_values() argument [all...] |
H A D | dccp.h | 465 void dccp_feat_list_purge(struct list_head *fn_list);
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | feat.c | 293 #define dccp_feat_print_fnlist(fn_list) { \ 297 list_for_each_entry(___entry, fn_list, node) \ 302 #define dccp_feat_print_fnlist(fn_list) 428 static struct dccp_feat_entry *dccp_feat_list_lookup(struct list_head *fn_list, in dccp_feat_list_lookup() argument 433 list_for_each_entry(entry, fn_list, node) { in dccp_feat_list_lookup() 475 * @fn_list: feature-negotiation list to update 481 static int dccp_feat_push_change(struct list_head *fn_list, u8 feat, u8 local, in dccp_feat_push_change() argument 484 struct dccp_feat_entry *new = dccp_feat_entry_new(fn_list, feat, local); in dccp_feat_push_change() 502 * @fn_list: feature-negotiation list to add to 509 static int dccp_feat_push_confirm(struct list_head *fn_list, u argument 530 dccp_push_empty_confirm(struct list_head *fn_list, u8 feat, u8 local) dccp_push_empty_confirm() argument 541 dccp_feat_list_purge(struct list_head *fn_list) dccp_feat_list_purge() argument 1510 dccp_feat_activate_values(struct sock *sk, struct list_head *fn_list) dccp_feat_activate_values() argument [all...] |