Lines Matching refs:st_loc
362 struct st_ram_io st_loc; in ac_write() local
379 if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io))) in ac_write()
386 NumCard = st_loc.num_card; /* board number to send */ in ac_write()
387 TicCard = st_loc.tic_des_from_pc; /* tic number to send */ in ac_write()
403 printk("\n%5.5X: %2.2X", c, ((unsigned char *) &st_loc)[c]); in ac_write()
406 printk(" %2.2X", ((unsigned char *) &st_loc)[c]); in ac_write()
485 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read() argument
493 st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); in do_ac_read()
494 st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); in do_ac_read()
517 printk("\n%5.5X: %2.2X", c, ((unsigned char *)st_loc)[c]); in do_ac_read()
520 printk(" %2.2X", ((unsigned char *)st_loc)[c]); in do_ac_read()
569 struct st_ram_io st_loc; in ac_read() local
573 memset(&st_loc, 0, sizeof(st_loc)); in ac_read()
574 ret = do_ac_read(i, buf, &st_loc, &mailbox); in ac_read()
579 if (copy_to_user(buf, &st_loc, sizeof(st_loc))) in ac_read()
581 if (copy_to_user(buf + sizeof(st_loc), &mailbox, sizeof(mailbox))) in ac_read()