Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c432 uint64_t cur_addr; in __cvmx_bootmem_phy_free() local
455 cur_addr = cvmx_bootmem_desc->head_addr; in __cvmx_bootmem_phy_free()
456 if (cur_addr == 0 || phy_addr < cur_addr) { in __cvmx_bootmem_phy_free()
458 if (cur_addr && phy_addr + size > cur_addr) in __cvmx_bootmem_phy_free()
460 else if (phy_addr + size == cur_addr) { in __cvmx_bootmem_phy_free()
464 (cur_addr)); in __cvmx_bootmem_phy_free()
467 (cur_addr) + size); in __cvmx_bootmem_phy_free()
472 cvmx_bootmem_phy_set_next(phy_addr, cur_addr); in __cvmx_bootmem_phy_free()
481 while (cur_addr && phy_addr > cur_addr) { in __cvmx_bootmem_phy_free()
482 prev_addr = cur_addr; in __cvmx_bootmem_phy_free()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-dma-sff.c125 u32 cur_addr, cur_len, xcount, bcount; in ide_build_dmatable() local
127 cur_addr = sg_dma_address(sg); in ide_build_dmatable()
140 bcount = 0x10000 - (cur_addr & 0xffff); in ide_build_dmatable()
143 *table++ = cpu_to_le32(cur_addr); in ide_build_dmatable()
151 *table++ = cpu_to_le32(cur_addr + 0x8000); in ide_build_dmatable()
155 cur_addr += bcount; in ide_build_dmatable()
Dtx4939ide.c243 u32 cur_addr, cur_len, bcount; in tx4939ide_build_dmatable() local
245 cur_addr = sg_dma_address(sg); in tx4939ide_build_dmatable()
256 bcount = 0x10000 - (cur_addr & 0xffff); in tx4939ide_build_dmatable()
266 *table++ = cur_addr; in tx4939ide_build_dmatable()
267 cur_addr += bcount; in tx4939ide_build_dmatable()
Dpmac.c1473 u32 cur_addr; in pmac_ide_build_dmatable() local
1476 cur_addr = sg_dma_address(sg); in pmac_ide_build_dmatable()
1479 if (pmif->broken_dma && cur_addr & (L1_CACHE_BYTES - 1)) { in pmac_ide_build_dmatable()
1497 table->phy_addr = cpu_to_le32(cur_addr); in pmac_ide_build_dmatable()
1501 cur_addr += tc; in pmac_ide_build_dmatable()
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Dxmit_linux.c34 return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - in remainder_len()
41 pfile->cur_addr = pfile->buf_start = pktptr->data; in _r8712_open_pktfile()
55 pfile->cur_addr += len; in _r8712_pktfile_read()
Dxmit_osdep.h25 u8 *cur_addr; member
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
Ddma.c30 dma_addr_t cur_addr; member
59 idma->cur_addr = idma->dma_addr; in iomd_get_next_sg()
60 offset = idma->cur_addr & ~PAGE_MASK; in iomd_get_next_sg()
88 idma->cur_addr = 0; in iomd_get_next_sg()
119 writel(idma->cur_addr, base + cur); in iomd_dma_handle()
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dma.c121 uint32_t cur_addr, hw_addr, next_addr; in via_cmdbuf_wait() local
125 cur_addr = dev_priv->dma_low; in via_cmdbuf_wait()
126 next_addr = cur_addr + size + 512 * 1024; in via_cmdbuf_wait()
133 hw_addr, cur_addr, next_addr); in via_cmdbuf_wait()
136 if ((cur_addr < hw_addr) && (next_addr >= hw_addr)) in via_cmdbuf_wait()
138 } while ((cur_addr < hw_addr) && (next_addr >= hw_addr)); in via_cmdbuf_wait()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c15 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
21 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
37 pfile->cur_addr += len; in _rtw_pktfile_read()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5_core.c131 u8 cur_addr; in hdmi_core_ddc_edid() local
143 for (cur_addr = 0; cur_addr < 128; ++cur_addr) { in hdmi_core_ddc_edid()
150 edidbase + cur_addr, 7, 0); in hdmi_core_ddc_edid()
180 pedid[cur_addr] = REG_GET(base, HDMI_CORE_I2CM_DATAI, 7, 0); in hdmi_core_ddc_edid()
181 checksum += pedid[cur_addr]; in hdmi_core_ddc_edid()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi5_core.c119 u8 cur_addr; in hdmi5_core_ddc_read() local
130 for (cur_addr = 0; cur_addr < len; ++cur_addr) { in hdmi5_core_ddc_read()
137 edidbase + cur_addr, 7, 0); in hdmi5_core_ddc_read()
167 buf[cur_addr] = REG_GET(base, HDMI_CORE_I2CM_DATAI, 7, 0); in hdmi5_core_ddc_read()
/kernel/linux/linux-5.10/drivers/media/pci/b2c2/
Dflexcop-pci.c185 dma_addr_t cur_addr = in flexcop_pci_isr() local
187 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; in flexcop_pci_isr()
193 v.raw, (unsigned long long)cur_addr, cur_pos, in flexcop_pci_isr()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dxmit_osdep.h16 u8 *cur_addr; member
/kernel/linux/linux-5.10/drivers/dma/
Dfsl-edma-common.c277 dma_addr_t cur_addr, dma_addr; in fsl_edma_desc_residue() local
290 cur_addr = edma_readl(fsl_chan->edma, &regs->tcd[ch].saddr); in fsl_edma_desc_residue()
292 cur_addr = edma_readl(fsl_chan->edma, &regs->tcd[ch].daddr); in fsl_edma_desc_residue()
304 if (cur_addr >= dma_addr && cur_addr < dma_addr + size) { in fsl_edma_desc_residue()
305 len += dma_addr + size - cur_addr; in fsl_edma_desc_residue()
Dst_fdma.c561 dma_addr_t cur_addr = 0; in st_fdma_desc_residue() local
565 cur_addr = fchan_read(fchan, FDMA_CH_CMD_OFST); in st_fdma_desc_residue()
566 cur_addr &= FDMA_CH_CMD_DATA_MASK; in st_fdma_desc_residue()
570 if (cur_addr == fdesc->node[i].pdesc) { in st_fdma_desc_residue()
/kernel/linux/linux-5.10/fs/f2fs/
Dxattr.c326 void *cur_addr, *txattr_addr, *last_txattr_addr; in lookup_all_xattrs() local
364 cur_addr = XATTR_HDR(last_addr) - 1; in lookup_all_xattrs()
366 cur_addr = txattr_addr; in lookup_all_xattrs()
368 *xe = __find_xattr(cur_addr, last_txattr_addr, index, len, name); in lookup_all_xattrs()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dbroadsheetfb.c683 int cur_addr; in broadsheet_write_spiflash() local
699 cur_addr = wfm_addr + offset; in broadsheet_write_spiflash()
700 maxlen = roundup(cur_addr, sector_size) - cur_addr; in broadsheet_write_spiflash()
704 cur_addr, writecount, wfm + offset); in broadsheet_write_spiflash()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_mpc52xx.c458 dma_addr_t cur_addr = sg_dma_address(sg); in mpc52xx_ata_build_dmatable() local
470 bd->dst_pa = (__force u32) cur_addr; in mpc52xx_ata_build_dmatable()
473 bd->src_pa = (__force u32) cur_addr; in mpc52xx_ata_build_dmatable()
480 cur_addr += tc; in mpc52xx_ata_build_dmatable()
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
Dadma.c822 dma_addr_t cur_addr = srcs[i]; in ppc440spe_dma2_pq_slot_count() local
826 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count()
832 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count()
844 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count()
848 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count()
852 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count()
856 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count()
1272 char *cur_addr = page_address(ppc440spe_rxor_srcs[i]); in ppc440spe_can_rxor() local
1277 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor()
1281 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
Datp.h13 ushort cur_addr; /* Apparently the current buffer address(?) */ member
Datp.c765 rx_head.rx_count, rx_head.rx_status, rx_head.cur_addr); in net_rx()
/kernel/linux/linux-5.10/sound/pci/hda/
Dpatch_ca0132.c9095 unsigned int tmp[2], i, count, cur_addr; in ca0132_mmio_init_sbz() local
9102 cur_addr = i; in ca0132_mmio_init_sbz()
9123 writel(tmp[i], spec->mem_base + addr[cur_addr + i]); in ca0132_mmio_init_sbz()
9125 cur_addr += i; in ca0132_mmio_init_sbz()
9139 writel(data[i], spec->mem_base + addr[cur_addr + i]); in ca0132_mmio_init_sbz()
9213 unsigned int i, cur_addr; in ae5_register_set() local
9239 for (i = cur_addr = 0; i < 3; i++, cur_addr++) in ae5_register_set()
9240 writeb(tmp[i], spec->mem_base + addr[cur_addr]); in ae5_register_set()
9246 for (i = 0; cur_addr < 12; i++, cur_addr++) in ae5_register_set()
9247 writeb(data[i], spec->mem_base + addr[cur_addr]); in ae5_register_set()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0017_linux_drivers_dma_dmabuf.patch605 + dma_addr_t cur_addr, dma_addr;
618 + cur_addr = readl(addr + EDMA_TCD_SADDR);
620 + cur_addr = readl(addr + EDMA_TCD_DADDR);
630 + cur_addr = le32_to_cpu(edesc->tcd[i].vtcd->sda);
640 + if (cur_addr > dma_addr && cur_addr <= dma_addr + size) {
641 + len += dma_addr + size - cur_addr;
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daic79xx_core.c9936 u_int cur_addr; in ahd_read_seeprom() local
9947 for (cur_addr = start_addr; cur_addr < end_addr; cur_addr++) { in ahd_read_seeprom()
9949 ahd_outb(ahd, SEEADR, cur_addr); in ahd_read_seeprom()
9981 u_int cur_addr; in ahd_write_seeprom() local
10002 for (cur_addr = start_addr; cur_addr < end_addr; cur_addr++) { in ahd_write_seeprom()
10004 ahd_outb(ahd, SEEADR, cur_addr); in ahd_write_seeprom()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c3605 struct sockaddr *addr, *cur_addr; in cma_check_port() local
3617 cur_addr = cma_src_addr(cur_id); in cma_check_port()
3619 (addr->sa_family != cur_addr->sa_family)) in cma_check_port()
3622 if (cma_any_addr(addr) || cma_any_addr(cur_addr)) in cma_check_port()
3625 if (!cma_addr_cmp(addr, cur_addr)) in cma_check_port()