Searched refs:OSAL_MIN_T (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_cxt.c | 977 u32 size = OSAL_MIN_T(u32, total_size, psz); in ecore_cxt_src_t2_alloc() 1005 u32 ent_num = OSAL_MIN_T(u32, ent_per_page, conn_num); in ecore_cxt_src_t2_alloc() 1102 size = OSAL_MIN_T(u32, sz_left, p_blk->real_size_in_page); in ecore_ilt_blk_alloc() 2146 num_srqs = OSAL_MIN_T(u32, ECORE_RDMA_MAX_SRQS, p_params->num_srqs); in ecore_rdma_set_pf_params() 2176 num_cons = OSAL_MIN_T(u32, IWARP_MAX_QPS, p_params->num_qps); in ecore_rdma_set_pf_params() 2185 num_qps = OSAL_MIN_T(u32, ROCE_MAX_QPS, p_params->num_qps); in ecore_rdma_set_pf_params()
|
H A D | ecore_dev.c | 294 num_pf_rls = (u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_RL), in ecore_init_qm_get_num_pf_rls() 295 (u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_VPORT), in ecore_init_qm_get_num_pf_rls() 1352 cache_line_size = OSAL_MIN_T(u32, OSAL_CACHE_LINE_SIZE, wr_mbs); in ecore_init_cache_line_size() 2801 OSAL_MIN_T(u32, in ecore_hw_set_feat() 2811 OSAL_MIN_T(u32, in ecore_hw_set_feat() 2824 OSAL_MIN_T(u32, in ecore_hw_set_feat() 2828 OSAL_MIN_T(u32, in ecore_hw_set_feat() 2836 OSAL_MIN_T(u32, sb_cnt.cnt, RESC_NUM(p_hwfn, in ecore_hw_set_feat() 2841 OSAL_MIN_T(u32, sb_cnt.cnt, RESC_NUM(p_hwfn, in ecore_hw_set_feat()
|
H A D | ecore_mcp.c | 1527 size = OSAL_MIN_T(u32, sizeof(*p_data), in ecore_mcp_get_shmem_func() 2889 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_nvm_read() 3047 buf_size = OSAL_MIN_T(u32, (len - buf_idx), in ecore_mcp_nvm_write() 3148 bytes_to_copy = OSAL_MIN_T(u32, bytes_left, in ecore_mcp_phy_sfp_read() 3190 buf_size = OSAL_MIN_T(u32, (len - buf_idx), in ecore_mcp_phy_sfp_write() 3491 p_temp_info->num_sensors = OSAL_MIN_T(u32, mfw_temp_info.num_of_sensors, in ecore_mcp_get_temperature_info()
|
H A D | bcm_osal.h | 579 #define OSAL_MIN_T(type, __min1, __min2) \ macro
|
H A D | ecore_hw.c | 326 quota = OSAL_MIN_T(osal_size_t, n - done, in ecore_memcpy_hw()
|
H A D | ecore_l2.c | 547 table_size = OSAL_MIN_T(int, ECORE_RSS_IND_TABLE_SIZE, in ecore_sp_vport_update_rss()
|
H A D | ecore_dbg_fw_funcs.c | 3010 u32 curr_len = OSAL_MIN_T(u32, read_len, total_len - reg_offset); in ecore_grc_dump_reg_entry_skip() 3017 curr_len = OSAL_MIN_T(u32, skip_len, total_len - skip_len); in ecore_grc_dump_reg_entry_skip()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_dbg.c | 53 for (i = 0; i < OSAL_MIN_T(int, depth, 16); i++) { in qede_stacktrace()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/ |
H A D | osal.txt | 615 - type OSAL_MIN_T(type, val1, val2)
|