Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_otpe2p.c27 #define MMAP_OTP_OFFSET(x) (OTP_REG_ADDR_BASE + (x)) macro
213 writew(lo, priv->reg_base + MMAP_OTP_OFFSET(OTP_ADDR_LOW_OFFSET)); in otp_device_set_address()
214 writew(hi, priv->reg_base + MMAP_OTP_OFFSET(OTP_ADDR_HIGH_OFFSET)); in otp_device_set_address()
240 data = readl(rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_read()
242 rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_read()
243 data = readl(rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_read()
245 rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_read()
251 rb + MMAP_OTP_OFFSET(OTP_STATUS_OFFSET)); in pci1xxxx_otp_read()
253 data = readl(rb + MMAP_OTP_OFFSET(OTP_PASS_FAIL_OFFSET)); in pci1xxxx_otp_read()
259 buf[byte] = readl(rb + MMAP_OTP_OFFSET(OTP_RD_DATA_OFFSET)); in pci1xxxx_otp_read()
[all …]