Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/host/
H A Dapple.c203 static inline struct apple_nvme *ctrl_to_apple_nvme(struct nvme_ctrl *ctrl) in ctrl_to_apple_nvme() function
1186 *val = readl(ctrl_to_apple_nvme(ctrl)->mmio_nvme + off); in apple_nvme_reg_read32()
1192 writel(val, ctrl_to_apple_nvme(ctrl)->mmio_nvme + off); in apple_nvme_reg_write32()
1198 *val = readq(ctrl_to_apple_nvme(ctrl)->mmio_nvme + off); in apple_nvme_reg_read64()
1204 struct device *dev = ctrl_to_apple_nvme(ctrl)->dev; in apple_nvme_get_address()
1211 struct apple_nvme *anv = ctrl_to_apple_nvme(ctrl); in apple_nvme_free_ctrl()