Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/
Dskd_main.c283 static inline u32 skd_reg_read32(struct skd_device *skdev, u32 offset) in skd_reg_read32() argument
285 u32 val = readl(skdev->mem_map[1] + offset); in skd_reg_read32()
287 if (unlikely(skdev->dbg_level >= 2)) in skd_reg_read32()
288 dev_dbg(&skdev->pdev->dev, "offset %x = %x\n", offset, val); in skd_reg_read32()
292 static inline void skd_reg_write32(struct skd_device *skdev, u32 val, in skd_reg_write32() argument
295 writel(val, skdev->mem_map[1] + offset); in skd_reg_write32()
296 if (unlikely(skdev->dbg_level >= 2)) in skd_reg_write32()
297 dev_dbg(&skdev->pdev->dev, "offset %x = %x\n", offset, val); in skd_reg_write32()
300 static inline void skd_reg_write64(struct skd_device *skdev, u64 val, in skd_reg_write64() argument
303 writeq(val, skdev->mem_map[1] + offset); in skd_reg_write64()
[all …]