Home
last modified time | relevance | path

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

12345678910>>...33

/linux-6.12.1/fs/smb/server/
Dsmb2misc.c104 *off = max_t(unsigned short int, in smb2_get_data_area_len()
112 max_t(unsigned short int, in smb2_get_data_area_len()
135 *off = max_t(unsigned int, in smb2_get_data_area_len()
141 *off = max_t(unsigned int, in smb2_get_data_area_len()
153 *off = max_t(unsigned short int, in smb2_get_data_area_len()
164 *off = max_t(unsigned short int, in smb2_get_data_area_len()
181 *off = max_t(unsigned int, in smb2_get_data_area_len()
336 credit_charge = max_t(unsigned short, credit_charge, 1); in smb2_validate_credit_charge()
337 max_len = max_t(unsigned int, req_len, expect_resp_len); in smb2_validate_credit_charge()
/linux-6.12.1/drivers/scsi/fnic/
Dfnic_res.c65 max_t(u32, VNIC_FNIC_WQ_DESCS_MIN, in fnic_get_vnic_config()
71 max_t(u32, VNIC_FNIC_WQ_COPY_DESCS_MIN, in fnic_get_vnic_config()
77 max_t(u32, VNIC_FNIC_RQ_DESCS_MIN, in fnic_get_vnic_config()
83 max_t(u16, VNIC_FNIC_MAXDATAFIELDSIZE_MIN, in fnic_get_vnic_config()
87 max_t(u32, VNIC_FNIC_EDTOV_MIN, in fnic_get_vnic_config()
92 max_t(u32, VNIC_FNIC_RATOV_MIN, in fnic_get_vnic_config()
100 max_t(u32, VNIC_FNIC_FLOGI_TIMEOUT_MIN, in fnic_get_vnic_config()
108 max_t(u32, VNIC_FNIC_PLOGI_TIMEOUT_MIN, in fnic_get_vnic_config()
113 max_t(u32, VNIC_FNIC_IO_THROTTLE_COUNT_MIN, in fnic_get_vnic_config()
130 max_t(u32, VNIC_FNIC_LUNS_PER_TARGET_MIN, in fnic_get_vnic_config()
/linux-6.12.1/include/crypto/
Dif_alg.h190 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf()
216 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
/linux-6.12.1/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.12.1/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.12.1/drivers/memory/
Domap-gpmc.c1577 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); in gpmc_calc_sync_read_timings()
1578 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); in gpmc_calc_sync_read_timings()
1585 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); in gpmc_calc_sync_read_timings()
1586 temp = max_t(u32, temp, gpmc_t->adv_rd_off + in gpmc_calc_sync_read_timings()
1596 temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); in gpmc_calc_sync_read_timings()
1599 temp = max_t(u32, temp, gpmc_t->oe_on + in gpmc_calc_sync_read_timings()
1607 temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez); in gpmc_calc_sync_read_timings()
1612 temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); in gpmc_calc_sync_read_timings()
1627 temp = max_t(u32, temp, in gpmc_calc_sync_write_timings()
1629 temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); in gpmc_calc_sync_write_timings()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/drivers/interconnect/qcom/
Dicc-rpmh.c98 qn->max_peak[i] = max_t(u32, qn->max_peak[i], peak_bw); in qcom_icc_aggregate()
102 qn->sum_avg[i] = max_t(u64, qn->sum_avg[i], node->init_avg); in qcom_icc_aggregate()
103 qn->max_peak[i] = max_t(u64, qn->max_peak[i], node->init_peak); in qcom_icc_aggregate()
108 *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()
315 agg_rate = max_t(u64, agg_avg_rate, agg_peak_rate); in qcom_icc_calc_rate()
339 agg_clk_rate[ctx] = max_t(u64, agg_clk_rate[ctx], in qcom_icc_bus_aggregate()
387 active_rate = max_t(u64, active_rate, sleep_rate); in qcom_icc_set()
/linux-6.12.1/include/linux/
Dclosure.h467 _t = max_t(long, 1L, _until - jiffies); \
470 _t = max_t(long, 0L, _until - jiffies); \
488 ? max_t(long, 1L, _until - jiffies) \
/linux-6.12.1/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.12.1/drivers/gpu/drm/vmwgfx/
Dvmw_surface_cache.h67 .width = max_t(u32, base_level.width >> mip_level, 1), in vmw_surface_get_mip_size()
68 .height = max_t(u32, base_level.height >> mip_level, 1), in vmw_surface_get_mip_size()
69 .depth = max_t(u32, base_level.depth >> mip_level, 1) in vmw_surface_get_mip_size()
185 total_size *= max_t(u32, 1, num_samples); in vmw_surface_get_serialized_size_extended()
/linux-6.12.1/drivers/irqchip/
Dirq-gic-v3-its-msi-parent.c91 nvec = max_t(int, minnvec, roundup_pow_of_two(nvec)); in its_pci_msi_prepare()
155 nvec = max_t(int, 32, roundup_pow_of_two(nvec)); in its_pmsi_prepare()
/linux-6.12.1/net/batman-adv/
Dmain.c337 header_len = max_t(int, header_len, in batadv_max_header_len()
339 header_len = max_t(int, header_len, in batadv_max_header_len()
341 header_len = max_t(int, header_len, in batadv_max_header_len()
345 header_len = max_t(int, header_len, in batadv_max_header_len()
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/fs/xfs/libxfs/
Dxfs_btree.h434 #define XFS_EXTLEN_MAX(a,b) max_t(xfs_extlen_t, (a), (b))
436 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b))
438 #define XFS_FILEOFF_MAX(a,b) max_t(xfs_fileoff_t, (a), (b))
440 #define XFS_FILBLKS_MAX(a,b) max_t(xfs_filblks_t, (a), (b))
/linux-6.12.1/fs/bcachefs/
Dtime_stats.c48 e->step = max_t(unsigned, v / 2, 1024); in quantiles_update()
60 e->step = max_t(unsigned, e->step / 2, 1); in quantiles_update()
/linux-6.12.1/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c740 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_read_page()
1096 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_nfc_seq_correct()
1423 tar = max_t(unsigned long, hclkp, sdrt->tAR_min); in stm32_fmc2_nfc_calc_timings()
1427 tclr = max_t(unsigned long, hclkp, sdrt->tCLR_min); in stm32_fmc2_nfc_calc_timings()
1439 twait = max_t(unsigned long, hclkp, sdrt->tRP_min); in stm32_fmc2_nfc_calc_timings()
1440 twait = max_t(unsigned long, twait, sdrt->tWP_min); in stm32_fmc2_nfc_calc_timings()
1441 twait = max_t(unsigned long, twait, sdrt->tREA_max + FMC2_TIO); in stm32_fmc2_nfc_calc_timings()
1466 thold_mem = max_t(unsigned long, hclkp, sdrt->tCH_min); in stm32_fmc2_nfc_calc_timings()
1515 thold_att = max_t(unsigned long, hclkp, sdrt->tALH_min); in stm32_fmc2_nfc_calc_timings()
1516 thold_att = max_t(unsigned long, thold_att, sdrt->tCH_min); in stm32_fmc2_nfc_calc_timings()
[all …]
/linux-6.12.1/arch/sh/kernel/
Dio_trapped.c236 max_t(unsigned long, cnt, in from_device()
259 dst_addr, max_t(unsigned long, cnt, in to_device()

12345678910>>...33