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()
397 for (c = 0; c < sizeof(struct st_ram_io);) { in ac_write()
401 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in ac_write()
481 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read()
512 for (c = 0; c < sizeof(struct st_ram_io);) { in do_ac_read()
515 for (c++; c % 8 && c < sizeof(struct st_ram_io); c++) { in do_ac_read()
531 return (sizeof(struct st_ram_io) + sizeof(struct mailbox)); in do_ac_read()
545 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) { in ac_read()
547 count,sizeof(struct st_ram_io) + sizeof(struct mailbox)); in ac_read()
565 struct st_ram_io st_loc; in ac_read()
702 struct st_ram_io *adgl; in ac_ioctl()
708 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()