Lines Matching refs:MAX
370 #define MAX(a, b) ((a) > (b) ? (a) : (b)) in mctl_channel_init() macro
386 const u32 tRTP = MAX(para->tRTP.ck, PS2CYCLES_ROUNDUP(para->tRTP.ps)); in mctl_channel_init()
387 const u32 tWTR = MAX(para->tWTR.ck, PS2CYCLES_ROUNDUP(para->tWTR.ps)); in mctl_channel_init()
390 const u32 tMOD = MAX(para->tMOD.ck, PS2CYCLES_ROUNDUP(para->tMOD.ps)); in mctl_channel_init()
392 const u32 tRRD = MAX(para->tRRD.ck, PS2CYCLES_ROUNDUP(para->tRRD.ps)); in mctl_channel_init()
398 const u32 tZQoper = MAX(para->tZQoper.ck, in mctl_channel_init()
400 const u32 tZQCS = MAX(para->tZQCS.ck, in mctl_channel_init()
408 const u32 tXP = MAX(para->tXP.ck, PS2CYCLES_ROUNDUP(para->tXP.ps)); in mctl_channel_init()
409 const u32 tXPDLL = MAX(para->tXPDLL.ck, in mctl_channel_init()
411 const u32 tCKE = MAX(para->tCKE.ck, PS2CYCLES_ROUNDUP(para->tCKE.ps)); in mctl_channel_init()
417 const u32 tXS = MAX(para->tXS.ck, PS2CYCLES_ROUNDUP(para->tXS.ps)); in mctl_channel_init()
419 const u32 tCKSRE = MAX(para->tCKSRE.ck, in mctl_channel_init()
422 const u32 tCKSRX = MAX(para->tCKSRX.ck, in mctl_channel_init()
649 writel((tXS << 0) | (MAX(tXP, tXPDLL) << 10) | in mctl_channel_init()