Searched refs:skdev (Results 1 – 1 of 1) sorted by relevance
/drivers/block/ |
D | skd_main.c | 360 static inline u32 skd_reg_read32(struct skd_device *skdev, u32 offset) in skd_reg_read32() argument 364 if (likely(skdev->dbg_level < 2)) in skd_reg_read32() 365 return readl(skdev->mem_map[1] + offset); in skd_reg_read32() 368 val = readl(skdev->mem_map[1] + offset); in skd_reg_read32() 371 skdev->name, __func__, __LINE__, offset, val); in skd_reg_read32() 377 static inline void skd_reg_write32(struct skd_device *skdev, u32 val, in skd_reg_write32() argument 380 if (likely(skdev->dbg_level < 2)) { in skd_reg_write32() 381 writel(val, skdev->mem_map[1] + offset); in skd_reg_write32() 385 writel(val, skdev->mem_map[1] + offset); in skd_reg_write32() 388 skdev->name, __func__, __LINE__, offset, val); in skd_reg_write32() [all …]
|