Lines Matching refs:st_ram_io
362 struct st_ram_io st_loc; in ac_write()
369 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_write()
373 count, sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_write()
379 if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io))) in ac_write()
382 if(copy_from_user(&tmpmailbox, &buf[sizeof(struct st_ram_io)], in ac_write()
401 for (c = 0; c < sizeof(struct st_ram_io);) { in ac_write()
405 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in ac_write()
485 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read()
516 for (c = 0; c < sizeof(struct st_ram_io);) { in do_ac_read()
519 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in do_ac_read()
535 return (sizeof(struct st_ram_io) + sizeof(struct mailbox)); in do_ac_read()
549 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_read()
551 count,sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_read()
569 struct st_ram_io st_loc; in ac_read()
707 struct st_ram_io *adgl; in ac_ioctl()
713 adgl = memdup_user(argp, sizeof(struct st_ram_io)); in ac_ioctl()
731 for (i = 0; i < sizeof(struct st_ram_io); i++) in ac_ioctl()
733 if (copy_to_user(argp, adgl, sizeof(struct st_ram_io))) in ac_ioctl()
754 if (copy_to_user(argp, adgl, sizeof(struct st_ram_io))) in ac_ioctl()
780 if (copy_to_user(argp, adgl,sizeof(struct st_ram_io))) in ac_ioctl()