Lines Matching refs:vl
1178 u64 (*rw_cntr)(const struct cntr_entry *, void *context, int vl,
1371 void *context, int vl, int mode, u64 data) in dev_access_u32_csr() argument
1377 if (vl == CNTR_INVALID_VL) in dev_access_u32_csr()
1379 csr += 0x100 * vl; in dev_access_u32_csr()
1381 if (vl != CNTR_INVALID_VL) in dev_access_u32_csr()
1429 int vl, int mode, u64 data) in dev_access_u64_csr() argument
1437 if (vl == CNTR_INVALID_VL) in dev_access_u64_csr()
1439 csr += 8 * vl; in dev_access_u64_csr()
1441 if (vl != CNTR_INVALID_VL) in dev_access_u64_csr()
1450 int vl, int mode, u64 data) in dc_access_lcb_cntr() argument
1456 if (vl != CNTR_INVALID_VL) in dc_access_lcb_cntr()
1475 int vl, int mode, u64 data) in port_access_u32_csr() argument
1479 if (vl != CNTR_INVALID_VL) in port_access_u32_csr()
1485 void *context, int vl, int mode, u64 data) in port_access_u64_csr() argument
1492 if (vl == CNTR_INVALID_VL) in port_access_u64_csr()
1494 csr += 8 * vl; in port_access_u64_csr()
1496 if (vl != CNTR_INVALID_VL) in port_access_u64_csr()
1525 int vl, int mode, u64 data) in access_sw_link_dn_cnt() argument
1529 if (vl != CNTR_INVALID_VL) in access_sw_link_dn_cnt()
1535 int vl, int mode, u64 data) in access_sw_link_up_cnt() argument
1539 if (vl != CNTR_INVALID_VL) in access_sw_link_up_cnt()
1545 void *context, int vl, int mode, in access_sw_unknown_frame_cnt() argument
1550 if (vl != CNTR_INVALID_VL) in access_sw_unknown_frame_cnt()
1556 void *context, int vl, int mode, u64 data) in access_sw_xmit_discards() argument
1562 if (vl == CNTR_INVALID_VL) in access_sw_xmit_discards()
1564 else if (vl >= 0 && vl < C_VL_COUNT) in access_sw_xmit_discards()
1565 counter = &ppd->port_xmit_discards_vl[vl]; in access_sw_xmit_discards()
1573 void *context, int vl, int mode, in access_xmit_constraint_errs() argument
1578 if (vl != CNTR_INVALID_VL) in access_xmit_constraint_errs()
1586 void *context, int vl, int mode, u64 data) in access_rcv_constraint_errs() argument
1590 if (vl != CNTR_INVALID_VL) in access_rcv_constraint_errs()
1609 int vl, int mode, u64 data) in read_write_cpu() argument
1613 if (vl != CNTR_INVALID_VL) in read_write_cpu()
1633 void *context, int vl, int mode, u64 data) in access_sw_cpu_intr() argument
1637 return read_write_cpu(dd, &dd->z_int_counter, dd->int_counter, vl, in access_sw_cpu_intr()
1642 void *context, int vl, int mode, u64 data) in access_sw_cpu_rcv_limit() argument
1646 return read_write_cpu(dd, &dd->z_rcv_limit, dd->rcv_limit, vl, in access_sw_cpu_rcv_limit()
1651 void *context, int vl, int mode, u64 data) in access_sw_pio_wait() argument
1659 void *context, int vl, int mode, u64 data) in access_sw_pio_drain() argument
1667 void *context, int vl, int mode, u64 data) in access_sw_ctx0_seq_drop() argument
1675 void *context, int vl, int mode, u64 data) in access_sw_vtx_wait() argument
1683 void *context, int vl, int mode, u64 data) in access_sw_kmem_wait() argument
1691 void *context, int vl, int mode, u64 data) in access_sw_send_schedule() argument
1695 return read_write_cpu(dd, &dd->z_send_schedule, dd->send_schedule, vl, in access_sw_send_schedule()
1701 void *context, int vl, int mode, in access_misc_pll_lock_fail_err_cnt() argument
1710 void *context, int vl, int mode, in access_misc_mbist_fail_err_cnt() argument
1719 void *context, int vl, int mode, in access_misc_invalid_eep_cmd_err_cnt() argument
1728 void *context, int vl, in access_misc_efuse_done_parity_err_cnt() argument
1737 void *context, int vl, int mode, in access_misc_efuse_write_err_cnt() argument
1747 void *context, int vl, int mode, u64 data) in access_misc_efuse_read_bad_addr_err_cnt() argument
1755 void *context, int vl, in access_misc_efuse_csr_parity_err_cnt() argument
1764 void *context, int vl, int mode, in access_misc_fw_auth_failed_err_cnt() argument
1773 void *context, int vl, int mode, in access_misc_key_mismatch_err_cnt() argument
1782 void *context, int vl, in access_misc_sbus_write_failed_err_cnt() argument
1792 void *context, int vl, int mode, u64 data) in access_misc_csr_write_bad_addr_err_cnt() argument
1800 void *context, int vl, in access_misc_csr_read_bad_addr_err_cnt() argument
1809 void *context, int vl, int mode, in access_misc_csr_parity_err_cnt() argument
1823 void *context, int vl, int mode, u64 data) in access_sw_cce_err_status_aggregated_cnt() argument
1835 void *context, int vl, int mode, in access_cce_msix_csr_parity_err_cnt() argument
1844 void *context, int vl, int mode, in access_cce_int_map_unc_err_cnt() argument
1853 void *context, int vl, int mode, in access_cce_int_map_cor_err_cnt() argument
1862 void *context, int vl, int mode, in access_cce_msix_table_unc_err_cnt() argument
1871 void *context, int vl, int mode, in access_cce_msix_table_cor_err_cnt() argument
1881 void *context, int vl, int mode, u64 data) in access_cce_rxdma_conv_fifo_parity_err_cnt() argument
1890 void *context, int vl, int mode, u64 data) in access_cce_rcpl_async_fifo_parity_err_cnt() argument
1898 void *context, int vl, in access_cce_seg_write_bad_addr_err_cnt() argument
1907 void *context, int vl, int mode, in access_cce_seg_read_bad_addr_err_cnt() argument
1916 void *context, int vl, int mode, u64 data) in access_la_triggered_cnt() argument
1924 void *context, int vl, int mode, in access_cce_trgt_cpl_timeout_err_cnt() argument
1933 void *context, int vl, int mode, in access_pcic_receive_parity_err_cnt() argument
1943 void *context, int vl, int mode, u64 data) in access_pcic_transmit_back_parity_err_cnt() argument
1952 void *context, int vl, int mode, u64 data) in access_pcic_transmit_front_parity_err_cnt() argument
1960 void *context, int vl, int mode, in access_pcic_cpl_dat_q_unc_err_cnt() argument
1969 void *context, int vl, int mode, in access_pcic_cpl_hd_q_unc_err_cnt() argument
1978 void *context, int vl, int mode, in access_pcic_post_dat_q_unc_err_cnt() argument
1987 void *context, int vl, int mode, in access_pcic_post_hd_q_unc_err_cnt() argument
1996 void *context, int vl, in access_pcic_retry_sot_mem_unc_err_cnt() argument
2005 void *context, int vl, int mode, in access_pcic_retry_mem_unc_err() argument
2015 void *context, int vl, int mode, u64 data) in access_pcic_n_post_dat_q_parity_err_cnt() argument
2023 void *context, int vl, in access_pcic_n_post_h_q_parity_err_cnt() argument
2032 void *context, int vl, int mode, in access_pcic_cpl_dat_q_cor_err_cnt() argument
2041 void *context, int vl, int mode, in access_pcic_cpl_hd_q_cor_err_cnt() argument
2050 void *context, int vl, int mode, in access_pcic_post_dat_q_cor_err_cnt() argument
2059 void *context, int vl, int mode, in access_pcic_post_hd_q_cor_err_cnt() argument
2068 void *context, int vl, in access_pcic_retry_sot_mem_cor_err_cnt() argument
2077 void *context, int vl, int mode, in access_pcic_retry_mem_cor_err_cnt() argument
2087 void *context, int vl, int mode, u64 data) in access_cce_cli1_async_fifo_dbg_parity_err_cnt() argument
2096 void *context, int vl, int mode, u64 data) in access_cce_cli1_async_fifo_rxdma_parity_err_cnt() argument
2105 void *context, int vl, int mode, u64 data) in access_cce_cli1_async_fifo_sdma_hd_parity_err_cnt() argument
2114 void *context, int vl, int mode, u64 data) in access_cce_cl1_async_fifo_pio_crdt_parity_err_cnt() argument
2123 void *context, int vl, int mode, u64 data) in access_cce_cli2_async_fifo_parity_err_cnt() argument
2131 void *context, int vl, in access_cce_csr_cfg_bus_parity_err_cnt() argument
2141 void *context, int vl, int mode, u64 data) in access_cce_cli0_async_fifo_parity_err_cnt() argument
2149 void *context, int vl, int mode, in access_cce_rspd_data_parity_err_cnt() argument
2158 void *context, int vl, int mode, in access_cce_trgt_access_err_cnt() argument
2168 void *context, int vl, int mode, u64 data) in access_cce_trgt_async_fifo_parity_err_cnt() argument
2176 void *context, int vl, in access_cce_csr_write_bad_addr_err_cnt() argument
2185 void *context, int vl, in access_cce_csr_read_bad_addr_err_cnt() argument
2194 void *context, int vl, int mode, in access_ccs_csr_parity_err_cnt() argument
2207 void *context, int vl, int mode, in access_rx_csr_parity_err_cnt() argument
2216 void *context, int vl, in access_rx_csr_write_bad_addr_err_cnt() argument
2225 void *context, int vl, int mode, in access_rx_csr_read_bad_addr_err_cnt() argument
2234 void *context, int vl, int mode, in access_rx_dma_csr_unc_err_cnt() argument
2243 void *context, int vl, in access_rx_dma_dq_fsm_encoding_err_cnt() argument
2252 void *context, int vl, in access_rx_dma_eq_fsm_encoding_err_cnt() argument
2261 void *context, int vl, int mode, in access_rx_dma_csr_parity_err_cnt() argument
2270 void *context, int vl, int mode, in access_rx_rbuf_data_cor_err_cnt() argument
2279 void *context, int vl, int mode, in access_rx_rbuf_data_unc_err_cnt() argument
2289 void *context, int vl, int mode, u64 data) in access_rx_dma_data_fifo_rd_cor_err_cnt() argument
2298 void *context, int vl, int mode, u64 data) in access_rx_dma_data_fifo_rd_unc_err_cnt() argument
2306 void *context, int vl, in access_rx_dma_hdr_fifo_rd_cor_err_cnt() argument
2315 void *context, int vl, in access_rx_dma_hdr_fifo_rd_unc_err_cnt() argument
2324 void *context, int vl, in access_rx_rbuf_desc_part2_cor_err_cnt() argument
2333 void *context, int vl, in access_rx_rbuf_desc_part2_unc_err_cnt() argument
2342 void *context, int vl, in access_rx_rbuf_desc_part1_cor_err_cnt() argument
2351 void *context, int vl, in access_rx_rbuf_desc_part1_unc_err_cnt() argument
2360 void *context, int vl, int mode, in access_rx_hq_intr_fsm_err_cnt() argument
2370 void *context, int vl, int mode, u64 data) in access_rx_hq_intr_csr_parity_err_cnt() argument
2379 void *context, int vl, int mode, u64 data) in access_rx_lookup_csr_parity_err_cnt() argument
2388 void *context, int vl, int mode, u64 data) in access_rx_lookup_rcv_array_cor_err_cnt() argument
2397 void *context, int vl, int mode, u64 data) in access_rx_lookup_rcv_array_unc_err_cnt() argument
2406 void *context, int vl, int mode, u64 data) in access_rx_lookup_des_part2_parity_err_cnt() argument
2415 void *context, int vl, int mode, u64 data) in access_rx_lookup_des_part1_unc_cor_err_cnt() argument
2424 void *context, int vl, int mode, u64 data) in access_rx_lookup_des_part1_unc_err_cnt() argument
2433 void *context, int vl, int mode, u64 data) in access_rx_rbuf_next_free_buf_cor_err_cnt() argument
2442 void *context, int vl, int mode, u64 data) in access_rx_rbuf_next_free_buf_unc_err_cnt() argument
2451 void *context, int vl, int mode, u64 data) in access_rbuf_fl_init_wr_addr_parity_err_cnt() argument
2460 void *context, int vl, int mode, u64 data) in access_rx_rbuf_fl_initdone_parity_err_cnt() argument
2469 void *context, int vl, int mode, u64 data) in access_rx_rbuf_fl_write_addr_parity_err_cnt() argument
2478 void *context, int vl, int mode, u64 data) in access_rx_rbuf_fl_rd_addr_parity_err_cnt() argument
2486 void *context, int vl, int mode, in access_rx_rbuf_empty_err_cnt() argument
2495 void *context, int vl, int mode, in access_rx_rbuf_full_err_cnt() argument
2504 void *context, int vl, int mode, in access_rbuf_bad_lookup_err_cnt() argument
2513 void *context, int vl, int mode, in access_rbuf_ctx_id_parity_err_cnt() argument
2522 void *context, int vl, in access_rbuf_csr_qeopdw_parity_err_cnt() argument
2532 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_num_of_pkt_parity_err_cnt() argument
2541 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_t1_ptr_parity_err_cnt() argument
2550 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_hd_ptr_parity_err_cnt() argument
2559 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_vld_bit_parity_err_cnt() argument
2568 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_next_buf_parity_err_cnt() argument
2577 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_ent_cnt_parity_err_cnt() argument
2586 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_head_buf_num_parity_err_cnt() argument
2595 void *context, int vl, int mode, u64 data) in access_rx_rbuf_block_list_read_cor_err_cnt() argument
2604 void *context, int vl, int mode, u64 data) in access_rx_rbuf_block_list_read_unc_err_cnt() argument
2612 void *context, int vl, in access_rx_rbuf_lookup_des_cor_err_cnt() argument
2621 void *context, int vl, in access_rx_rbuf_lookup_des_unc_err_cnt() argument
2631 void *context, int vl, int mode, u64 data) in access_rx_rbuf_lookup_des_reg_unc_cor_err_cnt() argument
2640 void *context, int vl, int mode, u64 data) in access_rx_rbuf_lookup_des_reg_unc_err_cnt() argument
2648 void *context, int vl, in access_rx_rbuf_free_list_cor_err_cnt() argument
2657 void *context, int vl, in access_rx_rbuf_free_list_unc_err_cnt() argument
2666 void *context, int vl, int mode, in access_rx_rcv_fsm_encoding_err_cnt() argument
2675 void *context, int vl, int mode, in access_rx_dma_flag_cor_err_cnt() argument
2684 void *context, int vl, int mode, in access_rx_dma_flag_unc_err_cnt() argument
2693 void *context, int vl, int mode, in access_rx_dc_sop_eop_parity_err_cnt() argument
2702 void *context, int vl, int mode, in access_rx_rcv_csr_parity_err_cnt() argument
2712 void *context, int vl, int mode, u64 data) in access_rx_rcv_qp_map_table_cor_err_cnt() argument
2721 void *context, int vl, int mode, u64 data) in access_rx_rcv_qp_map_table_unc_err_cnt() argument
2729 void *context, int vl, int mode, in access_rx_rcv_data_cor_err_cnt() argument
2738 void *context, int vl, int mode, in access_rx_rcv_data_unc_err_cnt() argument
2747 void *context, int vl, int mode, in access_rx_rcv_hdr_cor_err_cnt() argument
2756 void *context, int vl, int mode, in access_rx_rcv_hdr_unc_err_cnt() argument
2765 void *context, int vl, int mode, in access_rx_dc_intf_parity_err_cnt() argument
2774 void *context, int vl, int mode, in access_rx_dma_csr_cor_err_cnt() argument
2788 void *context, int vl, int mode, u64 data) in access_pio_pec_sop_head_parity_err_cnt() argument
2797 void *context, int vl, int mode, u64 data) in access_pio_pcc_sop_head_parity_err_cnt() argument
2806 void *context, int vl, int mode, u64 data) in access_pio_last_returned_cnt_parity_err_cnt() argument
2815 void *context, int vl, int mode, u64 data) in access_pio_current_free_cnt_parity_err_cnt() argument
2823 void *context, int vl, int mode, in access_pio_reserved_31_err_cnt() argument
2832 void *context, int vl, int mode, in access_pio_reserved_30_err_cnt() argument
2841 void *context, int vl, int mode, in access_pio_ppmc_sop_len_err_cnt() argument
2851 void *context, int vl, int mode, u64 data) in access_pio_ppmc_bqc_mem_parity_err_cnt() argument
2859 void *context, int vl, int mode, in access_pio_vl_fifo_parity_err_cnt() argument
2868 void *context, int vl, int mode, in access_pio_vlf_sop_parity_err_cnt() argument
2877 void *context, int vl, in access_pio_vlf_v1_len_parity_err_cnt() argument
2887 void *context, int vl, int mode, u64 data) in access_pio_block_qw_count_parity_err_cnt() argument
2896 void *context, int vl, int mode, u64 data) in access_pio_write_qw_valid_parity_err_cnt() argument
2904 void *context, int vl, int mode, in access_pio_state_machine_err_cnt() argument
2913 void *context, int vl, in access_pio_write_data_parity_err_cnt() argument
2922 void *context, int vl, in access_pio_host_addr_mem_cor_err_cnt() argument
2931 void *context, int vl, in access_pio_host_addr_mem_unc_err_cnt() argument
2941 void *context, int vl, int mode, u64 data) in access_pio_pkt_evict_sm_or_arb_sm_err_cnt() argument
2949 void *context, int vl, int mode, in access_pio_init_sm_in_err_cnt() argument
2958 void *context, int vl, int mode, in access_pio_ppmc_pbl_fifo_err_cnt() argument
2968 void *context, int vl, int mode, u64 data) in access_pio_credit_ret_fifo_parity_err_cnt() argument
2977 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank1_cor_err_cnt() argument
2986 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank0_cor_err_cnt() argument
2995 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank1_unc_err_cnt() argument
3004 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank0_unc_err_cnt() argument
3013 void *context, int vl, int mode, u64 data) in access_pio_sm_pkt_reset_parity_err_cnt() argument
3022 void *context, int vl, int mode, u64 data) in access_pio_pkt_evict_fifo_parity_err_cnt() argument
3031 void *context, int vl, int mode, u64 data) in access_pio_sbrdctrl_crrel_fifo_parity_err_cnt() argument
3040 void *context, int vl, int mode, u64 data) in access_pio_sbrdctl_crrel_parity_err_cnt() argument
3048 void *context, int vl, int mode, in access_pio_pec_fifo_parity_err_cnt() argument
3057 void *context, int vl, int mode, in access_pio_pcc_fifo_parity_err_cnt() argument
3066 void *context, int vl, int mode, in access_pio_sb_mem_fifo1_err_cnt() argument
3075 void *context, int vl, int mode, in access_pio_sb_mem_fifo0_err_cnt() argument
3084 void *context, int vl, int mode, in access_pio_csr_parity_err_cnt() argument
3093 void *context, int vl, in access_pio_write_addr_parity_err_cnt() argument
3102 void *context, int vl, int mode, in access_pio_write_bad_ctxt_err_cnt() argument
3116 void *context, int vl, int mode, u64 data) in access_sdma_pcie_req_tracking_cor_err_cnt() argument
3125 void *context, int vl, int mode, u64 data) in access_sdma_pcie_req_tracking_unc_err_cnt() argument
3133 void *context, int vl, int mode, in access_sdma_csr_parity_err_cnt() argument
3142 void *context, int vl, int mode, in access_sdma_rpy_tag_err_cnt() argument
3156 void *context, int vl, int mode, u64 data) in access_tx_read_pio_memory_csr_unc_err_cnt() argument
3165 void *context, int vl, int mode, u64 data) in access_tx_read_sdma_memory_csr_err_cnt() argument
3173 void *context, int vl, int mode, in access_tx_egress_fifo_cor_err_cnt() argument
3182 void *context, int vl, in access_tx_read_pio_memory_cor_err_cnt() argument
3192 void *context, int vl, int mode, u64 data) in access_tx_read_sdma_memory_cor_err_cnt() argument
3200 void *context, int vl, int mode, in access_tx_sb_hdr_cor_err_cnt() argument
3209 void *context, int vl, int mode, in access_tx_credit_overrun_err_cnt() argument
3218 void *context, int vl, int mode, in access_tx_launch_fifo8_cor_err_cnt() argument
3227 void *context, int vl, int mode, in access_tx_launch_fifo7_cor_err_cnt() argument
3236 void *context, int vl, int mode, in access_tx_launch_fifo6_cor_err_cnt() argument
3245 void *context, int vl, int mode, in access_tx_launch_fifo5_cor_err_cnt() argument
3254 void *context, int vl, int mode, in access_tx_launch_fifo4_cor_err_cnt() argument
3263 void *context, int vl, int mode, in access_tx_launch_fifo3_cor_err_cnt() argument
3272 void *context, int vl, int mode, in access_tx_launch_fifo2_cor_err_cnt() argument
3281 void *context, int vl, int mode, in access_tx_launch_fifo1_cor_err_cnt() argument
3290 void *context, int vl, int mode, in access_tx_launch_fifo0_cor_err_cnt() argument
3299 void *context, int vl, int mode, in access_tx_credit_return_vl_err_cnt() argument
3308 void *context, int vl, int mode, in access_tx_hcrc_insertion_err_cnt() argument
3317 void *context, int vl, int mode, in access_tx_egress_fifo_unc_err_cnt() argument
3326 void *context, int vl, in access_tx_read_pio_memory_unc_err_cnt() argument
3336 void *context, int vl, int mode, u64 data) in access_tx_read_sdma_memory_unc_err_cnt() argument
3344 void *context, int vl, int mode, in access_tx_sb_hdr_unc_err_cnt() argument
3354 void *context, int vl, int mode, u64 data) in access_tx_credit_return_partiy_err_cnt() argument
3363 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo8_unc_or_parity_err_cnt() argument
3372 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo7_unc_or_parity_err_cnt() argument
3381 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo6_unc_or_parity_err_cnt() argument
3390 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo5_unc_or_parity_err_cnt() argument
3399 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo4_unc_or_parity_err_cnt() argument
3408 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo3_unc_or_parity_err_cnt() argument
3417 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo2_unc_or_parity_err_cnt() argument
3426 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo1_unc_or_parity_err_cnt() argument
3435 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo0_unc_or_parity_err_cnt() argument
3444 void *context, int vl, int mode, u64 data) in access_tx_sdma15_disallowed_packet_err_cnt() argument
3453 void *context, int vl, int mode, u64 data) in access_tx_sdma14_disallowed_packet_err_cnt() argument
3462 void *context, int vl, int mode, u64 data) in access_tx_sdma13_disallowed_packet_err_cnt() argument
3471 void *context, int vl, int mode, u64 data) in access_tx_sdma12_disallowed_packet_err_cnt() argument
3480 void *context, int vl, int mode, u64 data) in access_tx_sdma11_disallowed_packet_err_cnt() argument
3489 void *context, int vl, int mode, u64 data) in access_tx_sdma10_disallowed_packet_err_cnt() argument
3498 void *context, int vl, int mode, u64 data) in access_tx_sdma9_disallowed_packet_err_cnt() argument
3507 void *context, int vl, int mode, u64 data) in access_tx_sdma8_disallowed_packet_err_cnt() argument
3516 void *context, int vl, int mode, u64 data) in access_tx_sdma7_disallowed_packet_err_cnt() argument
3525 void *context, int vl, int mode, u64 data) in access_tx_sdma6_disallowed_packet_err_cnt() argument
3534 void *context, int vl, int mode, u64 data) in access_tx_sdma5_disallowed_packet_err_cnt() argument
3543 void *context, int vl, int mode, u64 data) in access_tx_sdma4_disallowed_packet_err_cnt() argument
3552 void *context, int vl, int mode, u64 data) in access_tx_sdma3_disallowed_packet_err_cnt() argument
3561 void *context, int vl, int mode, u64 data) in access_tx_sdma2_disallowed_packet_err_cnt() argument
3570 void *context, int vl, int mode, u64 data) in access_tx_sdma1_disallowed_packet_err_cnt() argument
3579 void *context, int vl, int mode, u64 data) in access_tx_sdma0_disallowed_packet_err_cnt() argument
3587 void *context, int vl, int mode, in access_tx_config_parity_err_cnt() argument
3596 void *context, int vl, in access_tx_sbrd_ctl_csr_parity_err_cnt() argument
3605 void *context, int vl, int mode, in access_tx_launch_csr_parity_err_cnt() argument
3614 void *context, int vl, int mode, in access_tx_illegal_vl_err_cnt() argument
3624 void *context, int vl, int mode, u64 data) in access_tx_sbrd_ctl_state_machine_parity_err_cnt() argument
3632 void *context, int vl, int mode, in access_egress_reserved_10_err_cnt() argument
3641 void *context, int vl, int mode, in access_egress_reserved_9_err_cnt() argument
3651 void *context, int vl, int mode, u64 data) in access_tx_sdma_launch_intf_parity_err_cnt() argument
3660 void *context, int vl, int mode, u64 data) in access_tx_pio_launch_intf_parity_err_cnt() argument
3668 void *context, int vl, int mode, in access_egress_reserved_6_err_cnt() argument
3678 void *context, int vl, int mode, u64 data) in access_tx_incorrect_link_state_err_cnt() argument
3686 void *context, int vl, int mode, in access_tx_linkdown_err_cnt() argument
3696 void *context, int vl, int mode, u64 data) in access_tx_egress_fifi_underrun_or_parity_err_cnt() argument
3704 void *context, int vl, int mode, in access_egress_reserved_2_err_cnt() argument
3714 void *context, int vl, int mode, u64 data) in access_tx_pkt_integrity_mem_unc_err_cnt() argument
3723 void *context, int vl, int mode, u64 data) in access_tx_pkt_integrity_mem_cor_err_cnt() argument
3736 void *context, int vl, int mode, u64 data) in access_send_csr_write_bad_addr_err_cnt() argument
3744 void *context, int vl, in access_send_csr_read_bad_addr_err_cnt() argument
3753 void *context, int vl, int mode, in access_send_csr_parity_cnt() argument
3767 void *context, int vl, int mode, u64 data) in access_pio_write_out_of_bounds_err_cnt() argument
3775 void *context, int vl, int mode, in access_pio_write_overflow_err_cnt() argument
3785 void *context, int vl, int mode, u64 data) in access_pio_write_crosses_boundary_err_cnt() argument
3793 void *context, int vl, in access_pio_disallowed_packet_err_cnt() argument
3802 void *context, int vl, int mode, in access_pio_inconsistent_sop_err_cnt() argument
3816 void *context, int vl, int mode, u64 data) in access_sdma_header_request_fifo_cor_err_cnt() argument
3825 void *context, int vl, int mode, u64 data) in access_sdma_header_storage_cor_err_cnt() argument
3834 void *context, int vl, int mode, u64 data) in access_sdma_packet_tracking_cor_err_cnt() argument
3842 void *context, int vl, int mode, in access_sdma_assembly_cor_err_cnt() argument
3851 void *context, int vl, int mode, in access_sdma_desc_table_cor_err_cnt() argument
3861 void *context, int vl, int mode, u64 data) in access_sdma_header_request_fifo_unc_err_cnt() argument
3870 void *context, int vl, int mode, u64 data) in access_sdma_header_storage_unc_err_cnt() argument
3879 void *context, int vl, int mode, u64 data) in access_sdma_packet_tracking_unc_err_cnt() argument
3887 void *context, int vl, int mode, in access_sdma_assembly_unc_err_cnt() argument
3896 void *context, int vl, int mode, in access_sdma_desc_table_unc_err_cnt() argument
3905 void *context, int vl, int mode, in access_sdma_timeout_err_cnt() argument
3914 void *context, int vl, int mode, in access_sdma_header_length_err_cnt() argument
3923 void *context, int vl, int mode, in access_sdma_header_address_err_cnt() argument
3932 void *context, int vl, int mode, in access_sdma_header_select_err_cnt() argument
3941 void *context, int vl, int mode, in access_sdma_reserved_9_err_cnt() argument
3951 void *context, int vl, int mode, u64 data) in access_sdma_packet_desc_overflow_err_cnt() argument
3959 void *context, int vl, in access_sdma_length_mismatch_err_cnt() argument
3968 void *context, int vl, int mode, u64 data) in access_sdma_halt_err_cnt() argument
3976 void *context, int vl, int mode, in access_sdma_mem_read_err_cnt() argument
3985 void *context, int vl, int mode, in access_sdma_first_desc_err_cnt() argument
3995 void *context, int vl, int mode, u64 data) in access_sdma_tail_out_of_bounds_err_cnt() argument
4003 void *context, int vl, int mode, in access_sdma_too_long_err_cnt() argument
4012 void *context, int vl, int mode, in access_sdma_gen_mismatch_err_cnt() argument
4021 void *context, int vl, int mode, in access_sdma_wrong_dw_err_cnt() argument
4030 void *context, int vl, int mode, in access_dc_rcv_err_cnt() argument
4053 void *context, int vl, int mode, u64 data) \
4057 ppd->ibport_data.rvp.cntr, vl, \
4067 void *context, int vl, int mode, u64 data) \
4071 if (vl != CNTR_INVALID_VL) \
5676 int vl) in handle_send_egress_err_info() argument
5719 if (vl >= 0 && vl < TXE_NUM_DATA_VL) in handle_send_egress_err_info()
5720 incr_cntr64(&ppd->port_xmit_discards_vl[vl]); in handle_send_egress_err_info()
5721 else if (vl == 15) in handle_send_egress_err_info()
5765 int vl; in engine_to_vl() local
5773 vl = m->engine_to_vl[engine]; in engine_to_vl()
5776 return vl; in engine_to_vl()
5830 int vl = engine_to_vl(dd, disallowed_pkt_engine(shift)); in handle_egress_err() local
5832 handle_send_egress_err_info(dd, vl); in handle_egress_err()
11097 struct ib_vl_weight_elem *vl) in vl_arb_get_cache() argument
11099 memcpy(vl, cache->table, VL_ARB_TABLE_SIZE * sizeof(*vl)); in vl_arb_get_cache()
11103 struct ib_vl_weight_elem *vl) in vl_arb_set_cache() argument
11105 memcpy(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl)); in vl_arb_set_cache()
11109 struct ib_vl_weight_elem *vl) in vl_arb_match_cache() argument
11111 return !memcmp(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl)); in vl_arb_match_cache()
11117 u32 size, struct ib_vl_weight_elem *vl) in set_vl_weights() argument
11148 for (i = 0; i < size; i++, vl++) { in set_vl_weights()
11153 reg = (((u64)vl->vl & SEND_LOW_PRIORITY_LIST_VL_MASK) in set_vl_weights()
11155 | (((u64)vl->weight in set_vl_weights()
11201 read_one_cm_vl(dd, SEND_CM_CREDIT_VL + (8 * i), &bc->vl[i]); in get_buffer_control()
11204 read_one_cm_vl(dd, SEND_CM_CREDIT_VL15, &bc->vl[15]); in get_buffer_control()
11242 struct ib_vl_weight_elem *vl) in get_vlarb_preempt() argument
11246 for (i = 0; i < nelems; i++, vl++) { in get_vlarb_preempt()
11247 vl->vl = 0xf; in get_vlarb_preempt()
11248 vl->weight = 0; in get_vlarb_preempt()
11323 static void set_vl_shared(struct hfi1_devdata *dd, int vl, u16 limit) in set_vl_shared() argument
11328 if (vl < TXE_NUM_DATA_VL) in set_vl_shared()
11329 addr = SEND_CM_CREDIT_VL + (8 * vl); in set_vl_shared()
11340 static void set_vl_dedicated(struct hfi1_devdata *dd, int vl, u16 limit) in set_vl_dedicated() argument
11345 if (vl < TXE_NUM_DATA_VL) in set_vl_dedicated()
11346 addr = SEND_CM_CREDIT_VL + (8 * vl); in set_vl_dedicated()
11445 new_total += be16_to_cpu(new_bc->vl[i].dedicated); in set_buffer_control()
11449 be16_to_cpu(new_bc->vl[i].dedicated)); in set_buffer_control()
11451 be16_to_cpu(new_bc->vl[i].shared)); in set_buffer_control()
11452 new_bc->vl[i].dedicated = 0; in set_buffer_control()
11453 new_bc->vl[i].shared = 0; in set_buffer_control()
11478 this_shared_changing = new_bc->vl[i].shared in set_buffer_control()
11479 != cur_bc.vl[i].shared; in set_buffer_control()
11482 if (new_bc->vl[i].dedicated != cur_bc.vl[i].dedicated || in set_buffer_control()
11488 if (be16_to_cpu(new_bc->vl[i].dedicated) < in set_buffer_control()
11489 be16_to_cpu(cur_bc.vl[i].dedicated)) { in set_buffer_control()
11517 cur_bc.vl[i].shared = 0; in set_buffer_control()
11532 vl[i].dedicated)); in set_buffer_control()
11533 cur_bc.vl[i].dedicated = in set_buffer_control()
11534 new_bc->vl[i].dedicated; in set_buffer_control()
11545 if (be16_to_cpu(new_bc->vl[i].dedicated) > in set_buffer_control()
11546 be16_to_cpu(cur_bc.vl[i].dedicated)) in set_buffer_control()
11549 vl[i].dedicated)); in set_buffer_control()
11558 if (be16_to_cpu(new_bc->vl[i].shared) > in set_buffer_control()
11559 be16_to_cpu(cur_bc.vl[i].shared)) in set_buffer_control()
11560 set_vl_shared(dd, i, be16_to_cpu(new_bc->vl[i].shared)); in set_buffer_control()
11579 if (be16_to_cpu(new_bc->vl[i].dedicated) > 0 || in set_buffer_control()
11580 be16_to_cpu(new_bc->vl[i].shared) > 0) in set_buffer_control()
12341 u64 *psval, void *context, int vl) in read_dev_port_cntr() argument
12351 hfi1_cdbg(CNTR, "cntr: %s vl %d psval 0x%llx", entry->name, vl, *psval); in read_dev_port_cntr()
12353 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_R, 0); in read_dev_port_cntr()
12393 u64 *psval, void *context, int vl, u64 data) in write_dev_port_cntr() argument
12402 hfi1_cdbg(CNTR, "cntr: %s vl %d psval 0x%llx", entry->name, vl, *psval); in write_dev_port_cntr()
12407 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, in write_dev_port_cntr()
12411 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, in write_dev_port_cntr()
12415 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, data); in write_dev_port_cntr()
12425 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl) in read_dev_cntr() argument
12433 if (vl != CNTR_INVALID_VL) in read_dev_cntr()
12434 sval += vl; in read_dev_cntr()
12436 return read_dev_port_cntr(dd, entry, sval, dd, vl); in read_dev_cntr()
12439 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data) in write_dev_cntr() argument
12447 if (vl != CNTR_INVALID_VL) in write_dev_cntr()
12448 sval += vl; in write_dev_cntr()
12450 return write_dev_port_cntr(dd, entry, sval, dd, vl, data); in write_dev_cntr()
12453 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl) in read_port_cntr() argument
12461 if (vl != CNTR_INVALID_VL) in read_port_cntr()
12462 sval += vl; in read_port_cntr()
12470 return read_dev_port_cntr(ppd->dd, entry, sval, ppd, vl); in read_port_cntr()
12473 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data) in write_port_cntr() argument
12481 if (vl != CNTR_INVALID_VL) in write_port_cntr()
12482 sval += vl; in write_port_cntr()
12490 return write_dev_port_cntr(ppd->dd, entry, sval, ppd, vl, data); in write_port_cntr()
12499 int i, j, vl; in do_update_synth_timer() local
12547 for (vl = 0; vl < C_VL_COUNT; vl++) in do_update_synth_timer()
12548 read_dev_cntr(dd, i, vl); in do_update_synth_timer()
12558 for (vl = 0; vl < C_VL_COUNT; vl++) in do_update_synth_timer()
12559 read_port_cntr(ppd, j, vl); in do_update_synth_timer()
15017 int vl; in hfi1_init_dd() local
15042 for (vl = 0; vl < num_vls; vl++) in hfi1_init_dd()
15043 dd->vld[vl].mtu = hfi1_max_mtu; in hfi1_init_dd()
15363 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl, in create_pbc() argument
15374 | (vl & PBC_VL_MASK) << PBC_VL_SHIFT in create_pbc()