iop_num 141 arch/m68k/include/asm/mac_iop.h uint iop_num; /* IOP number */ iop_num 333 arch/m68k/mac/iop.c int iop_listen(uint iop_num, uint chan, iop_num 337 arch/m68k/mac/iop.c if ((iop_num >= NUM_IOPS) || !iop_base[iop_num]) return -EINVAL; iop_num 339 arch/m68k/mac/iop.c if (iop_listeners[iop_num][chan].handler && handler) return -EINVAL; iop_num 340 arch/m68k/mac/iop.c iop_listeners[iop_num][chan].devname = devname; iop_num 341 arch/m68k/mac/iop.c iop_listeners[iop_num][chan].handler = handler; iop_num 353 arch/m68k/mac/iop.c int iop_num = msg->iop_num; iop_num 357 arch/m68k/mac/iop.c iop_pr_debug("msg %p iop_num %d channel %d\n", msg, msg->iop_num, iop_num 363 arch/m68k/mac/iop.c iop_writeb(iop_base[iop_num], offset, msg->reply[i]); iop_num 366 arch/m68k/mac/iop.c iop_writeb(iop_base[iop_num], iop_num 368 arch/m68k/mac/iop.c iop_interrupt(iop_base[msg->iop_num]); iop_num 379 arch/m68k/mac/iop.c volatile struct mac_iop *iop = iop_base[msg->iop_num]; iop_num 398 arch/m68k/mac/iop.c static void iop_handle_send(uint iop_num, uint chan) iop_num 400 arch/m68k/mac/iop.c volatile struct mac_iop *iop = iop_base[iop_num]; iop_num 404 arch/m68k/mac/iop.c iop_pr_debug("iop_num %d chan %d\n", iop_num, chan); iop_num 408 arch/m68k/mac/iop.c if (!(msg = iop_send_queue[iop_num][chan])) return; iop_num 418 arch/m68k/mac/iop.c iop_send_queue[iop_num][chan] = msg; iop_num 427 arch/m68k/mac/iop.c static void iop_handle_recv(uint iop_num, uint chan) iop_num 429 arch/m68k/mac/iop.c volatile struct mac_iop *iop = iop_base[iop_num]; iop_num 433 arch/m68k/mac/iop.c iop_pr_debug("iop_num %d chan %d\n", iop_num, chan); iop_num 436 arch/m68k/mac/iop.c msg->iop_num = iop_num; iop_num 439 arch/m68k/mac/iop.c msg->handler = iop_listeners[iop_num][chan].handler; iop_num 456 arch/m68k/mac/iop.c iop_num, chan); iop_num 470 arch/m68k/mac/iop.c int iop_send_message(uint iop_num, uint chan, void *privdata, iop_num 476 arch/m68k/mac/iop.c if ((iop_num >= NUM_IOPS) || !iop_base[iop_num]) return -EINVAL; iop_num 485 arch/m68k/mac/iop.c msg->iop_num = iop_num; iop_num 491 arch/m68k/mac/iop.c if (!(q = iop_send_queue[iop_num][chan])) { iop_num 492 arch/m68k/mac/iop.c iop_send_queue[iop_num][chan] = msg; iop_num 498 arch/m68k/mac/iop.c if (iop_readb(iop_base[iop_num], iop_num 510 arch/m68k/mac/iop.c void iop_upload_code(uint iop_num, __u8 *code_start, iop_num 513 arch/m68k/mac/iop.c if ((iop_num >= NUM_IOPS) || !iop_base[iop_num]) return; iop_num 515 arch/m68k/mac/iop.c iop_loadaddr(iop_base[iop_num], shared_ram_start); iop_num 518 arch/m68k/mac/iop.c iop_base[iop_num]->ram_data = *code_start++; iop_num 526 arch/m68k/mac/iop.c void iop_download_code(uint iop_num, __u8 *code_start, iop_num 529 arch/m68k/mac/iop.c if ((iop_num >= NUM_IOPS) || !iop_base[iop_num]) return; iop_num 531 arch/m68k/mac/iop.c iop_loadaddr(iop_base[iop_num], shared_ram_start); iop_num 534 arch/m68k/mac/iop.c *code_start++ = iop_base[iop_num]->ram_data; iop_num 544 arch/m68k/mac/iop.c __u8 *iop_compare_code(uint iop_num, __u8 *code_start, iop_num 547 arch/m68k/mac/iop.c if ((iop_num >= NUM_IOPS) || !iop_base[iop_num]) return code_start; iop_num 549 arch/m68k/mac/iop.c iop_loadaddr(iop_base[iop_num], shared_ram_start); iop_num 552 arch/m68k/mac/iop.c if (*code_start != iop_base[iop_num]->ram_data) { iop_num 566 arch/m68k/mac/iop.c uint iop_num = (uint) dev_id; iop_num 567 arch/m68k/mac/iop.c volatile struct mac_iop *iop = iop_base[iop_num]; iop_num 581 arch/m68k/mac/iop.c iop_handle_send(iop_num, i); iop_num 594 arch/m68k/mac/iop.c iop_handle_recv(iop_num, i); iop_num 602 arch/m68k/mac/iop.c void iop_ism_irq_poll(uint iop_num) iop_num 607 arch/m68k/mac/iop.c iop_ism_irq(0, (void *)iop_num);