Home
last modified time | relevance | path

Searched refs:OSAL_MIN_T (Results 1 – 12 of 12) sorted by relevance

/f-stack/dpdk/drivers/net/qede/
H A Dqede_sriov.c64 params.num_queues = OSAL_MIN_T(int, feat_num, 16); in qed_sriov_enable()
H A Dqede_debug.c928 dev_data->num_pfs_per_port = OSAL_MIN_T(u32, in qed_dbg_dev_init()
1992 u32 curr_len = OSAL_MIN_T(u32, read_len, in qed_grc_dump_reg_entry_skip()
2004 curr_len = OSAL_MIN_T(u32, skip_len, in qed_grc_dump_reg_entry_skip()
3003 num_dwords_to_read = OSAL_MIN_T(u32, in qed_grc_dump_rss()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_sp_commands.c481 return (u16)OSAL_MIN_T(u32, (u16)(~0U), QM_RL_RESOLUTION(mb_val)); in ecore_sp_rl_mb_to_qm()
486 return gd ? (u16)OSAL_MIN_T(u32, (u16)(~0U), FW_GD_RESOLUTION(gd)) : 0; in ecore_sp_rl_gd_denom()
H A Decore_sriov.c1199 num_irqs = OSAL_MIN_T(u16, p_params->num_queues, ((u16)cids)); in ecore_iov_init_hw_for_vf()
1645 p_resp->num_cids = OSAL_MIN_T(u8, p_req->num_cids, num_vf_cons); in ecore_iov_vf_mbx_acquire_resc_cids()
1672 p_resp->num_cids = OSAL_MIN_T(u8, p_resp->num_cids, in ecore_iov_vf_mbx_acquire_resc_cids()
1707 p_resp->num_mac_filters = OSAL_MIN_T(u8, p_vf->num_mac_filters, in ecore_iov_vf_mbx_acquire_resc()
1709 p_resp->num_vlan_filters = OSAL_MIN_T(u8, p_vf->num_vlan_filters, in ecore_iov_vf_mbx_acquire_resc()
1893 pfdev_info->minor_fp_hsi = OSAL_MIN_T(u8, ETH_HSI_VER_MINOR, in ecore_iov_vf_mbx_acquire()
3195 table_size = OSAL_MIN_T(u16, OSAL_ARRAY_SIZE(p_rss->rss_ind_table), in ecore_iov_vp_update_rss_param()
H A Decore_mcp.c1329 size = OSAL_MIN_T(u32, sizeof(*p_data), in ecore_mcp_get_shmem_func()
3139 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_nvm_read()
3292 buf_size = OSAL_MIN_T(u32, (len - buf_idx), in ecore_mcp_nvm_write()
3393 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_phy_sfp_read()
3436 buf_size = OSAL_MIN_T(u32, (len - buf_idx), in ecore_mcp_phy_sfp_write()
3856 p_temp_info->num_sensors = OSAL_MIN_T(u32, mfw_temp_info.num_of_sensors, in ecore_mcp_get_temperature_info()
H A Dbcm_osal.h446 #define OSAL_MIN_T(type, __min1, __min2) \ macro
H A Decore_dev.c1739 num_pf_rls = (u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_RL), in ecore_init_qm_get_num_pf_rls()
2858 cache_line_size = OSAL_MIN_T(u32, OSAL_CACHE_LINE_SIZE, wr_mbs); in ecore_init_cache_line_size()
4331 OSAL_MIN_T(u32, in ecore_hw_set_feat()
4335 OSAL_MIN_T(u32, in ecore_hw_set_feat()
4355 *p_storage_feat = OSAL_MIN_T(u32, limit, in ecore_hw_set_feat()
4362 *p_storage_feat = OSAL_MIN_T(u32, *p_storage_feat, in ecore_hw_set_feat()
5488 n = OSAL_MIN_T(u8, max_chars, ECORE_MAX_DEVICE_NAME_LEN); in ecore_get_dev_name()
H A Decore_cxt.c721 size = OSAL_MIN_T(u32, total_size, page_size); in ecore_cxt_t2_alloc_pages()
793 u32 ent_num = OSAL_MIN_T(u32, ent_per_page, conn_num); in ecore_cxt_src_t2_alloc()
895 size = OSAL_MIN_T(u32, sz_left, p_blk->real_size_in_page); in ecore_ilt_blk_alloc()
H A Decore_hw.c320 quota = OSAL_MIN_T(osal_size_t, n - done, in ecore_memcpy_hw()
H A Decore_mng_tlv.c1458 len = OSAL_MIN_T(int, len, 4 * tlv.tlv_length); in ecore_mfw_update_tlvs()
H A Decore_vf.c1389 table_size = OSAL_MIN_T(int, T_ETH_INDIRECTION_TABLE_SIZE, in ecore_vf_pf_vport_update()
H A Decore_l2.c525 table_size = OSAL_MIN_T(int, ECORE_RSS_IND_TABLE_SIZE, in ecore_sp_vport_update_rss()