ld
DiscoveryAgent(LocalDevice* ld);
void SetLocalDeviceOwner(LocalDevice* ld);
void SetLocalDeviceOwner(LocalDevice* ld);
void SetLocalDeviceOwner(LocalDevice* ld);
uint32_t ld[0];
ld ra, \extSize + 0*8(sp)
ld t6, \extSize + 1*8(sp)
ld gp, \extSize + 3*8(sp)
ld t0, \extSize + 5*8(sp)
ld t1, \extSize + 6*8(sp)
ld t2, \extSize + 7*8(sp)
ld t5, \extSize + 8*8(sp)
ld s1, \extSize + 9*8(sp)
ld a0, \extSize + 10*8(sp)
ld a1, \extSize + 11*8(sp)
ld a2, \extSize + 12*8(sp)
ld a3, \extSize + 13*8(sp)
ld a4, \extSize + 14*8(sp)
ld a5, \extSize + 15*8(sp)
ld a6, \extSize + 16*8(sp)
ld a7, \extSize + 17*8(sp)
ld s2, \extSize + 18*8(sp)
ld s3, \extSize + 19*8(sp)
ld s4, \extSize + 20*8(sp)
ld s5, \extSize + 21*8(sp)
ld s6, \extSize + 22*8(sp)
ld s7, \extSize + 23*8(sp)
ld s8, \extSize + 24*8(sp)
ld s9, \extSize + 25*8(sp)
ld s10, \extSize + 26*8(sp)
ld s11, \extSize + 27*8(sp)
ld t3, \extSize + 28*8(sp)
ld t4, \extSize + 29*8(sp)
ld fp, \extSize + 30*8(sp)
ld sp, \extSize + 2*8(sp)
fp->mode.ld[1] = 0;
fp->mode.ld[1] |= (root_node & 0x3f) << 24 | 1 << 23;
fp->mode.ld[1] |= 1 << 22 | (gap_count & 0x3f) << 16;
fp->mode.ld[2] = ~fp->mode.ld[1];
uint32_t *ld = (uint32_t *)xfer->recv.buf;
xfer->spd, xfer->recv.len, ntohl(ld[0]), ntohl(ld[1]), ntohl(ld[2]), ntohl(ld[3]));
printf("vmaccess data:%08x %08x %08x %08x\n", ntohl(ld[4]), ntohl(ld[5]), ntohl(ld[6]), ntohl(ld[7]));
ohcifp->mode.ld[0] = fp->mode.ld[0];
ld0 = FWOHCI_DMA_READ(fp->mode.ld[0]);
fp->mode.ld[i] = FWOHCI_DMA_READ(fp->mode.ld[i]);
uint8_t *ld;
ld = (uint8_t *)db_tr->buf;
ld += dbch->buf_offset;
ld += rlen;
fp=(struct fw_pkt *)ld;
vec[nvec].iov_base = ld;
ld += plen;
dbch->buf_offset = ld - (uint8_t *)db_tr->buf;
stat = FWOHCI_DMA_READ(*(uint32_t *)(ld - sizeof(struct fwohci_trailer)));
uint32_t *ld;
ld = &ohcifp->mode.ld[0];
ld[0] = ld[1] = ld[2] = ld[3] = 0;
ld[i/4] = fp->mode.ld[i/4];
ld[1] = fp->mode.ld[1];
ld[2] = fp->mode.ld[2];
FWOHCI_DMA_WRITE(ld[i], ld[i]);
uint32_t ld[4];
fc->irx_post(fc, fp->mode.ld);
fc->irx_post(fc, fp->mode.ld);
struct xl_list_data *ld;
ld = &sc->xl_ldata;
cd->xl_tx_chain[i].xl_ptr = &ld->xl_tx_list[i];
cd->xl_tx_chain[i].xl_phys = ld->xl_tx_dmaaddr +
bus_dmamap_sync(ld->xl_tx_tag, ld->xl_tx_dmamap, BUS_DMASYNC_PREWRITE);
struct xl_list_data *ld;
ld = &sc->xl_ldata;
cd->xl_tx_chain[i].xl_ptr = &ld->xl_tx_list[i];
cd->xl_tx_chain[i].xl_phys = ld->xl_tx_dmaaddr +
bzero(ld->xl_tx_list, XL_TX_LIST_SZ);
ld->xl_tx_list[0].xl_status = htole32(XL_TXSTAT_EMPTY);
bus_dmamap_sync(ld->xl_tx_tag, ld->xl_tx_dmamap, BUS_DMASYNC_PREWRITE);
struct xl_list_data *ld;
ld = &sc->xl_ldata;
cd->xl_rx_chain[i].xl_ptr = &ld->xl_rx_list[i];
nextptr = ld->xl_rx_dmaaddr +
ld->xl_rx_list[i].xl_next = htole32(nextptr);
bus_dmamap_sync(ld->xl_rx_tag, ld->xl_rx_dmamap, BUS_DMASYNC_PREWRITE);
struct dc_list_data *ld;
ld = &sc->dc_ldata;
ld->dc_tx_list[i].dc_status = 0;
ld->dc_tx_list[i].dc_ctl = 0;
ld->dc_tx_list[i].dc_data = 0;
ld->dc_tx_list[i].dc_next = htole32(DC_TXDESC(sc, nexti));
struct dc_list_data *ld;
ld = &sc->dc_ldata;
ld->dc_rx_list[i].dc_next = htole32(DC_RXDESC(sc, nexti));
struct dc_list_data *ld;
ld = &sc->dc_ldata;
bzero(ld->dc_rx_list, DC_RX_LIST_SZ);
ctl = le32toh(ld->dc_tx_list[i].dc_ctl);
bzero(ld->dc_tx_list, DC_TX_LIST_SZ);
struct pcn_list_data *ld;
ld = sc->pcn_ldata;
ld->pcn_tx_list[i].pcn_tbaddr = 0;
ld->pcn_tx_list[i].pcn_txctl = 0;
ld->pcn_tx_list[i].pcn_txstat = 0;
struct sge_list_data *ld;
ld = &sc->sge_ldata;
txstat = le32toh(ld->sge_tx_ring[cons].sge_cmdsts);
ld->sge_tx_ring[cons].sge_cmdsts = 0;
struct sge_list_data *ld;
ld = &sc->sge_ldata;
error = bus_dmamem_alloc(cd->sge_rx_tag, (void **)&ld->sge_rx_ring,
ld->sge_rx_ring, SGE_RX_RING_SZ, sge_dma_map_addr,
&ld->sge_rx_paddr, BUS_DMA_NOWAIT);
error = bus_dmamem_alloc(cd->sge_tx_tag, (void **)&ld->sge_tx_ring,
ld->sge_tx_ring, SGE_TX_RING_SZ, sge_dma_map_addr,
&ld->sge_tx_paddr, BUS_DMA_NOWAIT);
struct sge_list_data *ld;
ld = &sc->sge_ldata;
if (ld->sge_rx_paddr != 0)
if (ld->sge_rx_ring != NULL)
bus_dmamem_free(cd->sge_rx_tag, ld->sge_rx_ring,
ld->sge_rx_ring = NULL;
ld->sge_rx_paddr = 0;
if (ld->sge_tx_paddr != 0)
if (ld->sge_tx_ring != NULL)
bus_dmamem_free(cd->sge_tx_tag, ld->sge_tx_ring,
ld->sge_tx_ring = NULL;
ld->sge_tx_paddr = 0;
struct sge_list_data *ld;
ld = &sc->sge_ldata;
bzero(ld->sge_tx_ring, SGE_TX_RING_SZ);
ld->sge_tx_ring[SGE_TX_RING_CNT - 1].sge_flags = htole32(RING_END);
LocalDevice* ld = LocalDevice::GetLocalDevice(atoi(argv[0]));
if (ld == NULL)
DumpInfo(ld);
LocalDevice* ld = NULL;
ld = LocalDevice::GetLocalDevice();
if (ld == NULL)
DumpInfo(ld);
asyreq->pkt.mode.ld[0] = 0;
asyreq->pkt.mode.ld[1] = 0;
asyreq->pkt.mode.ld[1] |= ((root_node << 24) | (1 << 23));
asyreq->pkt.mode.ld[1] |= ((1 << 22) | (gap_count << 16));
asyreq->pkt.mode.ld[2] = ~asyreq->pkt.mode.ld[1];
asyreq->pkt.mode.ld[1] |= (1 << 30) | ((node & 0x3f) << 24);
asyreq->pkt.mode.ld[2] = ~asyreq->pkt.mode.ld[1];
DiscoveryAgent::SetLocalDeviceOwner(LocalDevice* ld)
fLocalDevice = ld;
DiscoveryAgent::DiscoveryAgent(LocalDevice* ld)
fLocalDevice = ld;
DiscoveryListener::SetLocalDeviceOwner(LocalDevice* ld)
fLocalDevice = ld;
RemoteDevice::SetLocalDeviceOwner(LocalDevice* ld)
fDiscovererLocalDevice = ld;
fFreeListCount = ld(size) - PAGE_SHIFT + 1;
range->size, range->type, size, ld(size) - PAGE_SHIFT);
fFreeLists[ld(size) - PAGE_SHIFT].Add(range);
range->size, range->type, size, ld(size) - PAGE_SHIFT);
fFreeLists[ld(size) - PAGE_SHIFT].Remove(range);
int freeListIndex = ld((size * 2 - 1) >> PAGE_SHIFT);
if (ld(range->size) - PAGE_SHIFT != i) {
#define PTR_L ld
#define LONG_L ld
#define REG_L ld