Lines Matching +full:0 +full:x43
21 return 0; in sample_target_write_requested_cb()
31 printk("sample target write received: 0x%02x\n", val); in sample_target_write_received_cb()
33 return 0; in sample_target_write_received_cb()
43 printk("sample target read request: 0x%02x\n", *val); in sample_target_read_requested_cb()
44 *val = 0x42; in sample_target_read_requested_cb()
45 return 0; in sample_target_read_requested_cb()
55 printk("sample target read processed: 0x%02x\n", *val); in sample_target_read_processed_cb()
56 *val = 0x43; in sample_target_read_processed_cb()
57 return 0; in sample_target_read_processed_cb()
67 return 0; in sample_target_stop_cb()
81 .address = 0x60, in main()
87 if (i2c_target_register(bus, &target_cfg) < 0) { in main()
94 if (i2c_target_unregister(bus, &target_cfg) < 0) { in main()
99 return 0; in main()