Lines Matching refs:st_loc
359 struct st_ram_io st_loc; in ac_write() local
376 if(copy_from_user(&st_loc, buf, sizeof(struct st_ram_io))) in ac_write()
383 NumCard = st_loc.num_card; /* board number to send */ in ac_write()
384 TicCard = st_loc.tic_des_from_pc; /* tic number to send */ in ac_write()
400 printk("\n%5.5X: %2.2X", c, ((unsigned char *) &st_loc)[c]); in ac_write()
403 printk(" %2.2X", ((unsigned char *) &st_loc)[c]); in ac_write()
482 struct st_ram_io *st_loc, struct mailbox *mailbox) in do_ac_read() argument
490 st_loc->tic_owner_to_pc = readb(apbs[IndexCard].RamIO + TIC_OWNER_TO_PC); in do_ac_read()
491 st_loc->numcard_owner_to_pc = readb(apbs[IndexCard].RamIO + NUMCARD_OWNER_TO_PC); in do_ac_read()
514 printk("\n%5.5X: %2.2X", c, ((unsigned char *)st_loc)[c]); in do_ac_read()
517 printk(" %2.2X", ((unsigned char *)st_loc)[c]); in do_ac_read()
566 struct st_ram_io st_loc; in ac_read() local
570 memset(&st_loc, 0, sizeof(st_loc)); in ac_read()
571 ret = do_ac_read(i, buf, &st_loc, &mailbox); in ac_read()
576 if (copy_to_user(buf, &st_loc, sizeof(st_loc))) in ac_read()
578 if (copy_to_user(buf + sizeof(st_loc), &mailbox, sizeof(mailbox))) in ac_read()