Home
last modified time | relevance | path

Searched refs:phys_addr (Results 1 – 25 of 109) sorted by relevance

12345

/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c294 u64 phys_addr; in nx_fw_cmd_create_rx_ctx() local
352 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
365 prq_sds[i].host_phys_addr = cpu_to_le64(sds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()
370 phys_addr = hostrq_phys_addr; in nx_fw_cmd_create_rx_ctx()
372 cmd.req.arg1 = (u32)(phys_addr >> 32); in nx_fw_cmd_create_rx_ctx()
373 cmd.req.arg2 = (u32)(phys_addr & 0xffffffff); in nx_fw_cmd_create_rx_ctx()
450 u64 offset, phys_addr; in nx_fw_cmd_create_tx_ctx() local
487 prq->dummy_dma_addr = cpu_to_le64(adapter->dummy_dma.phys_addr); in nx_fw_cmd_create_tx_ctx()
489 offset = recv_ctx->phys_addr + sizeof(struct netxen_ring_ctx); in nx_fw_cmd_create_tx_ctx()
494 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr); in nx_fw_cmd_create_tx_ctx()
[all …]
/drivers/input/serio/
Dxilinx_ps2.c242 resource_size_t remap_size, phys_addr; in xps2_of_probe() local
272 phys_addr = r_mem.start; in xps2_of_probe()
274 if (!request_mem_region(phys_addr, remap_size, DRIVER_NAME)) { in xps2_of_probe()
276 (unsigned long long)phys_addr); in xps2_of_probe()
282 drvdata->base_address = ioremap(phys_addr, remap_size); in xps2_of_probe()
285 (unsigned long long)phys_addr); in xps2_of_probe()
298 (unsigned long long)phys_addr, drvdata->base_address, in xps2_of_probe()
309 "Xilinx XPS PS/2 at %08llX", (unsigned long long)phys_addr); in xps2_of_probe()
311 "xilinxps2/serio at %08llX", (unsigned long long)phys_addr); in xps2_of_probe()
318 release_mem_region(phys_addr, remap_size); in xps2_of_probe()
/drivers/misc/sgi-xp/
Dxp_uv.c90 xp_expand_memprotect_uv(unsigned long phys_addr, unsigned long size) in xp_expand_memprotect_uv() argument
95 ret = uv_bios_change_memprotect(phys_addr, size, UV_MEMPROT_ALLOW_RW); in xp_expand_memprotect_uv()
105 ret = sn_change_memprotect(phys_addr, size, SN_MEMPROT_ACCESS_CLASS_1, in xp_expand_memprotect_uv()
119 xp_restrict_memprotect_uv(unsigned long phys_addr, unsigned long size) in xp_restrict_memprotect_uv() argument
124 ret = uv_bios_change_memprotect(phys_addr, size, in xp_restrict_memprotect_uv()
135 ret = sn_change_memprotect(phys_addr, size, SN_MEMPROT_ACCESS_CLASS_0, in xp_restrict_memprotect_uv()
Dxp_sn2.c133 xp_expand_memprotect_sn2(unsigned long phys_addr, unsigned long size) in xp_expand_memprotect_sn2() argument
138 ret = sn_change_memprotect(phys_addr, size, SN_MEMPROT_ACCESS_CLASS_1, in xp_expand_memprotect_sn2()
149 xp_restrict_memprotect_sn2(unsigned long phys_addr, unsigned long size) in xp_restrict_memprotect_sn2() argument
154 ret = sn_change_memprotect(phys_addr, size, SN_MEMPROT_ACCESS_CLASS_0, in xp_restrict_memprotect_sn2()
Dxp_main.c57 enum xp_retval (*xp_expand_memprotect) (unsigned long phys_addr,
60 enum xp_retval (*xp_restrict_memprotect) (unsigned long phys_addr,
/drivers/net/ethernet/3com/
D3c509.c220 static int el3_isa_id_sequence(__be16 *phys_addr) in el3_isa_id_sequence() argument
248 phys_addr[i] = htons(id_read_eeprom(i)); in el3_isa_id_sequence()
256 !memcmp(phys_addr, el3_devs[i]->dev_addr, in el3_isa_id_sequence()
260 phys_addr[0] & 0xff, phys_addr[0] >> 8, in el3_isa_id_sequence()
261 phys_addr[1] & 0xff, phys_addr[1] >> 8, in el3_isa_id_sequence()
262 phys_addr[2] & 0xff, phys_addr[2] >> 8); in el3_isa_id_sequence()
274 static void __devinit el3_dev_fill(struct net_device *dev, __be16 *phys_addr, in el3_dev_fill() argument
280 memcpy(dev->dev_addr, phys_addr, ETH_ALEN); in el3_dev_fill()
293 __be16 phys_addr[3]; in el3_isa_match() local
295 while ((err = el3_isa_id_sequence(phys_addr)) == 2) in el3_isa_match()
[all …]
/drivers/char/
Dramoops.c61 phys_addr_t phys_addr; member
146 cxt->phys_addr = pdata->mem_address; in ramoops_probe()
150 if (!request_mem_region(cxt->phys_addr, cxt->size, "ramoops")) { in ramoops_probe()
156 cxt->virt_addr = ioremap(cxt->phys_addr, cxt->size); in ramoops_probe()
183 release_mem_region(cxt->phys_addr, cxt->size); in ramoops_probe()
196 release_mem_region(cxt->phys_addr, cxt->size); in ramoops_remove()
/drivers/net/ethernet/i825xx/
Dlp486e.c197 typedef u32 phys_addr; typedef
199 static inline phys_addr
205 pa_to_va(phys_addr x) { in pa_to_va()
218 phys_addr pa_next; /* va_to_pa(struct i596_cmd *next) */
227 phys_addr pa_next; /* va_to_pa(struct i596_tbd *next) */
228 phys_addr pa_data; /* va_to_pa(char *data) */
234 phys_addr pa_tbd; /* va_to_pa(struct i596_tbd *tbd) */
260 phys_addr pa_next; /* va_to_pa(struct i596_rfd *next) */
261 phys_addr pa_rbd; /* va_to_pa(struct i596_rbd *rbd) */
277 phys_addr pa_next; /* va_to_pa(struct i596_tbd *next) */
[all …]
/drivers/net/wireless/orinoco/
Dairport.c152 unsigned long phys_addr; in airport_attach() local
182 phys_addr = macio_resource_start(mdev, 0); /* Physical address */ in airport_attach()
183 printk(KERN_DEBUG PFX "Physical address %lx\n", phys_addr); in airport_attach()
184 card->vaddr = ioremap(phys_addr, AIRPORT_IO_LEN); in airport_attach()
213 if (orinoco_if_add(priv, phys_addr, card->irq, NULL) != 0) { in airport_attach()
/drivers/w1/masters/
Dmatrox_w1.c85 unsigned long phys_addr; member
182 dev->phys_addr = pci_resource_start(pdev, 1); in matrox_w1_probe()
184 dev->virt_addr = ioremap_nocache(dev->phys_addr, 16384); in matrox_w1_probe()
187 __func__, dev->phys_addr, 16384); in matrox_w1_probe()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c201 u64 phys_addr; in qlcnic_fw_cmd_create_rx_ctx() local
266 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in qlcnic_fw_cmd_create_rx_ctx()
281 prq_sds[i].host_phys_addr = cpu_to_le64(sds_ring->phys_addr); in qlcnic_fw_cmd_create_rx_ctx()
286 phys_addr = hostrq_phys_addr; in qlcnic_fw_cmd_create_rx_ctx()
288 cmd.req.arg1 = (u32) (phys_addr >> 32); in qlcnic_fw_cmd_create_rx_ctx()
289 cmd.req.arg2 = (u32) (phys_addr & 0xffffffff); in qlcnic_fw_cmd_create_rx_ctx()
366 u64 phys_addr; in qlcnic_fw_cmd_create_tx_ctx() local
410 prq_cds->host_phys_addr = cpu_to_le64(tx_ring->phys_addr); in qlcnic_fw_cmd_create_tx_ctx()
413 phys_addr = rq_phys_addr; in qlcnic_fw_cmd_create_tx_ctx()
415 cmd.req.arg1 = (u32)(phys_addr >> 32); in qlcnic_fw_cmd_create_tx_ctx()
[all …]
/drivers/scsi/be2iscsi/
Dbe_cmds.h195 struct phys_addr { struct
238 struct phys_addr pages[8];
395 struct phys_addr pages[4];
429 struct phys_addr pages[8];
599 struct phys_addr pages[8];
613 struct phys_addr pages[26];
622 struct phys_addr pages[8];
723 struct phys_addr dataout_template_pa;
/drivers/net/ethernet/amd/
D7990.c163 ib->phys_addr [0] = dev->dev_addr [1]; in lance_init_ring()
164 ib->phys_addr [1] = dev->dev_addr [0]; in lance_init_ring()
165 ib->phys_addr [2] = dev->dev_addr [3]; in lance_init_ring()
166 ib->phys_addr [3] = dev->dev_addr [2]; in lance_init_ring()
167 ib->phys_addr [4] = dev->dev_addr [5]; in lance_init_ring()
168 ib->phys_addr [5] = dev->dev_addr [4]; in lance_init_ring()
171 ib->phys_addr[i] = dev->dev_addr[i]; in lance_init_ring()
Da2065.c85 unsigned char phys_addr[6]; /* Physical ethernet address */ member
167 ib->phys_addr[0] = dev->dev_addr[1]; in lance_init_ring()
168 ib->phys_addr[1] = dev->dev_addr[0]; in lance_init_ring()
169 ib->phys_addr[2] = dev->dev_addr[3]; in lance_init_ring()
170 ib->phys_addr[3] = dev->dev_addr[2]; in lance_init_ring()
171 ib->phys_addr[4] = dev->dev_addr[5]; in lance_init_ring()
172 ib->phys_addr[5] = dev->dev_addr[4]; in lance_init_ring()
Dsunlance.c217 u8 phys_addr[6]; /* Physical ethernet address */ member
337 ib->phys_addr [0] = dev->dev_addr [1]; in lance_init_ring_dvma()
338 ib->phys_addr [1] = dev->dev_addr [0]; in lance_init_ring_dvma()
339 ib->phys_addr [2] = dev->dev_addr [3]; in lance_init_ring_dvma()
340 ib->phys_addr [3] = dev->dev_addr [2]; in lance_init_ring_dvma()
341 ib->phys_addr [4] = dev->dev_addr [5]; in lance_init_ring_dvma()
342 ib->phys_addr [5] = dev->dev_addr [4]; in lance_init_ring_dvma()
393 sbus_writeb(dev->dev_addr[1], &ib->phys_addr[0]); in lance_init_ring_pio()
394 sbus_writeb(dev->dev_addr[0], &ib->phys_addr[1]); in lance_init_ring_pio()
395 sbus_writeb(dev->dev_addr[3], &ib->phys_addr[2]); in lance_init_ring_pio()
[all …]
/drivers/sbus/char/
Djsflash.c478 reg0.which_io, reg0.phys_addr); in jsflash_init()
486 if ((reg0.phys_addr >> 24) != 0x20) { in jsflash_init()
488 reg0.which_io, reg0.phys_addr); in jsflash_init()
505 reg0.phys_addr = 0x20400000; in jsflash_init()
519 jsf->base = reg0.phys_addr; in jsflash_init()
/drivers/base/
Dmemory.c397 u64 phys_addr; in memory_probe_store() local
402 phys_addr = simple_strtoull(buf, NULL, 0); in memory_probe_store()
404 if (phys_addr & ((pages_per_block << PAGE_SHIFT) - 1)) in memory_probe_store()
408 nid = memory_add_physaddr_to_nid(phys_addr); in memory_probe_store()
409 ret = add_memory(nid, phys_addr, in memory_probe_store()
414 phys_addr += MIN_MEMORY_BLOCK_SIZE; in memory_probe_store()
/drivers/video/
Dep93xx-fb.c447 dma_addr_t phys_addr; in ep93xxfb_alloc_videomem() local
452 &phys_addr, GFP_KERNEL); in ep93xxfb_alloc_videomem()
464 if (check_screenpage_bug && phys_addr & (1 << 27)) { in ep93xxfb_alloc_videomem()
467 phys_addr); in ep93xxfb_alloc_videomem()
469 dma_free_coherent(info->dev, fb_size, virt_addr, phys_addr); in ep93xxfb_alloc_videomem()
473 info->fix.smem_start = phys_addr; in ep93xxfb_alloc_videomem()
/drivers/mtd/nand/
Datmel_nand.c197 dma_addr_t dma_src_addr, dma_dst_addr, phys_addr; in atmel_nand_dma_op() local
214 phys_addr = dma_map_single(dma_dev->dev, p, len, dir); in atmel_nand_dma_op()
215 if (dma_mapping_error(dma_dev->dev, phys_addr)) { in atmel_nand_dma_op()
222 dma_dst_addr = phys_addr; in atmel_nand_dma_op()
224 dma_src_addr = phys_addr; in atmel_nand_dma_op()
251 dma_unmap_single(dma_dev->dev, phys_addr, len, dir); in atmel_nand_dma_op()
/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h117 dma_addr_t phys_addr; /* physical address of HW ring start */ member
142 dma_addr_t phys_addr; /* physical address of the ring */ member
180 dma_addr_t phys_addr; /* physical address of the ring */ member
/drivers/net/wireless/iwlwifi/
Diwl-trans-pcie-tx.c678 dma_addr_t phys_addr; in iwl_enqueue_hcmd() local
769 phys_addr = dma_map_single(trans->dev, &out_cmd->hdr, copy_size, in iwl_enqueue_hcmd()
771 if (unlikely(dma_mapping_error(trans->dev, phys_addr))) { in iwl_enqueue_hcmd()
776 dma_unmap_addr_set(out_meta, mapping, phys_addr); in iwl_enqueue_hcmd()
780 phys_addr, copy_size, 1); in iwl_enqueue_hcmd()
792 phys_addr = dma_map_single(trans->dev, in iwl_enqueue_hcmd()
795 if (dma_mapping_error(trans->dev, phys_addr)) { in iwl_enqueue_hcmd()
803 iwlagn_txq_attach_buf_to_tfd(trans, txq, phys_addr, in iwl_enqueue_hcmd()
/drivers/net/wireless/ath/ath5k/
Ddma.c96 ath5k_hw_set_rxdp(struct ath5k_hw *ah, u32 phys_addr) in ath5k_hw_set_rxdp() argument
104 ath5k_hw_reg_write(ah, phys_addr, AR5K_RXDP); in ath5k_hw_set_rxdp()
394 ath5k_hw_set_txdp(struct ath5k_hw *ah, unsigned int queue, u32 phys_addr) in ath5k_hw_set_txdp() argument
429 ath5k_hw_reg_write(ah, phys_addr, tx_reg); in ath5k_hw_set_txdp()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1987 &iq->phys_addr, NULL, 0, NUMA_NO_NODE); in t4_sge_alloc_rxq()
2007 c.iqaddr = cpu_to_be64(iq->phys_addr); in t4_sge_alloc_rxq()
2064 iq->desc, iq->phys_addr); in t4_sge_alloc_rxq()
2100 &txq->q.phys_addr, &txq->q.sdesc, STAT_LEN, in t4_sge_alloc_eth_txq()
2120 c.eqaddr = cpu_to_be64(txq->q.phys_addr); in t4_sge_alloc_eth_txq()
2128 txq->q.desc, txq->q.phys_addr); in t4_sge_alloc_eth_txq()
2152 sizeof(struct tx_desc), 0, &txq->q.phys_addr, in t4_sge_alloc_ctrl_txq()
2173 c.eqaddr = cpu_to_be64(txq->q.phys_addr); in t4_sge_alloc_ctrl_txq()
2179 txq->q.desc, txq->q.phys_addr); in t4_sge_alloc_ctrl_txq()
2204 &txq->q.phys_addr, &txq->q.sdesc, STAT_LEN, in t4_sge_alloc_ofld_txq()
[all …]
/drivers/staging/tidspbridge/rmgr/
Ddrv.c759 static void *mem_ext_phys_mem_alloc(u32 bytes, u32 align, u32 * phys_addr) in mem_ext_phys_mem_alloc() argument
770 phys_addr = NULL; in mem_ext_phys_mem_alloc()
782 *phys_addr = new_alloc_ptr; in mem_ext_phys_mem_alloc()
791 *phys_addr = 0; in mem_ext_phys_mem_alloc()
/drivers/acpi/
Dosl.c730 acpi_os_read_memory(acpi_physical_address phys_addr, u64 *value, u32 width) in acpi_os_read_memory() argument
738 virt_addr = acpi_map_vaddr_lookup(phys_addr, size); in acpi_os_read_memory()
741 virt_addr = acpi_os_ioremap(phys_addr, size); in acpi_os_read_memory()
789 acpi_os_write_memory(acpi_physical_address phys_addr, u64 value, u32 width) in acpi_os_write_memory() argument
796 virt_addr = acpi_map_vaddr_lookup(phys_addr, size); in acpi_os_write_memory()
799 virt_addr = acpi_os_ioremap(phys_addr, size); in acpi_os_write_memory()

12345