Lines Matching refs:make16
124 #define make16(ptr32) ((unsigned short) ((unsigned long) (ptr32) - (unsigned long) p->memtop )) macro
368 p->iscp->scb_offset = make16(p->scb); in alloc586()
634 p->scb->cbl_offset = make16(cfg_cmd); in init586()
660 p->scb->cbl_offset = make16(ias_cmd); in init586()
685 p->scb->cbl_offset = make16(tdr_cmd); in init586()
733 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
743 p->nop_cmds[i]->cmd_link = make16((p->nop_cmds[i])); in init586()
776 p->scb->cbl_offset = make16(mc_cmd); in init586()
805 p->xmit_cmds[i]->tbd_offset = make16((p->xmit_buffs[i])); in init586()
820 p->scb->cbl_offset = make16(p->nop_cmds[0]); in init586()
848 rfd[i].next = make16(rfd + (i + 1) % p->num_recv_buffs); in alloc_rfa()
861 rbd[i].next = make16((rbd + (i + 1) % p->num_recv_buffs)); in alloc_rfa()
870 p->scb->rfa_offset = make16(p->rfd_first); in alloc_rfa()
871 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
1073 p->scb->rfa_offset = make16(p->rfd_first); in startrecv586()
1095 p->scb->cbl_offset = make16(p->nop_cmds[p->nop_point]); in elmc_timeout()
1135 p->scb->cbl_offset = make16(p->xmit_cmds[0]); in elmc_send_packet()
1159 = make16((p->nop_cmds[next_nop])); in elmc_send_packet()
1162 p->nop_cmds[p->nop_point]->cmd_link = make16((p->xmit_cmds[0])); in elmc_send_packet()
1174 = make16((p->nop_cmds[next_nop])); in elmc_send_packet()
1176 p->nop_cmds[p->xmit_count]->cmd_link = make16((p->xmit_cmds[p->xmit_count])); in elmc_send_packet()