Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
Dlpc32xx_nand_slc.c68 #define TAC_W_RDY(n) (max_t(uint32_t, (n), 0xF) << 28)
69 #define TAC_W_WIDTH(n) (max_t(uint32_t, (n), 0xF) << 24)
70 #define TAC_W_HOLD(n) (max_t(uint32_t, (n), 0xF) << 20)
71 #define TAC_W_SETUP(n) (max_t(uint32_t, (n), 0xF) << 16)
72 #define TAC_R_RDY(n) (max_t(uint32_t, (n), 0xF) << 12)
73 #define TAC_R_WIDTH(n) (max_t(uint32_t, (n), 0xF) << 8)
74 #define TAC_R_HOLD(n) (max_t(uint32_t, (n), 0xF) << 4)
75 #define TAC_R_SETUP(n) (max_t(uint32_t, (n), 0xF) << 0)
479 max_bitflips = max_t(unsigned int, max_bitflips, stat); in lpc32xx_read_page_hwecc()
Dnand_base.c1310 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_swecc()
1413 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_subpage()
1471 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc()
1532 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_hwecc_oob_first()
1596 max_bitflips = max_t(unsigned int, max_bitflips, stat); in nand_read_page_syndrome()
1766 max_bitflips = max_t(unsigned int, max_bitflips, ret); in nand_do_read_ops()
1821 max_bitflips = max_t(unsigned int, max_bitflips, in nand_do_read_ops()
Ddenali.c339 max_bitflips = max_t(unsigned int, max_bitflips, stat); in denali_check_erased_page()
Dpxa3xx_nand.c603 info->max_bitflips = max_t(unsigned int, in pxa3xx_nand_irq()
Dsunxi_nand.c897 *max_bitflips = max_t(unsigned int, *max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunk()
/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/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h36 #define max_t(type, x, y) ((x) > (y) ? (x) : (y)) macro
956 size.width = max_t(uint32, base_level.width >> mip_level, 1); in svga3dsurface_get_mip_size()
957 size.height = max_t(uint32, base_level.height >> mip_level, 1); in svga3dsurface_get_mip_size()
958 size.depth = max_t(uint32, base_level.depth >> mip_level, 1); in svga3dsurface_get_mip_size()
/external/u-boot/include/linux/
Dkernel.h205 #define max_t(type, x, y) ({ \ macro
220 #define clamp_t(type, val, lo, hi) min_t(type, max_t(type, val, lo), hi)
/external/libnl/include/netlink-private/
Dnetlink.h172 #define max_t(type,x,y) \ macro
/external/u-boot/lib/efi_loader/
Defi_image_loader.c247 virt_size = max_t(unsigned long, virt_size, in efi_load_pe()
/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/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.c1346 int dump_len = max_t(int, 128, len - i); in self_check_write()
/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)
1740 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/spi/
Dspi_flash.c605 lptr_64k = max_t(u32, ofs, SST26_BOUND_REG_SIZE); in sst26_lock_ctl()
/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/
Dmtdcore.c1603 size_t min_alloc = max_t(size_t, mtd->writesize, PAGE_SIZE); in mtd_kmalloc_up_to()