Searched refs:bank_shift (Results 1 – 3 of 3) sorted by relevance
286 int bank_shift = pca953x_bank_shift(chip); in pca953x_check_register() local287 int bank = (reg & REG_ADDR_MASK) >> bank_shift; in pca953x_check_register()288 int offset = reg & (BIT(bank_shift) - 1); in pca953x_check_register()318 int bank_shift; in pcal6534_check_register() local328 bank_shift = 16; in pcal6534_check_register()335 bank_shift = 8; in pcal6534_check_register()337 bank_shift = 0; in pcal6534_check_register()340 bank = bank_shift + reg / NBANK(chip); in pcal6534_check_register()447 int bank_shift = pca953x_bank_shift(chip); in pca953x_recalc_addr() local448 int addr = (reg & PCAL_GPIO_MASK) << bank_shift; in pca953x_recalc_addr()
77 u8 bank_shift; member178 (data->byte >> chip->bank_shift) in stub_xfer()328 chip->bank_shift++; in i2c_stub_allocate_banks()
329 u32 bank_shift[3]; member1033 if (priv->bank_shift[index]) in ddr_poison_setup()1034 bank |= (((hif_addr >> priv->bank_shift[index]) & in ddr_poison_setup()1308 priv->bank_shift[0] = (addrmap[1] & BANK_MAX_VAL_MASK) + BANK_B0_BASE; in setup_bank_address_map()1309 priv->bank_shift[1] = ((addrmap[1] >> 8) & in setup_bank_address_map()1311 priv->bank_shift[2] = (((addrmap[1] >> 16) & in setup_bank_address_map()