Searched refs:BANK_SHIFT (Results 1 – 3 of 3) sorted by relevance
22 #define BANK_SELECT(bank) (0xC0 | ((bank & (BANK_MASK >> BANK_SHIFT)) << 1))91 #define BANK_SHIFT 5 macro
65 u8 bank = ((reg & BANK_MASK) >> BANK_SHIFT); in regmap_encx24j600_sfr_read()116 u8 bank = ((reg & BANK_MASK) >> BANK_SHIFT); in regmap_encx24j600_sfr_update()
74 #define BANK_SHIFT 12 macro234 writel((bank << BANK_SHIFT) | RD_STATUS_REG | TFIE, in spear_smi_read_sr()392 writel((bank << BANK_SHIFT) | WE | TFIE, dev->io_base + SMI_CR2); in spear_smi_write_enable()466 writel((bank << BANK_SHIFT) | SEND | TFIE | (bytes << TX_LEN_SHIFT), in spear_smi_erase_sector()764 val = (bank << BANK_SHIFT) | SEND | (1 << TX_LEN_SHIFT) | in spear_smi_probe_flash()