Lines Matching +full:0 +full:xd100
17 #define CP2615_VID 0x10c4
18 #define CP2615_PID 0xeac1
20 #define IOP_EP_IN 0x82
21 #define IOP_EP_OUT 0x02
30 iop_GetAccessoryInfo = 0xD100,
31 iop_AccessoryInfo = 0xA100,
32 iop_GetPortConfiguration = 0xD203,
33 iop_PortConfiguration = 0xA203,
34 iop_DoI2cTransfer = 0xD400,
35 iop_I2cTransferResult = 0xA400,
36 iop_GetSerialState = 0xD501,
37 iop_SerialState = 0xA501
45 #define PART_ID_A01 0x1400
46 #define PART_ID_A02 0x1500
88 ret->preamble = htons(0x2A2AU); in cp2615_init_iop_msg()
93 return 0; in cp2615_init_iop_msg()
106 return 0; in cp2615_check_status()
133 msg, ntohs(msg->length), NULL, 0); in cp2615_i2c_send()
151 sizeof(struct cp2615_iop_msg), NULL, 0); in cp2615_i2c_recv()
152 if (res < 0) { in cp2615_i2c_recv()
177 int res = cp2615_init_iop_msg(msg, iop_GetAccessoryInfo, NULL, 0); in cp2615_check_iop()
183 msg, ntohs(msg->length), NULL, 0); in cp2615_check_iop()
188 msg, sizeof(struct cp2615_iop_msg), NULL, 0); in cp2615_check_iop()
217 int i = 0, ret = 0; in cp2615_i2c_xfer()
219 struct cp2615_i2c_transfer i2c_w = {0}; in cp2615_i2c_xfer()
226 i2c_w.tag = 0xdd; in cp2615_i2c_xfer()
230 i2c_w.write_len = 0; in cp2615_i2c_xfer()
232 i2c_w.read_len = 0; in cp2615_i2c_xfer()
241 if (ret < 0) in cp2615_i2c_xfer()
285 int ret = 0; in cp2615_i2c_probe()
315 return 0; in cp2615_i2c_probe()