Lines Matching refs:htonl
96 #define MYRI10GE_NO_CONFIRM_DATA htonl(0xffffffff)
406 buf->data0 = htonl(data->data0); in myri10ge_send_cmd()
407 buf->data1 = htonl(data->data1); in myri10ge_send_cmd()
408 buf->data2 = htonl(data->data2); in myri10ge_send_cmd()
409 buf->cmd = htonl(cmd); in myri10ge_send_cmd()
413 buf->response_addr.low = htonl(dma_low); in myri10ge_send_cmd()
414 buf->response_addr.high = htonl(dma_high); in myri10ge_send_cmd()
415 response->result = htonl(MYRI10GE_NO_RESPONSE_RESULT); in myri10ge_send_cmd()
430 response->result == htonl(MYRI10GE_NO_RESPONSE_RESULT); in myri10ge_send_cmd()
439 response->result == htonl(MYRI10GE_NO_RESPONSE_RESULT); in myri10ge_send_cmd()
541 buf[0] = htonl(dma_high); /* confirm addr MSW */ in myri10ge_dummy_rdma()
542 buf[1] = htonl(dma_low); /* confirm addr LSW */ in myri10ge_dummy_rdma()
544 buf[3] = htonl(dma_high); /* dummy addr MSW */ in myri10ge_dummy_rdma()
545 buf[4] = htonl(dma_low); /* dummy addr LSW */ in myri10ge_dummy_rdma()
546 buf[5] = htonl(enable); /* enable? */ in myri10ge_dummy_rdma()
781 buf[0] = htonl(dma_high); /* confirm addr MSW */ in myri10ge_load_firmware()
782 buf[1] = htonl(dma_low); /* confirm addr LSW */ in myri10ge_load_firmware()
789 buf[3] = htonl(MYRI10GE_FW_OFFSET + 8); /* where the code starts */ in myri10ge_load_firmware()
790 buf[4] = htonl(size - 8); /* length of code */ in myri10ge_load_firmware()
791 buf[5] = htonl(8); /* where to copy to */ in myri10ge_load_firmware()
792 buf[6] = htonl(0); /* where to jump to */ in myri10ge_load_firmware()
1128 put_be32(htonl(mgp->intr_coal_delay), mgp->intr_coal_delay_ptr); in myri10ge_reset()
1190 put_be32(htonl(tag), ss->dca_tag); in myri10ge_write_dca()
1269 src->addr_low = htonl(DMA_BIT_MASK(32)); in myri10ge_submit_8rx()
1343 htonl(MYRI10GE_LOWPART_TO_U32(rx->bus) + rx->page_offset); in myri10ge_alloc_rx_pages()
1345 htonl(MYRI10GE_HIGHPART_TO_U32(rx->bus)); in myri10ge_alloc_rx_pages()
1571 put_be32(htonl(1), tx->send_stop); in myri10ge_tx_done()
1682 put_be32(htonl(3), ss->irq_claim); in myri10ge_poll()
1771 put_be32(htonl(3), ss->irq_claim + 1); in myri10ge_intr()
1849 put_be32(htonl(mgp->intr_coal_delay), mgp->intr_coal_delay_ptr); in myri10ge_set_coalesce()
2956 high_swapped = htonl(MYRI10GE_HIGHPART_TO_U32(bus)); in myri10ge_xmit()
2998 req->addr_low = htonl(low); in myri10ge_xmit()
3052 put_be32(htonl(1), tx->send_go); in myri10ge_xmit()