Lines Matching refs:sio
66 struct syren_io_args sio;
94 sio.value = strtoul(argv[3], 0, 0);
111 sio.page = registers[i].page;
112 sio.addr = registers[i].addr;
113 if (ioctl(fd, cmd, &sio) < 0) {
116 fprintf(stderr, "%s: %04x\n", registers[i].name, sio.value);
131 sio.page = strtoul(argv[2], 0, 0);
132 sio.addr = strtoul(addr_str, 0, 0);
135 sio.page = r->page;
136 sio.addr = r->addr;
139 if (ioctl(fd, cmd, &sio) < 0) {
145 printf("%s: %04x\n", name, sio.value);
147 printf("wrote %04x to %s\n", sio.value, name);