Home
last modified time | relevance | path

Searched refs:LOG2 (Results 1 – 10 of 10) sorted by relevance

/u-boot/include/
A Dfsl_ifc.h76 (LOG2(n) - IFC_AMASK_SHIFT))
117 #define CSOR_NAND_PB(n) ((LOG2(n) - 5) << CSOR_NAND_PB_SHIFT)
170 #define CSOR_GPCM_GPTO(n) ((LOG2(n) - 8) << CSOR_GPCM_GPTO_SHIFT)
650 #define IFC_NAND_NCR_FTOCNT(n) ((LOG2(n) - 8) << IFC_NAND_NCR_FTOCNT_SHIFT)
733 #define IFC_NORCR_STOCNT(n) ((LOG2(n) - 8) << IFC_NORCR_STOCNT_SHIFT)
A Dpart.h20 #define LOG2(x) (((x & 0xaaaaaaaa) ? 1 : 0) + ((x & 0xcccccccc) ? 2 : 0) + \ macro
/u-boot/drivers/ata/
A Dsata.c102 sata_dev_desc[i].log2blksz = LOG2(sata_dev_desc[i].blksz); in __sata_initialize()
/u-boot/disk/
A Dpart.c575 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
651 (*dev_desc)->log2blksz = LOG2((*dev_desc)->blksz); in blk_get_device_part_str()
/u-boot/drivers/block/
A Dide.c534 dev_desc->log2blksz = LOG2(dev_desc->blksz); in atapi_inquiry()
692 dev_desc->log2blksz = LOG2(dev_desc->blksz); in ide_ident()
A Dblk-uclass.c589 desc->log2blksz = LOG2(desc->blksz); in blk_create_device()
/u-boot/drivers/scsi/
A Dscsi.c549 dev_desc->log2blksz = LOG2(dev_desc->blksz); in scsi_detect_dev()
/u-boot/drivers/xen/
A Dpvblock.c702 desc->log2blksz = LOG2(blk_dev->info.sector_size); in pvblock_blk_probe()
/u-boot/common/
A Dusb_storage.c1500 dev_desc->log2blksz = LOG2(dev_desc->blksz); in usb_stor_get_info()
/u-boot/drivers/mmc/
A Dmmc.c2614 bdesc->log2blksz = LOG2(bdesc->blksz); in mmc_startup()

Completed in 22 milliseconds