Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpio-pca953x.c286 int bank_shift = pca953x_bank_shift(chip); in pca953x_check_register() local
287 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() local
328 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() local
448 int addr = (reg & PCAL_GPIO_MASK) << bank_shift; in pca953x_recalc_addr()
/linux-6.12.1/drivers/i2c/
Di2c-stub.c77 u8 bank_shift; member
178 (data->byte >> chip->bank_shift) in stub_xfer()
328 chip->bank_shift++; in i2c_stub_allocate_banks()
/linux-6.12.1/drivers/edac/
Dsynopsys_edac.c329 u32 bank_shift[3]; member
1033 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()