Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/mtd/tests/
Dpagetest.c66 loff_t addr0, addrn; in verify_eraseblock() local
69 addr0 = 0; in verify_eraseblock()
71 addr0 += mtd->erasesize; in verify_eraseblock()
80 err = mtdtest_read(mtd, addr0, bufsize, twopages); in verify_eraseblock()
101 err = mtdtest_read(mtd, addr0, bufsize, twopages); in verify_eraseblock()
126 loff_t addr, addr0, addrn; in crosstest() local
137 addr0 = 0; in crosstest()
139 addr0 += mtd->erasesize; in crosstest()
162 addr = addr0; in crosstest()
180 addr = addr0; in crosstest()
[all …]
Doobtest.c354 loff_t addr = 0, addr0; in mtd_oobtest_init() local
503 addr0 = 0; in mtd_oobtest_init()
505 addr0 += mtd->erasesize; in mtd_oobtest_init()
518 err = mtd_write_oob(mtd, addr0, &ops); in mtd_oobtest_init()
538 err = mtd_read_oob(mtd, addr0, &ops); in mtd_oobtest_init()
/Linux-v4.19/arch/sh/kernel/cpu/sh3/
Dprobe.c21 unsigned long addr0, addr1, data0, data1, data2, data3; in cpu_probe() local
29 addr0 = CACHE_OC_ADDRESS_ARRAY + (3 << 12); in cpu_probe()
33 data0 = __raw_readl(addr0); in cpu_probe()
34 __raw_writel(data0&~(SH_CACHE_VALID|SH_CACHE_UPDATED), addr0); in cpu_probe()
39 data0 = __raw_readl(addr0); in cpu_probe()
41 __raw_writel(data0, addr0); in cpu_probe()
45 data3 = __raw_readl(addr0); in cpu_probe()
48 __raw_writel(data0&~SH_CACHE_VALID, addr0); in cpu_probe()
/Linux-v4.19/drivers/pci/controller/
Dpcie-cadence.c20 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region() local
26 addr0 = CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(nbits) | in cdns_pcie_set_outbound_region()
30 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR0(r), addr0); in cdns_pcie_set_outbound_region()
77 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(nbits) | in cdns_pcie_set_outbound_region()
81 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(r), addr0); in cdns_pcie_set_outbound_region()
88 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region_for_normal_msg() local
104 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(17) | in cdns_pcie_set_outbound_region_for_normal_msg()
112 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(r), addr0); in cdns_pcie_set_outbound_region_for_normal_msg()
Dpcie-cadence-host.c48 u32 addr0, desc0; in cdns_pci_map_bus() local
68 addr0 = CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(12) | in cdns_pci_map_bus()
71 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR0(0), addr0); in cdns_pci_map_bus()
146 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local
161 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(12) | in cdns_pcie_host_init_address_translation()
164 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(0), addr0); in cdns_pcie_host_init_address_translation()
198 addr0 = CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS(rc->no_bar_nbits); in cdns_pcie_host_init_address_translation()
200 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR0(RP_NO_BAR), addr0); in cdns_pcie_host_init_address_translation()
Dpcie-rockchip-ep.c75 u32 addr0, addr1, desc0, desc1; in rockchip_pcie_prog_ep_ob_atu() local
83 addr0 = ((is_nor_msg ? 0x10 : (num_pass_bits - 1)) & in rockchip_pcie_prog_ep_ob_atu()
101 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_prog_ep_ob_atu()
110 addr0 = in rockchip_pcie_prog_ep_ob_atu()
118 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_prog_ep_ob_atu()
169 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local
211 addr0 = lower_32_bits(bar_phys); in rockchip_pcie_ep_set_bar()
221 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_ep_set_bar()
Dpcie-cadence-ep.c88 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in cdns_pcie_ep_set_bar() local
122 addr0 = lower_32_bits(bar_phys); in cdns_pcie_ep_set_bar()
125 addr0); in cdns_pcie_ep_set_bar()
/Linux-v4.19/arch/mips/mm/
Dmmap.c57 unsigned long addr0, unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_common() argument
62 unsigned long addr = addr0; in arch_get_unmapped_area_common()
128 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0, in arch_get_unmapped_area() argument
132 addr0, len, pgoff, flags, UP); in arch_get_unmapped_area()
140 unsigned long addr0, unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_topdown() argument
144 addr0, len, pgoff, flags, DOWN); in arch_get_unmapped_area_topdown()
/Linux-v4.19/arch/powerpc/kernel/
Dpci_of_scan.c41 unsigned int pci_parse_of_flags(u32 addr0, int bridge) in pci_parse_of_flags() argument
45 if (addr0 & 0x02000000) { in pci_parse_of_flags()
47 flags |= (addr0 >> 22) & PCI_BASE_ADDRESS_MEM_TYPE_64; in pci_parse_of_flags()
48 flags |= (addr0 >> 28) & PCI_BASE_ADDRESS_MEM_TYPE_1M; in pci_parse_of_flags()
49 if (addr0 & 0x40000000) in pci_parse_of_flags()
57 if (!bridge && (addr0 & 0xff) == 0x30) in pci_parse_of_flags()
59 } else if (addr0 & 0x01000000) in pci_parse_of_flags()
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmac.c81 u32 addr0, addr1; in xge_mac_set_station_addr() local
83 addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | in xge_mac_set_station_addr()
87 xge_wr_csr(pdata, STATION_ADDR0, addr0); in xge_mac_set_station_addr()
/Linux-v4.19/arch/x86/kernel/
Dsys_x86_64.c174 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
180 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
243 return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
/Linux-v4.19/arch/powerpc/mm/
Dmmap.c146 const unsigned long addr0, in radix__arch_get_unmapped_area_topdown() argument
153 unsigned long addr = addr0; in radix__arch_get_unmapped_area_topdown()
196 return radix__arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in radix__arch_get_unmapped_area_topdown()
/Linux-v4.19/drivers/staging/mt7621-dma/
Dmtk-hsdma.c130 u32 addr0; member
253 i, tx_desc->addr0, tx_desc->flags, \ in hsdma_dump_desc()
254 tx_desc->addr1, rx_desc->addr0, rx_desc->flags); in hsdma_dump_desc()
271 chan->tx_ring[i].addr0 = 0; in mtk_hsdma_reset()
276 chan->rx_ring[i].addr0 = 0; in mtk_hsdma_reset()
348 tx_desc->addr0 = src; in mtk_hsdma_start_transfer()
374 rx_desc->addr0 = dst; in mtk_hsdma_start_transfer()
/Linux-v4.19/arch/sh/mm/
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-v4.19/arch/arm/mm/
Dmmap.c108 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
114 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
/Linux-v4.19/arch/s390/mm/
Dmmap.c120 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
126 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
/Linux-v4.19/arch/parisc/kernel/
Dsys_parisc.c149 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
155 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
207 return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
/Linux-v4.19/arch/mips/txx9/generic/
Dsetup_tx4939.c358 void __init tx4939_ethaddr_init(unsigned char *addr0, unsigned char *addr1) in tx4939_ethaddr_init() argument
362 if (addr0 && (pcfg & TX4939_PCFG_ET0MODE)) in tx4939_ethaddr_init()
363 txx9_ethaddr_init(TXX9_IRQ_BASE + TX4939_IR_ETH(0), addr0); in tx4939_ethaddr_init()
369 void __init tx4939_ethaddr_init(unsigned char *addr0, unsigned char *addr1) in tx4939_ethaddr_init() argument
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-v4.19/arch/sparc/kernel/
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-v4.19/arch/powerpc/include/asm/
Dpci.h107 extern unsigned int pci_parse_of_flags(u32 addr0, int bridge);
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c222 u32 addr0, addr1; in xgene_xgmac_set_mac_addr() local
225 addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | in xgene_xgmac_set_mac_addr()
229 xgene_enet_wr_mac(pdata, HSTMACADR_LSW_ADDR, addr0); in xgene_xgmac_set_mac_addr()
Dxgene_enet_sgmac.c180 u32 addr0, addr1; in xgene_sgmac_set_mac_addr() local
183 addr0 = (dev_addr[3] << 24) | (dev_addr[2] << 16) | in xgene_sgmac_set_mac_addr()
185 xgene_enet_wr_mac(p, STATION_ADDR0_ADDR, addr0); in xgene_sgmac_set_mac_addr()
/Linux-v4.19/arch/alpha/kernel/
Dcore_cia.c354 int ctrl, addr0, tag0, pte0, data0; in verify_tb_operation() local
372 addr0 = arena->dma_base; in verify_tb_operation()
373 tag0 = addr0 | 1; in verify_tb_operation()
391 bus_addr = cia_ioremap(addr0, 8*PAGE_SIZE); in verify_tb_operation()
/Linux-v4.19/arch/sparc/mm/
Dhugetlbpage.c59 hugetlb_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in hugetlb_get_unmapped_area_topdown() argument
66 unsigned long addr = addr0; in hugetlb_get_unmapped_area_topdown()

123