Lines Matching +full:0 +full:x78000000

23 #define AW96103_CHIP_ID				0xa961
30 #define AW96103_REG_SCANCTRL0 0x0000
31 #define AW96103_REG_STAT0 0x0090
32 #define AW96103_REG_BLFILT_CH0 0x00A8
33 #define AW96103_REG_BLRSTRNG_CH0 0x00B4
34 #define AW96103_REG_DIFF_CH0 0x0240
35 #define AW96103_REG_FWVER2 0x0410
36 #define AW96103_REG_CMD 0xF008
37 #define AW96103_REG_IRQSRC 0xF080
38 #define AW96103_REG_IRQEN 0xF084
39 #define AW96103_REG_RESET 0xFF0C
40 #define AW96103_REG_CHIPID 0xFF10
41 #define AW96103_REG_EEDA0 0x0408
42 #define AW96103_REG_EEDA1 0x040C
43 #define AW96103_REG_PROXCTRL_CH0 0x00B0
44 #define AW96103_REG_PROXTH0_CH0 0x00B8
45 #define AW96103_PROXTH_CH_STEP 0x3C
49 #define AW96103_INITOVERIRQ_MASK BIT(0)
50 #define AW96103_BLFILT_CH_STEP 0x3C
51 #define AW96103_BLRSTRNG_MASK GENMASK(5, 0)
54 #define AW96103_CHAN_EN_MASK GENMASK(5, 0)
81 AW96103B = 0xa,
123 0x0000, 0x00003f3f, 0x0004, 0x00000064, 0x0008, 0x0017c11e,
124 0x000c, 0x05000000, 0x0010, 0x00093ffd, 0x0014, 0x19240009,
125 0x0018, 0xd81c0207, 0x001c, 0xff000000, 0x0020, 0x00241900,
126 0x0024, 0x00093ff7, 0x0028, 0x58020009, 0x002c, 0xd81c0207,
127 0x0030, 0xff000000, 0x0034, 0x00025800, 0x0038, 0x00093fdf,
128 0x003c, 0x7d3b0009, 0x0040, 0xd81c0207, 0x0044, 0xff000000,
129 0x0048, 0x003b7d00, 0x004c, 0x00093f7f, 0x0050, 0xe9310009,
130 0x0054, 0xd81c0207, 0x0058, 0xff000000, 0x005c, 0x0031e900,
131 0x0060, 0x00093dff, 0x0064, 0x1a0c0009, 0x0068, 0xd81c0207,
132 0x006c, 0xff000000, 0x0070, 0x000c1a00, 0x0074, 0x80093fff,
133 0x0078, 0x043d0009, 0x007c, 0xd81c0207, 0x0080, 0xff000000,
134 0x0084, 0x003d0400, 0x00a0, 0xe6400000, 0x00a4, 0x00000000,
135 0x00a8, 0x010408d2, 0x00ac, 0x00000000, 0x00b0, 0x00000000,
136 0x00b8, 0x00005fff, 0x00bc, 0x00000000, 0x00c0, 0x00000000,
137 0x00c4, 0x00000000, 0x00c8, 0x00000000, 0x00cc, 0x00000000,
138 0x00d0, 0x00000000, 0x00d4, 0x00000000, 0x00d8, 0x00000000,
139 0x00dc, 0xe6447800, 0x00e0, 0x78000000, 0x00e4, 0x010408d2,
140 0x00e8, 0x00000000, 0x00ec, 0x00000000, 0x00f4, 0x00005fff,
141 0x00f8, 0x00000000, 0x00fc, 0x00000000, 0x0100, 0x00000000,
142 0x0104, 0x00000000, 0x0108, 0x00000000, 0x010c, 0x02000000,
143 0x0110, 0x00000000, 0x0114, 0x00000000, 0x0118, 0xe6447800,
144 0x011c, 0x78000000, 0x0120, 0x010408d2, 0x0124, 0x00000000,
145 0x0128, 0x00000000, 0x0130, 0x00005fff, 0x0134, 0x00000000,
146 0x0138, 0x00000000, 0x013c, 0x00000000, 0x0140, 0x00000000,
147 0x0144, 0x00000000, 0x0148, 0x02000000, 0x014c, 0x00000000,
148 0x0150, 0x00000000, 0x0154, 0xe6447800, 0x0158, 0x78000000,
149 0x015c, 0x010408d2, 0x0160, 0x00000000, 0x0164, 0x00000000,
150 0x016c, 0x00005fff, 0x0170, 0x00000000, 0x0174, 0x00000000,
151 0x0178, 0x00000000, 0x017c, 0x00000000, 0x0180, 0x00000000,
152 0x0184, 0x02000000, 0x0188, 0x00000000, 0x018c, 0x00000000,
153 0x0190, 0xe6447800, 0x0194, 0x78000000, 0x0198, 0x010408d2,
154 0x019c, 0x00000000, 0x01a0, 0x00000000, 0x01a8, 0x00005fff,
155 0x01ac, 0x00000000, 0x01b0, 0x00000000, 0x01b4, 0x00000000,
156 0x01b8, 0x00000000, 0x01bc, 0x00000000, 0x01c0, 0x02000000,
157 0x01c4, 0x00000000, 0x01c8, 0x00000000, 0x01cc, 0xe6407800,
158 0x01d0, 0x78000000, 0x01d4, 0x010408d2, 0x01d8, 0x00000000,
159 0x01dc, 0x00000000, 0x01e4, 0x00005fff, 0x01e8, 0x00000000,
160 0x01ec, 0x00000000, 0x01f0, 0x00000000, 0x01f4, 0x00000000,
161 0x01f8, 0x00000000, 0x01fc, 0x02000000, 0x0200, 0x00000000,
162 0x0204, 0x00000000, 0x0208, 0x00000008, 0x020c, 0x0000000d,
163 0x41fc, 0x00000000, 0x4400, 0x00000000, 0x4410, 0x00000000,
164 0x4420, 0x00000000, 0x4430, 0x00000000, 0x4440, 0x00000000,
165 0x4450, 0x00000000, 0x4460, 0x00000000, 0x4470, 0x00000000,
166 0xf080, 0x00003018, 0xf084, 0x00000fff, 0xf800, 0x00000000,
167 0xf804, 0x00002e00, 0xf8d0, 0x00000001, 0xf8d4, 0x00000000,
168 0xff00, 0x00000301, 0xff0c, 0x01000000, 0xffe0, 0x00000000,
169 0xfff4, 0x00004011, 0x0090, 0x00000000, 0x0094, 0x00000000,
170 0x0098, 0x00000000, 0x009c, 0x3f3f3f3f,
204 AW_IIO_CHANNEL(0),
211 AW_IIO_CHANNEL(0),
259 return 0; in aw96103_get_diff_raw()
433 state ? BIT(chan->channel) : 0); in aw96103_write_event_config()
472 if ((fw_ver != AW96103A) || (aw_bin->chip_type[7] != '\0')) in aw96103_reg_version_comp()
473 return 0; in aw96103_reg_version_comp()
475 for (i = 0; i < aw96103->max_channels; i++) { in aw96103_reg_version_comp()
482 return 0; in aw96103_reg_version_comp()
491 return 0; in aw96103_reg_version_comp()
502 for (i = 0; i < aw_bin_data_s->valid_data_len; in aw96103_bin_valid_loaded()
519 if (ret < 0) in aw96103_bin_valid_loaded()
534 for (i = 0; i < ARRAY_SIZE(aw96103_reg_default); i += 2) { in aw96103_para_loaded()
593 for (i = 0; i < aw96103->max_channels; i++) { in aw96103_cfg_update()
594 if ((aw96103->chan_en >> i) & 0x01) in aw96103_cfg_update()
605 ret = regmap_write(aw96103->regmap, AW96103_REG_RESET, 0); in aw96103_sw_reset()
616 FAR = 0,
617 TRIGGER_TH0 = 0x01,
618 TRIGGER_TH1 = 0x03,
619 TRIGGER_TH2 = 0x07,
620 TRIGGER_TH3 = 0x0f,
642 for (i = 0; i < aw96103->max_channels; i++) { in aw96103_irq()
646 curr_status = (((curr_status_val >> (24 + i)) & 0x1)) | in aw96103_irq()
647 (((curr_status_val >> (16 + i)) & 0x1) << 1) | in aw96103_irq()
648 (((curr_status_val >> (8 + i)) & 0x1) << 2) | in aw96103_irq()
649 (((curr_status_val >> i) & 0x1) << 3); in aw96103_irq()
687 ret = regmap_write(aw96103->regmap, AW96103_REG_IRQEN, 0); in aw96103_interrupt_init()
720 return 0; in aw96103_wait_chip_init()
729 unsigned char cnt = 0; in aw96103_read_chipid()
730 u32 reg_val = 0; in aw96103_read_chipid()
742 if (ret < 0) { in aw96103_read_chipid()
754 "unexpected chipid, id=0x%08X\n", reg_val); in aw96103_read_chipid()
756 return 0; in aw96103_read_chipid()
780 if (ret < 0) in aw96103_i2c_probe()