Lines Matching +full:0 +full:xc80

23 #define OCOTP_CTRL_REG				0x00
24 #define OCOTP_CTRL_SET 0x04
25 #define OCOTP_CTRL_CLR 0x08
26 #define OCOTP_TIMING 0x10
27 #define OCOTP_DATA 0x20
28 #define OCOTP_READ_CTRL_REG 0x30
29 #define OCOTP_READ_FUSE_DATA 0x40
33 #define OCOTP_CTRL_WR_UNLOCK_KEY 0x3E77
35 #define OCOTP_CTRL_ADDR 0
36 #define OCOTP_CTRL_ADDR_MASK GENMASK(6, 0)
45 #define OCOTP_TIMING_STROBE_PROG 0
46 #define OCOTP_TIMING_STROBE_PROG_MASK GENMASK(11, 0)
48 #define OCOTP_READ_CTRL_READ_FUSE 0x1
57 {0x400, 0x00},
58 {0x410, 0x01},
59 {0x420, 0x02},
60 {0x450, 0x05},
61 {0x4F0, 0x0F},
62 {0x600, 0x20},
63 {0x610, 0x21},
64 {0x620, 0x22},
65 {0x630, 0x23},
66 {0x640, 0x24},
67 {0x650, 0x25},
68 {0x660, 0x26},
69 {0x670, 0x27},
70 {0x6F0, 0x2F},
71 {0x880, 0x38},
72 {0x890, 0x39},
73 {0x8A0, 0x3A},
74 {0x8B0, 0x3B},
75 {0x8C0, 0x3C},
76 {0x8D0, 0x3D},
77 {0x8E0, 0x3E},
78 {0x8F0, 0x3F},
79 {0xC80, 0x78},
80 {0xC90, 0x79},
81 {0xCA0, 0x7A},
82 {0xCB0, 0x7B},
83 {0xCC0, 0x7C},
84 {0xCD0, 0x7D},
85 {0xCE0, 0x7E},
86 {0xCF0, 0x7F},
111 return 0; in vf610_ocotp_wait_busy()
138 for (i = 0; i < ARRAY_SIZE(base_to_fuse_addr_mappings); i++) { in vf610_get_fuse_address()
139 if (base_to_fuse_addr_mappings[i][0] == base_addr_offset) in vf610_get_fuse_address()
155 while (bytes > 0) { in vf610_ocotp_read()
157 if (fuse_addr > 0) { in vf610_ocotp_read()
183 * 0xBADABADA as mentioned by the TRM. We just read this in vf610_ocotp_read()
188 *buf = 0; in vf610_ocotp_read()
196 return 0; in vf610_ocotp_read()
222 ocotp_dev->base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in vf610_ocotp_probe()