Home
last modified time | relevance | path

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

/linux/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_otpe2p.c27 #define MMAP_OTP_OFFSET(x) (OTP_REG_ADDR_BASE + (x)) macro
211 writew(lo, priv->reg_base + MMAP_OTP_OFFSET(OTP_ADDR_LOW_OFFSET)); in otp_device_set_address()
212 writew(hi, priv->reg_base + MMAP_OTP_OFFSET(OTP_ADDR_HIGH_OFFSET)); in otp_device_set_address()
238 data = readl(rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_read()
240 rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_read()
241 data = readl(rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_read()
243 rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_read()
249 rb + MMAP_OTP_OFFSET(OTP_STATUS_OFFSET)); in pci1xxxx_otp_read()
251 data = readl(rb + MMAP_OTP_OFFSET(OTP_PASS_FAIL_OFFSET)); in pci1xxxx_otp_read()
257 buf[byte] = readl(rb + MMAP_OTP_OFFSET(OTP_RD_DATA_OFFSET)); in pci1xxxx_otp_read()
[all …]