Lines Matching refs:caddy_interface
20 static struct caddy_interface *caddy_interface; variable
27 answer = &caddy_interface->answer[caddy_interface->answer_in]; in generate_answer()
33 ptr = caddy_interface->answer_in + 1; in generate_answer()
35 if (ptr != caddy_interface->answer_out) in generate_answer()
36 caddy_interface->answer_in = ptr; in generate_answer()
57 caddy_interface = (struct caddy_interface *) base_addr; in do_caddy()
59 memset((void *)caddy_interface, 0, sizeof(struct caddy_interface)); in do_caddy()
60 memcpy((void *)&caddy_interface->magic[0], &CADDY_MAGIC, 16); in do_caddy()
63 if (caddy_interface->cmd_in != caddy_interface->cmd_out) { in do_caddy()
66 caddy_cmd = &caddy_interface->cmd[caddy_interface->cmd_out]; in do_caddy()
162 ptr = caddy_interface->cmd_out + 1; in do_caddy()
164 caddy_interface->cmd_out = ptr; in do_caddy()
167 caddy_interface->heartbeat++; in do_caddy()