/openbmc/linux/include/linux/ |
H A D | find.h | 31 const unsigned long *addr2, unsigned long size); 84 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument 93 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit() 115 const unsigned long *addr2, unsigned long size, in find_next_andnot_bit() argument 145 const unsigned long *addr2, unsigned long size, in find_next_or_bit() argument 263 return __find_nth_and_bit(addr1, addr2, size, n); in find_nth_and_bit() 307 const unsigned long *addr2, in find_nth_and_andnot_bit() argument 335 const unsigned long *addr2, in find_first_and_bit() argument 344 return _find_first_and_bit(addr1, addr2, size); in find_first_and_bit() 403 const unsigned long *addr2, in find_next_and_bit_wrap() argument [all …]
|
H A D | etherdevice.h | 346 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() argument 349 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal() 350 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4))); in ether_addr_equal() 355 const u16 *b = (const u16 *)addr2; in ether_addr_equal() 375 static inline bool ether_addr_equal_64bits(const u8 *addr1, const u8 *addr2) in ether_addr_equal_64bits() argument 378 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits() 386 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits() 402 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned() 404 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned() 418 static inline bool ether_addr_equal_masked(const u8 *addr1, const u8 *addr2, in ether_addr_equal_masked() argument [all …]
|
/openbmc/linux/lib/ |
H A D | find_bit.c | 111 const unsigned long *addr2, in _find_first_and_bit() argument 114 return FIND_FIRST_BIT(addr1[idx] & addr2[idx], /* nop */, size); in _find_first_and_bit() 144 unsigned long __find_nth_and_bit(const unsigned long *addr1, const unsigned long *addr2, in __find_nth_and_bit() argument 147 return FIND_NTH_BIT(addr1[idx] & addr2[idx], size, n); in __find_nth_and_bit() 154 return FIND_NTH_BIT(addr1[idx] & ~addr2[idx], size, n); in __find_nth_andnot_bit() 159 const unsigned long *addr2, in __find_nth_and_andnot_bit() argument 163 return FIND_NTH_BIT(addr1[idx] & addr2[idx] & ~addr3[idx], size, n); in __find_nth_and_andnot_bit() 171 return FIND_NEXT_BIT(addr1[idx] & addr2[idx], /* nop */, nbits, start); in _find_next_and_bit() 180 return FIND_NEXT_BIT(addr1[idx] & ~addr2[idx], /* nop */, nbits, start); in _find_next_andnot_bit() 186 unsigned long _find_next_or_bit(const unsigned long *addr1, const unsigned long *addr2, in _find_next_or_bit() argument [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | find.h | 13 unsigned long _find_next_and_bit(const unsigned long *addr1, const unsigned long *addr2, 19 const unsigned long *addr2, unsigned long size); 63 const unsigned long *addr2, unsigned long size, in find_next_and_bit() argument 72 val = *addr1 & *addr2 & GENMASK(size - 1, offset); in find_next_and_bit() 76 return _find_next_and_bit(addr1, addr2, size, offset); in find_next_and_bit() 142 const unsigned long *addr2, in find_first_and_bit() argument 146 unsigned long val = *addr1 & *addr2 & GENMASK(size - 1, 0); in find_first_and_bit() 151 return _find_first_and_bit(addr1, addr2, size); in find_first_and_bit()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | ga102.c | 94 if ((nvkm_falcon_rd32(falcon, falcon->addr2 + 0x668) & 0x00000010) != 0x00000000) { in ga102_flcn_select() 95 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x668, 0x00000000); in ga102_flcn_select() 97 if (nvkm_falcon_rd32(falcon, falcon->addr2 + 0x668) & 0x00000001) in ga102_flcn_select() 111 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x210, fw->dmem_sign); in ga102_flcn_fw_boot() 112 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x19c, fw->engine_id); in ga102_flcn_fw_boot() 113 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x198, fw->ucode_id); in ga102_flcn_fw_boot() 114 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x180, 0x00000001); in ga102_flcn_fw_boot()
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | smp.c | 473 unsigned long addr2; member 523 .addr2 = end, in flush_tlb_range() 531 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in ipi_flush_tlb_kernel_range() 538 .addr2 = end, in flush_tlb_kernel_range() 567 .addr2 = pfn, in flush_cache_page() 584 .addr2 = end, in flush_cache_range() 592 local_flush_icache_range(fd->addr1, fd->addr2); in ipi_flush_icache_range() 599 .addr2 = end, in flush_icache_range() 610 __invalidate_dcache_range(fd->addr1, fd->addr2); in ipi_invalidate_dcache_range() 618 .addr2 = size, in system_invalidate_dcache_range() [all …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | tlb-debugfs.c | 42 unsigned long addr1, addr2, data1, data2; in tlb_seq_show() local 56 addr2 = MMU_ITLB_ADDRESS_ARRAY2; in tlb_seq_show() 62 addr2 = MMU_UTLB_ADDRESS_ARRAY2; in tlb_seq_show() 79 addr2 = MMU_ITLB_ADDRESS_ARRAY2; in tlb_seq_show() 85 addr2 = MMU_UTLB_ADDRESS_ARRAY2; in tlb_seq_show() 105 val = __raw_readl(addr2 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | jedec_flash.c | 91 u32 addr2; member 108 .addr2 = 0xffff 113 .addr2 = 0x02aa 118 .addr2 = 0x0aaa 123 .addr2 = 0x2aaa 128 .addr2 = 0x0555 133 .addr2 = 0x0000 /* is used - must be last entry */ 138 .addr2 = 0x0000 445 info->addr_unlock2 = unlock_addrs[uaddr_idx].addr2; in fill_info()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgro.sh | 74 local addr1 addr2 pid family="" ipt_cmd=ip6tables 84 addr2=192.168.1.3/24 87 addr2="2001:db8::3/64 nodad" 91 ip -netns "${PEER_NS}" addr add dev veth1 ${addr2} 94 …ns exec "${PEER_NS}" $ipt_cmd -t nat -I PREROUTING -d ${addr1} -j DNAT --to-destination ${addr2%/*} 100 ip netns exec "${PEER_NS}" ./udpgso_bench_rx -C 1000 -R 10 ${family} -b ${addr2%/*} ${rx_args} &
|
H A D | bind_wildcard.c | 115 struct sockaddr *addr2, socklen_t addrlen2) in bind_sockets() argument 129 ((struct sockaddr_in *)addr2)->sin_port = ((struct sockaddr_in *)addr1)->sin_port; in bind_sockets() 131 fd[1] = socket(addr2->sa_family, SOCK_STREAM, 0); in bind_sockets() 134 ret = bind(fd[1], addr2, addrlen2); in bind_sockets()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 82 void *addr, *addr2; in main() local 336 addr2 = mmap(NULL, NR_HUGE_PAGES * huge_page_size, in main() 339 if (addr2 == MAP_FAILED) { in main() 345 read_fault_pages(addr2, NR_HUGE_PAGES); in main() 349 write_fault_pages(addr2, NR_HUGE_PAGES); in main() 360 if (madvise(addr2, NR_HUGE_PAGES * huge_page_size, MADV_DONTNEED)) { in main() 367 write_fault_pages(addr2, NR_HUGE_PAGES); in main() 382 (void)munmap(addr2, NR_HUGE_PAGES * huge_page_size); in main()
|
/openbmc/linux/tools/lib/ |
H A D | find_bit.c | 85 const unsigned long *addr2, in _find_first_and_bit() argument 88 return FIND_FIRST_BIT(addr1[idx] & addr2[idx], /* nop */, size); in _find_first_and_bit() 110 unsigned long _find_next_and_bit(const unsigned long *addr1, const unsigned long *addr2, in _find_next_and_bit() argument 113 return FIND_NEXT_BIT(addr1[idx] & addr2[idx], /* nop */, nbits, start); in _find_next_and_bit()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | ftrace.c | 121 unsigned long addr2 = in ftrace_make_call() local 128 addr2 >> 32, in ftrace_make_call() 129 addr2 & 0xffffffff, in ftrace_make_call() 134 addr2 >> 32, in ftrace_make_call() 135 addr2 & 0xffffffff, in ftrace_make_call()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | smp.c | 378 unsigned long addr2; member 385 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi() 399 fd.addr2 = end; in flush_tlb_range() 415 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi() 423 fd.addr2 = end; in flush_tlb_kernel_range() 457 local_flush_tlb_one(fd->addr1, fd->addr2); in flush_tlb_one_ipi() 465 fd.addr2 = vaddr; in flush_tlb_one()
|
/openbmc/linux/kernel/kcsan/ |
H A D | encoding.h | 94 unsigned long addr2, size_t size2) in matching_access() argument 97 unsigned long end_range2 = addr2 + size2 - 1; in matching_access() 99 return addr1 <= end_range2 && addr2 <= end_range1; in matching_access()
|
/openbmc/u-boot/cmd/ |
H A D | tsi148.c | 387 ulong addr1 = 0, addr2 = 0, size = 0, vam = 0, vdw = 0; in do_tsi148() local 396 addr2 = simple_strtoul(argv[3], NULL, 16); in do_tsi148() 407 vam = addr2; in do_tsi148() 423 vam = addr2; in do_tsi148() 431 addr1, addr2, size, vam); in do_tsi148() 432 tsi148_vme_slave_window(addr1, addr2, size, vam); in do_tsi148() 437 addr1, addr2, size, vam, vdw); in do_tsi148() 438 tsi148_pci_slave_window(addr1, addr2, size, vam, vdw); in do_tsi148()
|
H A D | universe.c | 303 ulong addr1 = 0, addr2 = 0, size = 0, vam = 0, pms = 0, vdw = 0; in do_universe() local 312 addr2 = simple_strtoul(argv[3], NULL, 16); in do_universe() 329 addr1, addr2, size, vam, pms); in do_universe() 330 universe_vme_slave_window(addr1, addr2, size, vam, pms); in do_universe() 335 addr1, addr2, size, vam, pms, vdw); in do_universe() 336 universe_pci_slave_window(addr1, addr2, size, vam, pms, vdw); in do_universe()
|
/openbmc/linux/Documentation/powerpc/ |
H A D | ptrace.rst | 78 uint64_t addr2; 104 p.addr2 = 0; 114 p.addr2 = 0; 124 p.addr2 = 0; 134 p.addr2 = (uint64_t) end_range; 147 /* For PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE addr2 needs to be specified, where 148 * addr2 - addr <= 8 Bytes. 150 p.addr2 = (uint64_t) end_range;
|
/openbmc/u-boot/doc/uImage.FIT/ |
H A D | command_syntax_extensions.txt | 32 5. bootm <addr1> <addr2> /* single image at <addr1> */ 33 6. bootm <addr1> <addr2> <addr3> /* single image at <addr1> */ 40 11. bootm [<addr1>]:<subimg1> [<addr2>]:<subimg2> 41 12. bootm [<addr1>]:<subimg1> [<addr2>]:<subimg2> [<addr3>]:<subimg3> 42 13. bootm [<addr1>]:<subimg1> [<addr2>]:<subimg2> <addr3> 71 from the image at <addr2>. 74 Ad. 6. <addr1> is the address of a kernel image, <addr2> is the address of a 76 booted with initrd loaded with ramdisk from the image at <addr2>. 98 <addr2>. 103 <addr2>, and pass FDT blob <subimg3> from the image at <addr3>. [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | unaligned-memory-access.rst | 132 bool ether_addr_equal(const u8 *addr1, const u8 *addr2) 135 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | 136 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4))); 141 const u16 *b = (const u16 *)addr2;
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_80211_rx.c | 53 printk(" A2=%pM", hdr->addr2); in hostap_dump_rx_80211() 284 memcpy(entry->src_addr, hdr->addr2, ETH_ALEN); in prism2_frag_cache_get() 579 *wds = prism2_rx_get_wds(local, hdr->addr2); in hostap_rx_frame_wds() 588 local->dev->name, hdr->addr2); in hostap_rx_frame_wds() 666 local->dev->name, hdr->addr2); in hostap_rx_frame_decrypt() 676 local->dev->name, hdr->addr2, res); in hostap_rx_frame_decrypt() 812 local->dev->name, hdr->addr2); in hostap_80211_rx() 849 memcpy(src, hdr->addr2, ETH_ALEN); in hostap_80211_rx() 859 memcpy(src, hdr->addr2, ETH_ALEN); in hostap_80211_rx() 990 local->dev->name, hdr->addr2); in hostap_80211_rx() [all …]
|
/openbmc/linux/net/sctp/ |
H A D | ipv6.c | 67 const union sctp_addr *addr2); 624 const union sctp_addr *addr2) in __sctp_v6_cmp_addr() argument 628 addr2->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr() 629 ipv6_addr_v4mapped(&addr2->v6.sin6_addr) && in __sctp_v6_cmp_addr() 630 addr2->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr() 634 if (addr2->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr() 638 addr2->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr() 660 const union sctp_addr *addr2) in sctp_v6_cmp_addr() argument 662 return __sctp_v6_cmp_addr(addr1, addr2) && in sctp_v6_cmp_addr() 953 const union sctp_addr *addr2, in sctp_inet6_cmp_addr() argument [all …]
|
/openbmc/linux/arch/csky/abiv1/inc/abi/ |
H A D | page.h | 8 unsigned long addr2) in pages_do_alias() argument 10 return (addr1 ^ addr2) & (SHMLBA-1); in pages_do_alias()
|
/openbmc/linux/include/soc/qcom/ |
H A D | cmd-db.h | 27 bool cmd_db_match_resource_addr(u32 addr1, u32 addr2); 39 static inline bool cmd_db_match_resource_addr(u32 addr1, u32 addr2) in cmd_db_match_resource_addr() argument
|
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 287 tkip_mixing_phase1(tkey->tx_ttak, tkey->key, hdr->addr2, in ieee80211_tkip_encrypt() 360 " flag from %pM\n", hdr->addr2); in ieee80211_tkip_decrypt() 374 " key\n", hdr->addr2, keyidx); in ieee80211_tkip_decrypt() 388 "%08x%04x\n", hdr->addr2, in ieee80211_tkip_decrypt() 396 tkip_mixing_phase1(tkey->rx_ttak, tkey->key, hdr->addr2, iv32); in ieee80211_tkip_decrypt() 423 "%pM\n", hdr->addr2); in ieee80211_tkip_decrypt() 482 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr() 494 memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */ in michael_mic_hdr() 550 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); in ieee80211_michael_mic_failure() 584 hdr->addr2, keyidx); in ieee80211_michael_mic_verify()
|