Home
last modified time | relevance | path

Searched refs:max3 (Results 1 – 25 of 30) sorted by relevance

12

/linux/fs/xfs/libxfs/
H A Dxfs_trans_resv.c368 return XFS_DQUOT_LOGRES + max3(t1, t2, t3); in xfs_calc_write_reservation()
372 return XFS_DQUOT_LOGRES + max(t4, max3(t1, t2, t3)); in xfs_calc_write_reservation()
440 return XFS_DQUOT_LOGRES + max3(t1, t2, t3); in xfs_calc_itruncate_reservation()
444 return XFS_DQUOT_LOGRES + max(t4, max3(t1, t2, t3)); in xfs_calc_itruncate_reservation()
538 return overhead + max3(t1, t2, t3); in xfs_calc_rename_reservation()
623 return overhead + max3(t1, t2, t3); in xfs_calc_link_reservation()
688 return overhead + max3(t1, t2, t3); in xfs_calc_remove_reservation()
770 return overhead + max3(t1, t2, t3); in xfs_calc_icreate_reservation()
/linux/drivers/firmware/
H A Dsysfb_simplefb.c60 bits_per_pixel = max(max3(si->red_size + si->red_pos, in sysfb_parse_mode()
/linux/drivers/mtd/parsers/
H A Dbcm47xxpart.c204 last_subpart = max3(trx->offset[0], trx->offset[1], in bcm47xxpart_parse()
/linux/crypto/
H A Daead.c215 if (max3(alg->maxauthsize, alg->ivsize, alg->chunksize) > in aead_prepare_alg()
/linux/include/linux/
H A Dminmax.h147 * max3 - return maximum of three values
152 #define max3(x, y, z) \
176 #define max3( global() macro
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c123 return max3(x, y, z); in size_h265d_lb_se_left_ctrl()
160 return max3(x, y, z); in size_vpxd_lb_fe_left_ctrl()
176 return max3(x, y, z); in size_vpxd_lb_se_left_ctrl()
/linux/net/ipv4/
H A Dtcp_cdg.c341 return max3(2U, ca->shadow_wnd, tcp_snd_cwnd(tp) >> 1); in tcp_cdg_ssthresh()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c427 return max3(NFP_NET_DEFAULT_MTU, in nfp_bpf_ctrl_cmsg_mtu()
/linux/drivers/macintosh/
H A Dwindfarm_pm121.c476 return max3(new_setpoint, new_min, 0); in pm121_correct()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_pmdemand.c545 *(reg) |= REG_FIELD_PREP((mask), max3(old_val, new_val, current_val)); \ in intel_pmdemand_update_params()
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddebugfs.c1134 pwr = max3(pwr80, pwr40, pwr20); in mt7915_rate_txpower_set()
1135 mphy->txpower_cur = max3(mphy->txpower_cur, pwr160, pwr); in mt7915_rate_txpower_set()
/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1288 timeps = max3(conf->timings.sdr.tCLS_min, conf->timings.sdr.tCS_min, in atmel_smc_nand_prepare_smcconf()
1305 timeps = max3(conf->timings.sdr.tCLH_min, conf->timings.sdr.tCH_min, in atmel_smc_nand_prepare_smcconf()
1307 timeps = max3(timeps, conf->timings.sdr.tDH_min, in atmel_smc_nand_prepare_smcconf()
/linux/drivers/hid/
H A Dhid-lg-g15.c206 high = max3(g15->transfer_buf[1], g15->transfer_buf[2], in lg_g510_get_initial_led_brightness()
/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c339 l3->indices = (max(max3(sc0, sc1, sc2), sc3) << 10) - 1; in amd_calc_l3_indices()
/linux/drivers/mtd/nand/raw/
H A Dfsmc_nand.c336 twait = max3(sdrt->tRP_min, sdrt->tWP_min, twait_min); in fsmc_calc_timings()
H A Dtegra_nand.c792 val = DIV_ROUND_UP(max3(timings->tAR_min, timings->tRR_min, in tegra_nand_setup_timing()
H A Ddenali.c902 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_interface()
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c356 t_max = max3(frm->addr.y, frm->addr.cb, frm->addr.cr); in gsc_set_prefbuf()
/linux/mm/
H A Dpage-writeback.c1485 x = max3(wb->balanced_dirty_ratelimit, in wb_update_dirty_ratelimit()
H A Dvmalloc.c1259 return max3(va_size(va), in compute_subtree_max_size()
/linux/drivers/bus/
H A Dti-sysc.c917 size = max3(ddata->offsets[SYSC_REVISION], in sysc_ioremap()
/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c598 max_rgb = max3(r, g, b); in color_to_hsv()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c2775 range->hotspot_emergency_max = max3(aid_temp, xcd_temp, ccd_temp) * in smu_v13_0_6_get_thermal_temperature_range()
/linux/drivers/tty/vt/
H A Dvt.c1614 u8 hue = 0, max = max3(c->r, c->g, c->b); in rgb_foreground()
/linux/block/
H A Dbfq-iosched.c4317 return max3(bfqq->soft_rt_next_start, in bfq_bfqq_softrt_next_start()

12