Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/mtd/tests/
H 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 …]
H 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()
/openbmc/linux/arch/sh/kernel/cpu/sh3/
H 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()
/openbmc/linux/arch/mips/mm/
H 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()
H A Dc-r4k.c792 unsigned long addr0 = addr, addr1; in prefetch_cache_inv() local
794 addr0 &= ~(linesz - 1); in prefetch_cache_inv()
795 addr1 = (addr0 + size - 1) & ~(linesz - 1); in prefetch_cache_inv()
797 protected_writeback_scache_line(addr0); in prefetch_cache_inv()
798 if (likely(addr1 != addr0)) in prefetch_cache_inv()
803 addr0 += linesz; in prefetch_cache_inv()
804 if (likely(addr1 != addr0)) in prefetch_cache_inv()
805 protected_writeback_scache_line(addr0); in prefetch_cache_inv()
810 if (likely(addr1 > addr0)) in prefetch_cache_inv()
811 protected_writeback_scache_line(addr0); in prefetch_cache_inv()
/openbmc/linux/arch/loongarch/mm/
H A Dmmap.c20 unsigned long addr0, unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_common() argument
25 unsigned long addr = addr0; in arch_get_unmapped_area_common()
91 unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr0, in arch_get_unmapped_area() argument
95 addr0, len, pgoff, flags, UP); in arch_get_unmapped_area()
103 unsigned long addr0, unsigned long len, unsigned long pgoff, in arch_get_unmapped_area_topdown() argument
107 addr0, len, pgoff, flags, DOWN); in arch_get_unmapped_area_topdown()
/openbmc/u-boot/scripts/coccinelle/net/
H A Dmdio_register.cocci28 identifier name0, addr0, reg0, output;
34 - addrT addr0,
40 + int addr0,
111 identifier name0, addr0, reg0, value0;
118 - addrT addr0,
124 + int addr0,
/openbmc/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence.c37 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region() local
43 addr0 = CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(nbits) | in cdns_pcie_set_outbound_region()
47 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR0(r), addr0); in cdns_pcie_set_outbound_region()
96 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(nbits) | in cdns_pcie_set_outbound_region()
100 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(r), addr0); in cdns_pcie_set_outbound_region()
108 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region_for_normal_msg() local
126 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(17) | in cdns_pcie_set_outbound_region_for_normal_msg()
134 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(r), addr0); in cdns_pcie_set_outbound_region_for_normal_msg()
H A Dpcie-cadence-host.c35 u32 addr0, desc0; in cdns_pci_map_bus() local
55 addr0 = CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS(12) | in cdns_pci_map_bus()
58 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR0(0), addr0); in cdns_pci_map_bus()
224 u32 addr0, addr1, aperture, value; in cdns_pcie_host_bar_ib_config() local
232 addr0 = CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS(aperture) | in cdns_pcie_host_bar_ib_config()
235 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR0(bar), addr0); in cdns_pcie_host_bar_ib_config()
438 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local
458 addr0 = CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS(12) | in cdns_pcie_host_init_address_translation()
461 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR0(0), addr0); in cdns_pcie_host_init_address_translation()
/openbmc/linux/arch/s390/boot/
H A Dboot.h96 static inline bool intersects(unsigned long addr0, unsigned long size0, in intersects() argument
99 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H 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()
/openbmc/linux/arch/x86/kernel/
H A Dsys_x86_64.c161 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
167 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
231 return arch_get_unmapped_area(filp, addr0, len, pgoff, flags); in arch_get_unmapped_area_topdown()
/openbmc/linux/arch/powerpc/kernel/
H 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()
/openbmc/linux/arch/arm64/crypto/
H A Dsm3-neon-core.S61 #define addr0 x21 macro
185 add addr0, sp, #IW_W1_ADDR(0, 0);
209 st1 {XTMP0.16b}, [addr0], #16;
211 st1 {XTMP4.16b}, [addr0]; \
212 add addr0, sp, #IW_W1_ADDR(8, 0);
229 st1 {XTMP2.16b}, [addr0], #16;
231 st1 {XTMP6.16b}, [addr0];
368 sub addr0, sp, #STACK_SIZE
370 and sp, addr0, #(~63)
565 add addr0, sp, #STACK_W
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/settings/phosphor-settings-manager/
H A DHypervisorInterface-default-p10bmc.override.yml20 /xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0:
53 /xyz/openbmc_project/network/hypervisor/eth1/ipv4/addr0:
H A DHypervisorInterface-default-tacoma.override.yml20 /xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0:
/openbmc/u-boot/tools/env/
H A Dfw_env.c1388 void *addr0 = NULL; in fw_env_open() local
1405 addr0 = calloc(1, CUR_ENVSIZE); in fw_env_open()
1406 if (addr0 == NULL) { in fw_env_open()
1415 environment.image = addr0; in fw_env_open()
1418 redundant = addr0; in fw_env_open()
1423 single = addr0; in fw_env_open()
1552 free(addr0); in fw_env_open()
1554 environment.image = addr0; in fw_env_open()
1565 if (addr0) in fw_env_open()
1566 free(addr0); in fw_env_open()
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpcie-rockchip-ep.c71 u32 addr0, addr1, desc0; in rockchip_pcie_prog_ep_ob_atu() local
76 addr0 = ((num_pass_bits - 1) & PCIE_CORE_OB_REGION_ADDR0_NUM_BITS) | in rockchip_pcie_prog_ep_ob_atu()
82 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_prog_ep_ob_atu()
137 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local
179 addr0 = lower_32_bits(bar_phys); in rockchip_pcie_ep_set_bar()
189 rockchip_pcie_write(rockchip, addr0, in rockchip_pcie_ep_set_bar()
/openbmc/linux/arch/arm/mm/
H 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()
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_mdp_rdma.h11 unsigned int addr0; member
/openbmc/linux/arch/sh/mm/
H A Dmmap.c101 arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0, in arch_get_unmapped_area_topdown() argument
107 unsigned long addr = addr0; in arch_get_unmapped_area_topdown()
/openbmc/linux/arch/sparc/kernel/
H A Dpci.c184 static unsigned long pci_parse_of_flags(u32 addr0) in pci_parse_of_flags() argument
188 if (addr0 & 0x02000000) { in pci_parse_of_flags()
190 flags |= (addr0 >> 28) & PCI_BASE_ADDRESS_MEM_TYPE_1M; in pci_parse_of_flags()
191 if (addr0 & 0x01000000) in pci_parse_of_flags()
194 if (addr0 & 0x40000000) in pci_parse_of_flags()
197 } else if (addr0 & 0x01000000) in pci_parse_of_flags()
/openbmc/linux/arch/mips/txx9/generic/
H 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()
/openbmc/linux/arch/powerpc/include/asm/
H A Dpci.h101 extern unsigned int pci_parse_of_flags(u32 addr0, int bridge);
/openbmc/linux/drivers/net/ethernet/apm/xgene/
H 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()

123