Lines Matching refs:st_loc
361 struct st_ram_io st_loc; in ac_write() local
378 if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io))) in ac_write()
385 NumCard = st_loc.num_card; /* board number to send */ in ac_write()
386 TicCard = st_loc.tic_des_from_pc; /* tic number to send */ in ac_write()
398 printk("\n%5.5X: %2.2X", c, ((unsigned char *) &st_loc)[c]); in ac_write()
401 printk(" %2.2X", ((unsigned char *) &st_loc)[c]); in ac_write()
480 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read() argument
488 st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); in do_ac_read()
489 st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); in do_ac_read()
512 printk("\n%5.5X: %2.2X", c, ((unsigned char *)st_loc)[c]); in do_ac_read()
515 printk(" %2.2X", ((unsigned char *)st_loc)[c]); in do_ac_read()
564 struct st_ram_io st_loc; in ac_read() local
568 memset(&st_loc, 0, sizeof(st_loc)); in ac_read()
569 ret = do_ac_read(i, buf, &st_loc, &mailbox); in ac_read()
574 if (copy_to_user(buf, &st_loc, sizeof(st_loc))) in ac_read()
576 if (copy_to_user(buf + sizeof(st_loc), &mailbox, sizeof(mailbox))) in ac_read()