Home
last modified time | relevance | path

Searched refs:BANK_SHIFT (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/microchip/
A Dencx24j600_hw.h22 #define BANK_SELECT(bank) (0xC0 | ((bank & (BANK_MASK >> BANK_SHIFT)) << 1))
91 #define BANK_SHIFT 5 macro
A Dencx24j600-regmap.c65 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()
/linux/drivers/mtd/devices/
A Dspear_smi.c74 #define BANK_SHIFT 12 macro
234 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()

Completed in 11 milliseconds