Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/
Daspeed-lpc-ctrl.c49 struct aspeed_lpc_ctrl *lpc_ctrl = file_aspeed_lpc_ctrl(file); in aspeed_lpc_ctrl_mmap() local
53 if (vma->vm_pgoff + vma_pages(vma) > lpc_ctrl->mem_size >> PAGE_SHIFT) in aspeed_lpc_ctrl_mmap()
60 (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, in aspeed_lpc_ctrl_mmap()
70 struct aspeed_lpc_ctrl *lpc_ctrl = file_aspeed_lpc_ctrl(file); in aspeed_lpc_ctrl_ioctl() local
93 map.size = lpc_ctrl->mem_size; in aspeed_lpc_ctrl_ioctl()
129 addr = lpc_ctrl->pnor_base; in aspeed_lpc_ctrl_ioctl()
130 size = lpc_ctrl->pnor_size; in aspeed_lpc_ctrl_ioctl()
132 addr = lpc_ctrl->mem_base; in aspeed_lpc_ctrl_ioctl()
133 size = lpc_ctrl->mem_size; in aspeed_lpc_ctrl_ioctl()
157 rc = regmap_write(lpc_ctrl->regmap, HICR7, in aspeed_lpc_ctrl_ioctl()
[all …]