Home | History | Annotate | Download | only in boot

Lines Matching defs:htoc32

46 #define htoc32(x)	htole32(x)
104 htoc32((adp->clock_div << 24) | (xs->target << 16));
112 xfer->siop_tables.t_msgout.count = htoc32(msgoffset);
114 htoc32(SCSI_SIOP_NOSTATUS); /* set invalid status */
116 xfer->siop_tables.cmd.count = htoc32(xs->cmdlen);
117 xfer->siop_tables.cmd.addr = htoc32(local_to_PCI((u_long)xs->cmd));
119 xfer->siop_tables.data[0].count = htoc32(xs->datalen);
121 htoc32(local_to_PCI((u_long)xs->data));
185 htoc32(ctoh32(table->addr) + ctoh32(table->count) -
187 table->count = htoc32(siop_cmd->resid);
518 htoc32(0x800c00ff);
521 adp->script[free_lo + i] = htoc32(lun_switch[i]);
523 htoc32(scriptaddr + Ent_lunsw_return);
660 htoc32(scriptaddr + Ent_script_sched_slot0 + slot * 8);
664 htoc32(dsa + siop_common_xfer_size + Ent_ldsa_select);
668 script[(Ent_script_sched_slot0 / 4) + slot * 2] = htoc32(0x80080000);
688 xfer->siop_tables.t_msgout.count = htoc32(1);
689 xfer->siop_tables.t_msgout.addr = htoc32(dsa);
690 xfer->siop_tables.t_msgin.count = htoc32(1);
691 xfer->siop_tables.t_msgin.addr = htoc32(dsa + off_msg_in);
692 xfer->siop_tables.t_extmsgin.count = htoc32(2);
693 xfer->siop_tables.t_extmsgin.addr = htoc32(dsa + off_msg_in + 1);
694 xfer->siop_tables.t_extmsgdata.addr = htoc32(dsa + off_msg_in + 3);
695 xfer->siop_tables.t_status.count = htoc32(1);
696 xfer->siop_tables.t_status.addr = htoc32(dsa + off_status);
701 scr[i] = htoc32(load_dsa[i]);
707 scr[Ent_rdsa0 / 4] = htoc32(0x78100000 | ((dsa & 0x000000ff) << 8));
708 scr[Ent_rdsa1 / 4] = htoc32(0x78110000 | ( dsa & 0x0000ff00 ));
709 scr[Ent_rdsa2 / 4] = htoc32(0x78120000 | ((dsa & 0x00ff0000) >> 8));
710 scr[Ent_rdsa3 / 4] = htoc32(0x78130000 | ((dsa & 0xff000000) >> 16));
712 htoc32(scriptaddr + Ent_reselected);
713 scr[E_ldsa_abs_reselect_Used[0]] = htoc32(scriptaddr + Ent_reselect);
714 scr[E_ldsa_abs_selected_Used[0]] = htoc32(scriptaddr + Ent_selected);
716 htoc32(dsa + sizeof(struct siop_common_xfer) + Ent_ldsa_data);
718 scr[Ent_ldsa_data / 4] = htoc32(0x80000000);
739 script[reseloff + 0] = htoc32(0x800c0080 | target);
741 htoc32(scriptaddr + lunsw_off * 4 + Ent_lun_switch_entry);
754 htoc32(0x78030000 | ((adp->clock_div >> 16) & 0x0000ff00));
757 htoc32(0x78050000 | (0x000000000 & 0x0000ff00));
1203 script[i] = htoc32(siop_script[i]);
1206 htoc32(scriptaddr + Ent_msgin_space);