Home
last modified time | relevance | path

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

123

/linux/drivers/mtd/tests/
A Dpagetest.c54 loff_t addr0, addrn; in verify_eraseblock() local
57 addr0 = 0; in verify_eraseblock()
59 addr0 += mtd->erasesize; in verify_eraseblock()
125 addr0 = 0; in crosstest()
127 addr0 += mtd->erasesize; in crosstest()
150 addr = addr0; in crosstest()
168 addr = addr0; in crosstest()
191 loff_t addr0; in erasecrosstest() local
197 addr0 = 0; in erasecrosstest()
270 loff_t addr0; in erasetest() local
[all …]
A Doobtest.c342 loff_t addr = 0, addr0; in mtd_oobtest_init() local
491 addr0 = 0; in mtd_oobtest_init()
493 addr0 += mtd->erasesize; in mtd_oobtest_init()
506 err = mtd_write_oob(mtd, addr0, &ops); in mtd_oobtest_init()
525 err = mtd_read_oob(mtd, addr0, &ops); in mtd_oobtest_init()
/linux/arch/sh/kernel/cpu/sh3/
A Dprobe.c18 unsigned long addr0, addr1, data0, data1, data2, data3; in cpu_probe() local
26 addr0 = CACHE_OC_ADDRESS_ARRAY + (3 << 12); in cpu_probe()
30 data0 = __raw_readl(addr0); in cpu_probe()
31 __raw_writel(data0&~(SH_CACHE_VALID|SH_CACHE_UPDATED), addr0); in cpu_probe()
36 data0 = __raw_readl(addr0); in cpu_probe()
38 __raw_writel(data0, addr0); in cpu_probe()
42 data3 = __raw_readl(addr0); in cpu_probe()
45 __raw_writel(data0&~SH_CACHE_VALID, addr0); in cpu_probe()
/linux/arch/mips/mm/
A Dmmap.c30 unsigned long addr0, unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_common() argument
35 unsigned long addr = addr0; in arch_get_unmapped_area_common()
101 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0, in arch_get_unmapped_area() argument
105 addr0, len, pgoff, flags, UP); in arch_get_unmapped_area()
113 unsigned long addr0, unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_topdown() argument
117 addr0, len, pgoff, flags, DOWN); in arch_get_unmapped_area_topdown()
A Dc-r4k.c903 unsigned long addr0 = addr, addr1; in prefetch_cache_inv() local
905 addr0 &= ~(linesz - 1); in prefetch_cache_inv()
906 addr1 = (addr0 + size - 1) & ~(linesz - 1); in prefetch_cache_inv()
908 protected_writeback_scache_line(addr0); in prefetch_cache_inv()
909 if (likely(addr1 != addr0)) in prefetch_cache_inv()
914 addr0 += linesz; in prefetch_cache_inv()
915 if (likely(addr1 != addr0)) in prefetch_cache_inv()
916 protected_writeback_scache_line(addr0); in prefetch_cache_inv()
921 if (likely(addr1 > addr0)) in prefetch_cache_inv()
922 protected_writeback_scache_line(addr0); in prefetch_cache_inv()
/linux/drivers/pci/controller/cadence/
A Dpcie-cadence.c36 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region() local
42 addr0 = CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(nbits) | in cdns_pcie_set_outbound_region()
46 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR0(r), addr0); in cdns_pcie_set_outbound_region()
95 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(nbits) | in cdns_pcie_set_outbound_region()
99 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(r), addr0); in cdns_pcie_set_outbound_region()
107 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region_for_normal_msg() local
125 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(17) | in cdns_pcie_set_outbound_region_for_normal_msg()
133 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(r), addr0); in cdns_pcie_set_outbound_region_for_normal_msg()
A Dpcie-cadence-host.c33 u32 addr0, desc0; in cdns_pci_map_bus() local
53 addr0 = CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(12) | in cdns_pci_map_bus()
56 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR0(0), addr0); in cdns_pci_map_bus()
189 u32 addr0, addr1, aperture, value; in cdns_pcie_host_bar_ib_config() local
197 addr0 = CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS(aperture) | in cdns_pcie_host_bar_ib_config()
200 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR0(bar), addr0); in cdns_pcie_host_bar_ib_config()
403 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local
423 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(12) | in cdns_pcie_host_init_address_translation()
426 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(0), addr0); in cdns_pcie_host_init_address_translation()
/linux/drivers/net/ethernet/apm/xgene-v2/
A Dmac.c69 u32 addr0, addr1; in xge_mac_set_station_addr() local
71 addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | in xge_mac_set_station_addr()
75 xge_wr_csr(pdata, STATION_ADDR0, addr0); in xge_mac_set_station_addr()
/linux/drivers/pci/controller/
A Dpcie-rockchip-ep.c76 u32 addr0, addr1, desc0, desc1; in rockchip_pcie_prog_ep_ob_atu() local
84 addr0 = ((is_nor_msg ? 0x10 : (num_pass_bits - 1)) & in rockchip_pcie_prog_ep_ob_atu()
102 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_prog_ep_ob_atu()
111 addr0 = in rockchip_pcie_prog_ep_ob_atu()
119 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_prog_ep_ob_atu()
170 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local
212 addr0 = lower_32_bits(bar_phys); in rockchip_pcie_ep_set_bar()
222 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_ep_set_bar()
/linux/arch/s390/boot/
A Dipl_report.c24 static inline bool intersects(unsigned long addr0, unsigned long size0, in intersects() argument
27 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/linux/arch/powerpc/kernel/
A Dpci_of_scan.c75 unsigned int pci_parse_of_flags(u32 addr0, int bridge) in pci_parse_of_flags() argument
77 unsigned int flags = 0, as = addr0 & OF_PCI_ADDR0_SPACE_MASK; in pci_parse_of_flags()
85 if (addr0 & OF_PCI_ADDR0_ALIAS) in pci_parse_of_flags()
88 if (addr0 & OF_PCI_ADDR0_PREFETCH) in pci_parse_of_flags()
97 if (!bridge && (addr0 & OF_PCI_ADDR0_BARREG) == PCI_ROM_ADDRESS) in pci_parse_of_flags()
/linux/arch/x86/kernel/
A Dsys_x86_64.c164 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
170 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
230 return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
/linux/arch/powerpc/mm/
A Dmmap.c132 const unsigned long addr0, in radix__arch_get_unmapped_area_topdown() argument
139 unsigned long addr = addr0; in radix__arch_get_unmapped_area_topdown()
182 return radix__arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in radix__arch_get_unmapped_area_topdown()
/linux/drivers/staging/mt7621-dma/
A Dhsdma-mt7621.c125 u32 addr0; member
245 i, tx_desc->addr0, tx_desc->flags, in hsdma_dump_desc()
246 tx_desc->addr1, rx_desc->addr0, rx_desc->flags); in hsdma_dump_desc()
263 chan->tx_ring[i].addr0 = 0; in mtk_hsdma_reset()
267 chan->rx_ring[i].addr0 = 0; in mtk_hsdma_reset()
340 tx_desc->addr0 = src; in mtk_hsdma_start_transfer()
366 rx_desc->addr0 = dst; in mtk_hsdma_start_transfer()
/linux/arch/sh/mm/
A Dmmap.c81 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
87 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
/linux/arch/arm/mm/
A Dmmap.c81 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
87 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
/linux/arch/mips/txx9/generic/
A Dsetup_tx4939.c341 void __init tx4939_ethaddr_init(unsigned char *addr0, unsigned char *addr1) in tx4939_ethaddr_init() argument
345 if (addr0 && (pcfg & TX4939_PCFG_ET0MODE)) in tx4939_ethaddr_init()
346 txx9_ethaddr_init(TXX9_IRQ_BASE + TX4939_IR_ETH(0), addr0); in tx4939_ethaddr_init()
352 void __init tx4939_ethaddr_init(unsigned char *addr0, unsigned char *addr1) in tx4939_ethaddr_init() argument
A Dsetup_tx4938.c310 void __init tx4938_ethaddr_init(unsigned char *addr0, unsigned char *addr1) in tx4938_ethaddr_init() argument
314 if (addr0 && (pcfg & TX4938_PCFG_ETH0_SEL)) in tx4938_ethaddr_init()
315 txx9_ethaddr_init(TXX9_IRQ_BASE + TX4938_IR_ETH0, addr0); in tx4938_ethaddr_init()
/linux/arch/sparc/kernel/
A Dpci.c183 static unsigned long pci_parse_of_flags(u32 addr0) in pci_parse_of_flags() argument
187 if (addr0 & 0x02000000) { in pci_parse_of_flags()
189 flags |= (addr0 >> 28) & PCI_BASE_ADDRESS_MEM_TYPE_1M; in pci_parse_of_flags()
190 if (addr0 & 0x01000000) in pci_parse_of_flags()
193 if (addr0 & 0x40000000) in pci_parse_of_flags()
196 } else if (addr0 & 0x01000000) in pci_parse_of_flags()
/linux/arch/parisc/kernel/
A Dsys_parisc.c156 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
162 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
214 return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
/linux/arch/alpha/kernel/
A Dcore_cia.c357 int ctrl, addr0, tag0, pte0, data0; in verify_tb_operation() local
375 addr0 = arena->dma_base; in verify_tb_operation()
376 tag0 = addr0 | 1; in verify_tb_operation()
394 bus_addr = cia_ioremap(addr0, 8*PAGE_SIZE); in verify_tb_operation()
/linux/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_xgmac.c211 u32 addr0, addr1; in xgene_xgmac_set_mac_addr() local
213 addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | in xgene_xgmac_set_mac_addr()
217 xgene_enet_wr_mac(pdata, HSTMACADR_LSW_ADDR, addr0); in xgene_xgmac_set_mac_addr()
A Dxgene_enet_sgmac.c169 u32 addr0, addr1; in xgene_sgmac_set_mac_addr() local
171 addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | in xgene_sgmac_set_mac_addr()
173 xgene_enet_wr_mac(p, STATION_ADDR0_ADDR, addr0); in xgene_sgmac_set_mac_addr()
/linux/arch/powerpc/include/asm/
A Dpci.h102 extern unsigned int pci_parse_of_flags(u32 addr0, int bridge);
/linux/arch/sparc/mm/
A Dhugetlbpage.c58 hugetlb_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in hugetlb_get_unmapped_area_topdown() argument
65 unsigned long addr = addr0; in hugetlb_get_unmapped_area_topdown()

Completed in 48 milliseconds

123