Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c230 u32 spare_reg; in mxic_ecc_init_ctx() local
300 spare_reg = readl(mxic->regs + SPARE_SIZE); in mxic_ecc_init_ctx()
305 ctx->parity_sz = PARITY_SZ(spare_reg); in mxic_ecc_init_ctx()
306 ctx->meta_sz = META_SZ(spare_reg); in mxic_ecc_init_ctx()
329 dev_err(dev, "Spare size: %d\n", SPARE_SZ(spare_reg)); in mxic_ecc_init_ctx()
330 dev_err(dev, "Rsv size: %ld\n", RSV_SZ(spare_reg)); in mxic_ecc_init_ctx()
334 if ((ctx->meta_sz + ctx->parity_sz + RSV_SZ(spare_reg)) != in mxic_ecc_init_ctx()
335 SPARE_SZ(spare_reg)) { in mxic_ecc_init_ctx()
337 ctx->meta_sz, ctx->parity_sz, RSV_SZ(spare_reg), in mxic_ecc_init_ctx()
338 SPARE_SZ(spare_reg)); in mxic_ecc_init_ctx()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl12xx/
H A Dmain.c787 u16 spare_reg; in wl128x_switch_tcxo_to_fref() local
791 ret = wl12xx_top_reg_read(wl, WL_SPARE_REG, &spare_reg); in wl128x_switch_tcxo_to_fref()
795 if (spare_reg == 0xFFFF) in wl128x_switch_tcxo_to_fref()
797 spare_reg |= (BIT(3) | BIT(5) | BIT(6)); in wl128x_switch_tcxo_to_fref()
798 ret = wl12xx_top_reg_write(wl, WL_SPARE_REG, spare_reg); in wl128x_switch_tcxo_to_fref()
865 u16 spare_reg; in wl128x_configure_mcs_pll() local
872 ret = wl12xx_top_reg_read(wl, WL_SPARE_REG, &spare_reg); in wl128x_configure_mcs_pll()
876 if (spare_reg == 0xFFFF) in wl128x_configure_mcs_pll()
878 spare_reg |= BIT(2); in wl128x_configure_mcs_pll()
879 ret = wl12xx_top_reg_write(wl, WL_SPARE_REG, spare_reg); in wl128x_configure_mcs_pll()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon.c290 ef4_oword_t spare_reg; /* 0x390 */ member