Lines Matching defs:mailbox
366 struct mailbox tmpmailbox;
372 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) {
376 count, sizeof(struct st_ram_io) + sizeof(struct mailbox));
386 sizeof(struct mailbox)))
409 printk("\nstruct mailbox follows:");
411 for (c = 0; c < sizeof(struct mailbox);) {
414 for (c++; c % 8 && c < sizeof(struct mailbox); c++) {
468 for (c = 0; c < sizeof(struct mailbox); c++)
484 struct st_ram_io *st_loc, struct mailbox *mailbox)
487 unsigned char *to = (unsigned char *)&mailbox;
499 for (c = 0; c < sizeof(struct mailbox); c++)
523 printk("\nstruct mailbox follows:");
525 for (c = 0; c < sizeof(struct mailbox);) {
526 printk("\n%5.5X: %2.2X", c, ((unsigned char *)mailbox)[c]);
528 for (c++; c % 8 && c < sizeof(struct mailbox); c++) {
529 printk(" %2.2X", ((unsigned char *)mailbox)[c]);
534 return (sizeof(struct st_ram_io) + sizeof(struct mailbox));
548 if (count != sizeof(struct st_ram_io) + sizeof(struct mailbox)) {
550 count,sizeof(struct st_ram_io) + sizeof(struct mailbox));
569 struct mailbox mailbox;
572 ret = do_ac_read(i, buf, &st_loc, &mailbox);
579 if (copy_to_user(buf + sizeof(st_loc), &mailbox, sizeof(mailbox)))
665 if (readb(apbs[i].RamIO + DATA_TO_PC_READY) == 2) { /* mailbox sent by the card ? */