Lines Matching refs:st_ram_io
361 struct st_ram_io st_loc; in ac_write()
368 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_write()
372 count, sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_write()
378 if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io))) in ac_write()
381 if(copy_from_user(&tmpmailbox, &buf[sizeof(struct st_ram_io)], in ac_write()
400 for (c = 0; c < sizeof(struct st_ram_io);) { in ac_write()
404 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in ac_write()
484 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read()
515 for (c = 0; c < sizeof(struct st_ram_io);) { in do_ac_read()
518 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in do_ac_read()
534 return (sizeof(struct st_ram_io) + sizeof(struct mailbox)); in do_ac_read()
548 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_read()
550 count,sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_read()
568 struct st_ram_io st_loc; in ac_read()
706 struct st_ram_io *adgl; in ac_ioctl()
712 adgl = memdup_user(argp, sizeof(struct st_ram_io)); in ac_ioctl()
730 for (i = 0; i < sizeof(struct st_ram_io); i++) in ac_ioctl()
732 if (copy_to_user(argp, adgl, sizeof(struct st_ram_io))) in ac_ioctl()
753 if (copy_to_user(argp, adgl, sizeof(struct st_ram_io))) in ac_ioctl()
779 if (copy_to_user(argp, adgl,sizeof(struct st_ram_io))) in ac_ioctl()