Lines Matching refs:uma_cfg
339 u32 uma_cfg = BIT(10); in npcm_fiu_uma_read() local
353 uma_cfg |= ilog2(op->cmd.buswidth); in npcm_fiu_uma_read()
354 uma_cfg |= ilog2(op->addr.buswidth) in npcm_fiu_uma_read()
357 uma_cfg |= ilog2(op->dummy.buswidth) in npcm_fiu_uma_read()
359 uma_cfg |= ilog2(op->data.buswidth) in npcm_fiu_uma_read()
361 uma_cfg |= op->dummy.nbytes << NPCM_FIU_UMA_CFG_DBSIZ_SHIFT; in npcm_fiu_uma_read()
362 uma_cfg |= op->addr.nbytes << NPCM_FIU_UMA_CFG_ADDSIZ_SHIFT; in npcm_fiu_uma_read()
368 uma_cfg |= data_size << NPCM_FIU_UMA_CFG_RDATSIZ_SHIFT; in npcm_fiu_uma_read()
369 regmap_write(fiu->regmap, NPCM_FIU_UMA_CFG, uma_cfg); in npcm_fiu_uma_read()
395 u32 uma_cfg = BIT(10); in npcm_fiu_uma_write() local
416 uma_cfg |= ilog2(op->cmd.buswidth); in npcm_fiu_uma_write()
417 uma_cfg |= ilog2(op->addr.buswidth) << in npcm_fiu_uma_write()
419 uma_cfg |= ilog2(op->data.buswidth) << in npcm_fiu_uma_write()
421 uma_cfg |= op->addr.nbytes << NPCM_FIU_UMA_CFG_ADDSIZ_SHIFT; in npcm_fiu_uma_write()
427 uma_cfg |= (data_size << NPCM_FIU_UMA_CFG_WDATSIZ_SHIFT); in npcm_fiu_uma_write()
428 regmap_write(fiu->regmap, NPCM_FIU_UMA_CFG, uma_cfg); in npcm_fiu_uma_write()