Home
last modified time | relevance | path

Searched refs:mem_addr (Results 1 – 25 of 58) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/
Dcpm_uart_cpm1.c66 u8 *mem_addr; in cpm_uart_allocbuf() local
85 mem_addr = (u8 *) cpm_dpram_addr(cpm_dpalloc(memsz, 8)); in cpm_uart_allocbuf()
86 dma_addr = (u32)cpm_dpram_phys(mem_addr); in cpm_uart_allocbuf()
88 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
91 if (mem_addr == NULL) { in cpm_uart_allocbuf()
99 pinfo->mem_addr = mem_addr; /* virtual address*/ in cpm_uart_allocbuf()
103 pinfo->rx_buf = mem_addr; in cpm_uart_allocbuf()
118 pinfo->tx_fifosize), pinfo->mem_addr, in cpm_uart_freebuf()
Dcpm_uart_cpm2.c101 u8 *mem_addr; in cpm_uart_allocbuf() local
119 mem_addr = kzalloc(memsz, GFP_NOWAIT); in cpm_uart_allocbuf()
120 dma_addr = virt_to_bus(mem_addr); in cpm_uart_allocbuf()
123 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf()
126 if (mem_addr == NULL) { in cpm_uart_allocbuf()
134 pinfo->mem_addr = mem_addr; in cpm_uart_allocbuf()
138 pinfo->rx_buf = mem_addr; in cpm_uart_allocbuf()
153 pinfo->tx_fifosize), (void __force *)pinfo->mem_addr, in cpm_uart_freebuf()
Dcpm_uart.h78 void *mem_addr; member
115 u32 mem = (u32)pinfo->mem_addr; in cpu2cpm_addr()
135 return pinfo->mem_addr + offset; in cpm2cpu_addr()
Dcpm_uart_core.c749 u8 *mem_addr; in cpm_uart_initbd() local
758 mem_addr = pinfo->mem_addr; in cpm_uart_initbd()
761 out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo)); in cpm_uart_initbd()
763 mem_addr += pinfo->rx_fifosize; in cpm_uart_initbd()
766 out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo)); in cpm_uart_initbd()
773 mem_addr = pinfo->mem_addr + L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize); in cpm_uart_initbd()
776 out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo)); in cpm_uart_initbd()
778 mem_addr += pinfo->tx_fifosize; in cpm_uart_initbd()
781 out_be32(&bdp->cbd_bufaddr, cpu2cpm_addr(mem_addr, pinfo)); in cpm_uart_initbd()
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgru_instructions.h383 static inline void gru_vload(void *cb, unsigned long mem_addr, in gru_vload() argument
389 ins->baddr0 = (long)mem_addr; in gru_vload()
396 static inline void gru_vstore(void *cb, unsigned long mem_addr, in gru_vstore() argument
402 ins->baddr0 = (long)mem_addr; in gru_vstore()
409 static inline void gru_ivload(void *cb, unsigned long mem_addr, in gru_ivload() argument
415 ins->baddr0 = (long)mem_addr; in gru_ivload()
422 static inline void gru_ivstore(void *cb, unsigned long mem_addr, in gru_ivstore() argument
428 ins->baddr0 = (long)mem_addr; in gru_ivstore()
435 static inline void gru_vset(void *cb, unsigned long mem_addr, in gru_vset() argument
441 ins->baddr0 = (long)mem_addr; in gru_vset()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/
Donenand_samsung.c131 unsigned int (*mem_addr)(int fba, int fpa, int fsa); member
139 #define CMD_MAP_01(dev, mem_addr) (dev->cmd_map(MAP_01, (mem_addr))) argument
140 #define CMD_MAP_10(dev, mem_addr) (dev->cmd_map(MAP_10, (mem_addr))) argument
382 unsigned int mem_addr, cmd_map_01, cmd_map_10; in s3c_onenand_command() local
390 mem_addr = onenand->mem_addr(fba, fpa, fsa); in s3c_onenand_command()
391 cmd_map_01 = CMD_MAP_01(onenand, mem_addr); in s3c_onenand_command()
392 cmd_map_10 = CMD_MAP_10(onenand, mem_addr); in s3c_onenand_command()
735 unsigned int mem_addr = onenand->mem_addr(block, 0, 0); in s3c_onenand_check_lock_status() local
736 s3c_read_cmd(CMD_MAP_01(onenand, mem_addr)); in s3c_onenand_check_lock_status()
752 start_mem_addr = onenand->mem_addr(start, 0, 0); in s3c_onenand_do_lock_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dmablit.c53 uint32_t mem_addr; member
84 dma_unmap_page(&pdev->dev, desc_ptr->mem_addr, desc_ptr->size, vsg->direction); in via_unmap_blit_from_device()
105 unsigned char *mem_addr = xfer->mem_addr; in via_map_blit_for_device() local
107 unsigned char *first_addr = (unsigned char *)VIA_PGDN(mem_addr); in via_map_blit_for_device()
124 cur_mem = mem_addr; in via_map_blit_for_device()
132 desc_ptr->mem_addr = in via_map_blit_for_device()
156 mem_addr += xfer->mem_stride; in via_map_blit_for_device()
235 unsigned long first_pfn = VIA_PFN(xfer->mem_addr); in via_lock_all_dma_pages()
236 vsg->num_pages = VIA_PFN(xfer->mem_addr + (xfer->num_lines * xfer->mem_stride - 1)) - in via_lock_all_dma_pages()
242 ret = pin_user_pages_fast((unsigned long)xfer->mem_addr, in via_lock_all_dma_pages()
[all …]
/kernel/linux/linux-5.10/drivers/misc/
Dpch_phub.c283 void __iomem *mem_addr = chip->pch_phub_extrom_base_address + in pch_phub_read_serial_rom() local
286 *data = ioread8(mem_addr); in pch_phub_read_serial_rom()
298 void __iomem *mem_addr = chip->pch_phub_extrom_base_address + in pch_phub_write_serial_rom() local
310 word_data = ioread32(mem_addr); in pch_phub_write_serial_rom()
311 iowrite32((word_data & mask) | (u32)data << pos, mem_addr); in pch_phub_write_serial_rom()
337 unsigned int mem_addr; in pch_phub_read_serial_rom_val() local
339 mem_addr = chip->pch_mac_start_address + in pch_phub_read_serial_rom_val()
342 pch_phub_read_serial_rom(chip, mem_addr, data); in pch_phub_read_serial_rom_val()
355 unsigned int mem_addr; in pch_phub_write_serial_rom_val() local
357 mem_addr = chip->pch_mac_start_address + in pch_phub_write_serial_rom_val()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl8712_xmit.c376 pxmitframe->mem_addr = pxmitbuf->pbuf; in r8712_dump_aggr_xframe()
691 u8 *mem_addr; in dump_xframe() local
701 mem_addr = pxmitframe->buf_addr; in dump_xframe()
712 update_txdesc(pxmitframe, (uint *)mem_addr, sz); in dump_xframe()
714 pxmitframe->mem_addr = mem_addr; in dump_xframe()
724 mem_addr += w_sz; in dump_xframe()
725 mem_addr = (u8 *)RND4(((addr_t)(mem_addr))); in dump_xframe()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-dln2.c78 __le32 mem_addr; in dln2_i2c_write() member
89 tx->mem_addr = 0; in dln2_i2c_write()
109 __le32 mem_addr; in dln2_i2c_read() member
123 tx.mem_addr = 0; in dln2_i2c_read()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c335 u8 *mem_addr; in rtw_dump_xframe() local
347 mem_addr = pxmitframe->buf_addr; in rtw_dump_xframe()
365 pull = update_txdesc(pxmitframe, mem_addr, sz, false); in rtw_dump_xframe()
368 mem_addr += PACKET_OFFSET_SZ; /* pull txdesc head */ in rtw_dump_xframe()
369 pxmitframe->buf_addr = mem_addr; in rtw_dump_xframe()
382 mem_addr += w_sz; in rtw_dump_xframe()
384 mem_addr = (u8 *)round_up((size_t)mem_addr, 4); in rtw_dump_xframe()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_fw.c48 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr) in mtk_vcodec_fw_map_dm_addr() argument
50 return fw->ops->map_dm_addr(fw, mem_addr); in mtk_vcodec_fw_map_dm_addr()
Dmtk_vcodec_fw.h36 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr);
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Dislpci_hotplug.c89 u32 mem_addr; in prism54_probe() local
145 rvalue = pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, &mem_addr); in prism54_probe()
146 if (rvalue || !mem_addr) { in prism54_probe()
/kernel/linux/linux-5.10/drivers/dma/sh/
Dusb-dmac.c35 dma_addr_t mem_addr; member
203 dst_addr = sg->mem_addr; in usb_dmac_chan_start_sg()
205 src_addr = sg->mem_addr; in usb_dmac_chan_start_sg()
438 desc->sg[i].mem_addr = sg_dma_address(sg); in usb_dmac_prep_slave_sg()
472 u32 mem_addr = sg->mem_addr & 0xffffffff; in usb_dmac_get_current_residue() local
480 residue -= usb_dmac_chan_read(chan, USB_DMADAR) - mem_addr; in usb_dmac_get_current_residue()
482 residue -= usb_dmac_chan_read(chan, USB_DMASAR) - mem_addr; in usb_dmac_get_current_residue()
Drcar-dmac.c938 dma_addr_t mem_addr = sg_dma_address(sg); in rcar_dmac_chan_prep_sg() local
946 high_mem_addr = mem_addr >> 32; in rcar_dmac_chan_prep_sg()
950 (mem_addr >> 32 != high_mem_addr)) in rcar_dmac_chan_prep_sg()
965 if (mem_addr >> 32 != (mem_addr + size - 1) >> 32) { in rcar_dmac_chan_prep_sg()
966 size = ALIGN(mem_addr, 1ULL << 32) - mem_addr; in rcar_dmac_chan_prep_sg()
979 chunk->dst_addr = mem_addr; in rcar_dmac_chan_prep_sg()
981 chunk->src_addr = mem_addr; in rcar_dmac_chan_prep_sg()
992 mem_addr += size; in rcar_dmac_chan_prep_sg()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dfirmware.c1343 unsigned long view_type, void *mem_addr) in pdc_pat_cell_module() argument
1354 memcpy(mem_addr, &result, *actcnt); in pdc_pat_cell_module()
1462 int pdc_pat_pd_get_addr_map(unsigned long *actual_len, void *mem_addr, in pdc_pat_pd_get_addr_map() argument
1472 memcpy(mem_addr, pdc_result2, *actual_len); in pdc_pat_pd_get_addr_map()
1512 int pdc_pat_io_pci_cfg_read(unsigned long pci_addr, int pci_size, u32 *mem_addr) in pdc_pat_io_pci_cfg_read() argument
1521 case 1: *(u8 *) mem_addr = (u8) pdc_result[0]; break; in pdc_pat_io_pci_cfg_read()
1522 case 2: *(u16 *)mem_addr = (u16) pdc_result[0]; break; in pdc_pat_io_pci_cfg_read()
1523 case 4: *(u32 *)mem_addr = (u32) pdc_result[0]; break; in pdc_pat_io_pci_cfg_read()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dpdcpat.h366 unsigned long mod, unsigned long view_type, void *mem_addr);
371 extern int pdc_pat_pd_get_addr_map(unsigned long *actual_len, void *mem_addr,
/kernel/linux/linux-5.10/include/linux/
Dqcom_scm.h90 extern int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz,
151 static inline int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz, in qcom_scm_assign_mem() argument
/kernel/linux/linux-5.10/drivers/misc/mei/
Dhw-txe.h38 void __iomem * const *mem_addr; member
Dhw-me.h57 void __iomem *mem_addr; member
/kernel/linux/linux-5.10/include/linux/remoteproc/
Dmtk_scp.h64 void *scp_mapping_dm_addr(struct mtk_scp *scp, u32 mem_addr);
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ipc/
Dhw-ish.h62 void __iomem *mem_addr; member
/kernel/liteos_m/tools/
Dmem_analysis.py307 mem_addr = char_list[0].split(':')
308 if True == is_number(mem_addr[0]):
312 storage_dync_node(mem_addr[0], size)
/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa.h102 dma_addr_t mem_addr; member

123