Searched refs:al_assert (Results 1 – 13 of 13) sorted by relevance
55 al_assert(regs_base); in al_iofic_config()56 al_assert(group < AL_IOFIC_MAX_GROUPS); in al_iofic_config()73 al_assert(regs_base); in al_iofic_moder_res_config()74 al_assert(group < AL_IOFIC_MAX_GROUPS); in al_iofic_moder_res_config()95 al_assert(regs_base); in al_iofic_legacy_moder_interval_config()96 al_assert(group < AL_IOFIC_MAX_GROUPS); in al_iofic_legacy_moder_interval_config()118 al_assert(regs_base); in al_iofic_msix_moder_interval_config()119 al_assert(group < AL_IOFIC_MAX_GROUPS); in al_iofic_msix_moder_interval_config()140 al_assert(regs_base); in al_iofic_msix_tgtid_attributes_config()141 al_assert(group < AL_IOFIC_MAX_GROUPS); in al_iofic_msix_tgtid_attributes_config()[all …]
177 al_assert((AL_ADDR_LOW(udma_q->desc_phy_base) & in al_udma_q_set_pointers()192 al_assert((AL_ADDR_LOW(udma_q->cdesc_phy_base) & in al_udma_q_set_pointers()237 al_assert(udma); in al_udma_init()279 al_assert(udma); in al_udma_q_init()280 al_assert(q_params); in al_udma_q_init()378 al_assert(udma_q); in al_udma_q_reset()444 al_assert(udma); in al_udma_q_handle_get()445 al_assert(q_handle); in al_udma_q_handle_get()462 al_assert(udma != NULL); in al_udma_state_set()525 al_assert(comp_ctrl != UDMA_STATE_RESERVED); in al_udma_state_get()[all …]
441 al_assert(udma_q); in al_udma_desc_get()466 al_assert(udma_q); in al_udma_ring_id_get()492 al_assert(udma_q); in al_udma_desc_action_add()493 al_assert((num > 0) && (num <= udma_q->size)); in al_udma_desc_action_add()526 al_assert(udma_q); in al_cdesc_next()527 al_assert(cdesc); in al_cdesc_next()630 al_assert(udma_q); in al_udma_cdesc_get_all()656 al_assert(udma_q); in al_udma_cdesc_ack()
573 al_assert(al_udma_iofic_level_and_group_valid(level, group)); in al_udma_iofic_unmask()593 al_assert(al_udma_iofic_level_and_group_valid(level, group)); in al_udma_iofic_mask()609 al_assert(al_udma_iofic_level_and_group_valid(level, group)); in al_udma_iofic_read_cause()627 al_assert(al_udma_iofic_level_and_group_valid(level, group)); in al_udma_iofic_clear_cause()
455 al_assert(0); in al_pcie_ib_hcrd_os_ob_reads_config_default()799 al_assert(0); in al_pcie_port_pf_params_config()825 al_assert(0); in al_pcie_port_pf_params_config()891 al_assert(0); in al_pcie_port_sris_config()1291 al_assert(pf_num < pcie_port->max_num_of_pfs); in al_pcie_pf_handle_init()1411 al_assert(max_num_of_pfs <= REV3_MAX_NUM_OF_PFS); in al_pcie_port_max_num_of_pfs_set()1413 al_assert(max_num_of_pfs == REV1_2_MAX_NUM_OF_PFS); in al_pcie_port_max_num_of_pfs_set()1461 al_assert(ib_hcrd_os_ob_reads_config->nof_np_hdr > 0); in al_pcie_port_ib_hcrd_os_ob_reads_config()1463 al_assert(ib_hcrd_os_ob_reads_config->nof_p_hdr > 0); in al_pcie_port_ib_hcrd_os_ob_reads_config()1465 al_assert(ib_hcrd_os_ob_reads_config->nof_cpl_hdr > 0); in al_pcie_port_ib_hcrd_os_ob_reads_config()[all …]
162 al_assert(obj); in al_serdes_reg_read()163 al_assert(data); in al_serdes_reg_read()164 al_assert(((int)page) >= AL_SRDS_REG_PAGE_0_LANE_0); in al_serdes_reg_read()165 al_assert(((int)page) <= AL_SRDS_REG_PAGE_4_COMMON); in al_serdes_reg_read()166 al_assert(((int)type) >= AL_SRDS_REG_TYPE_PMA); in al_serdes_reg_read()167 al_assert(((int)type) <= AL_SRDS_REG_TYPE_PCS); in al_serdes_reg_read()203 al_assert(obj); in al_serdes_reg_write()204 al_assert(((int)page) >= AL_SRDS_REG_PAGE_0_LANE_0); in al_serdes_reg_write()205 al_assert(((int)page) <= AL_SRDS_REG_PAGE_0123_LANES_0123); in al_serdes_reg_write()206 al_assert(((int)type) >= AL_SRDS_REG_TYPE_PMA); in al_serdes_reg_write()[all …]
78 al_assert(obj); in al_serdes_25g_reg_read()79 al_assert(data); in al_serdes_25g_reg_read()117 al_assert(obj); in al_serdes_25g_reg_write()387 al_assert(user_data); in al_serdes_25g_bist_pattern_select()402 al_assert(0); in al_serdes_25g_bist_pattern_select()578 al_assert(buf_size == (samples_left * sizeof(uint64_t))); in al_serdes_25g_eye_diag_run()626 al_assert(sample_width <= 40); in al_serdes_25g_eye_diag_run()1096 al_assert(data); in al_serdes_25g_gcfsm2_read()1214 al_assert(data); in al_serdes_25g_rx_leq_fsm_op()1215 al_assert(err); in al_serdes_25g_rx_leq_fsm_op()[all …]
306 al_assert(udma->type == UDMA_TX); in al_udma_m2s_packet_size_cfg_set()445 al_assert(max_descs <= AL_UDMA_M2S_MAX_ALLOWED_DESCS_PER_PACKET); in al_udma_m2s_max_descs_set()446 al_assert(max_descs > 0); in al_udma_m2s_max_descs_set()476 al_assert(max_descs <= AL_UDMA_S2M_MAX_ALLOWED_DESCS_PER_PACKET); in al_udma_s2m_max_descs_set()477 al_assert(max_descs > 0); in al_udma_s2m_max_descs_set()1126 al_assert(qid < DMA_MAX_Q); in al_udma_gen_tgtid_conf_queue_set()1173 al_assert(AL_FALSE); in al_udma_gen_tgtid_conf_queue_set()
147 al_assert(al_udma_iofic_level_and_group_valid(level, group)); in al_udma_iofic_unmask_offset_get()
351 #define al_assert(COND) \ macro
870 al_assert(q_params->cdesc_size <= 32); in al_eth_queue_config()895 al_assert(max_rx_len <= AL_ETH_MAX_FRAME_LEN); in al_eth_rx_pkt_limit_config()1589 al_assert(adapter->rev_id > AL_ETH_REV_ID_2); in al_eth_gearbox_reset()1646 al_assert(caps); in al_eth_capabilities_get()2398 al_assert((pkt->ext_meta_data == NULL) || (tx_dma_q->adapter_rev_id > AL_ETH_REV_ID_2)); in al_eth_tx_pkt_prepare()2511 al_assert((pkt->flags & (AL_ETH_TX_FLAGS_L4_CSUM|AL_ETH_TX_FLAGS_L4_PARTIAL_CSUM)) != in al_eth_tx_pkt_prepare()2515 al_assert((pkt->flags & (AL_ETH_TX_FLAGS_TSO|AL_ETH_TX_FLAGS_TS)) != in al_eth_tx_pkt_prepare()2599 al_assert(idx <= 8); /*valid MSS index*/ in al_eth_tso_mss_config()2600 al_assert(mss_val <= AL_ETH_TSO_MSS_MAX_VAL); /*valid MSS val*/ in al_eth_tso_mss_config()2601 al_assert(mss_val >= AL_ETH_TSO_MSS_MIN_VAL); /*valid MSS val*/ in al_eth_tso_mss_config()[all …]
218 al_assert(lane == AL_ETH_AN__LT_LANE_0); in al_eth_an_lt_reg_read()656 al_assert(adapter); in al_eth_kr_an_validate_adv()753 al_assert(an_adv != NULL); in al_eth_kr_an_read_adv()
1108 al_assert((lm_context->sfp_detection == false) || in al_eth_lm_init()1111 al_assert((lm_context->retimer_exist == false) || in al_eth_lm_init()1154 al_assert(lm_context != NULL); in al_eth_lm_link_detection()1155 al_assert(old_mode != NULL); in al_eth_lm_link_detection()1156 al_assert(new_mode != NULL); in al_eth_lm_link_detection()