/freebsd-13-stable/sys/dev/liquidio/ |
H A D | lio_main.h | 64 * @param oct Pointer to Octeon device 68 lio_unmap_pci_barx(struct octeon_device *oct, int baridx) argument 71 lio_dev_dbg(oct, "Freeing PCI mapped regions for Bar%d\n", baridx); 73 if (oct->mem_bus_space[baridx].pci_mem != NULL) { 74 bus_release_resource(oct->device, SYS_RES_MEMORY, 76 oct->mem_bus_space[baridx].pci_mem); 77 oct->mem_bus_space[baridx].pci_mem = NULL; 83 * @param oct Pointer to Octeon device 87 lio_map_pci_barx(struct octeon_device *oct, int baridx) argument 91 oct 114 lio_sleep_cond(struct octeon_device *oct, volatile int *condition) argument [all...] |
H A D | lio_core.c | 51 struct octeon_device *oct = lio->oct_dev; local 66 lio_dev_err(oct, "Feature change failed in core (ret: 0x%x)\n", 78 struct octeon_device *oct; local 86 oct = lio->oct_dev; 101 lio_dev_info(oct, "MAC Address %pM is configured for VF %d\n", 104 lio_dev_info(oct, "MAC Address changed to %02x:%02x:%02x:%02x:%02x:%02x\n", 111 lio_dev_info(oct, "LED Flashing visual identification\n"); 115 lio_dev_info(oct, "LED Flashing visual identification\n"); 119 lio_dev_info(oct, "HW LRO Enabled\n"); 123 lio_dev_info(oct, "H 235 lio_setup_droq(struct octeon_device *oct, int q_no, int num_descs, int desc_size, void *app_ctx) argument 478 lio_schedule_droq_pkt_handlers(struct octeon_device *oct) argument 500 struct octeon_device *oct = ioq_vector->oct_dev; local 534 struct octeon_device *oct = (struct octeon_device *)dev; local 549 lio_setup_interrupt(struct octeon_device *oct, uint32_t num_ioqs) argument [all...] |
H A D | lio_main.c | 99 static int lio_chip_specific_setup(struct octeon_device *oct); 101 static int lio_load_firmware(struct octeon_device *oct); 102 static int lio_nic_starter(struct octeon_device *oct); 103 static int lio_init_nic_module(struct octeon_device *oct); 106 static void lio_if_cfg_callback(struct octeon_device *oct, uint32_t status, 110 static int lio_setup_glists(struct octeon_device *oct, struct lio *lio, 112 static void lio_destroy_nic_device(struct octeon_device *oct, int ifidx); 116 static int lio_stop_nic_module(struct octeon_device *oct); 117 static void lio_destroy_resources(struct octeon_device *oct); 124 lio_get_other_octeon_device(struct octeon_device *oct); 690 lio_pci_flr(struct octeon_device *oct) argument 734 lio_dbg_console_print(struct octeon_device *oct, uint32_t console_num, char *prefix, char *suffix) argument 753 struct octeon_device *oct = param; local 795 lio_chip_specific_setup(struct octeon_device *oct) argument 844 lio_get_other_octeon_device(struct octeon_device *oct) argument 876 lio_load_firmware(struct octeon_device *oct) argument 906 lio_nic_starter(struct octeon_device *oct) argument 933 lio_init_nic_module(struct octeon_device *oct) argument 999 lio_get_media_subtype(struct octeon_device *oct) argument 1017 lio_get_baudrate(struct octeon_device *oct) argument 1068 struct octeon_device *oct = lio->oct_dev; local 1133 struct octeon_device *oct = lio->oct_dev; local 1496 struct octeon_device *oct = (struct octeon_device *)ptr; local 1538 struct octeon_device *oct; local 1557 lio_if_cfg_callback(struct octeon_device *oct, uint32_t status, void *buf) argument 1596 struct octeon_device *oct = lio->oct_dev; local 1630 struct octeon_device *oct = lio->oct_dev; local 1651 lio_stop_nic_module(struct octeon_device *oct) argument 1684 lio_delete_glists(struct octeon_device *oct, struct lio *lio) argument 1722 lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_iqs) argument 1794 struct octeon_device *oct = lio->oct_dev; local 1815 struct octeon_device *oct = lio->oct_dev; local 1859 struct octeon_device *oct = lio->oct_dev; local 1905 lio_destroy_nic_device(struct octeon_device *oct, int ifidx) argument 1998 lio_rx_ctl_callback(struct octeon_device *oct, uint32_t status, void *buf) argument 2024 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; local 2075 struct octeon_device *oct = lio->oct_dev; local 2106 struct octeon_device *oct = lio->oct_dev; local 2134 lio_wait_for_oq_pkts(struct octeon_device *oct) argument 2161 lio_destroy_resources(struct octeon_device *oct) argument [all...] |
H A D | lio_rss.c | 51 lio_set_rss_callback(struct octeon_device *oct, uint32_t status, void *arg) argument 56 lio_dev_err(oct, "Failed to SET RSS params\n"); 58 lio_dev_info(oct, "SET RSS params\n"); 60 lio_free_soft_command(oct, sc); 66 struct octeon_device *oct = lio->oct_dev; local 74 queue_id = queue_id % oct->num_oqs; 101 struct octeon_device *oct = lio->oct_dev; local 107 sc = lio_alloc_soft_command(oct, 111 lio_dev_err(oct, "%s: Soft command allocation failed\n", 118 lio_prepare_soft_command(oct, s [all...] |
H A D | lio_bsd.h | 99 #define lio_dev_info(oct, format, args...) \ 100 device_printf(oct->device, "Info: " format, ##args) 101 #define lio_dev_warn(oct, format, args...) \ 102 device_printf(oct->device, "Warn: " format, ##args) 103 #define lio_dev_err(oct, format, args...) \ 104 device_printf(oct->device, "Error: " format, ##args) 107 #define lio_dev_dbg(oct, format, args...) \ 108 device_printf(oct->device, "Debug: " format, ##args) 110 #define lio_dev_dbg(oct, format, args...) {do { } while (0); }
|
H A D | lio_rxtx.c | 53 struct octeon_device *oct = iq->oct_dev; local 69 stats = &oct->instr_queue[iq_no]->stats; 78 lio_dev_info(oct, "Transmit failed link_status : %d\n", 84 if (lio_iq_is_full(oct, iq_no)) { 86 lio_dev_dbg(oct, "Transmit failed iq:%d full\n", iq_no); 113 lio_dev_dbg(oct, "bus_dmamap_load_mbuf_sg failed with error %d. iq:%d", 144 lio_prepare_pci_cmd(oct, &ndata.cmd, &cmdsetup, tag); 160 lio_dev_err(oct, 167 lio_prepare_pci_cmd(oct, &ndata.cmd, &cmdsetup, tag); 203 status = lio_send_data_pkt(oct, 266 struct octeon_device *oct = lio->oct_dev; local 306 struct octeon_device *oct = lio->oct_dev; local [all...] |
H A D | lio_sysctl.c | 81 static int lio_cn23xx_pf_read_csr_reg(char *s, struct octeon_device *oct); 92 static int lio_irq_reallocate_irqs(struct octeon_device *oct, 112 struct octeon_device *oct = lio->oct_dev; local 128 lio_dev_err(oct, "Failed to send Queue reset command (ret: 0x%x)\n", 662 struct octeon_device *oct = lio->oct_dev; local 668 if (oct->chip_id != LIO_CN23XX_PF_VID) 671 if (oct->rx_pause) 674 if (oct->tx_pause) 719 lio_dev_err(oct, "Failed to set pause parameter\n"); 723 oct 734 struct octeon_device *oct = lio->oct_dev; local 767 lio_cn23xx_pf_read_csr_reg(char *s, struct octeon_device *oct) argument 965 struct octeon_device *oct = lio->oct_dev; local 990 struct octeon_device *oct = lio->oct_dev; local 1043 struct octeon_device *oct = lio->oct_dev; local 1128 struct octeon_device *oct = lio->oct_dev; local 1137 lio_irq_reallocate_irqs(struct octeon_device *oct, uint32_t num_ioqs) argument 1202 struct octeon_device *oct = lio->oct_dev; local 1588 struct octeon_device *oct = lio->oct_dev; local 1626 struct octeon_device *oct = lio->oct_dev; local 1666 struct octeon_device *oct = lio->oct_dev; local 1711 struct octeon_device *oct = lio->oct_dev; local [all...] |
/freebsd-13-stable/sys/dev/liquidio/base/ |
H A D | lio_mem_ops.c | 47 lio_toggle_bar1_swapmode(struct octeon_device *oct, uint32_t idx) argument 51 mask = oct->fn_list.bar1_idx_read(oct, idx); 53 oct->fn_list.bar1_idx_write(oct, idx, mask); 57 #define lio_toggle_bar1_swapmode(oct, idx) 61 lio_write_bar1_mem8(struct octeon_device *oct, uint32_t reg, uint64_t val) argument 64 bus_space_write_1(oct->mem_bus_space[1].tag, 65 oct->mem_bus_space[1].handle, reg, val); 70 lio_read_bar1_mem32(struct octeon_device *oct, uint32_ argument 78 lio_write_bar1_mem32(struct octeon_device *oct, uint32_t reg, uint32_t val) argument 87 lio_read_bar1_mem64(struct octeon_device *oct, uint32_t reg) argument 100 lio_write_bar1_mem64(struct octeon_device *oct, uint32_t reg, uint64_t val) argument 113 lio_pci_fastwrite(struct octeon_device *oct, uint32_t offset, uint8_t *hostbuf, uint32_t len) argument 138 lio_read_bar1_mem8(struct octeon_device *oct, uint32_t reg) argument 146 lio_pci_fastread(struct octeon_device *oct, uint32_t offset, uint8_t *hostbuf, uint32_t len) argument 173 lio_pci_rw_core_mem(struct octeon_device *oct, uint64_t addr, uint8_t *hostbuf, uint32_t len, uint32_t op) argument 234 lio_pci_read_core_mem(struct octeon_device *oct, uint64_t coreaddr, uint8_t *buf, uint32_t len) argument 242 lio_pci_write_core_mem(struct octeon_device *oct, uint64_t coreaddr, uint8_t *buf, uint32_t len) argument 250 lio_read_device_mem64(struct octeon_device *oct, uint64_t coreaddr) argument 260 lio_read_device_mem32(struct octeon_device *oct, uint64_t coreaddr) argument 270 lio_write_device_mem32(struct octeon_device *oct, uint64_t coreaddr, uint32_t val) argument [all...] |
H A D | cn23xx_pf_device.c | 46 lio_cn23xx_pf_soft_reset(struct octeon_device *oct) argument 49 lio_write_csr64(oct, LIO_CN23XX_SLI_WIN_WR_MASK_REG, 0xFF); 51 lio_dev_dbg(oct, "BIST enabled for CN23XX soft reset\n"); 53 lio_write_csr64(oct, LIO_CN23XX_SLI_SCRATCH1, 0x1234ULL); 56 lio_pci_readq(oct, LIO_CN23XX_RST_SOFT_RST); 57 lio_pci_writeq(oct, 1, LIO_CN23XX_RST_SOFT_RST); 62 if (lio_read_csr64(oct, LIO_CN23XX_SLI_SCRATCH1)) { 63 lio_dev_err(oct, "Soft reset failed\n"); 67 lio_dev_dbg(oct, "Reset completed\n"); 70 lio_write_csr64(oct, LIO_CN23XX_SLI_WIN_WR_MASK_RE 76 lio_cn23xx_pf_enable_error_reporting(struct octeon_device *oct) argument 105 lio_cn23xx_pf_coprocessor_clock(struct octeon_device *oct) argument 117 lio_cn23xx_pf_get_oq_ticks(struct octeon_device *oct, uint32_t time_intr_in_us) argument 141 lio_cn23xx_pf_setup_global_mac_regs(struct octeon_device *oct) argument 173 lio_cn23xx_pf_reset_io_queues(struct octeon_device *oct) argument 233 lio_cn23xx_pf_setup_global_input_regs(struct octeon_device *oct) argument 302 lio_cn23xx_pf_setup_global_output_regs(struct octeon_device *oct) argument 381 lio_cn23xx_pf_setup_device_regs(struct octeon_device *oct) argument 408 lio_cn23xx_pf_setup_iq_regs(struct octeon_device *oct, uint32_t iq_no) argument 451 lio_cn23xx_pf_setup_oq_regs(struct octeon_device *oct, uint32_t oq_no) argument 504 lio_cn23xx_pf_enable_io_queues(struct octeon_device *oct) argument 585 lio_cn23xx_pf_disable_io_queues(struct octeon_device *oct) argument 666 struct octeon_device *oct = ioq_vector->oct_dev; local 704 struct octeon_device *oct = (struct octeon_device *)dev; local 733 lio_cn23xx_pf_bar1_idx_setup(struct octeon_device *oct, uint64_t core_addr, uint32_t idx, int valid) argument 765 lio_cn23xx_pf_bar1_idx_write(struct octeon_device *oct, uint32_t idx, uint32_t mask) argument 774 lio_cn23xx_pf_bar1_idx_read(struct octeon_device *oct, uint32_t idx) argument 786 struct octeon_device *oct = iq->oct_dev; local 807 lio_cn23xx_pf_enable_interrupt(struct octeon_device *oct, uint8_t intr_flag) argument 825 lio_cn23xx_pf_disable_interrupt(struct octeon_device *oct, uint8_t intr_flag) argument 841 lio_cn23xx_pf_get_pcie_qlmport(struct octeon_device *oct) argument 851 lio_cn23xx_pf_get_pf_num(struct octeon_device *oct) argument 862 lio_cn23xx_pf_setup_reg_address(struct octeon_device *oct) argument 891 lio_cn23xx_pf_sriov_config(struct octeon_device *oct) argument 929 lio_cn23xx_pf_setup_device(struct octeon_device *oct) argument 1001 lio_cn23xx_pf_fw_loaded(struct octeon_device *oct) argument [all...] |
H A D | lio_mem_ops.h | 45 * @param oct - pointer to the octeon device. 53 uint64_t lio_read_device_mem64(struct octeon_device *oct, 58 * @param oct - pointer to the octeon device. 63 uint32_t lio_read_device_mem32(struct octeon_device *oct, 68 * @param oct - pointer to the octeon device. 72 void lio_write_device_mem32(struct octeon_device *oct, 76 void lio_pci_read_core_mem(struct octeon_device *oct, 81 void lio_pci_write_core_mem(struct octeon_device *oct,
|
H A D | lio_console.c | 49 static void lio_get_uboot_version(struct octeon_device *oct); 52 static uint64_t cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, 55 static int lio_console_read(struct octeon_device *oct, 153 * @param oct Pointer to current octeon device 162 __cvmx_bootmem_desc_get(struct octeon_device *oct, uint64_t base, argument 169 return (lio_read_device_mem32(oct, base)); 171 return (lio_read_device_mem64(oct, base)); 182 * @param oct Pointer to current octeon device 189 lio_bootmem_named_get_name(struct octeon_device *oct, uint64_t addr, char *str, argument 194 lio_pci_read_core_mem(oct, add 212 __cvmx_bootmem_check_version(struct octeon_device *oct, uint32_t exact_match) argument 244 __cvmx_bootmem_find_named_block_flags(struct octeon_device *oct, const char *name, uint32_t flags) argument 275 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, const char *name, uint32_t flags) argument 357 lio_named_block_find(struct octeon_device *oct, const char *name, uint64_t * base_addr, uint64_t * size) argument 390 lio_console_send_cmd(struct octeon_device *oct, char *cmd_str, uint32_t wait_hundredths) argument 432 lio_wait_for_bootloader(struct octeon_device *oct, uint32_t wait_time_hundredths) argument 455 lio_console_handle_result(struct octeon_device *oct, size_t console_num) argument 467 lio_output_console_line(struct octeon_device *oct, struct lio_console *console, size_t console_num, char *console_buffer, int32_t bytes_read) argument 519 struct octeon_device *oct = local 578 lio_init_consoles(struct octeon_device *oct) argument 621 lio_add_console(struct octeon_device *oct, uint32_t console_num, char *dbg_enb) argument 682 lio_remove_consoles(struct octeon_device *oct) argument 725 lio_console_read(struct octeon_device *oct, uint32_t console_num, char *buffer, uint32_t buf_size) argument 774 lio_get_uboot_version(struct octeon_device *oct) argument 857 lio_download_firmware(struct octeon_device *oct, const uint8_t * data, size_t size) argument [all...] |
H A D | lio_device.c | 206 __lio_retrieve_config_info(struct octeon_device *oct, uint16_t card_type) argument 209 uint32_t oct_id = oct->octeon_id; 213 if (oct->chip_id == LIO_CN23XX_PF_VID) { 225 lio_get_config_info(struct octeon_device *oct, uint16_t card_type) argument 229 conf = __lio_retrieve_config_info(oct, card_type); 258 lio_free_device_mem(struct octeon_device *oct) argument 262 for (i = 0; i < LIO_MAX_OUTPUT_QUEUES(oct); i++) { 263 if ((oct->io_qmask.oq & BIT_ULL(i)) && (oct->droq[i])) 264 free(oct 282 struct octeon_device *oct; local 317 struct octeon_device *oct = NULL; local 359 lio_register_device(struct octeon_device *oct, int bus, int dev, int func, int is_pf) argument 407 lio_deregister_device(struct octeon_device *oct) argument 421 lio_allocate_ioq_vector(struct octeon_device *oct) argument 451 lio_free_ioq_vector(struct octeon_device *oct) argument 460 lio_setup_instr_queue0(struct octeon_device *oct) argument 492 lio_setup_output_queue0(struct octeon_device *oct) argument 517 lio_init_dispatch_list(struct octeon_device *oct) argument 534 lio_delete_dispatch_list(struct octeon_device *oct) argument 628 lio_register_dispatch_fn(struct octeon_device *oct, uint16_t opcode, uint16_t subcode, lio_dispatch_fn_t fn, void *fn_arg) argument 707 lio_unregister_dispatch_fn(struct octeon_device *oct, uint16_t opcode, uint16_t subcode) argument 770 struct octeon_device *oct = (struct octeon_device *)buf; local 848 lio_get_tx_qsize(struct octeon_device *oct, uint32_t q_no) argument 860 lio_get_rx_qsize(struct octeon_device *oct, uint32_t q_no) argument 872 lio_get_conf(struct octeon_device *oct) argument 905 lio_pci_readq(struct octeon_device *oct, uint64_t addr) argument 936 lio_pci_writeq(struct octeon_device *oct, uint64_t val, uint64_t addr) argument 956 lio_mem_access_ok(struct octeon_device *oct) argument 972 lio_wait_for_ddr_init(struct octeon_device *oct, unsigned long *timeout) argument 1013 struct octeon_device *oct = NULL; local [all...] |
H A D | cn23xx_pf_device.h | 64 int lio_cn23xx_pf_setup_device(struct octeon_device *oct); 66 uint32_t lio_cn23xx_pf_get_oq_ticks(struct octeon_device *oct, 69 int lio_cn23xx_pf_fw_loaded(struct octeon_device *oct);
|
H A D | lio_ctrl.c | 45 lio_send_data_pkt(struct octeon_device *oct, struct lio_data_pkt *ndata) argument 49 return (lio_send_command(oct, ndata->q_no, ring_doorbell, &ndata->cmd, 54 lio_ctrl_callback(struct octeon_device *oct, uint32_t status, void *sc_ptr) argument 71 lio_free_soft_command(oct, sc); 75 lio_alloc_ctrl_pkt_sc(struct octeon_device *oct, struct lio_ctrl_pkt *nctrl) argument 86 sc = lio_alloc_soft_command(oct, datasize, rdatasize, 106 lio_prepare_soft_command(oct, sc, LIO_OPCODE_NIC, LIO_OPCODE_NIC_CMD, 0, 117 lio_send_ctrl_pkt(struct octeon_device *oct, struct lio_ctrl_pkt *nctrl) argument 122 mtx_lock(&oct->cmd_resp_wqlock); 127 if ((oct [all...] |
H A D | lio_device.h | 202 typedef int (*octeon_console_print_fn)(struct octeon_device *oct, 543 #define LIO_CN23XX_PF(oct) ((oct)->chip_id == LIO_CN23XX_PF_VID) 544 #define LIO_CHIP_CONF(oct, TYPE) \ 545 (((struct lio_ ## TYPE *)((oct)->chip))->conf) 554 void lio_free_device_mem(struct octeon_device *oct); 565 * @param oct - pointer to the octeon device structure. 572 int lio_register_device(struct octeon_device *oct, int bus, int dev, 577 * @param oct - pointer to the octeon device structure. 580 int lio_deregister_device(struct octeon_device *oct); 639 OCTEON_MAJOR_REV(struct octeon_device *oct) argument 648 OCTEON_MINOR_REV(struct octeon_device *oct) argument 811 lio_read_pci_cfg(struct octeon_device *oct, uint32_t reg) argument 818 lio_write_pci_cfg(struct octeon_device *oct, uint32_t reg, uint32_t value) argument 825 lio_read_csr8(struct octeon_device *oct, uint32_t reg) argument 833 lio_write_csr8(struct octeon_device *oct, uint32_t reg, uint8_t val) argument 841 lio_read_csr16(struct octeon_device *oct, uint32_t reg) argument 849 lio_write_csr16(struct octeon_device *oct, uint32_t reg, uint16_t val) argument 857 lio_read_csr32(struct octeon_device *oct, uint32_t reg) argument 865 lio_write_csr32(struct octeon_device *oct, uint32_t reg, uint32_t val) argument 873 lio_read_csr64(struct octeon_device *oct, uint32_t reg) argument 886 lio_write_csr64(struct octeon_device *oct, uint32_t reg, uint64_t val) argument [all...] |
H A D | lio_response_manager.c | 46 lio_setup_response_list(struct octeon_device *oct) argument 52 STAILQ_INIT(&oct->response_list[i].head); 53 mtx_init(&oct->response_list[i].lock, "response_list_lock", 55 atomic_store_rel_int(&oct->response_list[i].pending_req_count, 58 mtx_init(&oct->cmd_resp_wqlock, "cmd_resp_wqlock", NULL, MTX_DEF); 60 ctq = &oct->dma_comp_tq; 64 lio_dev_err(oct, "failed to create wq thread\n"); 70 ctq->ctxptr = oct; 72 oct->cmd_resp_state = LIO_DRV_ONLINE; 74 oct 81 lio_delete_response_list(struct octeon_device *oct) argument 204 struct octeon_device *oct = (struct octeon_device *)ctq->ctxptr; local [all...] |
H A D | lio_request_manager.c | 52 static void __lio_check_db_timeout(struct octeon_device *oct, 57 lio_init_instr_queue(struct octeon_device *oct, union octeon_txpciq txpciq, argument 69 if (LIO_CN23XX_PF(oct)) 70 conf = &(LIO_GET_IQ_CFG(LIO_CHIP_CONF(oct, cn23xx_pf))); 72 lio_dev_err(oct, "Unsupported Chip %x\n", oct->chip_id); 77 iq = oct->instr_queue[iq_no]; 78 iq->oct_dev = oct; 82 error = bus_dma_tag_create(bus_get_dma_tag(oct->device), /* parent */ 95 lio_dev_err(oct, "Canno 192 lio_delete_instr_queue(struct octeon_device *oct, uint32_t iq_no) argument 272 lio_setup_iq(struct octeon_device *oct, int ifidx, int q_index, union octeon_txpciq txpciq, uint32_t num_descs) argument 300 lio_wait_for_instr_fetch(struct octeon_device *oct) argument 328 lio_ring_doorbell(struct octeon_device *oct, struct lio_instr_queue *iq) argument 404 lio_process_iq_request_list(struct octeon_device *oct, struct lio_instr_queue *iq, uint32_t budget) argument 486 lio_flush_iq(struct octeon_device *oct, struct lio_instr_queue *iq, uint32_t budget) argument 540 __lio_check_db_timeout(struct octeon_device *oct, uint64_t iq_no) argument 584 struct octeon_device *oct = db_tq->ctxptr; local 594 lio_send_command(struct octeon_device *oct, uint32_t iq_no, uint32_t force_db, void *cmd, void *buf, uint32_t datasize, uint32_t reqtype) argument 631 lio_prepare_soft_command(struct octeon_device *oct, struct lio_soft_command *sc, uint8_t opcode, uint8_t subcode, uint32_t irh_ossp, uint64_t ossp0, uint64_t ossp1) argument 695 lio_send_soft_command(struct octeon_device *oct, struct lio_soft_command *sc) argument 728 lio_setup_sc_buffer_pool(struct octeon_device *oct) argument 756 lio_free_sc_buffer_pool(struct octeon_device *oct) argument 780 lio_alloc_soft_command(struct octeon_device *oct, uint32_t datasize, uint32_t rdatasize, uint32_t ctxsize) argument 847 lio_free_soft_command(struct octeon_device *oct, struct lio_soft_command *sc) argument [all...] |
H A D | lio_ctrl.h | 133 lio_iq_is_full(struct octeon_device *oct, uint32_t q_no) argument 136 return (atomic_load_acq_int(&oct->instr_queue[q_no]->instr_pending) >= 137 (oct->instr_queue[q_no]->max_count - 2)); 141 lio_prepare_pci_cmd_o3(struct octeon_device *oct, union lio_instr_64B *cmd, argument 159 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; 174 pki_ih3->uqpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.use_qpg; 176 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; 184 pki_ih3->qpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.qpg; 206 * @param oct - Pointer to current octeon device 214 lio_prepare_pci_cmd(struct octeon_device *oct, unio argument [all...] |
H A D | lio_droq.c | 51 void *lio_get_dispatch_arg(struct octeon_device *oct, 111 struct octeon_device *oct = droq->oct_dev; local 115 pkt_count = lio_read_csr32(oct, droq->pkts_sent_reg); 159 lio_droq_destroy_ring_buffers(struct octeon_device *oct, argument 175 lio_droq_setup_ring_buffers(struct octeon_device *oct, argument 186 lio_dev_err(oct, "%s buffer alloc failed\n", 196 lio_map_ring(oct->device, droq->recv_buf_list[i].buffer, 208 lio_delete_droq(struct octeon_device *oct, uint32_t q_no) argument 210 struct lio_droq *droq = oct->droq[q_no]; 212 lio_dev_dbg(oct, " 238 struct octeon_device *oct = droq->oct_dev; local 254 lio_init_droq(struct octeon_device *oct, uint32_t q_no, uint32_t num_descs, uint32_t desc_size, void *app_ctx) argument 525 lio_droq_dispatch_pkt(struct octeon_device *oct, struct lio_droq *droq, union octeon_rh *rh, struct lio_droq_info *info) argument 560 lio_droq_drop_packets(struct octeon_device *oct, struct lio_droq *droq, uint32_t cnt) argument 589 lio_droq_fast_process_packets(struct octeon_device *oct, struct lio_droq *droq, uint32_t pkts_to_process) argument 726 lio_droq_process_packets(struct octeon_device *oct, struct lio_droq *droq, uint32_t budget) argument 769 lio_register_droq_ops(struct octeon_device *oct, uint32_t q_no, struct lio_droq_ops *ops) argument 802 lio_unregister_droq_ops(struct octeon_device *oct, uint32_t q_no) argument 837 lio_create_droq(struct octeon_device *oct, uint32_t q_no, uint32_t num_descs, uint32_t desc_size, void *app_ctx) argument [all...] |
H A D | lio_iq.h | 283 int lio_setup_sc_buffer_pool(struct octeon_device *oct); 284 int lio_free_sc_buffer_pool(struct octeon_device *oct); 285 struct lio_soft_command *lio_alloc_soft_command(struct octeon_device *oct, 289 void lio_free_soft_command(struct octeon_device *oct, 318 int lio_wait_for_instr_fetch(struct octeon_device *oct); 320 int lio_process_iq_request_list(struct octeon_device *oct, 324 int lio_send_command(struct octeon_device *oct, uint32_t iq_no, 328 void lio_prepare_soft_command(struct octeon_device *oct, 334 int lio_send_soft_command(struct octeon_device *oct, 337 int lio_setup_iq(struct octeon_device *oct, in [all...] |
/freebsd-13-stable/crypto/openssl/crypto/asn1/ |
H A D | asn_pack.c | 16 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) argument 20 if (oct == NULL || *oct == NULL) { 26 octmp = *oct; 41 if (oct != NULL && *oct == NULL) 42 *oct = octmp; 46 if (oct == NULL || *oct == NULL) 53 void *ASN1_item_unpack(const ASN1_STRING *oct, cons argument [all...] |
H A D | evp_asn1.c | 51 ASN1_OCTET_STRING *oct; member in struct:__anon6932 56 ASN1_SIMPLE(asn1_int_oct, oct, ASN1_OCTET_STRING) 65 ASN1_OCTET_STRING oct; 68 atmp.oct = &oct; 69 oct.data = data; 70 oct.type = V_ASN1_OCTET_STRING; 71 oct.length = len; 72 oct.flags = 0; 101 ret = ASN1_STRING_length(atmp->oct); [all...] |
/freebsd-13-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_skey.c | 28 const ASN1_OCTET_STRING *oct) 30 return OPENSSL_buf2hexstr(oct->data, oct->length); 36 ASN1_OCTET_STRING *oct; local 39 if ((oct = ASN1_OCTET_STRING_new()) == NULL) { 44 if ((oct->data = OPENSSL_hexstr2buf(str, &length)) == NULL) { 45 ASN1_OCTET_STRING_free(oct); 49 oct->length = length; 51 return oct; 58 ASN1_OCTET_STRING *oct; local 27 i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, const ASN1_OCTET_STRING *oct) argument [all...] |
/freebsd-13-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 84 const ASN1_OCTET_STRING *oct, int zbuf) 91 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, 129 ASN1_OCTET_STRING *oct = NULL; local 133 if ((oct = ASN1_OCTET_STRING_new()) == NULL) { 142 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, 143 &oct->length, 1)) { 151 return oct; 153 ASN1_OCTET_STRING_free(oct); 82 PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it, const char *pass, int passlen, const ASN1_OCTET_STRING *oct, int zbuf) argument
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/pool_names/ |
H A D | pool_names_002_neg.ksh | 106 for oct in "\000" "\001" "\002" "\003" "\004" "\005" "\006" "\007" \ 114 POOLNAME=`eval "print x | tr 'x' '$oct'"` 117 log_fail "Unexpectedly created pool: \"$oct\"" 119 log_fail "Unexpectedly created pool: \"$oct\"" 124 log_fail "Unexpectedly destroyed pool: \"$oct\""
|