Lines Matching refs:st_ram_io
359 struct st_ram_io st_loc; in ac_write()
366 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_write()
370 count, sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_write()
376 if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io))) in ac_write()
379 if(copy_from_user(&tmpmailbox, &buf[sizeof(struct st_ram_io)], in ac_write()
398 for (c = 0; c < sizeof(struct st_ram_io);) { in ac_write()
402 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in ac_write()
482 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read()
513 for (c = 0; c < sizeof(struct st_ram_io);) { in do_ac_read()
516 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in do_ac_read()
532 return (sizeof(struct st_ram_io) + sizeof(struct mailbox)); in do_ac_read()
546 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_read()
548 count,sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_read()
566 struct st_ram_io st_loc; in ac_read()
704 struct st_ram_io *adgl; in ac_ioctl()
710 adgl = memdup_user(argp, sizeof(struct st_ram_io)); in ac_ioctl()
728 for (i = 0; i < sizeof(struct st_ram_io); i++) in ac_ioctl()
730 if (copy_to_user(argp, adgl, sizeof(struct st_ram_io))) in ac_ioctl()
751 if (copy_to_user(argp, adgl, sizeof(struct st_ram_io))) in ac_ioctl()
777 if (copy_to_user(argp, adgl,sizeof(struct st_ram_io))) in ac_ioctl()