/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_vf_rep.h | 34 struct octeon_device *oct; member in struct:lio_vf_rep_desc
|
H A D | octeon_nic.h | 112 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) argument 119 octnet_prepare_pci_cmd_o2(struct octeon_device *oct, argument 173 octnet_prepare_pci_cmd_o3(struct octeon_device *oct, argument 243 octnet_prepare_pci_cmd(struct octeon_device *oct, union octeon_instr_64B *cmd, union octnic_cmd_setup *setup, u32 tag) argument [all...] |
H A D | cn23xx_pf_device.c | 39 void cn23xx_dump_pf_initialized_regs(struct octeon_device *oct) argument 208 cn23xx_pf_soft_reset(struct octeon_device *oct) argument 239 cn23xx_enable_error_reporting(struct octeon_device *oct) argument 269 cn23xx_coprocessor_clock(struct octeon_device *oct) argument 279 cn23xx_pf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) argument 301 cn23xx_setup_global_mac_regs(struct octeon_device *oct) argument 345 cn23xx_reset_io_queues(struct octeon_device *oct) argument 400 cn23xx_pf_setup_global_input_regs(struct octeon_device *oct) argument 475 cn23xx_pf_setup_global_output_regs(struct octeon_device *oct) argument 564 cn23xx_setup_pf_device_regs(struct octeon_device *oct) argument 587 cn23xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) argument 628 cn23xx_setup_oq_regs(struct octeon_device *oct, u32 oq_no) argument 682 struct octeon_device *oct = mbox->oct_dev; local 709 cn23xx_setup_pf_mbox(struct octeon_device *oct) argument 771 cn23xx_free_pf_mbox(struct octeon_device *oct) argument 788 cn23xx_enable_io_queues(struct octeon_device *oct) argument 865 cn23xx_disable_io_queues(struct octeon_device *oct) argument 943 struct octeon_device *oct = ioq_vector->oct_dev; local 982 cn23xx_handle_pf_mbox_intr(struct octeon_device *oct) argument 1007 struct octeon_device *oct = (struct octeon_device *)dev; local 1040 cn23xx_bar1_idx_setup(struct octeon_device *oct, u64 core_addr, u32 idx, int valid) argument 1068 cn23xx_bar1_idx_write(struct octeon_device *oct, u32 idx, u32 mask) argument 1074 cn23xx_bar1_idx_read(struct octeon_device *oct, u32 idx) argument 1101 cn23xx_enable_pf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 1124 cn23xx_disable_pf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 1146 cn23xx_get_pcie_qlmport(struct octeon_device *oct) argument 1154 cn23xx_get_pf_num(struct octeon_device *oct) argument 1200 cn23xx_setup_reg_address(struct octeon_device *oct) argument 1249 cn23xx_sriov_config(struct octeon_device *oct) argument 1307 setup_cn23xx_octeon_pf_device(struct octeon_device *oct) argument 1380 validate_cn23xx_pf_config_info(struct octeon_device *oct, struct octeon_config *conf23xx) argument 1419 cn23xx_fw_loaded(struct octeon_device *oct) argument 1439 cn23xx_tell_vf_its_macaddr_changed(struct octeon_device *oct, int vfidx, u8 *mac) argument 1462 cn23xx_get_vf_stats_callback(struct octeon_device *oct, struct octeon_mbox_cmd *cmd, void *arg) argument 1471 cn23xx_get_vf_stats(struct octeon_device *oct, int vfidx, struct oct_vf_stats *stats) argument [all...] |
H A D | cn23xx_vf_device.c | 30 u32 cn23xx_vf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) argument 50 static int cn23xx_vf_reset_io_queues(struct octeon_device *oct, u32 num_queues) argument 101 cn23xx_vf_setup_global_input_regs(struct octeon_device *oct) argument 151 cn23xx_vf_setup_global_output_regs(struct octeon_device *oct) argument 202 cn23xx_setup_vf_device_regs(struct octeon_device *oct) argument 212 cn23xx_setup_vf_iq_regs(struct octeon_device *oct, u32 iq_no) argument 245 cn23xx_setup_vf_oq_regs(struct octeon_device *oct, u32 oq_no) argument 271 cn23xx_free_vf_mbox(struct octeon_device *oct) argument 278 cn23xx_setup_vf_mbox(struct octeon_device *oct) argument 316 cn23xx_enable_vf_io_queues(struct octeon_device *oct) argument 357 cn23xx_disable_vf_io_queues(struct octeon_device *oct) argument 370 cn23xx_vf_ask_pf_to_do_flr(struct octeon_device *oct) argument 389 octeon_pfvf_hs_callback(struct octeon_device *oct, struct octeon_mbox_cmd *cmd, void *arg) argument 405 cn23xx_octeon_pfvf_handshake(struct octeon_device *oct) argument 474 struct octeon_device *oct = ioq_vector->oct_dev; local 490 struct octeon_device *oct = ioq_vector->oct_dev; local 544 cn23xx_enable_vf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 585 cn23xx_disable_vf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 616 cn23xx_setup_octeon_vf_device(struct octeon_device *oct) argument [all...] |
H A D | cn66xx_device.c | 29 int lio_cn6xxx_soft_reset(struct octeon_device *oct) argument 55 lio_cn6xxx_enable_error_reporting(struct octeon_device *oct) argument 71 lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct, enum octeon_pcie_mps mps) argument 94 lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct, enum octeon_pcie_mrrs mrrs) argument 122 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct) argument 130 lio_cn6xxx_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) argument 155 lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct) argument 170 lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct) argument 193 lio_cn6xxx_setup_global_output_regs(struct octeon_device *oct) argument 247 lio_cn6xxx_setup_device_regs(struct octeon_device *oct) argument 264 lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) argument 290 lio_cn66xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) argument 301 lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no) argument 330 lio_cn6xxx_enable_io_queues(struct octeon_device *oct) argument 349 lio_cn6xxx_disable_io_queues(struct octeon_device *oct) argument 412 lio_cn6xxx_bar1_idx_setup(struct octeon_device *oct, u64 core_addr, u32 idx, int valid) argument 436 lio_cn6xxx_bar1_idx_write(struct octeon_device *oct, u32 idx, u32 mask) argument 443 lio_cn6xxx_bar1_idx_read(struct octeon_device *oct, u32 idx) argument 470 lio_cn6xxx_enable_interrupt(struct octeon_device *oct, u8 unused __attribute__((unused))) argument 480 lio_cn6xxx_disable_interrupt(struct octeon_device *oct, u8 unused __attribute__((unused))) argument 489 lio_cn6xxx_get_pcie_qlmport(struct octeon_device *oct) argument 500 lio_cn6xxx_process_pcie_error_intr(struct octeon_device *oct, u64 intr64) argument 506 lio_cn6xxx_process_droq_intr_regs(struct octeon_device *oct) argument 572 struct octeon_device *oct = (struct octeon_device *)dev; local 607 lio_cn6xxx_setup_reg_address(struct octeon_device *oct, void *chip, struct octeon_reg_list *reg_list) argument 650 lio_setup_cn66xx_octeon_device(struct octeon_device *oct) argument 702 lio_validate_cn6xxx_config_info(struct octeon_device *oct, struct octeon_config *conf6xxx) argument [all...] |
H A D | cn68xx_device.c | 31 static void lio_cn68xx_set_dpi_regs(struct octeon_device *oct) argument 60 lio_cn68xx_soft_reset(struct octeon_device *oct) argument 68 lio_cn68xx_setup_pkt_ctl_regs(struct octeon_device *oct) argument 90 lio_cn68xx_setup_device_regs(struct octeon_device *oct) argument 108 lio_cn68xx_vendor_message_fix(struct octeon_device *oct) argument 118 lio_is_210nv(struct octeon_device *oct) argument 125 lio_setup_cn68xx_octeon_device(struct octeon_device *oct) argument [all...] |
H A D | lio_core.c | 86 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_iqs) argument 167 struct octeon_device *oct = lio->oct_dev; local 263 struct octeon_device *oct = lio->oct_dev; local 407 octeon_pf_changed_vf_macaddr(struct octeon_device *oct, u8 *mac) argument 438 octeon_schedule_rxq_oom_work(struct octeon_device *oct, struct octeon_droq *droq) argument 453 struct octeon_device *oct = lio->oct_dev; local 467 struct octeon_device *oct = lio->oct_dev; local 494 struct octeon_device *oct = lio->oct_dev; local 510 lio_update_txq_status(struct octeon_device *oct, int iq_num) argument 542 octeon_setup_droq(struct octeon_device *oct, int q_no, int num_descs, int desc_size, void *app_ctx) argument 598 struct octeon_device *oct = lio->oct_dev; local 731 struct octeon_device *oct; local 754 struct octeon_device *oct; local 917 struct octeon_device *oct = droq->oct_dev; local 943 struct octeon_device *oct = ioq_vector->oct_dev; local 959 liquidio_schedule_droq_pkt_handlers(struct octeon_device *oct) argument 992 struct octeon_device *oct = (struct octeon_device *)dev; local 1017 octeon_setup_interrupt(struct octeon_device *oct, u32 num_ioqs) argument 1218 struct octeon_device *oct = lio->oct_dev; local 1273 lio_wait_for_clean_oq(struct octeon_device *oct) argument 1530 struct octeon_device *oct = lio->oct_dev; local 1607 struct octeon_device *oct = lio->oct_dev; local 1683 struct octeon_device *oct; local 1772 struct octeon_device *oct; local [all...] |
H A D | lio_ethtool.c | 219 struct octeon_device *oct = lio->oct_dev; local 400 struct octeon_device *oct; local 439 struct octeon_device *oct; local 455 struct octeon_device *oct; local 473 struct octeon_device *oct = lio->oct_dev; local 502 struct octeon_device *oct = lio->oct_dev; local 542 lio_irq_reallocate_irqs(struct octeon_device *oct, uint32_t num_ioqs) argument 608 struct octeon_device *oct = lio->oct_dev; local 708 struct octeon_device *oct = lio->oct_dev; local 735 struct octeon_device *oct = lio->oct_dev; local 834 struct octeon_device *oct = lio->oct_dev; local 957 struct octeon_device *oct = lio->oct_dev; local 990 struct octeon_device *oct = lio->oct_dev; local 1088 struct octeon_device *oct = lio->oct_dev; local 1267 struct octeon_device *oct = lio->oct_dev; local 1359 struct octeon_device *oct = lio->oct_dev; local 1374 struct octeon_device *oct = lio->oct_dev; local 2123 struct octeon_device *oct = lio->oct_dev; local 2231 struct octeon_device *oct = lio->oct_dev; local 2304 struct octeon_device *oct = lio->oct_dev; local 2383 struct octeon_device *oct = lio->oct_dev; local 2430 struct octeon_device *oct = lio->oct_dev; local 2535 struct octeon_device *oct = lio->oct_dev; local 2547 cn23xx_read_csr_reg(char *s, struct octeon_device *oct) argument 2767 cn23xx_vf_read_csr_reg(char *s, struct octeon_device *oct) argument 2884 cn6xxx_read_csr_reg(char *s, struct octeon_device *oct) argument 2990 cn6xxx_read_config_reg(char *s, struct octeon_device *oct) argument 3021 struct octeon_device *oct = lio->oct_dev; local 3067 struct octeon_device *oct = lio->oct_dev; local 3092 struct octeon_device *oct = lio->oct_dev; local 3178 struct octeon_device *oct = lio->oct_dev; local [all...] |
H A D | lio_main.c | 165 struct octeon_device *oct = oct_priv->dev; local 192 lio_wait_for_oq_pkts(struct octeon_device *oct) argument 222 force_io_queues_off(struct octeon_device *oct) argument 238 pcierror_quiesce_device(struct octeon_device *oct) argument 303 stop_pci_io(struct octeon_device *oct) argument 339 struct octeon_device *oct = pci_get_drvdata(pdev); local 532 struct octeon_device *oct = lio->oct_dev; local 571 struct octeon_device *oct = lio->oct_dev; local 615 struct octeon_device *oct = lio->oct_dev; local 665 struct octeon_device *oct = lio->oct_dev; local 702 get_other_octeon_device(struct octeon_device *oct) argument 728 disable_all_vf_links(struct octeon_device *oct) argument 754 struct octeon_device *oct = param; local 921 octeon_pci_flr(struct octeon_device *oct) argument 948 octeon_destroy_resources(struct octeon_device *oct) argument 1151 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 1209 liquidio_destroy_nic_device(struct octeon_device *oct, int ifidx) argument 1266 liquidio_stop_nic_module(struct octeon_device *oct) argument 1342 octeon_chip_specific_setup(struct octeon_device *oct) argument 1386 octeon_pci_os_setup(struct octeon_device *oct) argument 1520 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 1578 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 1601 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 1634 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 1664 liquidio_ptp_init(struct octeon_device *oct) argument 1683 load_firmware(struct octeon_device *oct) argument 1740 struct octeon_device *oct = lio->oct_dev; local 1773 struct octeon_device *oct = lio->oct_dev; local 1853 struct octeon_device *oct = lio->oct_dev; local 1953 struct octeon_device *oct = lio->oct_dev; local 2003 struct octeon_device *oct = lio->oct_dev; local 2047 struct octeon_device *oct; local 2194 handle_timestamp(struct octeon_device *oct, u32 status, void *buf) argument 2240 send_nic_timestamp_pkt(struct octeon_device *oct, struct octnic_data_pkt *ndata, struct octnet_buf_free_info *finfo, int xmit_more) argument 2308 struct octeon_device *oct; local 2567 struct octeon_device *oct = lio->oct_dev; local 2596 struct octeon_device *oct = lio->oct_dev; local 2630 struct octeon_device *oct = lio->oct_dev; local 2667 struct octeon_device *oct = lio->oct_dev; local 2815 struct octeon_device *oct = lio->oct_dev; local 2855 struct octeon_device *oct = lio->oct_dev; local 2872 struct octeon_device *oct = lio->oct_dev; local 2928 struct octeon_device *oct = lio->oct_dev; local 2980 struct octeon_device *oct = lio->oct_dev; local 3008 struct octeon_device *oct = lio->oct_dev; local 3046 struct octeon_device *oct = lio->oct_dev; local 3098 struct octeon_device *oct = lio->oct_dev; local 3131 struct octeon_device *oct; local 3146 struct octeon_device *oct; local 3186 struct octeon_device *oct = lio->oct_dev; local 3201 struct octeon_device *oct = lio->oct_dev; local 3298 struct octeon_device *oct = (struct octeon_device *)buf; local 3794 octeon_enable_sriov(struct octeon_device *oct) argument 3834 lio_pci_sriov_disable(struct octeon_device *oct) argument 3860 struct octeon_device *oct = pci_get_drvdata(dev); local 3900 liquidio_init_nic_module(struct octeon_device *oct) argument 3957 struct octeon_device *oct; local 3997 struct octeon_device *oct = (struct octeon_device *)buf; local 4337 octeon_dbg_console_print(struct octeon_device *oct, u32 console_num, char *prefix, char *suffix) argument [all...] |
H A D | lio_vf_main.c | 73 static int lio_wait_for_oq_pkts(struct octeon_device *oct) argument 104 static void pcierror_quiesce_device(struct octeon_device *oct) argument 168 stop_pci_io(struct octeon_device *oct) argument 217 struct octeon_device *oct = pci_get_drvdata(pdev); local 304 struct octeon_device *oct = lio->oct_dev; local 342 struct octeon_device *oct = lio->oct_dev; local 421 octeon_pci_flr(struct octeon_device *oct) argument 442 octeon_destroy_resources(struct octeon_device *oct) argument 597 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 657 liquidio_destroy_nic_device(struct octeon_device *oct, int ifidx) argument 712 liquidio_stop_nic_module(struct octeon_device *oct) argument 771 octeon_pci_os_setup(struct octeon_device *oct) argument 908 struct octeon_device *oct = lio->oct_dev; local 954 struct octeon_device *oct = lio->oct_dev; local 1035 struct octeon_device *oct = lio->oct_dev; local 1076 struct octeon_device *oct = lio->oct_dev; local 1127 struct octeon_device *oct = lio->oct_dev; local 1176 struct octeon_device *oct; local 1308 handle_timestamp(struct octeon_device *oct, u32 status, void *buf) argument 1350 send_nic_timestamp_pkt(struct octeon_device *oct, struct octnic_data_pkt *ndata, struct octnet_buf_free_info *finfo, int xmit_more) argument 1413 struct octeon_device *oct; local 1653 struct octeon_device *oct = lio->oct_dev; local 1681 struct octeon_device *oct = lio->oct_dev; local 1715 struct octeon_device *oct = lio->oct_dev; local 1750 struct octeon_device *oct = lio->oct_dev; local 1890 struct octeon_device *oct = (struct octeon_device *)buf; local 2242 liquidio_init_nic_module(struct octeon_device *oct) argument 2280 octeon_device_init(struct octeon_device *oct) argument [all...] |
H A D | lio_vf_rep.c | 55 lio_vf_rep_send_soft_command(struct octeon_device *oct, argument 113 struct octeon_device *oct; local 146 struct octeon_device *oct; local 203 struct octeon_device *oct; local 231 struct octeon_device *oct = vf_rep->oct; local 243 lio_vf_rep_get_ndev(struct octeon_device *oct, int ifidx) argument 261 lio_vf_rep_copy_packet(struct octeon_device *oct, struct sk_buff *skb, int len) argument 299 struct octeon_device *oct; local 348 lio_vf_rep_packet_sent_callback(struct octeon_device *oct, u32 status, void *buf) argument 374 struct octeon_device *oct = vf_rep->oct; local 468 struct octeon_device *oct; local 490 lio_vf_rep_create(struct octeon_device *oct) argument 576 lio_vf_rep_destroy(struct octeon_device *oct) argument 613 struct octeon_device *oct; local [all...] |
H A D | octeon_console.c | 147 static inline u64 __cvmx_bootmem_desc_get(struct octeon_device *oct, argument 173 static void CVMX_BOOTMEM_NAMED_GET_NAME(struct octeon_device *oct, argument 195 static int __cvmx_bootmem_check_version(struct octeon_device *oct, argument 228 __cvmx_bootmem_find_named_block_flags(struct octeon_device *oct, const char *name, u32 flags) argument 257 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, const char *name, u32 flags) argument 334 octeon_named_block_find(struct octeon_device *oct, const char *name, u64 *base_addr, u64 *size) argument 360 octeon_console_send_cmd(struct octeon_device *oct, char *cmd_str, u32 wait_hundredths) argument 399 octeon_wait_for_bootloader(struct octeon_device *oct, u32 wait_time_hundredths) argument 419 octeon_console_handle_result(struct octeon_device *oct, size_t console_num) argument 431 output_console_line(struct octeon_device *oct, struct octeon_console *console, size_t console_num, char *console_buffer, s32 bytes_read) argument 484 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; local 533 octeon_init_consoles(struct octeon_device *oct) argument 576 octeon_get_uboot_version(struct octeon_device *oct) argument 652 octeon_add_console(struct octeon_device *oct, u32 console_num, char *dbg_enb) argument 714 octeon_remove_consoles(struct octeon_device *oct) argument 757 octeon_console_read(struct octeon_device *oct, u32 console_num, char *buffer, u32 buf_size) argument 807 octeon_download_firmware(struct octeon_device *oct, const u8 *data, size_t size) argument [all...] |
H A D | octeon_device.c | 569 static void *__retrieve_octeon_config_info(struct octeon_device *oct, argument 597 static int __verify_octeon_config_info(struct octeon_device *oct, void *conf) argument 613 oct_get_config_info(struct octeon_device *oct, u16 card_type) argument 646 octeon_free_device_mem(struct octeon_device *oct) argument 671 struct octeon_device *oct; local 724 struct octeon_device *oct = NULL; local 763 octeon_register_device(struct octeon_device *oct, int bus, int dev, int func, int is_pf) argument 817 octeon_deregister_device(struct octeon_device *oct) argument 832 octeon_allocate_ioq_vector(struct octeon_device *oct, u32 num_ioqs) argument 865 octeon_free_ioq_vector(struct octeon_device *oct) argument 872 octeon_setup_instr_queues(struct octeon_device *oct) argument 917 octeon_setup_output_queues(struct octeon_device *oct) argument 954 octeon_set_io_queues_off(struct octeon_device *oct) argument 1004 octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable) argument 1023 octeon_init_dispatch_list(struct octeon_device *oct) argument 1043 octeon_delete_dispatch_list(struct octeon_device *oct) argument 1134 octeon_register_dispatch_fn(struct octeon_device *oct, u16 opcode, u16 subcode, octeon_dispatch_fn_t fn, void *fn_arg) argument 1202 struct octeon_device *oct = (struct octeon_device *)buf; local 1282 octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no) argument 1293 octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no) argument 1303 octeon_get_conf(struct octeon_device *oct) argument 1342 lio_pci_readq(struct octeon_device *oct, u64 addr) argument 1374 lio_pci_writeq(struct octeon_device *oct, u64 val, u64 addr) argument 1395 octeon_mem_access_ok(struct octeon_device *oct) argument 1415 octeon_wait_for_ddr_init(struct octeon_device *oct, u32 *timeout) argument 1456 struct octeon_device *oct = NULL; local [all...] |
H A D | octeon_device.h | 423 struct octeon_device *oct; member in struct:lio_devlink_priv [all...] |
H A D | octeon_droq.c | 141 octeon_droq_destroy_ring_buffers(struct octeon_device *oct, argument 168 octeon_droq_setup_ring_buffers(struct octeon_device *oct, argument 199 int octeon_delete_droq(struct octeon_device *oct, u32 q_no) argument 222 octeon_init_droq(struct octeon_device *oct, u32 q_no, u32 num_descs, u32 desc_size, void *app_ctx) argument 502 struct octeon_device *oct = droq->oct_dev; local 530 octeon_droq_dispatch_pkt(struct octeon_device *oct, struct octeon_droq *droq, union octeon_rh *rh, struct octeon_droq_info *info) argument 566 octeon_droq_drop_packets(struct octeon_device *oct, struct octeon_droq *droq, u32 cnt) argument 595 octeon_droq_fast_process_packets(struct octeon_device *oct, struct octeon_droq *droq, u32 pkts_to_process) argument 743 octeon_droq_process_packets(struct octeon_device *oct, struct octeon_droq *droq, u32 budget) argument 786 octeon_droq_process_poll_pkts(struct octeon_device *oct, struct octeon_droq *droq, u32 budget) argument 828 octeon_enable_irq(struct octeon_device *oct, u32 q_no) argument 868 octeon_register_droq_ops(struct octeon_device *oct, u32 q_no, struct octeon_droq_ops *ops) argument 897 octeon_unregister_droq_ops(struct octeon_device *oct, u32 q_no) argument 929 octeon_create_droq(struct octeon_device *oct, u32 q_no, u32 num_descs, u32 desc_size, void *app_ctx) argument [all...] |
H A D | octeon_mailbox.c | 131 int octeon_mbox_write(struct octeon_device *oct, argument 209 static void get_vf_stats(struct octeon_device *oct, argument 239 struct octeon_device *oct = mbox->oct_dev; local 355 octeon_mbox_cancel(struct octeon_device *oct, int q_no) argument [all...] |
H A D | octeon_main.h | 93 static inline void octeon_unmap_pci_barx(struct octeon_device *oct, int baridx) argument 111 octeon_map_pci_barx(struct octeon_device *oct, int baridx, int max_map_len) argument [all...] |
H A D | octeon_mem_ops.c | 31 octeon_toggle_bar1_swapmode(struct octeon_device *oct, u32 idx) argument 44 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, argument 68 octeon_pci_fastread(struct octeon_device *oct, u argument 94 __octeon_pci_rw_core_mem(struct octeon_device *oct, u64 addr, u8 *hostbuf, u32 len, u32 op) argument 160 octeon_pci_read_core_mem(struct octeon_device *oct, u64 coreaddr, u8 *buf, u32 len) argument 170 octeon_pci_write_core_mem(struct octeon_device *oct, u64 coreaddr, const u8 *buf, u32 len) argument 179 octeon_read_device_mem64(struct octeon_device *oct, u64 coreaddr) argument 189 octeon_read_device_mem32(struct octeon_device *oct, u64 coreaddr) argument 199 octeon_write_device_mem32(struct octeon_device *oct, u64 coreaddr, u32 val) argument [all...] |
H A D | octeon_network.h | 260 *recv_buffer_alloc(struct octeon_device *oct, argument 331 recv_buffer_recycle(struct octeon_device *oct, void *buf) argument 363 recv_buffer_reuse(struct octeon_device *oct, void *buf) argument 535 wait_for_pending_requests(struct octeon_device *oct) argument 602 skb_iq(struct octeon_device *oct, struct sk_buff *skb) argument [all...] |
H A D | octeon_nic.c | 30 octeon_alloc_soft_command_resp(struct octeon_device *oct, argument 84 int octnet_send_nic_data_pkt(struct octeon_device *oct, argument 97 *octnic_alloc_ctrl_pkt_sc(struct octeon_device *oct, argument 139 octnet_send_nic_ctrl_pkt(struct octeon_device *oct, struct octnic_ctrl_pkt *nctrl) argument [all...] |
H A D | request_manager.c | 47 int octeon_init_instr_queue(struct octeon_device *oct, argument 156 octeon_delete_instr_queue(struct octeon_device *oct, u32 iq_no) argument 191 octeon_setup_iq(struct octeon_device *oct, int ifidx, int q_index, union oct_txpciq txpciq, u32 num_descs, void *app_ctx) argument 236 lio_wait_for_instr_fetch(struct octeon_device *oct) argument 265 ring_doorbell(struct octeon_device *oct, struct octeon_instr_queue *iq) argument 277 octeon_ring_doorbell_locked(struct octeon_device *oct, u32 iq_no) argument 338 octeon_register_reqtype_free_fn(struct octeon_device *oct, int reqtype, void (*fn)(void *)) argument 363 lio_process_iq_request_list(struct octeon_device *oct, struct octeon_instr_queue *iq, u32 napi_budget) argument 441 octeon_flush_iq(struct octeon_device *oct, struct octeon_instr_queue *iq, u32 napi_budget) argument 493 __check_db_timeout(struct octeon_device *oct, u64 iq_no) argument 526 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; local 536 octeon_send_command(struct octeon_device *oct, u32 iq_no, u32 force_db, void *cmd, void *buf, u32 datasize, u32 reqtype) argument 577 octeon_prepare_soft_command(struct octeon_device *oct, struct octeon_soft_command *sc, u8 opcode, u8 subcode, u32 irh_ossp, u64 ossp0, u64 ossp1) argument 684 octeon_send_soft_command(struct octeon_device *oct, struct octeon_soft_command *sc) argument 738 octeon_setup_sc_buffer_pool(struct octeon_device *oct) argument 768 octeon_free_sc_done_list(struct octeon_device *oct) argument 808 octeon_free_sc_zombie_list(struct octeon_device *oct) argument 833 octeon_free_sc_buffer_pool(struct octeon_device *oct) argument 858 octeon_alloc_soft_command(struct octeon_device *oct, u32 datasize, u32 rdatasize, u32 ctxsize) argument 930 octeon_free_soft_command(struct octeon_device *oct, struct octeon_soft_command *sc) argument [all...] |
H A D | response_manager.c | 30 int octeon_setup_response_list(struct octeon_device *oct) argument 57 octeon_delete_response_list(struct octeon_device *oct) argument 229 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; local [all...] |
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_cn9k_pf.c | 40 static void cn93_dump_regs(struct octep_device *oct, int qno) argument 107 cn93_reset_iq(struct octep_device *oct, int q_no) argument 135 cn93_reset_oq(struct octep_device *oct, int q_no) argument 153 octep_reset_io_queues_cn93_pf(struct octep_device *oct) argument 167 octep_setup_pci_window_regs_cn93_pf(struct octep_device *oct) argument 178 octep_configure_ring_mapping_cn93_pf(struct octep_device *oct) argument 200 octep_init_config_cn93_pf(struct octep_device *oct) argument 263 octep_setup_iq_regs_cn93_pf(struct octep_device *oct, int iq_no) argument 310 octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no) argument 361 octep_setup_mbox_regs_cn93_pf(struct octep_device *oct, int q_no) argument 373 octep_poll_pfvf_mailbox(struct octep_device *oct) argument 410 struct octep_device *oct = (struct octep_device *)dev; local 417 octep_poll_oei_cn93_pf(struct octep_device *oct) argument 434 struct octep_device *oct = (struct octep_device *)dev; local 443 octep_poll_non_ioq_interrupts_cn93_pf(struct octep_device *oct) argument 452 struct octep_device *oct = (struct octep_device *)dev; local 482 struct octep_device *oct = (struct octep_device *)dev; local 510 struct octep_device *oct = (struct octep_device *)dev; local 527 struct octep_device *oct = (struct octep_device *)dev; local 544 struct octep_device *oct = (struct octep_device *)dev; local 558 struct octep_device *oct = (struct octep_device *)dev; local 575 struct octep_device *oct = (struct octep_device *)dev; local 592 struct octep_device *oct = (struct octep_device *)dev; local 609 struct octep_device *oct = (struct octep_device *)dev; local 627 octep_soft_reset_cn98_pf(struct octep_device *oct) argument 634 octep_soft_reset_cn93_pf(struct octep_device *oct) argument 651 octep_reinit_regs_cn93_pf(struct octep_device *oct) argument 669 octep_enable_interrupts_cn93_pf(struct octep_device *oct) argument 697 octep_disable_interrupts_cn93_pf(struct octep_device *oct) argument 739 octep_enable_iq_cn93_pf(struct octep_device *oct, int iq_no) argument 763 octep_enable_oq_cn93_pf(struct octep_device *oct, int oq_no) argument 781 octep_enable_io_queues_cn93_pf(struct octep_device *oct) argument 792 octep_disable_iq_cn93_pf(struct octep_device *oct, int iq_no) argument 804 octep_disable_oq_cn93_pf(struct octep_device *oct, int oq_no) argument 815 octep_disable_io_queues_cn93_pf(struct octep_device *oct) argument 826 octep_dump_registers_cn93_pf(struct octep_device *oct) argument 848 octep_device_setup_cn93_pf(struct octep_device *oct) argument [all...] |
H A D | octep_cnxk_pf.c | 60 static void cnxk_dump_regs(struct octep_device *oct, int qno) argument 127 cnxk_reset_iq(struct octep_device *oct, int q_no) argument 155 cnxk_reset_oq(struct octep_device *oct, int q_no) argument 176 octep_reset_io_queues_cnxk_pf(struct octep_device *oct) argument 190 octep_setup_pci_window_regs_cnxk_pf(struct octep_device *oct) argument 201 octep_configure_ring_mapping_cnxk_pf(struct octep_device *oct) argument 223 octep_init_config_cnxk_pf(struct octep_device *oct) argument 283 octep_setup_iq_regs_cnxk_pf(struct octep_device *oct, int iq_no) argument 330 octep_setup_oq_regs_cnxk_pf(struct octep_device *oct, int oq_no) argument 391 octep_setup_mbox_regs_cnxk_pf(struct octep_device *oct, int q_no) argument 402 octep_poll_pfvf_mailbox_cnxk_pf(struct octep_device *oct) argument 429 struct octep_device *oct = (struct octep_device *)dev; local 436 octep_poll_oei_cnxk_pf(struct octep_device *oct) argument 454 struct octep_device *oct = (struct octep_device *)dev; local 464 octep_poll_non_ioq_interrupts_cnxk_pf(struct octep_device *oct) argument 473 struct octep_device *oct = (struct octep_device *)dev; local 503 struct octep_device *oct = (struct octep_device *)dev; local 531 struct octep_device *oct = (struct octep_device *)dev; local 548 struct octep_device *oct = (struct octep_device *)dev; local 565 struct octep_device *oct = (struct octep_device *)dev; local 579 struct octep_device *oct = (struct octep_device *)dev; local 596 struct octep_device *oct = (struct octep_device *)dev; local 613 struct octep_device *oct = (struct octep_device *)dev; local 630 struct octep_device *oct = (struct octep_device *)dev; local 648 octep_soft_reset_cnxk_pf(struct octep_device *oct) argument 676 octep_reinit_regs_cnxk_pf(struct octep_device *oct) argument 694 octep_enable_interrupts_cnxk_pf(struct octep_device *oct) argument 721 octep_disable_interrupts_cnxk_pf(struct octep_device *oct) argument 762 octep_enable_iq_cnxk_pf(struct octep_device *oct, int iq_no) argument 786 octep_enable_oq_cnxk_pf(struct octep_device *oct, int oq_no) argument 804 octep_enable_io_queues_cnxk_pf(struct octep_device *oct) argument 815 octep_disable_iq_cnxk_pf(struct octep_device *oct, int iq_no) argument 827 octep_disable_oq_cnxk_pf(struct octep_device *oct, int oq_no) argument 838 octep_disable_io_queues_cnxk_pf(struct octep_device *oct) argument 849 octep_dump_registers_cnxk_pf(struct octep_device *oct) argument 871 octep_device_setup_cnxk_pf(struct octep_device *oct) argument [all...] |
H A D | octep_ctrl_net.c | 59 static int octep_send_mbox_req(struct octep_device *oct, argument 101 int octep_ctrl_net_init(struct octep_device *oct) argument 127 octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid) argument 143 octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, bool wait_for_response) argument 158 octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, bool wait_for_response) argument 173 octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr) argument 191 octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr, bool wait_for_response) argument 205 octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid) argument 223 octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu, bool wait_for_response) argument 237 octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid, struct octep_iface_rx_stats *rx_stats, struct octep_iface_tx_stats *tx_stats) argument 258 octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid, struct octep_iface_link_info *link_info) argument 283 octep_ctrl_net_set_link_info(struct octep_device *oct, int vfid, struct octep_iface_link_info *link_info, bool wait_for_response) argument 301 process_mbox_resp(struct octep_device *oct, struct octep_ctrl_mbox_msg *msg) argument 318 process_mbox_notify(struct octep_device *oct, struct octep_ctrl_mbox_msg *msg) argument 358 octep_ctrl_net_recv_fw_messages(struct octep_device *oct) argument 383 octep_ctrl_net_get_info(struct octep_device *oct, int vfid, struct octep_fw_info *info) argument 405 octep_ctrl_net_dev_remove(struct octep_device *oct, int vfid) argument 418 octep_ctrl_net_set_offloads(struct octep_device *oct, int vfid, struct octep_ctrl_net_offloads *offloads, bool wait_for_response) argument 434 octep_ctrl_net_uninit(struct octep_device *oct) argument [all...] |