/external/u-boot/drivers/ddr/microchip/ |
D | ddr2.c | 105 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/ |
D | lpc32xx_nand_slc.c | 63 #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()
|
D | stm32_fmc2_nand.c | 565 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 …]
|
D | nand_base.c | 1882 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()
|
D | denali.c | 336 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()
|
D | pxa3xx_nand.c | 705 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()
|
D | sunxi_nand.c | 897 *max_bitflips = max_t(unsigned int, *max_bitflips, ret); in sunxi_nfc_hw_ecc_read_chunk()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 39 #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/ |
D | kernel.h | 223 #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/ |
D | cdns_wdt.c | 147 timeout = max_t(u64, timeout, CDNS_WDT_MIN_TIMEOUT); in cdns_wdt_start()
|
/external/u-boot/drivers/pci_endpoint/ |
D | pcie-cadence-ep.c | 61 sz = max_t(size_t, ep_bar->size, CDNS_PCIE_EP_MIN_APERTURE); in cdns_set_bar()
|
/external/libnl/include/netlink-private/ |
D | netlink.h | 172 #define max_t(type,x,y) \ macro
|
/external/u-boot/drivers/spi/ |
D | meson_spifc.c | 228 n = max_t(int, parent / speed - 1, 1); in meson_spifc_set_speed()
|
/external/tensorflow/tensorflow/python/training/ |
D | server_lib_test.py | 147 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/ |
D | efi_image_loader.c | 267 virt_size = max_t(unsigned long, virt_size, in efi_load_pe()
|
/external/libnl/lib/ |
D | msg.c | 156 return max_t(int, nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen), 0); in nlmsg_attrlen()
|
/external/u-boot/drivers/mtd/ubi/ |
D | io.c | 1347 int dump_len = max_t(int, 128, len - i); in self_check_write()
|
/external/u-boot/drivers/ata/ |
D | ahci.c | 1187 uc_plat->max_id = max_t(unsigned long, uc_priv->n_ports, in ahci_probe_scsi()
|
/external/u-boot/fs/ubifs/ |
D | lpt.c | 114 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/ |
D | musb_core.c | 92 #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()
|
D | musb_host.c | 2016 interval = max_t(u8, epd->bInterval, 1);
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_base.c | 789 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/ |
D | core.c | 595 max_bitflips = max_t(unsigned int, max_bitflips, ret); in spinand_mtd_read()
|
/external/u-boot/drivers/mtd/ |
D | mtdcore.c | 1722 size_t min_alloc = max_t(size_t, mtd->writesize, PAGE_SIZE); in mtd_kmalloc_up_to()
|
/external/u-boot/drivers/ufs/ |
D | ufs.c | 1569 buff_len = max_t(size_t, hba->desc_size.dev_desc, in ufs_get_device_desc()
|