Home
last modified time | relevance | path

Searched refs:max_t (Results 1 – 25 of 764) sorted by relevance

12345678910>>...31

/linux-6.6.21/drivers/scsi/fnic/
Dfnic_res.c63 max_t(u32, VNIC_FNIC_WQ_DESCS_MIN, in fnic_get_vnic_config()
69 max_t(u32, VNIC_FNIC_WQ_COPY_DESCS_MIN, in fnic_get_vnic_config()
75 max_t(u32, VNIC_FNIC_RQ_DESCS_MIN, in fnic_get_vnic_config()
81 max_t(u16, VNIC_FNIC_MAXDATAFIELDSIZE_MIN, in fnic_get_vnic_config()
85 max_t(u32, VNIC_FNIC_EDTOV_MIN, in fnic_get_vnic_config()
90 max_t(u32, VNIC_FNIC_RATOV_MIN, in fnic_get_vnic_config()
98 max_t(u32, VNIC_FNIC_FLOGI_TIMEOUT_MIN, in fnic_get_vnic_config()
106 max_t(u32, VNIC_FNIC_PLOGI_TIMEOUT_MIN, in fnic_get_vnic_config()
111 max_t(u32, VNIC_FNIC_IO_THROTTLE_COUNT_MIN, in fnic_get_vnic_config()
128 max_t(u32, VNIC_FNIC_LUNS_PER_TARGET_MIN, in fnic_get_vnic_config()
/linux-6.6.21/include/crypto/
Dif_alg.h187 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf()
213 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
/linux-6.6.21/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c23 return max_t(s32, min_result, v - 1); in linear_inter()
25 return max_t(s32, min_result, v); in linear_inter()
78 timing->hs_rqst = max_t(s32, 0, temp - 2); in msm_dsi_dphy_timing_calc()
182 tmin = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v2()
184 tmax = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v2()
198 tmin = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v2()
200 tmax = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v2()
290 tmin = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v3()
292 tmax = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v3()
306 tmin = max_t(s32, temp, 0); in msm_dsi_dphy_timing_calc_v3()
[all …]
/linux-6.6.21/drivers/char/tpm/
Dtpm_tis_core.h65 #define TIS_TIMEOUT_A_MAX max_t(int, TIS_SHORT_TIMEOUT, TPM2_TIMEOUT_A)
66 #define TIS_TIMEOUT_B_MAX max_t(int, TIS_LONG_TIMEOUT, TPM2_TIMEOUT_B)
67 #define TIS_TIMEOUT_C_MAX max_t(int, TIS_SHORT_TIMEOUT, TPM2_TIMEOUT_C)
68 #define TIS_TIMEOUT_D_MAX max_t(int, TIS_SHORT_TIMEOUT, TPM2_TIMEOUT_D)
/linux-6.6.21/drivers/memory/
Domap-gpmc.c1579 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); in gpmc_calc_sync_read_timings()
1580 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); in gpmc_calc_sync_read_timings()
1587 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); in gpmc_calc_sync_read_timings()
1588 temp = max_t(u32, temp, gpmc_t->adv_rd_off + in gpmc_calc_sync_read_timings()
1598 temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); in gpmc_calc_sync_read_timings()
1601 temp = max_t(u32, temp, gpmc_t->oe_on + in gpmc_calc_sync_read_timings()
1609 temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez); in gpmc_calc_sync_read_timings()
1614 temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); in gpmc_calc_sync_read_timings()
1629 temp = max_t(u32, temp, in gpmc_calc_sync_write_timings()
1631 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); in gpmc_calc_sync_write_timings()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dtemp.c50 s->thrs_fan_boost.hysteresis = max_t(u8, s->thrs_fan_boost.hysteresis, 2); in nvkm_therm_temp_safety_checks()
51 s->thrs_down_clock.hysteresis = max_t(u8, s->thrs_down_clock.hysteresis, 2); in nvkm_therm_temp_safety_checks()
52 s->thrs_critical.hysteresis = max_t(u8, s->thrs_critical.hysteresis, 2); in nvkm_therm_temp_safety_checks()
53 s->thrs_shutdown.hysteresis = max_t(u8, s->thrs_shutdown.hysteresis, 2); in nvkm_therm_temp_safety_checks()
/linux-6.6.21/drivers/scsi/snic/
Dsnic_res.c51 max_t(u32, in snic_get_vnic_config()
59 max_t(u32, in snic_get_vnic_config()
65 max_t(u32, in snic_get_vnic_config()
79 max_t(u32, in snic_get_vnic_config()
/linux-6.6.21/drivers/interconnect/qcom/
Dicc-rpmh.c63 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate()
67 qn->sum_avg[i] = max_t(u64, qn->sum_avg[i], node->init_avg); in qcom_icc_aggregate()
68 qn->max_peak[i] = max_t(u64, qn->max_peak[i], node->init_peak); in qcom_icc_aggregate()
73 *agg_peak = max_t(u32, *agg_peak, peak_bw); in qcom_icc_aggregate()
Dicc-rpm.c285 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_bw_aggregate()
290 *agg_peak = max_t(u32, *agg_peak, peak_bw); in qcom_icc_bw_aggregate()
318 agg_rate = max_t(u64, agg_avg_rate, qn->max_peak[i]); in qcom_icc_bus_aggregate()
321 agg_clk_rate[i] = max_t(u64, agg_clk_rate[i], agg_rate); in qcom_icc_bus_aggregate()
368 active_rate = max_t(u64, active_rate, sleep_rate); in qcom_icc_set()
/linux-6.6.21/tools/perf/scripts/python/
Dpowerpc-hcalls.py169 max_t = output[opcode]['max']
171 print(print_ptrn % (h_name, cnt, min_t, max_t, time//cnt))
/linux-6.6.21/fs/coda/
Dupcall.c71 #define SIZE(tag) max_t(unsigned int, INSIZE(tag), OUTSIZE(tag))
140 insize = max_t(unsigned int, offset + length +1, OUTSIZE(lookup)); in venus_lookup()
211 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(mkdir)); in venus_mkdir()
243 insize = max_t(unsigned int, offset + new_length + old_length + 8, in venus_rename()
279 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(create)); in venus_create()
311 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(rmdir)); in venus_rmdir()
333 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(remove)); in venus_remove()
356 insize = max_t(unsigned int, in venus_readlink()
388 insize = max_t(unsigned int, offset + len + 1, OUTSIZE(link)); in venus_link()
415 insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); in venus_symlink()
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
Dia_css_eed1_8.host.c175 to->e_dew_enh_x[0][base + j] = min_t(int, max_t(int, in ia_css_eed1_8_vmem_encode()
178 to->e_dew_enh_y[0][base + j] = min_t(int, max_t(int, in ia_css_eed1_8_vmem_encode()
184 to->e_dew_enh_a[0][base + j] = min_t(int, max_t(int, in ia_css_eed1_8_vmem_encode()
191 to->e_dew_enh_f[0][base + j] = (min_t(int, max_t(int, in ia_css_eed1_8_vmem_encode()
/linux-6.6.21/arch/x86/kernel/cpu/
Dtopology.c82 smp_num_siblings = max_t(int, smp_num_siblings, LEVEL_MAX_SIBLINGS(ebx)); in detect_extended_topology_early()
113 smp_num_siblings = max_t(int, smp_num_siblings, LEVEL_MAX_SIBLINGS(ebx)); in detect_extended_topology()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmw_surface_cache.h61 .width = max_t(u32, base_level.width >> mip_level, 1), in vmw_surface_get_mip_size()
62 .height = max_t(u32, base_level.height >> mip_level, 1), in vmw_surface_get_mip_size()
63 .depth = max_t(u32, base_level.depth >> mip_level, 1) in vmw_surface_get_mip_size()
179 total_size *= max_t(u32, 1, num_samples); in vmw_surface_get_serialized_size_extended()
/linux-6.6.21/drivers/media/i2c/
Dccs-pll.c22 return max_t(u32, 1, a & ~1); in clk_div_even()
262 *min_sys_div = max_t(u16, *min_sys_div, in ccs_pll_find_vt_sys_div()
266 *min_sys_div = max_t(u16, *min_sys_div, in ccs_pll_find_vt_sys_div()
397 min_pre_pll_clk_div = max_t(u16, min_pre_pll_clk_div, in ccs_pll_calculate_vt_tree()
503 min_vt_div = max_t(u16, min_vt_div, in ccs_pll_calculate_vt()
508 min_vt_div = max_t(u16, min_vt_div, lim->vt_bk.min_pix_clk_div in ccs_pll_calculate_vt()
798 max_t(u16, op_lim_fr->min_pre_pll_clk_div, in ccs_pll_calculate()
812 max_t(u16, min_op_pre_pll_clk_div, in ccs_pll_calculate()
/linux-6.6.21/net/ipv6/
Dproc.c30 max_t(u32, max_t(u32, a, b), max_t(u32, c, d))
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c161 max_tc = max_t(u8, max_tc, ets->prio_tc[i]); in xgbe_dcb_ieee_setets()
163 max_tc = max_t(u8, max_tc, i); in xgbe_dcb_ieee_setets()
/linux-6.6.21/fs/smb/server/
Dsmb2misc.c145 *off = max_t(unsigned int, in smb2_get_data_area_len()
324 credit_charge = max_t(unsigned short, credit_charge, 1); in smb2_validate_credit_charge()
325 max_len = max_t(unsigned int, req_len, expect_resp_len); in smb2_validate_credit_charge()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Denic_res.c65 max_t(u32, ENIC_MIN_WQ_DESCS, in enic_get_vnic_config()
71 max_t(u32, ENIC_MIN_RQ_DESCS, in enic_get_vnic_config()
78 max_t(u16, ENIC_MIN_MTU, in enic_get_vnic_config()
/linux-6.6.21/net/smc/
Dsmc_cdc.h154 return max_t(int, 0, in smc_curs_diff()
157 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff()
192 return max_t(int, 0, (new->count - old->count)); in smc_curs_diff_large()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_sseu_debugfs.c43 sseu->eu_per_subslice = max_t(unsigned int, in cherryview_sseu_device_status()
101 sseu->eu_per_subslice = max_t(unsigned int, in gen11_sseu_device_status()
160 sseu->eu_per_subslice = max_t(unsigned int, in gen9_sseu_device_status()
/linux-6.6.21/net/batman-adv/
Dmain.c336 header_len = max_t(int, header_len, in batadv_max_header_len()
338 header_len = max_t(int, header_len, in batadv_max_header_len()
340 header_len = max_t(int, header_len, in batadv_max_header_len()
344 header_len = max_t(int, header_len, in batadv_max_header_len()
/linux-6.6.21/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c723 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_read_page()
1079 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_seq_correct()
1406 tar = max_t(unsigned long, hclkp, sdrt->tAR_min); in stm32_fmc2_nfc_calc_timings()
1410 tclr = max_t(unsigned long, hclkp, sdrt->tCLR_min); in stm32_fmc2_nfc_calc_timings()
1422 twait = max_t(unsigned long, hclkp, sdrt->tRP_min); in stm32_fmc2_nfc_calc_timings()
1423 twait = max_t(unsigned long, twait, sdrt->tWP_min); in stm32_fmc2_nfc_calc_timings()
1424 twait = max_t(unsigned long, twait, sdrt->tREA_max + FMC2_TIO); in stm32_fmc2_nfc_calc_timings()
1449 thold_mem = max_t(unsigned long, hclkp, sdrt->tCH_min); in stm32_fmc2_nfc_calc_timings()
1498 thold_att = max_t(unsigned long, hclkp, sdrt->tALH_min); in stm32_fmc2_nfc_calc_timings()
1499 thold_att = max_t(unsigned long, thold_att, sdrt->tCH_min); in stm32_fmc2_nfc_calc_timings()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/
Dsh_css_frac.h34 min_t(int, max_t(int, (((v) >> sSHIFT) >> max(sFRACTION_BITS_FITTING(a) - (b), 0)), \
/linux-6.6.21/include/linux/
Dvirtio_net.h99 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in virtio_net_hdr_to_skb()
107 nh_min_len = max_t(u32, nh_min_len, skb_transport_offset(skb)); in virtio_net_hdr_to_skb()

12345678910>>...31