Searched refs:uma_cfg (Results 1 – 2 of 2) sorted by relevance
339 u32 uma_cfg = BIT(10); in npcm_fiu_uma_read() local353 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()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() local416 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()[all …]
304 static void send_dummy_bits(SSIBus *spi, uint32_t uma_cfg, uint32_t uma_cmd) in send_dummy_bits() argument306 unsigned int bits_per_clock = 1U << FIU_UMA_CFG_DBPCK(uma_cfg); in send_dummy_bits()309 for (i = 0; i < FIU_UMA_CFG_DBSIZ(uma_cfg); i++) { in send_dummy_bits()324 uint32_t uma_cfg; in npcm7xx_fiu_uma_transaction() local334 uma_cfg = s->regs[NPCM7XX_FIU_UMA_CFG]; in npcm7xx_fiu_uma_transaction()335 if (FIU_UMA_CFG_CMDSIZ(uma_cfg) > 0) { in npcm7xx_fiu_uma_transaction()340 send_address(s->spi, FIU_UMA_CFG_ADDSIZ(uma_cfg), in npcm7xx_fiu_uma_transaction()344 for (i = 0; i < FIU_UMA_CFG_WDATSIZ(uma_cfg); i++) { in npcm7xx_fiu_uma_transaction()353 send_dummy_bits(s->spi, uma_cfg, s->regs[NPCM7XX_FIU_UMA_CMD]); in npcm7xx_fiu_uma_transaction()356 for (i = 0; i < FIU_UMA_CFG_RDATSIZ(uma_cfg); i++) { in npcm7xx_fiu_uma_transaction()