Lines Matching refs:LE

34 #define LE(n) B_HOST_TO_LENDIAN_INT32(n)  macro
256 sp->syncmsg.address = LE(PPHADDR(sp->_syncmsg)); in prep_io()
257 sp->syncmsg.count = LE(3); in prep_io()
259 sp->widemsg.address = LE(PPHADDR(sp->_widemsg)); in prep_io()
260 sp->widemsg.count = LE(2); in prep_io()
262 sp->sendmsg.address = LE(PPHADDR(sp->_sendmsg)); in prep_io()
264 sp->recvmsg.address = LE(PPHADDR(sp->_recvmsg)); in prep_io()
265 sp->recvmsg.count = LE(1); in prep_io()
267 sp->status.address = LE(PPHADDR(sp->_status)); in prep_io()
268 sp->status.count = LE(1); in prep_io()
270 sp->extdmsg.address = LE(PPHADDR(sp->_extdmsg)); in prep_io()
271 sp->extdmsg.count = LE(1); in prep_io()
273 sp->command.address = LE(PPHADDR(sp->_command)); in prep_io()
289 st->priv->sendmsg.count = LE(msglen); in exec_io()
291 st->priv->command.count = LE(cmdlen); in exec_io()
317 t[sgcount].address = LE((uint32) pe[sgcount].address); in exec_io()
318 t[sgcount].count = LE(opcode | pe[sgcount].size); in exec_io()
328 t[i].address = LE((uint32) pe[i].address); in exec_io()
329 t[i].count = LE(opcode | pe[i].size); in exec_io()
333 t[sgcount].count = LE(OP_END); in exec_io()
334 t[sgcount].address = LE(ARG_END); in exec_io()
593 t->count = LE(t->count); in scsi_int_dispatch()
594 t->address = LE(t->address); in scsi_int_dispatch()
627 t->count = LE(t->count); in scsi_int_dispatch()
628 t->address = LE(t->address); in scsi_int_dispatch()
679 s->script[PATCH_DATAIN] = LE(s->active->datain_phys); in scsi_int_dispatch()
680 s->script[PATCH_DATAOUT] = LE(s->active->dataout_phys); in scsi_int_dispatch()
685 out32(sym_dsp, LE(s->sram_phys + Ent_switch_resel)); in scsi_int_dispatch()
688 out32(sym_dsp, LE(s->sram_phys + Ent_switch)); in scsi_int_dispatch()
693 out32(sym_dsa, LE(s->startqueue->priv_phys + ADJUST_PRIV_TO_DSA)); in scsi_int_dispatch()
697 out32(sym_dsp, LE(s->sram_phys + Ent_start)); in scsi_int_dispatch()
701 out32(sym_dsp, LE(s->sram_phys + Ent_idle)); in scsi_int_dispatch()
773 out32(sym_dsp, LE(s->sram_phys + Ent_test)); in init_symbios()
787 out32(sym_dsp, LE(s->sram_phys + Ent_idle)); in init_symbios()