Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c485 uint64_t cur_addr; in __cvmx_bootmem_phy_free() local
508 cur_addr = cvmx_bootmem_desc->head_addr; in __cvmx_bootmem_phy_free()
509 if (cur_addr == 0 || phy_addr < cur_addr) { in __cvmx_bootmem_phy_free()
511 if (cur_addr && phy_addr + size > cur_addr) in __cvmx_bootmem_phy_free()
513 else if (phy_addr + size == cur_addr) { in __cvmx_bootmem_phy_free()
517 (cur_addr)); in __cvmx_bootmem_phy_free()
520 (cur_addr) + size); in __cvmx_bootmem_phy_free()
525 cvmx_bootmem_phy_set_next(phy_addr, cur_addr); in __cvmx_bootmem_phy_free()
534 while (cur_addr && phy_addr > cur_addr) { in __cvmx_bootmem_phy_free()
535 prev_addr = cur_addr; in __cvmx_bootmem_phy_free()
[all …]
/Linux-v4.19/drivers/ide/
Dide-dma-sff.c124 u32 cur_addr, cur_len, xcount, bcount; in ide_build_dmatable() local
126 cur_addr = sg_dma_address(sg); in ide_build_dmatable()
139 bcount = 0x10000 - (cur_addr & 0xffff); in ide_build_dmatable()
142 *table++ = cpu_to_le32(cur_addr); in ide_build_dmatable()
150 *table++ = cpu_to_le32(cur_addr + 0x8000); in ide_build_dmatable()
154 cur_addr += bcount; in ide_build_dmatable()
Dsgiioc4.c422 dma_addr_t cur_addr; in sgiioc4_build_dmatable() local
424 cur_addr = sg_dma_address(sg); in sgiioc4_build_dmatable()
435 0x10000 - (cur_addr & 0xffff); in sgiioc4_build_dmatable()
446 *table = cpu_to_be32(cur_addr); in sgiioc4_build_dmatable()
454 cur_addr += bcount; in sgiioc4_build_dmatable()
Dtx4939ide.c244 u32 cur_addr, cur_len, bcount; in tx4939ide_build_dmatable() local
246 cur_addr = sg_dma_address(sg); in tx4939ide_build_dmatable()
257 bcount = 0x10000 - (cur_addr & 0xffff); in tx4939ide_build_dmatable()
267 *table++ = cur_addr; in tx4939ide_build_dmatable()
268 cur_addr += bcount; in tx4939ide_build_dmatable()
Dau1xxx-ide.c229 u32 cur_addr; in auide_build_dmatable() local
232 cur_addr = sg_dma_address(sg); in auide_build_dmatable()
265 cur_addr += tc; in auide_build_dmatable()
Dpmac.c1478 u32 cur_addr; in pmac_ide_build_dmatable() local
1481 cur_addr = sg_dma_address(sg); in pmac_ide_build_dmatable()
1484 if (pmif->broken_dma && cur_addr & (L1_CACHE_BYTES - 1)) { in pmac_ide_build_dmatable()
1502 table->phy_addr = cpu_to_le32(cur_addr); in pmac_ide_build_dmatable()
1506 cur_addr += tc; in pmac_ide_build_dmatable()
/Linux-v4.19/drivers/staging/rtl8712/
Dxmit_linux.c46 return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - in remainder_len()
53 pfile->cur_addr = pfile->buf_start = pktptr->data; in _r8712_open_pktfile()
67 pfile->cur_addr += len; in _r8712_pktfile_read()
Dxmit_osdep.h37 u8 *cur_addr; member
/Linux-v4.19/drivers/gpu/drm/via/
Dvia_dma.c114 uint32_t cur_addr, hw_addr, next_addr; in via_cmdbuf_wait() local
118 cur_addr = dev_priv->dma_low; in via_cmdbuf_wait()
119 next_addr = cur_addr + size + 512 * 1024; in via_cmdbuf_wait()
126 hw_addr, cur_addr, next_addr); in via_cmdbuf_wait()
129 if ((cur_addr < hw_addr) && (next_addr >= hw_addr)) in via_cmdbuf_wait()
131 } while ((cur_addr < hw_addr) && (next_addr >= hw_addr)); in via_cmdbuf_wait()
/Linux-v4.19/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()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Dhdmi5_core.c141 u8 cur_addr; in hdmi_core_ddc_edid() local
153 for (cur_addr = 0; cur_addr < 128; ++cur_addr) { in hdmi_core_ddc_edid()
160 edidbase + cur_addr, 7, 0); in hdmi_core_ddc_edid()
190 pedid[cur_addr] = REG_GET(base, HDMI_CORE_I2CM_DATAI, 7, 0); in hdmi_core_ddc_edid()
191 checksum += pedid[cur_addr]; in hdmi_core_ddc_edid()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5_core.c142 u8 cur_addr; in hdmi_core_ddc_edid() local
154 for (cur_addr = 0; cur_addr < 128; ++cur_addr) { in hdmi_core_ddc_edid()
161 edidbase + cur_addr, 7, 0); in hdmi_core_ddc_edid()
191 pedid[cur_addr] = REG_GET(base, HDMI_CORE_I2CM_DATAI, 7, 0); in hdmi_core_ddc_edid()
192 checksum += pedid[cur_addr]; in hdmi_core_ddc_edid()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dxmit_osdep.h16 u8 *cur_addr; member
/Linux-v4.19/drivers/media/pci/b2c2/
Dflexcop-pci.c184 dma_addr_t cur_addr = in flexcop_pci_isr() local
186 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; in flexcop_pci_isr()
190 v.raw, (unsigned long long)cur_addr, cur_pos, in flexcop_pci_isr()
/Linux-v4.19/fs/f2fs/
Dxattr.c296 void *cur_addr, *txattr_addr, *last_addr = NULL; in lookup_all_xattrs() local
330 cur_addr = XATTR_HDR(last_addr) - 1; in lookup_all_xattrs()
332 cur_addr = txattr_addr; in lookup_all_xattrs()
334 *xe = __find_xattr(cur_addr, index, len, name); in lookup_all_xattrs()
/Linux-v4.19/drivers/dma/
Dfsl-edma.c374 dma_addr_t cur_addr, dma_addr; in fsl_edma_desc_residue() local
387 cur_addr = edma_readl(fsl_chan->edma, addr + EDMA_TCD_SADDR(ch)); in fsl_edma_desc_residue()
389 cur_addr = edma_readl(fsl_chan->edma, addr + EDMA_TCD_DADDR(ch)); in fsl_edma_desc_residue()
401 if (cur_addr >= dma_addr && cur_addr < dma_addr + size) { in fsl_edma_desc_residue()
402 len += dma_addr + size - cur_addr; in fsl_edma_desc_residue()
Dst_fdma.c567 dma_addr_t cur_addr = 0; in st_fdma_desc_residue() local
571 cur_addr = fchan_read(fchan, FDMA_CH_CMD_OFST); in st_fdma_desc_residue()
572 cur_addr &= FDMA_CH_CMD_DATA_MASK; in st_fdma_desc_residue()
576 if (cur_addr == fdesc->node[i].pdesc) { in st_fdma_desc_residue()
/Linux-v4.19/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()
/Linux-v4.19/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()
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.c834 dma_addr_t cur_addr = srcs[i]; in ppc440spe_dma2_pq_slot_count() local
838 if (cur_addr == old_addr + len) { in ppc440spe_dma2_pq_slot_count()
844 } else if (old_addr == cur_addr + len) { in ppc440spe_dma2_pq_slot_count()
856 && cur_addr != old_addr - len)) { in ppc440spe_dma2_pq_slot_count()
860 } else if (cur_addr == old_addr + len*order) { in ppc440spe_dma2_pq_slot_count()
864 } else if (cur_addr == old_addr + 2*len) { in ppc440spe_dma2_pq_slot_count()
868 } else if (cur_addr == old_addr + 3*len) { in ppc440spe_dma2_pq_slot_count()
1284 char *cur_addr = page_address(ppc440spe_rxor_srcs[i]); in ppc440spe_can_rxor() local
1289 if (cur_addr == old_addr + len) { in ppc440spe_can_rxor()
1293 } else if (old_addr == cur_addr + len) { in ppc440spe_can_rxor()
[all …]
/Linux-v4.19/drivers/net/ethernet/realtek/
Datp.h13 ushort cur_addr; /* Apparently the current buffer address(?) */ member
Datp.c762 rx_head.rx_count, rx_head.rx_status, rx_head.cur_addr); in net_rx()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic79xx_core.c10017 u_int cur_addr; in ahd_read_seeprom() local
10028 for (cur_addr = start_addr; cur_addr < end_addr; cur_addr++) { in ahd_read_seeprom()
10030 ahd_outb(ahd, SEEADR, cur_addr); in ahd_read_seeprom()
10062 u_int cur_addr; in ahd_write_seeprom() local
10083 for (cur_addr = start_addr; cur_addr < end_addr; cur_addr++) { in ahd_write_seeprom()
10085 ahd_outb(ahd, SEEADR, cur_addr); in ahd_write_seeprom()
/Linux-v4.19/drivers/infiniband/core/
Dcma.c3196 struct sockaddr *addr, *cur_addr; in cma_check_port() local
3207 cur_addr = cma_src_addr(cur_id); in cma_check_port()
3209 (addr->sa_family != cur_addr->sa_family)) in cma_check_port()
3212 if (cma_any_addr(addr) || cma_any_addr(cur_addr)) in cma_check_port()
3215 if (!cma_addr_cmp(addr, cur_addr)) in cma_check_port()