Home | History | Annotate | Download | only in boot

Lines Matching defs:htoc32

50 #define htoc32(x)	htole32(x)
108 htoc32((adp->clock_div << 24) | (xs->target << 16));
116 xfer->siop_tables.t_msgout.count = htoc32(msgoffset);
118 htoc32(SCSI_SIOP_NOSTATUS); /* set invalid status */
120 xfer->siop_tables.cmd.count = htoc32(xs->cmdlen);
121 xfer->siop_tables.cmd.addr = htoc32(local_to_PCI((u_long)xs->cmd));
123 xfer->siop_tables.data[0].count = htoc32(xs->datalen);
125 htoc32(local_to_PCI((u_long)xs->data));
208 htoc32(ctoh32(table->addr) + ctoh32(table->count) -
210 table->count = htoc32(siop_cmd->resid);
539 htoc32(0x800c00ff);
542 adp->script[free_lo + i] = htoc32(lun_switch[i]);
544 htoc32(scriptaddr + Ent_lunsw_return);
681 htoc32(scriptaddr + Ent_script_sched_slot0 + slot * 8);
685 htoc32(dsa + siop_common_xfer_size + Ent_ldsa_select);
689 script[(Ent_script_sched_slot0 / 4) + slot * 2] = htoc32(0x80080000);
709 xfer->siop_tables.t_msgout.count = htoc32(1);
710 xfer->siop_tables.t_msgout.addr = htoc32(dsa);
711 xfer->siop_tables.t_msgin.count = htoc32(1);
712 xfer->siop_tables.t_msgin.addr = htoc32(dsa + off_msg_in);
713 xfer->siop_tables.t_extmsgin.count = htoc32(2);
714 xfer->siop_tables.t_extmsgin.addr = htoc32(dsa + off_msg_in + 1);
715 xfer->siop_tables.t_extmsgdata.addr = htoc32(dsa + off_msg_in + 3);
716 xfer->siop_tables.t_status.count = htoc32(1);
717 xfer->siop_tables.t_status.addr = htoc32(dsa + off_status);
722 scr[i] = htoc32(load_dsa[i]);
728 scr[Ent_rdsa0 / 4] = htoc32(0x78100000 | ((dsa & 0x000000ff) << 8));
729 scr[Ent_rdsa1 / 4] = htoc32(0x78110000 | ( dsa & 0x0000ff00 ));
730 scr[Ent_rdsa2 / 4] = htoc32(0x78120000 | ((dsa & 0x00ff0000) >> 8));
731 scr[Ent_rdsa3 / 4] = htoc32(0x78130000 | ((dsa & 0xff000000) >> 16));
733 htoc32(scriptaddr + Ent_reselected);
734 scr[E_ldsa_abs_reselect_Used[0]] = htoc32(scriptaddr + Ent_reselect);
735 scr[E_ldsa_abs_selected_Used[0]] = htoc32(scriptaddr + Ent_selected);
737 htoc32(dsa + sizeof(struct siop_common_xfer) + Ent_ldsa_data);
739 scr[Ent_ldsa_data / 4] = htoc32(0x80000000);
760 script[reseloff + 0] = htoc32(0x800c0080 | target);
762 htoc32(scriptaddr + lunsw_off * 4 + Ent_lun_switch_entry);
775 htoc32(0x78030000 | ((adp->clock_div >> 16) & 0x0000ff00));
778 htoc32(0x78050000 | (0x000000000 & 0x0000ff00));
1244 script[i] = htoc32(siop_script[i]);
1247 htoc32(scriptaddr + Ent_msgin_space);