Home
last modified time | relevance | path

Searched refs:addr1 (Results 1 – 25 of 224) sorted by relevance

123456789

/Linux-v4.19/arch/xtensa/kernel/
Dsmp.c446 unsigned long addr1; member
473 local_flush_tlb_page(fd->vma, fd->addr1); in ipi_flush_tlb_page()
480 .addr1 = addr, in flush_tlb_page()
488 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in ipi_flush_tlb_range()
496 .addr1 = start, in flush_tlb_range()
505 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in ipi_flush_tlb_kernel_range()
511 .addr1 = start, in flush_tlb_kernel_range()
532 local_flush_cache_page(fd->vma, fd->addr1, fd->addr2); in ipi_flush_cache_page()
540 .addr1 = address, in flush_cache_page()
549 local_flush_cache_range(fd->vma, fd->addr1, fd->addr2); in ipi_flush_cache_range()
[all …]
/Linux-v4.19/arch/sh/kernel/cpu/sh3/
Dprobe.c21 unsigned long addr0, addr1, data0, data1, data2, data3; in cpu_probe() local
30 addr1 = CACHE_OC_ADDRESS_ARRAY + (1 << 12); in cpu_probe()
35 data1 = __raw_readl(addr1); in cpu_probe()
36 __raw_writel(data1&~(SH_CACHE_VALID|SH_CACHE_UPDATED), addr1); in cpu_probe()
42 data1 = __raw_readl(addr1); in cpu_probe()
44 __raw_writel(data2, addr1); in cpu_probe()
49 __raw_writel(data2&~SH_CACHE_VALID, addr1); in cpu_probe()
/Linux-v4.19/include/linux/
Detherdevice.h318 static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) in ether_addr_equal() argument
321 u32 fold = ((*(const u32 *)addr1) ^ (*(const u32 *)addr2)) | in ether_addr_equal()
322 ((*(const u16 *)(addr1 + 4)) ^ (*(const u16 *)(addr2 + 4))); in ether_addr_equal()
326 const u16 *a = (const u16 *)addr1; in ether_addr_equal()
347 static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], in ether_addr_equal_64bits()
351 u64 fold = (*(const u64 *)addr1) ^ (*(const u64 *)addr2); in ether_addr_equal_64bits()
359 return ether_addr_equal(addr1, addr2); in ether_addr_equal_64bits()
372 static inline bool ether_addr_equal_unaligned(const u8 *addr1, const u8 *addr2) in ether_addr_equal_unaligned() argument
375 return ether_addr_equal(addr1, addr2); in ether_addr_equal_unaligned()
377 return memcmp(addr1, addr2, ETH_ALEN) == 0; in ether_addr_equal_unaligned()
[all …]
Duwb.h550 static inline int uwb_dev_addr_cmp(const struct uwb_dev_addr *addr1, in uwb_dev_addr_cmp() argument
553 return memcmp(addr1, addr2, sizeof(*addr1)); in uwb_dev_addr_cmp()
557 static inline int uwb_mac_addr_cmp(const struct uwb_mac_addr *addr1, in uwb_mac_addr_cmp() argument
560 return memcmp(addr1, addr2, sizeof(*addr1)); in uwb_mac_addr_cmp()
/Linux-v4.19/lib/
Dfind_bit.c34 static inline unsigned long _find_next_bit(const unsigned long *addr1, in _find_next_bit() argument
43 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit()
57 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit()
89 unsigned long find_next_and_bit(const unsigned long *addr1, in find_next_and_bit() argument
93 return _find_next_bit(addr1, addr2, size, offset, 0UL); in find_next_and_bit()
169 static inline unsigned long _find_next_bit_le(const unsigned long *addr1, in _find_next_bit_le() argument
178 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit_le()
192 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit_le()
/Linux-v4.19/tools/lib/
Dfind_bit.c35 static inline unsigned long _find_next_bit(const unsigned long *addr1, in _find_next_bit() argument
44 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit()
58 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit()
122 unsigned long find_next_and_bit(const unsigned long *addr1, in find_next_and_bit() argument
126 return _find_next_bit(addr1, addr2, size, offset, 0UL); in find_next_and_bit()
/Linux-v4.19/arch/sh/mm/
Dtlb-debugfs.c42 unsigned long addr1, addr2, data1, data2; in tlb_seq_show() local
55 addr1 = MMU_ITLB_ADDRESS_ARRAY; in tlb_seq_show()
61 addr1 = MMU_UTLB_ADDRESS_ARRAY; in tlb_seq_show()
78 addr1 = MMU_ITLB_ADDRESS_ARRAY; in tlb_seq_show()
84 addr1 = MMU_UTLB_ADDRESS_ARRAY; in tlb_seq_show()
100 val = __raw_readl(addr1 | (entry << MMU_TLB_ENTRY_SHIFT)); in tlb_seq_show()
/Linux-v4.19/drivers/pci/controller/
Dpcie-cadence.c20 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region() local
28 addr1 = upper_32_bits(pci_addr); in cdns_pcie_set_outbound_region()
31 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR1(r), addr1); in cdns_pcie_set_outbound_region()
79 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_set_outbound_region()
82 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(r), addr1); in cdns_pcie_set_outbound_region()
88 u32 addr0, addr1, desc0, desc1; in cdns_pcie_set_outbound_region_for_normal_msg() local
106 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_set_outbound_region_for_normal_msg()
113 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(r), addr1); in cdns_pcie_set_outbound_region_for_normal_msg()
Dpcie-cadence-host.c146 u32 addr0, addr1, desc1; in cdns_pcie_host_init_address_translation() local
155 addr1 = 0; /* Should be programmed to zero. */ in cdns_pcie_host_init_address_translation()
157 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_PCI_ADDR1(0), addr1); in cdns_pcie_host_init_address_translation()
163 addr1 = upper_32_bits(cpu_addr); in cdns_pcie_host_init_address_translation()
165 cdns_pcie_writel(pcie, CDNS_PCIE_AT_OB_REGION_CPU_ADDR1(0), addr1); in cdns_pcie_host_init_address_translation()
199 addr1 = 0; in cdns_pcie_host_init_address_translation()
201 cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_RP_BAR_ADDR1(RP_NO_BAR), addr1); in cdns_pcie_host_init_address_translation()
Dpcie-rockchip-ep.c75 u32 addr0, addr1, desc0, desc1; in rockchip_pcie_prog_ep_ob_atu() local
86 addr1 = upper_32_bits(is_nor_msg ? cpu_addr : pci_addr); in rockchip_pcie_prog_ep_ob_atu()
103 rockchip_pcie_write(rockchip, addr1, in rockchip_pcie_prog_ep_ob_atu()
114 addr1 = upper_32_bits(cpu_addr); in rockchip_pcie_prog_ep_ob_atu()
120 rockchip_pcie_write(rockchip, addr1, in rockchip_pcie_prog_ep_ob_atu()
169 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local
212 addr1 = upper_32_bits(bar_phys); in rockchip_pcie_ep_set_bar()
223 rockchip_pcie_write(rockchip, addr1, in rockchip_pcie_ep_set_bar()
/Linux-v4.19/arch/sh/kernel/
Dsmp.c382 unsigned long addr1; member
390 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi()
403 fd.addr1 = start; in flush_tlb_range()
420 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi()
427 fd.addr1 = start; in flush_tlb_kernel_range()
436 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi()
447 fd.addr1 = page; in flush_tlb_page()
462 local_flush_tlb_one(fd->addr1, fd->addr2); in flush_tlb_one_ipi()
469 fd.addr1 = asid; in flush_tlb_one()
/Linux-v4.19/drivers/staging/vt6656/
Drf.c817 u8 *addr1 = NULL, *addr2 = NULL, *addr3 = NULL; in vnt_rf_table_download() local
827 addr1 = &al2230_init_table[0][0]; in vnt_rf_table_download()
835 addr1 = &al7230_init_table[0][0]; in vnt_rf_table_download()
843 addr1 = &vt3226_init_table[0][0]; in vnt_rf_table_download()
851 addr1 = &vt3226d0_init_table[0][0]; in vnt_rf_table_download()
859 addr1 = &vt3342a0_init_table[0][0]; in vnt_rf_table_download()
866 memcpy(array, addr1, length1); in vnt_rf_table_download()
910 addr1 = &al7230_init_table_amode[0][0]; in vnt_rf_table_download()
913 memcpy(array, addr1, length1); in vnt_rf_table_download()
/Linux-v4.19/net/sctp/
Dipv6.c80 static int sctp_v6_cmp_addr(const union sctp_addr *addr1,
575 static int __sctp_v6_cmp_addr(const union sctp_addr *addr1, in __sctp_v6_cmp_addr() argument
578 if (addr1->sa.sa_family != addr2->sa.sa_family) { in __sctp_v6_cmp_addr()
579 if (addr1->sa.sa_family == AF_INET && in __sctp_v6_cmp_addr()
583 addr1->v4.sin_addr.s_addr) in __sctp_v6_cmp_addr()
587 addr1->sa.sa_family == AF_INET6 && in __sctp_v6_cmp_addr()
588 ipv6_addr_v4mapped(&addr1->v6.sin6_addr) && in __sctp_v6_cmp_addr()
589 addr1->v6.sin6_addr.s6_addr32[3] == in __sctp_v6_cmp_addr()
596 if (!ipv6_addr_equal(&addr1->v6.sin6_addr, &addr2->v6.sin6_addr)) in __sctp_v6_cmp_addr()
600 if ((ipv6_addr_type(&addr1->v6.sin6_addr) & IPV6_ADDR_LINKLOCAL) && in __sctp_v6_cmp_addr()
[all …]
/Linux-v4.19/arch/mips/kernel/
Dsmp.c550 unsigned long addr1; member
558 local_flush_tlb_range(fd->vma, fd->addr1, fd->addr2); in flush_tlb_range_ipi()
569 .addr1 = start, in flush_tlb_range()
597 local_flush_tlb_kernel_range(fd->addr1, fd->addr2); in flush_tlb_kernel_range_ipi()
603 .addr1 = start, in flush_tlb_kernel_range()
614 local_flush_tlb_page(fd->vma, fd->addr1); in flush_tlb_page_ipi()
623 .addr1 = page, in flush_tlb_page()
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c52 printk(KERN_DEBUG " A1=%pM", hdr->addr1); in hostap_dump_rx_80211()
285 memcpy(entry->dst_addr, hdr->addr1, ETH_ALEN); in prism2_frag_cache_get()
290 hdr->addr1); in prism2_frag_cache_get()
312 entry = prism2_frag_cache_find(local, seq, -1, hdr->addr2, hdr->addr1); in prism2_frag_cache_invalidate()
565 if (!ether_addr_equal(hdr->addr1, local->dev->dev_addr) && in hostap_rx_frame_wds()
566 (hdr->addr1[0] != 0xff || hdr->addr1[1] != 0xff || in hostap_rx_frame_wds()
567 hdr->addr1[2] != 0xff || hdr->addr1[3] != 0xff || in hostap_rx_frame_wds()
568 hdr->addr1[4] != 0xff || hdr->addr1[5] != 0xff)) { in hostap_rx_frame_wds()
574 hdr->addr1); in hostap_rx_frame_wds()
624 ether_addr_equal(hdr->addr1, dev->dev_addr) && in hostap_is_eapol_frame()
[all …]
Dhostap_80211_tx.c49 printk(KERN_DEBUG " A1=%pM", hdr->addr1); in hostap_dump_tx_80211()
179 eth_broadcast_addr(hdr.addr1); in hostap_data_start_xmit()
181 memcpy(&hdr.addr1, iface->u.wds.remote_addr, in hostap_data_start_xmit()
184 memcpy(&hdr.addr1, local->bssid, ETH_ALEN); in hostap_data_start_xmit()
190 skb_copy_from_linear_data(skb, &hdr.addr1, ETH_ALEN); in hostap_data_start_xmit()
197 memcpy(&hdr.addr1, to_assoc_ap ? in hostap_data_start_xmit()
204 skb_copy_from_linear_data(skb, &hdr.addr1, ETH_ALEN); in hostap_data_start_xmit()
337 local->dev->name, hdr->addr1); in hostap_tx_encrypt()
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmac.c81 u32 addr0, addr1; in xge_mac_set_station_addr() local
85 addr1 = (dev_addr[5] << 24) | (dev_addr[4] << 16); in xge_mac_set_station_addr()
88 xge_wr_csr(pdata, STATION_ADDR1, addr1); in xge_mac_set_station_addr()
/Linux-v4.19/net/rds/
Dthreads.c266 int rds_addr_cmp(const struct in6_addr *addr1, in rds_addr_cmp() argument
273 a1 = (__be64 *)addr1; in rds_addr_cmp()
296 if (addr1->s6_addr32[i] != addr2->s6_addr32[i]) { in rds_addr_cmp()
297 a = ntohl(addr1->s6_addr32[i]); in rds_addr_cmp()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
Dhwsq.h35 hwsq_reg2(u32 addr1, u32 addr2) in hwsq_reg2() argument
40 .addr = addr1, in hwsq_reg2()
41 .stride = addr2 - addr1, in hwsq_reg2()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h115 static inline bool mlxsw_sp_l3addr_eq(const union mlxsw_sp_l3addr *addr1, in mlxsw_sp_l3addr_eq() argument
118 return !memcmp(addr1, addr2, sizeof(*addr1)); in mlxsw_sp_l3addr_eq()
/Linux-v4.19/arch/powerpc/mm/
Dslb.c202 static inline int esids_match(unsigned long addr1, unsigned long addr2) in esids_match() argument
208 return (GET_ESID(addr1) == GET_ESID(addr2)); in esids_match()
210 esid_1t_count = (((addr1 >> SID_SHIFT_1T) != 0) + in esids_match()
215 return (GET_ESID(addr1) == GET_ESID(addr2)); in esids_match()
222 return (GET_ESID_1T(addr1) == GET_ESID_1T(addr2)); in esids_match()
/Linux-v4.19/fs/jfs/
Djfs_dtree.h115 u8 addr1; /* 1: upper 8 bits of leaf page address */ member
128 (dir_table_slot)->addr1 = ((u64)address64) >> 32;\
133 ( ((s64)((dts)->addr1)) << 32 | __le32_to_cpu((dts)->addr2) )
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c201 ieee->dev->name, header->addr1); in ieee80211_encrypt_fragment()
317 if (is_multicast_ether_addr(hdr->addr1)) in ieee80211_tx_query_agg_cap()
333 if (!GetTs(ieee, (struct ts_common_info **)(&pTxTs), hdr->addr1, skb->priority, TX_DIR, true)) in ieee80211_tx_query_agg_cap()
688 memcpy(&header.addr1, ieee->current_network.bssid, ETH_ALEN); in ieee80211_xmit()
695 memcpy(&header.addr1, dest, ETH_ALEN); in ieee80211_xmit()
705 if (is_multicast_ether_addr(header.addr1)) { in ieee80211_xmit()
879 if (is_multicast_ether_addr(header.addr1)) in ieee80211_xmit()
881 if (is_broadcast_ether_addr(header.addr1)) in ieee80211_xmit()
893 ieee80211_query_seqnum(ieee, txb->fragments[0], header.addr1); in ieee80211_xmit()
/Linux-v4.19/net/mac80211/
Dmesh_ps.c41 memcpy(nullfunc->addr1, sta->sta.addr, ETH_ALEN); in mps_qos_null_get()
193 if (WARN_ON(is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags()
198 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags()
215 if ((is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags()
217 (is_multicast_ether_addr(hdr->addr1) && in ieee80211_mps_set_frame_flags()
340 if (is_unicast_ether_addr(hdr->addr1) && in ieee80211_mps_rx_h_sta_process()
/Linux-v4.19/drivers/ata/
Dpata_hpt37x.c411 u32 addr1, addr2; in hpt370_set_mode() local
415 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt370_set_mode()
434 pci_read_config_dword(pdev, addr1, &reg); in hpt370_set_mode()
436 pci_write_config_dword(pdev, addr1, reg); in hpt370_set_mode()
505 u32 addr1, addr2; in hpt372_set_mode() local
509 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt372_set_mode()
527 pci_read_config_dword(pdev, addr1, &reg); in hpt372_set_mode()
529 pci_write_config_dword(pdev, addr1, reg); in hpt372_set_mode()

123456789