Lines Matching refs:phys_addr
267 u64 phys_addr; in nx_fw_cmd_create_rx_ctx() local
328 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
341 prq_sds[i].host_phys_addr = cpu_to_le64(sds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
346 phys_addr = hostrq_phys_addr; in nx_fw_cmd_create_rx_ctx()
348 cmd.req.arg1 = (u32)(phys_addr >> 32); in nx_fw_cmd_create_rx_ctx()
349 cmd.req.arg2 = (u32)(phys_addr & 0xffffffff); in nx_fw_cmd_create_rx_ctx()
427 u64 offset, phys_addr; in nx_fw_cmd_create_tx_ctx() local
462 prq->dummy_dma_addr = cpu_to_le64(adapter->dummy_dma.phys_addr); in nx_fw_cmd_create_tx_ctx()
464 offset = recv_ctx->phys_addr + sizeof(struct netxen_ring_ctx); in nx_fw_cmd_create_tx_ctx()
469 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr); in nx_fw_cmd_create_tx_ctx()
472 phys_addr = rq_phys_addr; in nx_fw_cmd_create_tx_ctx()
474 cmd.req.arg1 = (u32)(phys_addr >> 32); in nx_fw_cmd_create_tx_ctx()
475 cmd.req.arg2 = ((u32)phys_addr & 0xffffffff); in nx_fw_cmd_create_tx_ctx()
693 hwctx->cmd_ring_addr = cpu_to_le64(tx_ring->phys_addr); in netxen_init_old_ctx()
701 cpu_to_le64(rds_ring->phys_addr); in netxen_init_old_ctx()
710 hwctx->sts_ring_addr = cpu_to_le64(sds_ring->phys_addr); in netxen_init_old_ctx()
713 hwctx->sts_rings[ring].addr = cpu_to_le64(sds_ring->phys_addr); in netxen_init_old_ctx()
723 lower_32_bits(recv_ctx->phys_addr)); in netxen_init_old_ctx()
725 upper_32_bits(recv_ctx->phys_addr)); in netxen_init_old_ctx()
750 &recv_ctx->phys_addr, GFP_KERNEL); in netxen_alloc_hw_resources()
759 cpu_to_le64(recv_ctx->phys_addr + in netxen_alloc_hw_resources()
766 &tx_ring->phys_addr, GFP_KERNEL); in netxen_alloc_hw_resources()
781 &rds_ring->phys_addr, GFP_KERNEL); in netxen_alloc_hw_resources()
802 &sds_ring->phys_addr, GFP_KERNEL); in netxen_alloc_hw_resources()
879 recv_ctx->hwctx, recv_ctx->phys_addr); in netxen_free_hw_resources()
887 tx_ring->desc_head, tx_ring->phys_addr); in netxen_free_hw_resources()
898 rds_ring->phys_addr); in netxen_free_hw_resources()
910 sds_ring->phys_addr); in netxen_free_hw_resources()