Home
last modified time | relevance | path

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

12

/external/u-boot/drivers/ddr/microchip/
Dddr2.c105 hc_delay = max_t(u32, DIV_ROUND_UP(delay, T_CK), 2) - 2; in host_load_cmd()
150 wr2rd = max_t(u32, DIV_ROUND_UP(T_WTR, T_CK_CTRL), in ddr2_ctrl_init()
152 wr2rd_cs = max_t(u32, wr2rd - 1, 3); in ddr2_ctrl_init()
154 rd2prech = max_t(u32, DIV_ROUND_UP(T_RTP, T_CK_CTRL), in ddr2_ctrl_init()
156 ras2ras = max_t(u32, DIV_ROUND_UP(T_RRD, T_CK_CTRL), in ddr2_ctrl_init()
173 ((max_t(u32, T_XP_TCK, T_CKE_TCK) - 1) << 20) | in ddr2_ctrl_init()
/external/u-boot/drivers/mtd/nand/raw/
Dlpc32xx_nand_slc.c63 #define TAC_W_RDY(n) (max_t(uint32_t, (n), 0xF) << 28)
64 #define TAC_W_WIDTH(n) (max_t(uint32_t, (n), 0xF) << 24)
65 #define TAC_W_HOLD(n) (max_t(uint32_t, (n), 0xF) << 20)
66 #define TAC_W_SETUP(n) (max_t(uint32_t, (n), 0xF) << 16)
67 #define TAC_R_RDY(n) (max_t(uint32_t, (n), 0xF) << 12)
68 #define TAC_R_WIDTH(n) (max_t(uint32_t, (n), 0xF) << 8)
69 #define TAC_R_HOLD(n) (max_t(uint32_t, (n), 0xF) << 4)
70 #define TAC_R_SETUP(n) (max_t(uint32_t, (n), 0xF) << 0)
443 max_bitflips = max_t(unsigned int, max_bitflips, stat); in lpc32xx_read_page_hwecc()
Dstm32_fmc2_nand.c565 max_bitflips = max_t(unsigned int, max_bitflips, stat); in stm32_fmc2_read_page()
633 tar = max_t(unsigned long, hclkp, sdrt->tAR_min); in stm32_fmc2_calc_timings()
637 tclr = max_t(unsigned long, hclkp, sdrt->tCLR_min); in stm32_fmc2_calc_timings()
649 twait = max_t(unsigned long, hclkp, sdrt->tRP_min); in stm32_fmc2_calc_timings()
650 twait = max_t(unsigned long, twait, sdrt->tWP_min); in stm32_fmc2_calc_timings()
651 twait = max_t(unsigned long, twait, sdrt->tREA_max + FMC2_TIO); in stm32_fmc2_calc_timings()
676 thold_mem = max_t(unsigned long, hclkp, sdrt->tCH_min); in stm32_fmc2_calc_timings()
725 thold_att = max_t(unsigned long, hclkp, sdrt->tALH_min); in stm32_fmc2_calc_timings()
726 thold_att = max_t(unsigned long, thold_att, sdrt->tCH_min); in stm32_fmc2_calc_timings()
727 thold_att = max_t(unsigned long, thold_att, sdrt->tCLH_min); in stm32_fmc2_calc_timings()
[all …]
Dnand_base.c1882 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_swecc()
1994 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_subpage()
2060 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc()
2130 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc_oob_first()
2209 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_syndrome()
2385 max_bitflips = max_t(unsigned int, max_bitflips, ret); in nand_do_read_ops()
2440 max_bitflips = max_t(unsigned int, max_bitflips, in nand_do_read_ops()
Ddenali.c336 max_bitflips = max_t(unsigned int, max_bitflips, stat); in denali_check_erased_page()
1045 rdwr_en_lo_hi = max_t(int, rdwr_en_lo_hi, mult_x); in denali_setup_data_interface()
Dpxa3xx_nand.c705 info->max_bitflips = max_t(unsigned int, in pxa3xx_nand_irq()
1263 info->max_bitflips = max_t(unsigned int, in pxa3xx_nand_read_page_hwecc()
Dsunxi_nand.c897 *max_bitflips = max_t(unsigned int, *max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunk()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h39 #define max_t(type, x, y) ((x) > (y) ? (x) : (y)) macro
959 size.width = max_t(uint32, base_level.width >> mip_level, 1); in svga3dsurface_get_mip_size()
960 size.height = max_t(uint32, base_level.height >> mip_level, 1); in svga3dsurface_get_mip_size()
961 size.depth = max_t(uint32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()
/external/u-boot/include/linux/
Dkernel.h223 #define max_t(type, x, y) ({ \ macro
238 #define clamp_t(type, val, lo, hi) min_t(type, max_t(type, val, lo), hi)
/external/u-boot/drivers/watchdog/
Dcdns_wdt.c147 timeout = max_t(u64, timeout, CDNS_WDT_MIN_TIMEOUT); in cdns_wdt_start()
/external/u-boot/drivers/pci_endpoint/
Dpcie-cadence-ep.c61 sz = max_t(size_t, ep_bar->size, CDNS_PCIE_EP_MIN_APERTURE); in cdns_set_bar()
/external/libnl/include/netlink-private/
Dnetlink.h172 #define max_t(type,x,y) \ macro
/external/u-boot/drivers/spi/
Dmeson_spifc.c228 n = max_t(int, parent / speed - 1, 1); in meson_spifc_set_speed()
/external/tensorflow/tensorflow/python/training/
Dserver_lib_test.py147 max_t = math_ops.reduce_max(p)
148 min_val, max_val = sess.run([min_t, max_t], feed_dict={p: feed_val})
/external/u-boot/lib/efi_loader/
Defi_image_loader.c267 virt_size = max_t(unsigned long, virt_size, in efi_load_pe()
/external/libnl/lib/
Dmsg.c156 return max_t(int, nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen), 0); in nlmsg_attrlen()
/external/u-boot/drivers/mtd/ubi/
Dio.c1347 int dump_len = max_t(int, 128, len - i); in self_check_write()
/external/u-boot/drivers/ata/
Dahci.c1187 uc_plat->max_id = max_t(unsigned long, uc_priv->n_ports, in ahci_probe_scsi()
/external/u-boot/fs/ubifs/
Dlpt.c114 per_leb_wastage = max_t(int, c->pnode_sz, c->nnode_sz); in do_calc_lpt_geom()
1634 i = max_t(int, c->nnode_sz, c->pnode_sz); in lpt_init_rd()
/external/u-boot/drivers/usb/musb-new/
Dmusb_core.c92 #define TA_WAIT_BCON(m) max_t(int, (m)->a_wait_bcon, OTG_TIME_A_WAIT_BCON)
1741 musb->a_wait_bcon = val ? max_t(int, val, OTG_TIME_A_WAIT_BCON) : 0 ; in musb_vbus_store()
Dmusb_host.c2016 interval = max_t(u8, epd->bInterval, 1);
/external/u-boot/drivers/mtd/onenand/
Donenand_base.c789 int st = max_t(int,free->offset,readcol); in onenand_transfer_auto_oob()
1391 int st = max_t(int,free->offset,writecol); in onenand_fill_auto_oob()
/external/u-boot/drivers/mtd/nand/spi/
Dcore.c595 max_bitflips = max_t(unsigned int, max_bitflips, ret); in spinand_mtd_read()
/external/u-boot/drivers/mtd/
Dmtdcore.c1722 size_t min_alloc = max_t(size_t, mtd->writesize, PAGE_SIZE); in mtd_kmalloc_up_to()
/external/u-boot/drivers/ufs/
Dufs.c1569 buff_len = max_t(size_t, hba->desc_size.dev_desc, in ufs_get_device_desc()

12