Lines Matching +full:0 +full:x20010000
19 #define OCB_DATA1 0x6B035
20 #define OCB_ADDR 0x6B070
21 #define OCB_DATA3 0x6B075
24 #define OCC_SRAM_ADDR_CMD 0xFFFF6000
25 #define OCC_SRAM_ADDR_RESP 0xFFFF7000
27 #define OCC_DATA_ATTN 0x20010000
45 msgs[0].addr = client->addr; in p8_i2c_occ_getscom()
46 msgs[0].flags = client->flags & I2C_M_TEN; in p8_i2c_occ_getscom()
47 msgs[0].len = sizeof(u32); in p8_i2c_occ_getscom()
49 msgs[0].buf = (char *)&address; in p8_i2c_occ_getscom()
58 if (rc < 0) in p8_i2c_occ_getscom()
63 return 0; in p8_i2c_occ_getscom()
75 buf[0] = address; in p8_i2c_occ_putscom()
80 if (rc < 0) in p8_i2c_occ_putscom()
85 return 0; in p8_i2c_occ_putscom()
102 __be32 data0 = 0, data1 = 0; in p8_i2c_occ_putscom_be()
129 rc = p8_i2c_occ_putscom_u32(client, OCB_ADDR, OCC_SRAM_ADDR_CMD, 0); in p8_i2c_occ_send_cmd()
139 rc = p8_i2c_occ_putscom_u32(client, OCB_DATA1, OCC_DATA_ATTN, 0); in p8_i2c_occ_send_cmd()
146 OCC_SRAM_ADDR_RESP, 0); in p8_i2c_occ_send_cmd()
172 rc = 0; in p8_i2c_occ_send_cmd()
193 if (rc < 0) in p8_i2c_occ_send_cmd()
207 return 0; in p8_i2c_occ_send_cmd()
224 occ->poll_cmd_data = 0x10; /* P8 OCC poll data */ in p8_i2c_occ_probe()