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