/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.h | 139 npi_status_t npi_fflp_fcram_entry_write(npi_handle_t, part_id_t, 164 npi_status_t npi_fflp_fcram_entry_read(npi_handle_t, part_id_t, 185 npi_fflp_fcram_entry_invalidate(npi_handle_t, part_id_t, 221 npi_status_t npi_fflp_fcram_subarea_write(npi_handle_t, part_id_t, 256 npi_status_t npi_fflp_fcram_subarea_read (npi_handle_t, 277 npi_status_t npi_fflp_cfg_fcram_partition(npi_handle_t, part_id_t, 293 npi_status_t npi_fflp_cfg_fcram_partition_enable(npi_handle_t, 312 npi_status_t npi_fflp_cfg_fcram_partition_disable(npi_handle_t, 336 npi_status_t npi_fflp_cfg_fcram_reset(npi_handle_t, 357 npi_status_t npi_fflp_cfg_tcam_reset(npi_handle_t); [all …]
|
H A D | npi_rxdma.h | 216 npi_status_t npi_rxdma_cfg_default_port_rdc(npi_handle_t, 235 npi_status_t npi_rxdma_rdc_table_config(npi_handle_t, uint8_t, dc_map_t, 238 npi_status_t npi_rxdma_cfg_rdc_table_default_rdc(npi_handle_t, 240 npi_status_t npi_rxdma_cfg_rdc_rcr_timeout_disable(npi_handle_t, 258 npi_status_t npi_rxdma_cfg_32bitmode_enable(npi_handle_t); 276 npi_status_t npi_rxdma_cfg_32bitmode_disable(npi_handle_t); 296 npi_status_t npi_rxdma_cfg_ram_access_enable(npi_handle_t); 314 npi_status_t npi_rxdma_cfg_ram_access_disable(npi_handle_t); 337 npi_status_t npi_rxdma_cfg_clock_div_set(npi_handle_t, uint16_t); 356 npi_status_t npi_rxdma_cfg_red_rand_init(npi_handle_t, uint16_t); [all …]
|
H A D | npi_txdma.h | 185 npi_status_t npi_txdma_mode32_set(npi_handle_t, boolean_t); 186 npi_status_t npi_txdma_log_page_set(npi_handle_t, uint8_t, 188 npi_status_t npi_txdma_log_page_get(npi_handle_t, uint8_t, 190 npi_status_t npi_txdma_log_page_handle_set(npi_handle_t, uint8_t, 192 npi_status_t npi_txdma_log_page_config(npi_handle_t, io_op_t, 194 npi_status_t npi_txdma_log_page_vld_config(npi_handle_t, io_op_t, 196 npi_status_t npi_txdma_drr_weight_set(npi_handle_t, uint8_t, 198 npi_status_t npi_txdma_channel_reset(npi_handle_t, uint8_t); 199 npi_status_t npi_txdma_channel_init_enable(npi_handle_t, 201 npi_status_t npi_txdma_channel_enable(npi_handle_t, uint8_t); [all …]
|
H A D | npi_txc.h | 84 npi_status_t npi_txc_dma_max_burst(npi_handle_t, io_op_t, 86 npi_status_t npi_txc_dma_max_burst_set(npi_handle_t, uint8_t, 88 npi_status_t npi_txc_dma_bytes_transmitted(npi_handle_t, 90 npi_status_t npi_txc_control(npi_handle_t, io_op_t, 92 npi_status_t npi_txc_global_enable(npi_handle_t); 93 npi_status_t npi_txc_global_disable(npi_handle_t); 94 npi_status_t npi_txc_control_clear(npi_handle_t, uint8_t); 95 npi_status_t npi_txc_training_set(npi_handle_t, uint32_t); 96 npi_status_t npi_txc_training_get(npi_handle_t, uint32_t *); 97 npi_status_t npi_txc_port_control_get(npi_handle_t, uint8_t, [all …]
|
H A D | npi_vir.h | 253 npi_status_t npi_dev_func_sr_init(npi_handle_t); 271 npi_status_t npi_dev_func_sr_lock_enter(npi_handle_t); 287 npi_status_t npi_dev_func_sr_lock_free(npi_handle_t); 304 npi_status_t npi_dev_func_sr_funcid_get(npi_handle_t, uint8_t *); 321 npi_status_t npi_dev_func_sr_sr_raw_get(npi_handle_t, uint16_t *); 342 npi_status_t npi_dev_func_sr_sr_get(npi_handle_t, uint16_t *); 362 npi_status_t npi_dev_func_sr_sr_get_set_clear(npi_handle_t, 379 npi_status_t npi_dev_func_sr_sr_set_only(npi_handle_t, uint16_t); 393 npi_status_t npi_dev_func_sr_busy(npi_handle_t, boolean_t *); 409 npi_status_t npi_dev_func_sr_tas_get(npi_handle_t, uint8_t *); [all …]
|
H A D | npi_espc.h | 94 npi_status_t npi_espc_pio_enable(npi_handle_t); 95 npi_status_t npi_espc_pio_disable(npi_handle_t); 96 npi_status_t npi_espc_eeprom_entry(npi_handle_t, io_op_t, 98 npi_status_t npi_espc_mac_addr_get(npi_handle_t, uint8_t *); 99 npi_status_t npi_espc_num_ports_get(npi_handle_t, uint8_t *); 100 npi_status_t npi_espc_num_macs_get(npi_handle_t, uint8_t *); 101 npi_status_t npi_espc_model_str_get(npi_handle_t, char *); 102 npi_status_t npi_espc_bd_model_str_get(npi_handle_t, char *); 103 npi_status_t npi_espc_phy_type_get(npi_handle_t, uint8_t *); 104 npi_status_t npi_espc_port_phy_type_get(npi_handle_t, uint8_t *, [all …]
|
H A D | npi_mac.h | 461 npi_status_t npi_mac_hashtab_entry(npi_handle_t, io_op_t, 463 npi_status_t npi_mac_hostinfo_entry(npi_handle_t, io_op_t, 466 npi_status_t npi_mac_altaddr_enable(npi_handle_t, uint8_t, 468 npi_status_t npi_mac_altaddr_disable(npi_handle_t, uint8_t, 470 npi_status_t npi_mac_altaddr_entry(npi_handle_t, io_op_t, 473 npi_status_t npi_mac_port_attr(npi_handle_t, io_op_t, uint8_t, 475 npi_status_t npi_mac_get_link_status(npi_handle_t, uint8_t, 477 npi_status_t npi_mac_get_10g_link_status(npi_handle_t, uint8_t, 479 npi_status_t npi_mac_mif_mii_read(npi_handle_t, uint8_t, 481 npi_status_t npi_mac_mif_mii_write(npi_handle_t, uint8_t, [all …]
|
H A D | npi_ipp.h | 130 npi_status_t npi_ipp_get_pfifo_rd_ptr(npi_handle_t, uint8_t, 133 npi_status_t npi_ipp_get_pfifo_wr_ptr(npi_handle_t, uint8_t, 136 npi_status_t npi_ipp_write_pfifo(npi_handle_t, uint8_t, 140 npi_status_t npi_ipp_read_pfifo(npi_handle_t, uint8_t, 144 npi_status_t npi_ipp_write_dfifo(npi_handle_t, uint8_t, 148 npi_status_t npi_ipp_read_dfifo(npi_handle_t, uint8_t, 152 npi_status_t npi_ipp_reset(npi_handle_t, uint8_t); 153 npi_status_t npi_ipp_config(npi_handle_t, config_op_t, uint8_t, 155 npi_status_t npi_ipp_set_max_pktsize(npi_handle_t, uint8_t, 157 npi_status_t npi_ipp_iconfig(npi_handle_t, config_op_t, uint8_t, [all …]
|
H A D | npi_zcp.h | 153 npi_status_t npi_zcp_config(npi_handle_t, config_op_t, 155 npi_status_t npi_zcp_iconfig(npi_handle_t, config_op_t, 157 npi_status_t npi_zcp_get_istatus(npi_handle_t, zcp_iconfig_t *); 158 npi_status_t npi_zcp_clear_istatus(npi_handle_t); 159 npi_status_t npi_zcp_set_dma_thresh(npi_handle_t, uint16_t); 160 npi_status_t npi_zcp_set_bam_region(npi_handle_t, 163 npi_status_t npi_zcp_set_sdt_region(npi_handle_t, 165 npi_status_t npi_zcp_tt_static_entry(npi_handle_t, io_op_t, 168 npi_status_t npi_zcp_tt_dynamic_entry(npi_handle_t, io_op_t, 171 npi_status_t npi_zcp_tt_bam_entry(npi_handle_t, io_op_t, [all …]
|
H A D | npi_txc.c | 141 npi_txc_dump_tdc_fzc_regs(npi_handle_t handle, uint8_t tdc) in npi_txc_dump_tdc_fzc_regs() 185 npi_txc_dump_fzc_regs(npi_handle_t handle) in npi_txc_dump_fzc_regs() 221 npi_txc_dump_port_fzc_regs(npi_handle_t handle, uint8_t port) in npi_txc_dump_port_fzc_regs() 265 npi_txc_dma_max_burst(npi_handle_t handle, io_op_t op_mode, uint8_t channel, in npi_txc_dma_max_burst() 317 npi_txc_dma_max_burst_set(npi_handle_t handle, uint8_t channel, in npi_txc_dma_max_burst_set() 352 npi_txc_dma_bytes_transmitted(npi_handle_t handle, uint8_t channel, in npi_txc_dma_bytes_transmitted() 390 npi_txc_control(npi_handle_t handle, io_op_t op_mode, in npi_txc_control() 426 npi_txc_global_enable(npi_handle_t handle) in npi_txc_global_enable() 452 npi_txc_global_disable(npi_handle_t handle) in npi_txc_global_disable() 479 npi_txc_control_clear(npi_handle_t handle, uint8_t port) in npi_txc_control_clear() [all …]
|
H A D | npi_txdma.c | 33 static npi_status_t npi_txdma_control_reset_wait(npi_handle_t handle, 35 static npi_status_t npi_txdma_control_stop_wait(npi_handle_t handle, 37 static npi_status_t npi_txdma_control_resume_wait(npi_handle_t handle, 127 npi_txdma_dump_tdc_regs(npi_handle_t handle, uint8_t tdc) in npi_txdma_dump_tdc_regs() 178 npi_txdma_dump_fzc_regs(npi_handle_t handle) in npi_txdma_dump_fzc_regs() 202 npi_txdma_tdc_regs_zero(npi_handle_t handle, uint8_t tdc) in npi_txdma_tdc_regs_zero() 252 npi_txdma_mode32_set(npi_handle_t handle, boolean_t mode_enable) in npi_txdma_mode32_set() 291 npi_txdma_log_page_set(npi_handle_t handle, uint8_t channel, in npi_txdma_log_page_set() 384 npi_txdma_log_page_get(npi_handle_t handle, uint8_t channel, in npi_txdma_log_page_get() 454 npi_txdma_log_page_handle_set(npi_handle_t handle, uint8_t channel, in npi_txdma_log_page_handle_set() [all …]
|
H A D | npi_vir.c | 108 npi_vir_dump_pio_fzc_regs_one(npi_handle_t handle) in npi_vir_dump_pio_fzc_regs_one() 141 npi_vir_dump_ldgnum(npi_handle_t handle) in npi_vir_dump_ldgnum() 170 npi_vir_dump_ldsv(npi_handle_t handle) in npi_vir_dump_ldsv() 199 npi_vir_dump_imask0(npi_handle_t handle) in npi_vir_dump_imask0() 243 npi_vir_dump_sid(npi_handle_t handle) in npi_vir_dump_sid() 288 npi_dev_func_sr_init(npi_handle_t handle) in npi_dev_func_sr_init() 341 npi_dev_func_sr_lock_enter(npi_handle_t handle) in npi_dev_func_sr_lock_enter() 415 npi_dev_func_sr_lock_free(npi_handle_t handle) in npi_dev_func_sr_lock_free() 462 npi_dev_func_sr_funcid_get(npi_handle_t handle, uint8_t *funcid_p) in npi_dev_func_sr_funcid_get() 496 npi_dev_func_sr_sr_raw_get(npi_handle_t handle, uint16_t *sr_p) in npi_dev_func_sr_sr_raw_get() [all …]
|
H A D | npi_espc.c | 29 static int npi_vpd_read_prop(npi_handle_t handle, uint32_t ep, 33 npi_espc_pio_enable(npi_handle_t handle) in npi_espc_pio_enable() 40 npi_espc_pio_disable(npi_handle_t handle) in npi_espc_pio_disable() 47 npi_espc_eeprom_entry(npi_handle_t handle, io_op_t op, uint32_t addr, in npi_espc_eeprom_entry() 112 npi_espc_mac_addr_get(npi_handle_t handle, uint8_t *data) in npi_espc_mac_addr_get() 131 npi_espc_num_ports_get(npi_handle_t handle, uint8_t *data) in npi_espc_num_ports_get() 143 npi_espc_num_macs_get(npi_handle_t handle, uint8_t *data) in npi_espc_num_macs_get() 156 npi_espc_model_str_get(npi_handle_t handle, char *data) in npi_espc_model_str_get() 192 npi_espc_bd_model_str_get(npi_handle_t handle, char *data) in npi_espc_bd_model_str_get() 229 npi_espc_phy_type_get(npi_handle_t handle, uint8_t *data) in npi_espc_phy_type_get() [all …]
|
H A D | npi_ipp.c | 109 npi_ipp_dump_regs(npi_handle_t handle, uint8_t port) in npi_ipp_dump_regs() 135 npi_ipp_read_regs(npi_handle_t handle, uint8_t port) in npi_ipp_read_regs() 157 npi_ipp_reset(npi_handle_t handle, uint8_t portn) in npi_ipp_reset() 189 npi_ipp_config(npi_handle_t handle, config_op_t op, uint8_t portn, in npi_ipp_config() 243 npi_ipp_set_max_pktsize(npi_handle_t handle, uint8_t portn, uint32_t bytes) in npi_ipp_set_max_pktsize() 270 npi_ipp_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, in npi_ipp_iconfig() 321 npi_ipp_get_status(npi_handle_t handle, uint8_t portn, ipp_status_t *status) in npi_ipp_get_status() 334 npi_ipp_get_pfifo_rd_ptr(npi_handle_t handle, uint8_t portn, uint16_t *rd_ptr) in npi_ipp_get_pfifo_rd_ptr() 346 npi_ipp_get_pfifo_wr_ptr(npi_handle_t handle, uint8_t portn, uint16_t *wr_ptr) in npi_ipp_get_pfifo_wr_ptr() 358 npi_ipp_get_dfifo_rd_ptr(npi_handle_t handle, uint8_t portn, uint16_t *rd_ptr) in npi_ipp_get_dfifo_rd_ptr() [all …]
|
H A D | npi_fflp.c | 143 npi_fflp_dump_regs(npi_handle_t handle) in npi_fflp_dump_regs() 179 npi_fflp_vlan_tbl_dump(npi_handle_t handle) in npi_fflp_vlan_tbl_dump() 202 npi_fflp_tcam_check_completion(npi_handle_t handle, tcam_op_t op_type); 224 npi_fflp_tcam_check_completion(npi_handle_t handle, tcam_op_t op_type) in npi_fflp_tcam_check_completion() 298 npi_fflp_tcam_entry_invalidate(npi_handle_t handle, tcam_location_t location) in npi_fflp_tcam_entry_invalidate() 344 npi_fflp_tcam_entry_match(npi_handle_t handle, tcam_entry_t *tcam_ptr) in npi_fflp_tcam_entry_match() 397 npi_fflp_tcam_entry_read(npi_handle_t handle, in npi_fflp_tcam_entry_read() 448 npi_fflp_tcam_entry_write(npi_handle_t handle, in npi_fflp_tcam_entry_write() 509 npi_fflp_tcam_asc_ram_entry_write(npi_handle_t handle, in npi_fflp_tcam_asc_ram_entry_write() 555 npi_fflp_tcam_asc_ram_entry_read(npi_handle_t handle, in npi_fflp_tcam_asc_ram_entry_read() [all …]
|
H A D | npi_rxdma.c | 111 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op); 113 npi_rxdma_cfg_rdc_rcr_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op, 131 npi_rxdma_dump_rdc_regs(npi_handle_t handle, uint8_t rdc) in npi_rxdma_dump_rdc_regs() 184 npi_rxdma_dump_fzc_regs(npi_handle_t handle) in npi_rxdma_dump_fzc_regs() 214 npi_rxdma_cfg_logical_page_disable(npi_handle_t handle, uint8_t rdc, in npi_rxdma_cfg_logical_page_disable() 253 npi_rxdma_cfg_logical_page(npi_handle_t handle, uint8_t rdc, in npi_rxdma_cfg_logical_page() 335 npi_rxdma_cfg_logical_page_handle(npi_handle_t handle, uint8_t rdc, in npi_rxdma_cfg_logical_page_handle() 362 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op) in npi_rxdma_cfg_rdc_ctl() 459 npi_rxdma_cfg_rdc_enable(npi_handle_t handle, uint8_t rdc) in npi_rxdma_cfg_rdc_enable() 465 npi_rxdma_cfg_rdc_disable(npi_handle_t handle, uint8_t rdc) in npi_rxdma_cfg_rdc_disable() [all …]
|
H A D | npi_zcp.c | 28 static int zcp_mem_read(npi_handle_t, uint16_t, uint8_t, 30 static int zcp_mem_write(npi_handle_t, uint16_t, uint8_t, 34 npi_zcp_config(npi_handle_t handle, config_op_t op, zcp_config_t config) in npi_zcp_config() 114 npi_zcp_iconfig(npi_handle_t handle, config_op_t op, zcp_iconfig_t iconfig) in npi_zcp_iconfig() 162 npi_zcp_get_istatus(npi_handle_t handle, zcp_iconfig_t *istatus) in npi_zcp_get_istatus() 173 npi_zcp_clear_istatus(npi_handle_t handle) in npi_zcp_clear_istatus() 184 npi_zcp_set_dma_thresh(npi_handle_t handle, uint16_t dma_thres) in npi_zcp_set_dma_thresh() 207 npi_zcp_set_bam_region(npi_handle_t handle, zcp_buf_region_t region, in npi_zcp_set_bam_region() 239 npi_zcp_set_dst_region(npi_handle_t handle, zcp_buf_region_t region, in npi_zcp_set_dst_region() 281 npi_zcp_tt_static_entry(npi_handle_t handle, io_op_t op, uint16_t flow_id, in npi_zcp_tt_static_entry() [all …]
|
H A D | npi_mac.c | 503 npi_mac_dump_regs(npi_handle_t handle, uint8_t port) in npi_mac_dump_regs() 555 npi_mac_pcs_link_intr_enable(npi_handle_t handle, uint8_t portn) in npi_mac_pcs_link_intr_enable() 569 npi_mac_pcs_link_intr_disable(npi_handle_t handle, uint8_t portn) in npi_mac_pcs_link_intr_disable() 583 npi_xmac_xpcs_link_intr_enable(npi_handle_t handle, uint8_t portn) in npi_xmac_xpcs_link_intr_enable() 597 npi_xmac_xpcs_link_intr_disable(npi_handle_t handle, uint8_t portn) in npi_xmac_xpcs_link_intr_disable() 611 npi_mac_mif_link_intr_disable(npi_handle_t handle, uint8_t portn) in npi_mac_mif_link_intr_disable() 630 npi_mac_hashtab_entry(npi_handle_t handle, io_op_t op, uint8_t portn, in npi_mac_hashtab_entry() 671 npi_mac_hostinfo_entry(npi_handle_t handle, io_op_t op, uint8_t portn, in npi_mac_hostinfo_entry() 725 npi_mac_altaddr_enable(npi_handle_t handle, uint8_t portn, uint8_t addrn) in npi_mac_altaddr_enable() 767 npi_mac_altaddr_disable(npi_handle_t handle, uint8_t portn, uint8_t addrn) in npi_mac_altaddr_disable() [all …]
|
H A D | npi_rx_rd32.h | 35 static uint32_t RXDMA_REG_READ32(npi_handle_t, uint32_t, int); 113 npi_handle_t handle, in RXDMA_REG_READ32()
|
H A D | npi.h | 207 } npi_handle_t; typedef 230 void npi_rtrace_update(npi_handle_t, boolean_t, rtrace_t *, 232 void npi_trace_update(npi_handle_t, boolean_t, rtrace_t *,
|
H A D | npi_rx_rd64.h | 140 static void RXDMA_REG_READ64(npi_handle_t, uint64_t, int, uint64_t *); 221 npi_handle_t handle, in RXDMA_REG_READ64()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fzc.c | 54 npi_handle_t handle; in nxge_test_and_set() 69 npi_handle_t handle; in nxge_set_fzc_multi_part_ctl() 98 npi_handle_t handle; in nxge_get_fzc_multi_part_ctl() 155 npi_handle_t handle; in nxge_fzc_intr_ldg_num_set() 204 npi_handle_t handle; in nxge_fzc_intr_tmres_set() 223 npi_handle_t handle; in nxge_fzc_intr_sid_set() 287 npi_handle_t handle; in nxge_init_fzc_rdc() 480 npi_handle_t handle; in nxge_init_fzc_rdc_pages() 536 npi_handle_t handle; in nxge_init_fzc_rxdma_channel_pages() 592 npi_handle_t handle; in nxge_init_fzc_rxdma_channel_red() [all …]
|
H A D | nxge_espc.c | 62 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_mac_addrs_get() 94 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_num_macs_get() 113 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_num_ports_get() 136 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_phy_type_get() 191 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_max_frame_sz_get() 210 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_vpd_info_get()
|
H A D | nxge_txc.c | 40 npi_handle_t handle; in nxge_txc_init() 84 npi_handle_t handle; in nxge_txc_uninit() 151 npi_handle_t handle; in nxge_txc_tdc_bind() 253 npi_handle_t handle; in nxge_txc_tdc_unbind() 299 npi_handle_t handle; in nxge_txc_regs_dump() 335 npi_handle_t handle; in nxge_txc_handle_sys_errors() 389 npi_handle_t handle; in nxge_txc_handle_port_errors()
|
H A D | nxge_fflp.c | 92 npi_handle_t handle; in nxge_tcam_dump_entry() 163 npi_handle_t handle; in nxge_fflp_vlan_tbl_clear_all() 197 npi_handle_t handle; in nxge_fflp_tcam_init() 259 npi_handle_t handle; in nxge_fflp_tcam_invalidate_all() 302 npi_handle_t handle; in nxge_fflp_fcram_invalidate_all() 363 npi_handle_t handle; in nxge_fflp_fcram_init() 419 npi_handle_t handle; in nxge_logical_mac_assign_rdc_table() 451 npi_handle_t handle; in nxge_main_mac_assign_rdc_table() 501 npi_handle_t handle; in nxge_alt_mcast_mac_assign_rdc_table() 545 npi_handle_t handle; in nxge_fflp_hw_reset() [all …]
|