Lines Matching refs:cs_cfg
159 u32 cs_cfg; in ixp4xx_exp_setup_chipselect() local
192 IXP4XX_EXP_TIMING_STRIDE * cs_index, &cs_cfg); in ixp4xx_exp_setup_chipselect()
195 cur_cssize, cs_cfg); in ixp4xx_exp_setup_chipselect()
207 cs_cfg &= ~(IXP4XX_EXP_SIZE_MASK); in ixp4xx_exp_setup_chipselect()
208 cs_cfg |= ((cs_order - 9) << IXP4XX_EXP_SIZE_SHIFT); in ixp4xx_exp_setup_chipselect()
221 cs_cfg |= ip->mask; in ixp4xx_exp_setup_chipselect()
223 cs_cfg &= ~ip->mask; in ixp4xx_exp_setup_chipselect()
237 cs_cfg &= ~ip->mask; in ixp4xx_exp_setup_chipselect()
238 cs_cfg |= (val << ip->shift); in ixp4xx_exp_setup_chipselect()
249 cs_cfg &= ~IXP4XX_EXP_CYC_TYPE_MASK; in ixp4xx_exp_setup_chipselect()
250 cs_cfg |= val << IXP4XX_EXP_CYC_TYPE_SHIFT; in ixp4xx_exp_setup_chipselect()
255 cs_cfg &= ~IXP4XX_EXP_WORD; in ixp4xx_exp_setup_chipselect()
260 if (cs_cfg & IXP43X_EXP_SYNC_INTEL) in ixp4xx_exp_setup_chipselect()
263 cs_cfg |= IXP4XX_EXP_CS_EN; in ixp4xx_exp_setup_chipselect()
267 cs_cfg); in ixp4xx_exp_setup_chipselect()
268 dev_info(eb->dev, "CS%d wrote %#08x into CS config\n", cs_index, cs_cfg); in ixp4xx_exp_setup_chipselect()