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()
1474 int vl, int mode, u64 data) in port_access_u32_csr() argument
1478 if (vl != CNTR_INVALID_VL) in port_access_u32_csr()
1484 void *context, int vl, int mode, u64 data) in port_access_u64_csr() argument
1491 if (vl == CNTR_INVALID_VL) in port_access_u64_csr()
1493 csr += 8 * vl; in port_access_u64_csr()
1495 if (vl != CNTR_INVALID_VL) in port_access_u64_csr()
1524 int vl, int mode, u64 data) in access_sw_link_dn_cnt() argument
1528 if (vl != CNTR_INVALID_VL) in access_sw_link_dn_cnt()
1534 int vl, int mode, u64 data) in access_sw_link_up_cnt() argument
1538 if (vl != CNTR_INVALID_VL) in access_sw_link_up_cnt()
1544 void *context, int vl, int mode, in access_sw_unknown_frame_cnt() argument
1549 if (vl != CNTR_INVALID_VL) in access_sw_unknown_frame_cnt()
1555 void *context, int vl, int mode, u64 data) in access_sw_xmit_discards() argument
1561 if (vl == CNTR_INVALID_VL) in access_sw_xmit_discards()
1563 else if (vl >= 0 && vl < C_VL_COUNT) in access_sw_xmit_discards()
1564 counter = &ppd->port_xmit_discards_vl[vl]; in access_sw_xmit_discards()
1572 void *context, int vl, int mode, in access_xmit_constraint_errs() argument
1577 if (vl != CNTR_INVALID_VL) in access_xmit_constraint_errs()
1585 void *context, int vl, int mode, u64 data) in access_rcv_constraint_errs() argument
1589 if (vl != CNTR_INVALID_VL) in access_rcv_constraint_errs()
1608 int vl, int mode, u64 data) in read_write_cpu() argument
1612 if (vl != CNTR_INVALID_VL) in read_write_cpu()
1632 void *context, int vl, int mode, u64 data) in access_sw_cpu_intr() argument
1636 return read_write_cpu(dd, &dd->z_int_counter, dd->int_counter, vl, in access_sw_cpu_intr()
1641 void *context, int vl, int mode, u64 data) in access_sw_cpu_rcv_limit() argument
1645 return read_write_cpu(dd, &dd->z_rcv_limit, dd->rcv_limit, vl, in access_sw_cpu_rcv_limit()
1650 void *context, int vl, int mode, u64 data) in access_sw_pio_wait() argument
1658 void *context, int vl, int mode, u64 data) in access_sw_pio_drain() argument
1666 void *context, int vl, int mode, u64 data) in access_sw_ctx0_seq_drop() argument
1674 void *context, int vl, int mode, u64 data) in access_sw_vtx_wait() argument
1682 void *context, int vl, int mode, u64 data) in access_sw_kmem_wait() argument
1690 void *context, int vl, int mode, u64 data) in access_sw_send_schedule() argument
1694 return read_write_cpu(dd, &dd->z_send_schedule, dd->send_schedule, vl, in access_sw_send_schedule()
1700 void *context, int vl, int mode, in access_misc_pll_lock_fail_err_cnt() argument
1709 void *context, int vl, int mode, in access_misc_mbist_fail_err_cnt() argument
1718 void *context, int vl, int mode, in access_misc_invalid_eep_cmd_err_cnt() argument
1727 void *context, int vl, in access_misc_efuse_done_parity_err_cnt() argument
1736 void *context, int vl, int mode, in access_misc_efuse_write_err_cnt() argument
1746 void *context, int vl, int mode, u64 data) in access_misc_efuse_read_bad_addr_err_cnt() argument
1754 void *context, int vl, in access_misc_efuse_csr_parity_err_cnt() argument
1763 void *context, int vl, int mode, in access_misc_fw_auth_failed_err_cnt() argument
1772 void *context, int vl, int mode, in access_misc_key_mismatch_err_cnt() argument
1781 void *context, int vl, in access_misc_sbus_write_failed_err_cnt() argument
1791 void *context, int vl, int mode, u64 data) in access_misc_csr_write_bad_addr_err_cnt() argument
1799 void *context, int vl, in access_misc_csr_read_bad_addr_err_cnt() argument
1808 void *context, int vl, int mode, in access_misc_csr_parity_err_cnt() argument
1822 void *context, int vl, int mode, u64 data) in access_sw_cce_err_status_aggregated_cnt() argument
1834 void *context, int vl, int mode, in access_cce_msix_csr_parity_err_cnt() argument
1843 void *context, int vl, int mode, in access_cce_int_map_unc_err_cnt() argument
1852 void *context, int vl, int mode, in access_cce_int_map_cor_err_cnt() argument
1861 void *context, int vl, int mode, in access_cce_msix_table_unc_err_cnt() argument
1870 void *context, int vl, int mode, in access_cce_msix_table_cor_err_cnt() argument
1880 void *context, int vl, int mode, u64 data) in access_cce_rxdma_conv_fifo_parity_err_cnt() argument
1889 void *context, int vl, int mode, u64 data) in access_cce_rcpl_async_fifo_parity_err_cnt() argument
1897 void *context, int vl, in access_cce_seg_write_bad_addr_err_cnt() argument
1906 void *context, int vl, int mode, in access_cce_seg_read_bad_addr_err_cnt() argument
1915 void *context, int vl, int mode, u64 data) in access_la_triggered_cnt() argument
1923 void *context, int vl, int mode, in access_cce_trgt_cpl_timeout_err_cnt() argument
1932 void *context, int vl, int mode, in access_pcic_receive_parity_err_cnt() argument
1942 void *context, int vl, int mode, u64 data) in access_pcic_transmit_back_parity_err_cnt() argument
1951 void *context, int vl, int mode, u64 data) in access_pcic_transmit_front_parity_err_cnt() argument
1959 void *context, int vl, int mode, in access_pcic_cpl_dat_q_unc_err_cnt() argument
1968 void *context, int vl, int mode, in access_pcic_cpl_hd_q_unc_err_cnt() argument
1977 void *context, int vl, int mode, in access_pcic_post_dat_q_unc_err_cnt() argument
1986 void *context, int vl, int mode, in access_pcic_post_hd_q_unc_err_cnt() argument
1995 void *context, int vl, in access_pcic_retry_sot_mem_unc_err_cnt() argument
2004 void *context, int vl, int mode, in access_pcic_retry_mem_unc_err() argument
2014 void *context, int vl, int mode, u64 data) in access_pcic_n_post_dat_q_parity_err_cnt() argument
2022 void *context, int vl, in access_pcic_n_post_h_q_parity_err_cnt() argument
2031 void *context, int vl, int mode, in access_pcic_cpl_dat_q_cor_err_cnt() argument
2040 void *context, int vl, int mode, in access_pcic_cpl_hd_q_cor_err_cnt() argument
2049 void *context, int vl, int mode, in access_pcic_post_dat_q_cor_err_cnt() argument
2058 void *context, int vl, int mode, in access_pcic_post_hd_q_cor_err_cnt() argument
2067 void *context, int vl, in access_pcic_retry_sot_mem_cor_err_cnt() argument
2076 void *context, int vl, int mode, in access_pcic_retry_mem_cor_err_cnt() argument
2086 void *context, int vl, int mode, u64 data) in access_cce_cli1_async_fifo_dbg_parity_err_cnt() argument
2095 void *context, int vl, int mode, u64 data) in access_cce_cli1_async_fifo_rxdma_parity_err_cnt() argument
2104 void *context, int vl, int mode, u64 data) in access_cce_cli1_async_fifo_sdma_hd_parity_err_cnt() argument
2113 void *context, int vl, int mode, u64 data) in access_cce_cl1_async_fifo_pio_crdt_parity_err_cnt() argument
2122 void *context, int vl, int mode, u64 data) in access_cce_cli2_async_fifo_parity_err_cnt() argument
2130 void *context, int vl, in access_cce_csr_cfg_bus_parity_err_cnt() argument
2140 void *context, int vl, int mode, u64 data) in access_cce_cli0_async_fifo_parity_err_cnt() argument
2148 void *context, int vl, int mode, in access_cce_rspd_data_parity_err_cnt() argument
2157 void *context, int vl, int mode, in access_cce_trgt_access_err_cnt() argument
2167 void *context, int vl, int mode, u64 data) in access_cce_trgt_async_fifo_parity_err_cnt() argument
2175 void *context, int vl, in access_cce_csr_write_bad_addr_err_cnt() argument
2184 void *context, int vl, in access_cce_csr_read_bad_addr_err_cnt() argument
2193 void *context, int vl, int mode, in access_ccs_csr_parity_err_cnt() argument
2206 void *context, int vl, int mode, in access_rx_csr_parity_err_cnt() argument
2215 void *context, int vl, in access_rx_csr_write_bad_addr_err_cnt() argument
2224 void *context, int vl, int mode, in access_rx_csr_read_bad_addr_err_cnt() argument
2233 void *context, int vl, int mode, in access_rx_dma_csr_unc_err_cnt() argument
2242 void *context, int vl, in access_rx_dma_dq_fsm_encoding_err_cnt() argument
2251 void *context, int vl, in access_rx_dma_eq_fsm_encoding_err_cnt() argument
2260 void *context, int vl, int mode, in access_rx_dma_csr_parity_err_cnt() argument
2269 void *context, int vl, int mode, in access_rx_rbuf_data_cor_err_cnt() argument
2278 void *context, int vl, int mode, in access_rx_rbuf_data_unc_err_cnt() argument
2288 void *context, int vl, int mode, u64 data) in access_rx_dma_data_fifo_rd_cor_err_cnt() argument
2297 void *context, int vl, int mode, u64 data) in access_rx_dma_data_fifo_rd_unc_err_cnt() argument
2305 void *context, int vl, in access_rx_dma_hdr_fifo_rd_cor_err_cnt() argument
2314 void *context, int vl, in access_rx_dma_hdr_fifo_rd_unc_err_cnt() argument
2323 void *context, int vl, in access_rx_rbuf_desc_part2_cor_err_cnt() argument
2332 void *context, int vl, in access_rx_rbuf_desc_part2_unc_err_cnt() argument
2341 void *context, int vl, in access_rx_rbuf_desc_part1_cor_err_cnt() argument
2350 void *context, int vl, in access_rx_rbuf_desc_part1_unc_err_cnt() argument
2359 void *context, int vl, int mode, in access_rx_hq_intr_fsm_err_cnt() argument
2369 void *context, int vl, int mode, u64 data) in access_rx_hq_intr_csr_parity_err_cnt() argument
2378 void *context, int vl, int mode, u64 data) in access_rx_lookup_csr_parity_err_cnt() argument
2387 void *context, int vl, int mode, u64 data) in access_rx_lookup_rcv_array_cor_err_cnt() argument
2396 void *context, int vl, int mode, u64 data) in access_rx_lookup_rcv_array_unc_err_cnt() argument
2405 void *context, int vl, int mode, u64 data) in access_rx_lookup_des_part2_parity_err_cnt() argument
2414 void *context, int vl, int mode, u64 data) in access_rx_lookup_des_part1_unc_cor_err_cnt() argument
2423 void *context, int vl, int mode, u64 data) in access_rx_lookup_des_part1_unc_err_cnt() argument
2432 void *context, int vl, int mode, u64 data) in access_rx_rbuf_next_free_buf_cor_err_cnt() argument
2441 void *context, int vl, int mode, u64 data) in access_rx_rbuf_next_free_buf_unc_err_cnt() argument
2450 void *context, int vl, int mode, u64 data) in access_rbuf_fl_init_wr_addr_parity_err_cnt() argument
2459 void *context, int vl, int mode, u64 data) in access_rx_rbuf_fl_initdone_parity_err_cnt() argument
2468 void *context, int vl, int mode, u64 data) in access_rx_rbuf_fl_write_addr_parity_err_cnt() argument
2477 void *context, int vl, int mode, u64 data) in access_rx_rbuf_fl_rd_addr_parity_err_cnt() argument
2485 void *context, int vl, int mode, in access_rx_rbuf_empty_err_cnt() argument
2494 void *context, int vl, int mode, in access_rx_rbuf_full_err_cnt() argument
2503 void *context, int vl, int mode, in access_rbuf_bad_lookup_err_cnt() argument
2512 void *context, int vl, int mode, in access_rbuf_ctx_id_parity_err_cnt() argument
2521 void *context, int vl, in access_rbuf_csr_qeopdw_parity_err_cnt() argument
2531 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_num_of_pkt_parity_err_cnt() argument
2540 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_t1_ptr_parity_err_cnt() argument
2549 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_hd_ptr_parity_err_cnt() argument
2558 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_vld_bit_parity_err_cnt() argument
2567 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_next_buf_parity_err_cnt() argument
2576 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_ent_cnt_parity_err_cnt() argument
2585 void *context, int vl, int mode, u64 data) in access_rx_rbuf_csr_q_head_buf_num_parity_err_cnt() argument
2594 void *context, int vl, int mode, u64 data) in access_rx_rbuf_block_list_read_cor_err_cnt() argument
2603 void *context, int vl, int mode, u64 data) in access_rx_rbuf_block_list_read_unc_err_cnt() argument
2611 void *context, int vl, in access_rx_rbuf_lookup_des_cor_err_cnt() argument
2620 void *context, int vl, in access_rx_rbuf_lookup_des_unc_err_cnt() argument
2630 void *context, int vl, int mode, u64 data) in access_rx_rbuf_lookup_des_reg_unc_cor_err_cnt() argument
2639 void *context, int vl, int mode, u64 data) in access_rx_rbuf_lookup_des_reg_unc_err_cnt() argument
2647 void *context, int vl, in access_rx_rbuf_free_list_cor_err_cnt() argument
2656 void *context, int vl, in access_rx_rbuf_free_list_unc_err_cnt() argument
2665 void *context, int vl, int mode, in access_rx_rcv_fsm_encoding_err_cnt() argument
2674 void *context, int vl, int mode, in access_rx_dma_flag_cor_err_cnt() argument
2683 void *context, int vl, int mode, in access_rx_dma_flag_unc_err_cnt() argument
2692 void *context, int vl, int mode, in access_rx_dc_sop_eop_parity_err_cnt() argument
2701 void *context, int vl, int mode, in access_rx_rcv_csr_parity_err_cnt() argument
2711 void *context, int vl, int mode, u64 data) in access_rx_rcv_qp_map_table_cor_err_cnt() argument
2720 void *context, int vl, int mode, u64 data) in access_rx_rcv_qp_map_table_unc_err_cnt() argument
2728 void *context, int vl, int mode, in access_rx_rcv_data_cor_err_cnt() argument
2737 void *context, int vl, int mode, in access_rx_rcv_data_unc_err_cnt() argument
2746 void *context, int vl, int mode, in access_rx_rcv_hdr_cor_err_cnt() argument
2755 void *context, int vl, int mode, in access_rx_rcv_hdr_unc_err_cnt() argument
2764 void *context, int vl, int mode, in access_rx_dc_intf_parity_err_cnt() argument
2773 void *context, int vl, int mode, in access_rx_dma_csr_cor_err_cnt() argument
2787 void *context, int vl, int mode, u64 data) in access_pio_pec_sop_head_parity_err_cnt() argument
2796 void *context, int vl, int mode, u64 data) in access_pio_pcc_sop_head_parity_err_cnt() argument
2805 void *context, int vl, int mode, u64 data) in access_pio_last_returned_cnt_parity_err_cnt() argument
2814 void *context, int vl, int mode, u64 data) in access_pio_current_free_cnt_parity_err_cnt() argument
2822 void *context, int vl, int mode, in access_pio_reserved_31_err_cnt() argument
2831 void *context, int vl, int mode, in access_pio_reserved_30_err_cnt() argument
2840 void *context, int vl, int mode, in access_pio_ppmc_sop_len_err_cnt() argument
2850 void *context, int vl, int mode, u64 data) in access_pio_ppmc_bqc_mem_parity_err_cnt() argument
2858 void *context, int vl, int mode, in access_pio_vl_fifo_parity_err_cnt() argument
2867 void *context, int vl, int mode, in access_pio_vlf_sop_parity_err_cnt() argument
2876 void *context, int vl, in access_pio_vlf_v1_len_parity_err_cnt() argument
2886 void *context, int vl, int mode, u64 data) in access_pio_block_qw_count_parity_err_cnt() argument
2895 void *context, int vl, int mode, u64 data) in access_pio_write_qw_valid_parity_err_cnt() argument
2903 void *context, int vl, int mode, in access_pio_state_machine_err_cnt() argument
2912 void *context, int vl, in access_pio_write_data_parity_err_cnt() argument
2921 void *context, int vl, in access_pio_host_addr_mem_cor_err_cnt() argument
2930 void *context, int vl, in access_pio_host_addr_mem_unc_err_cnt() argument
2940 void *context, int vl, int mode, u64 data) in access_pio_pkt_evict_sm_or_arb_sm_err_cnt() argument
2948 void *context, int vl, int mode, in access_pio_init_sm_in_err_cnt() argument
2957 void *context, int vl, int mode, in access_pio_ppmc_pbl_fifo_err_cnt() argument
2967 void *context, int vl, int mode, u64 data) in access_pio_credit_ret_fifo_parity_err_cnt() argument
2976 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank1_cor_err_cnt() argument
2985 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank0_cor_err_cnt() argument
2994 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank1_unc_err_cnt() argument
3003 void *context, int vl, int mode, u64 data) in access_pio_v1_len_mem_bank0_unc_err_cnt() argument
3012 void *context, int vl, int mode, u64 data) in access_pio_sm_pkt_reset_parity_err_cnt() argument
3021 void *context, int vl, int mode, u64 data) in access_pio_pkt_evict_fifo_parity_err_cnt() argument
3030 void *context, int vl, int mode, u64 data) in access_pio_sbrdctrl_crrel_fifo_parity_err_cnt() argument
3039 void *context, int vl, int mode, u64 data) in access_pio_sbrdctl_crrel_parity_err_cnt() argument
3047 void *context, int vl, int mode, in access_pio_pec_fifo_parity_err_cnt() argument
3056 void *context, int vl, int mode, in access_pio_pcc_fifo_parity_err_cnt() argument
3065 void *context, int vl, int mode, in access_pio_sb_mem_fifo1_err_cnt() argument
3074 void *context, int vl, int mode, in access_pio_sb_mem_fifo0_err_cnt() argument
3083 void *context, int vl, int mode, in access_pio_csr_parity_err_cnt() argument
3092 void *context, int vl, in access_pio_write_addr_parity_err_cnt() argument
3101 void *context, int vl, int mode, in access_pio_write_bad_ctxt_err_cnt() argument
3115 void *context, int vl, int mode, u64 data) in access_sdma_pcie_req_tracking_cor_err_cnt() argument
3124 void *context, int vl, int mode, u64 data) in access_sdma_pcie_req_tracking_unc_err_cnt() argument
3132 void *context, int vl, int mode, in access_sdma_csr_parity_err_cnt() argument
3141 void *context, int vl, int mode, in access_sdma_rpy_tag_err_cnt() argument
3155 void *context, int vl, int mode, u64 data) in access_tx_read_pio_memory_csr_unc_err_cnt() argument
3164 void *context, int vl, int mode, u64 data) in access_tx_read_sdma_memory_csr_err_cnt() argument
3172 void *context, int vl, int mode, in access_tx_egress_fifo_cor_err_cnt() argument
3181 void *context, int vl, in access_tx_read_pio_memory_cor_err_cnt() argument
3191 void *context, int vl, int mode, u64 data) in access_tx_read_sdma_memory_cor_err_cnt() argument
3199 void *context, int vl, int mode, in access_tx_sb_hdr_cor_err_cnt() argument
3208 void *context, int vl, int mode, in access_tx_credit_overrun_err_cnt() argument
3217 void *context, int vl, int mode, in access_tx_launch_fifo8_cor_err_cnt() argument
3226 void *context, int vl, int mode, in access_tx_launch_fifo7_cor_err_cnt() argument
3235 void *context, int vl, int mode, in access_tx_launch_fifo6_cor_err_cnt() argument
3244 void *context, int vl, int mode, in access_tx_launch_fifo5_cor_err_cnt() argument
3253 void *context, int vl, int mode, in access_tx_launch_fifo4_cor_err_cnt() argument
3262 void *context, int vl, int mode, in access_tx_launch_fifo3_cor_err_cnt() argument
3271 void *context, int vl, int mode, in access_tx_launch_fifo2_cor_err_cnt() argument
3280 void *context, int vl, int mode, in access_tx_launch_fifo1_cor_err_cnt() argument
3289 void *context, int vl, int mode, in access_tx_launch_fifo0_cor_err_cnt() argument
3298 void *context, int vl, int mode, in access_tx_credit_return_vl_err_cnt() argument
3307 void *context, int vl, int mode, in access_tx_hcrc_insertion_err_cnt() argument
3316 void *context, int vl, int mode, in access_tx_egress_fifo_unc_err_cnt() argument
3325 void *context, int vl, in access_tx_read_pio_memory_unc_err_cnt() argument
3335 void *context, int vl, int mode, u64 data) in access_tx_read_sdma_memory_unc_err_cnt() argument
3343 void *context, int vl, int mode, in access_tx_sb_hdr_unc_err_cnt() argument
3353 void *context, int vl, int mode, u64 data) in access_tx_credit_return_partiy_err_cnt() argument
3362 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo8_unc_or_parity_err_cnt() argument
3371 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo7_unc_or_parity_err_cnt() argument
3380 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo6_unc_or_parity_err_cnt() argument
3389 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo5_unc_or_parity_err_cnt() argument
3398 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo4_unc_or_parity_err_cnt() argument
3407 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo3_unc_or_parity_err_cnt() argument
3416 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo2_unc_or_parity_err_cnt() argument
3425 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo1_unc_or_parity_err_cnt() argument
3434 void *context, int vl, int mode, u64 data) in access_tx_launch_fifo0_unc_or_parity_err_cnt() argument
3443 void *context, int vl, int mode, u64 data) in access_tx_sdma15_disallowed_packet_err_cnt() argument
3452 void *context, int vl, int mode, u64 data) in access_tx_sdma14_disallowed_packet_err_cnt() argument
3461 void *context, int vl, int mode, u64 data) in access_tx_sdma13_disallowed_packet_err_cnt() argument
3470 void *context, int vl, int mode, u64 data) in access_tx_sdma12_disallowed_packet_err_cnt() argument
3479 void *context, int vl, int mode, u64 data) in access_tx_sdma11_disallowed_packet_err_cnt() argument
3488 void *context, int vl, int mode, u64 data) in access_tx_sdma10_disallowed_packet_err_cnt() argument
3497 void *context, int vl, int mode, u64 data) in access_tx_sdma9_disallowed_packet_err_cnt() argument
3506 void *context, int vl, int mode, u64 data) in access_tx_sdma8_disallowed_packet_err_cnt() argument
3515 void *context, int vl, int mode, u64 data) in access_tx_sdma7_disallowed_packet_err_cnt() argument
3524 void *context, int vl, int mode, u64 data) in access_tx_sdma6_disallowed_packet_err_cnt() argument
3533 void *context, int vl, int mode, u64 data) in access_tx_sdma5_disallowed_packet_err_cnt() argument
3542 void *context, int vl, int mode, u64 data) in access_tx_sdma4_disallowed_packet_err_cnt() argument
3551 void *context, int vl, int mode, u64 data) in access_tx_sdma3_disallowed_packet_err_cnt() argument
3560 void *context, int vl, int mode, u64 data) in access_tx_sdma2_disallowed_packet_err_cnt() argument
3569 void *context, int vl, int mode, u64 data) in access_tx_sdma1_disallowed_packet_err_cnt() argument
3578 void *context, int vl, int mode, u64 data) in access_tx_sdma0_disallowed_packet_err_cnt() argument
3586 void *context, int vl, int mode, in access_tx_config_parity_err_cnt() argument
3595 void *context, int vl, in access_tx_sbrd_ctl_csr_parity_err_cnt() argument
3604 void *context, int vl, int mode, in access_tx_launch_csr_parity_err_cnt() argument
3613 void *context, int vl, int mode, in access_tx_illegal_vl_err_cnt() argument
3623 void *context, int vl, int mode, u64 data) in access_tx_sbrd_ctl_state_machine_parity_err_cnt() argument
3631 void *context, int vl, int mode, in access_egress_reserved_10_err_cnt() argument
3640 void *context, int vl, int mode, in access_egress_reserved_9_err_cnt() argument
3650 void *context, int vl, int mode, u64 data) in access_tx_sdma_launch_intf_parity_err_cnt() argument
3659 void *context, int vl, int mode, u64 data) in access_tx_pio_launch_intf_parity_err_cnt() argument
3667 void *context, int vl, int mode, in access_egress_reserved_6_err_cnt() argument
3677 void *context, int vl, int mode, u64 data) in access_tx_incorrect_link_state_err_cnt() argument
3685 void *context, int vl, int mode, in access_tx_linkdown_err_cnt() argument
3695 void *context, int vl, int mode, u64 data) in access_tx_egress_fifi_underrun_or_parity_err_cnt() argument
3703 void *context, int vl, int mode, in access_egress_reserved_2_err_cnt() argument
3713 void *context, int vl, int mode, u64 data) in access_tx_pkt_integrity_mem_unc_err_cnt() argument
3722 void *context, int vl, int mode, u64 data) in access_tx_pkt_integrity_mem_cor_err_cnt() argument
3735 void *context, int vl, int mode, u64 data) in access_send_csr_write_bad_addr_err_cnt() argument
3743 void *context, int vl, in access_send_csr_read_bad_addr_err_cnt() argument
3752 void *context, int vl, int mode, in access_send_csr_parity_cnt() argument
3766 void *context, int vl, int mode, u64 data) in access_pio_write_out_of_bounds_err_cnt() argument
3774 void *context, int vl, int mode, in access_pio_write_overflow_err_cnt() argument
3784 void *context, int vl, int mode, u64 data) in access_pio_write_crosses_boundary_err_cnt() argument
3792 void *context, int vl, in access_pio_disallowed_packet_err_cnt() argument
3801 void *context, int vl, int mode, in access_pio_inconsistent_sop_err_cnt() argument
3815 void *context, int vl, int mode, u64 data) in access_sdma_header_request_fifo_cor_err_cnt() argument
3824 void *context, int vl, int mode, u64 data) in access_sdma_header_storage_cor_err_cnt() argument
3833 void *context, int vl, int mode, u64 data) in access_sdma_packet_tracking_cor_err_cnt() argument
3841 void *context, int vl, int mode, in access_sdma_assembly_cor_err_cnt() argument
3850 void *context, int vl, int mode, in access_sdma_desc_table_cor_err_cnt() argument
3860 void *context, int vl, int mode, u64 data) in access_sdma_header_request_fifo_unc_err_cnt() argument
3869 void *context, int vl, int mode, u64 data) in access_sdma_header_storage_unc_err_cnt() argument
3878 void *context, int vl, int mode, u64 data) in access_sdma_packet_tracking_unc_err_cnt() argument
3886 void *context, int vl, int mode, in access_sdma_assembly_unc_err_cnt() argument
3895 void *context, int vl, int mode, in access_sdma_desc_table_unc_err_cnt() argument
3904 void *context, int vl, int mode, in access_sdma_timeout_err_cnt() argument
3913 void *context, int vl, int mode, in access_sdma_header_length_err_cnt() argument
3922 void *context, int vl, int mode, in access_sdma_header_address_err_cnt() argument
3931 void *context, int vl, int mode, in access_sdma_header_select_err_cnt() argument
3940 void *context, int vl, int mode, in access_sdma_reserved_9_err_cnt() argument
3950 void *context, int vl, int mode, u64 data) in access_sdma_packet_desc_overflow_err_cnt() argument
3958 void *context, int vl, in access_sdma_length_mismatch_err_cnt() argument
3967 void *context, int vl, int mode, u64 data) in access_sdma_halt_err_cnt() argument
3975 void *context, int vl, int mode, in access_sdma_mem_read_err_cnt() argument
3984 void *context, int vl, int mode, in access_sdma_first_desc_err_cnt() argument
3994 void *context, int vl, int mode, u64 data) in access_sdma_tail_out_of_bounds_err_cnt() argument
4002 void *context, int vl, int mode, in access_sdma_too_long_err_cnt() argument
4011 void *context, int vl, int mode, in access_sdma_gen_mismatch_err_cnt() argument
4020 void *context, int vl, int mode, in access_sdma_wrong_dw_err_cnt() argument
4029 void *context, int vl, int mode, in access_dc_rcv_err_cnt() argument
4052 void *context, int vl, int mode, u64 data) \
4056 ppd->ibport_data.rvp.cntr, vl, \
4066 void *context, int vl, int mode, u64 data) \
4070 if (vl != CNTR_INVALID_VL) \
5675 int vl) in handle_send_egress_err_info() argument
5718 if (vl >= 0 && vl < TXE_NUM_DATA_VL) in handle_send_egress_err_info()
5719 incr_cntr64(&ppd->port_xmit_discards_vl[vl]); in handle_send_egress_err_info()
5720 else if (vl == 15) in handle_send_egress_err_info()
5764 int vl; in engine_to_vl() local
5772 vl = m->engine_to_vl[engine]; in engine_to_vl()
5775 return vl; in engine_to_vl()
5829 int vl = engine_to_vl(dd, disallowed_pkt_engine(shift)); in handle_egress_err() local
5831 handle_send_egress_err_info(dd, vl); in handle_egress_err()
11095 struct ib_vl_weight_elem *vl) in vl_arb_get_cache() argument
11097 memcpy(vl, cache->table, VL_ARB_TABLE_SIZE * sizeof(*vl)); in vl_arb_get_cache()
11101 struct ib_vl_weight_elem *vl) in vl_arb_set_cache() argument
11103 memcpy(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl)); in vl_arb_set_cache()
11107 struct ib_vl_weight_elem *vl) in vl_arb_match_cache() argument
11109 return !memcmp(cache->table, vl, VL_ARB_TABLE_SIZE * sizeof(*vl)); in vl_arb_match_cache()
11115 u32 size, struct ib_vl_weight_elem *vl) in set_vl_weights() argument
11146 for (i = 0; i < size; i++, vl++) { in set_vl_weights()
11151 reg = (((u64)vl->vl & SEND_LOW_PRIORITY_LIST_VL_MASK) in set_vl_weights()
11153 | (((u64)vl->weight in set_vl_weights()
11199 read_one_cm_vl(dd, SEND_CM_CREDIT_VL + (8 * i), &bc->vl[i]); in get_buffer_control()
11202 read_one_cm_vl(dd, SEND_CM_CREDIT_VL15, &bc->vl[15]); in get_buffer_control()
11240 struct ib_vl_weight_elem *vl) in get_vlarb_preempt() argument
11244 for (i = 0; i < nelems; i++, vl++) { in get_vlarb_preempt()
11245 vl->vl = 0xf; in get_vlarb_preempt()
11246 vl->weight = 0; in get_vlarb_preempt()
11321 static void set_vl_shared(struct hfi1_devdata *dd, int vl, u16 limit) in set_vl_shared() argument
11326 if (vl < TXE_NUM_DATA_VL) in set_vl_shared()
11327 addr = SEND_CM_CREDIT_VL + (8 * vl); in set_vl_shared()
11338 static void set_vl_dedicated(struct hfi1_devdata *dd, int vl, u16 limit) in set_vl_dedicated() argument
11343 if (vl < TXE_NUM_DATA_VL) in set_vl_dedicated()
11344 addr = SEND_CM_CREDIT_VL + (8 * vl); in set_vl_dedicated()
11443 new_total += be16_to_cpu(new_bc->vl[i].dedicated); in set_buffer_control()
11447 be16_to_cpu(new_bc->vl[i].dedicated)); in set_buffer_control()
11449 be16_to_cpu(new_bc->vl[i].shared)); in set_buffer_control()
11450 new_bc->vl[i].dedicated = 0; in set_buffer_control()
11451 new_bc->vl[i].shared = 0; in set_buffer_control()
11476 this_shared_changing = new_bc->vl[i].shared in set_buffer_control()
11477 != cur_bc.vl[i].shared; in set_buffer_control()
11480 if (new_bc->vl[i].dedicated != cur_bc.vl[i].dedicated || in set_buffer_control()
11486 if (be16_to_cpu(new_bc->vl[i].dedicated) < in set_buffer_control()
11487 be16_to_cpu(cur_bc.vl[i].dedicated)) { in set_buffer_control()
11515 cur_bc.vl[i].shared = 0; in set_buffer_control()
11530 vl[i].dedicated)); in set_buffer_control()
11531 cur_bc.vl[i].dedicated = in set_buffer_control()
11532 new_bc->vl[i].dedicated; in set_buffer_control()
11543 if (be16_to_cpu(new_bc->vl[i].dedicated) > in set_buffer_control()
11544 be16_to_cpu(cur_bc.vl[i].dedicated)) in set_buffer_control()
11547 vl[i].dedicated)); in set_buffer_control()
11556 if (be16_to_cpu(new_bc->vl[i].shared) > in set_buffer_control()
11557 be16_to_cpu(cur_bc.vl[i].shared)) in set_buffer_control()
11558 set_vl_shared(dd, i, be16_to_cpu(new_bc->vl[i].shared)); in set_buffer_control()
11577 if (be16_to_cpu(new_bc->vl[i].dedicated) > 0 || in set_buffer_control()
11578 be16_to_cpu(new_bc->vl[i].shared) > 0) in set_buffer_control()
12338 u64 *psval, void *context, int vl) in read_dev_port_cntr() argument
12348 hfi1_cdbg(CNTR, "cntr: %s vl %d psval 0x%llx", entry->name, vl, *psval); in read_dev_port_cntr()
12350 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_R, 0); in read_dev_port_cntr()
12390 u64 *psval, void *context, int vl, u64 data) in write_dev_port_cntr() argument
12399 hfi1_cdbg(CNTR, "cntr: %s vl %d psval 0x%llx", entry->name, vl, *psval); in write_dev_port_cntr()
12404 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, in write_dev_port_cntr()
12408 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, in write_dev_port_cntr()
12412 val = entry->rw_cntr(entry, context, vl, CNTR_MODE_W, data); in write_dev_port_cntr()
12422 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl) in read_dev_cntr() argument
12430 if (vl != CNTR_INVALID_VL) in read_dev_cntr()
12431 sval += vl; in read_dev_cntr()
12433 return read_dev_port_cntr(dd, entry, sval, dd, vl); in read_dev_cntr()
12436 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data) in write_dev_cntr() argument
12444 if (vl != CNTR_INVALID_VL) in write_dev_cntr()
12445 sval += vl; in write_dev_cntr()
12447 return write_dev_port_cntr(dd, entry, sval, dd, vl, data); in write_dev_cntr()
12450 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl) in read_port_cntr() argument
12458 if (vl != CNTR_INVALID_VL) in read_port_cntr()
12459 sval += vl; in read_port_cntr()
12467 return read_dev_port_cntr(ppd->dd, entry, sval, ppd, vl); in read_port_cntr()
12470 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data) in write_port_cntr() argument
12478 if (vl != CNTR_INVALID_VL) in write_port_cntr()
12479 sval += vl; in write_port_cntr()
12487 return write_dev_port_cntr(ppd->dd, entry, sval, ppd, vl, data); in write_port_cntr()
12496 int i, j, vl; in do_update_synth_timer() local
12544 for (vl = 0; vl < C_VL_COUNT; vl++) in do_update_synth_timer()
12545 read_dev_cntr(dd, i, vl); in do_update_synth_timer()
12555 for (vl = 0; vl < C_VL_COUNT; vl++) in do_update_synth_timer()
12556 read_port_cntr(ppd, j, vl); in do_update_synth_timer()
15008 int vl; in hfi1_init_dd() local
15033 for (vl = 0; vl < num_vls; vl++) in hfi1_init_dd()
15034 dd->vld[vl].mtu = hfi1_max_mtu; in hfi1_init_dd()
15354 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl, in create_pbc() argument
15365 | (vl & PBC_VL_MASK) << PBC_VL_SHIFT in create_pbc()