Home
last modified time | relevance | path

Searched refs:daddr (Results 1 – 25 of 94) sorted by relevance

1234

/drivers/staging/wlan-ng/
Dp80211conv.c181 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
189 memcpy(p80211_hdr->a3.a3, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
193 memcpy(p80211_hdr->a3.a1, &e_hdr.daddr, ETH_ALEN); in skb_ether_to_p80211()
283 u8 daddr[WLAN_ETHADDR_LEN]; in skb_p80211_to_ether() local
300 memcpy(daddr, w_hdr->a3.a1, WLAN_ETHADDR_LEN); in skb_p80211_to_ether()
304 memcpy(daddr, w_hdr->a3.a1, WLAN_ETHADDR_LEN); in skb_p80211_to_ether()
308 memcpy(daddr, w_hdr->a3.a3, WLAN_ETHADDR_LEN); in skb_p80211_to_ether()
317 memcpy(daddr, w_hdr->a4.a3, WLAN_ETHADDR_LEN); in skb_p80211_to_ether()
362 ((memcmp(daddr, e_hdr->daddr, WLAN_ETHADDR_LEN) == 0) || in skb_p80211_to_ether()
409 memcpy(e_hdr->daddr, daddr, WLAN_ETHADDR_LEN); in skb_p80211_to_ether()
[all …]
Dp80211conv.h134 u8 daddr[WLAN_ETHADDR_LEN]; member
/drivers/gpu/drm/radeon/
Dradeon_benchmark.c36 uint64_t saddr, uint64_t daddr, in radeon_benchmark_do_move() argument
48 r = radeon_copy_dma(rdev, saddr, daddr, in radeon_benchmark_do_move()
53 r = radeon_copy_blit(rdev, saddr, daddr, in radeon_benchmark_do_move()
95 uint64_t saddr, daddr; in radeon_benchmark_move() local
119 r = radeon_bo_pin(dobj, ddomain, &daddr); in radeon_benchmark_move()
126 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move()
136 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move()
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c490 if (ipoib_cm_enabled(dev, neigh->daddr)) { in path_rec_completion()
585 static void neigh_add_path(struct sk_buff *skb, u8 *daddr, in neigh_add_path() argument
594 neigh = ipoib_neigh_alloc(daddr, dev); in neigh_add_path()
602 path = __path_find(dev, daddr + 4); in neigh_add_path()
604 path = path_rec_create(dev, daddr + 4); in neigh_add_path()
617 if (ipoib_cm_enabled(dev, neigh->daddr)) { in neigh_add_path()
634 ipoib_send(dev, skb, path->ah, IPOIB_QPN(daddr)); in neigh_add_path()
816 const void *daddr, const void *saddr, unsigned len) in ipoib_hard_header() argument
831 memcpy(cb->hwaddr, daddr, INFINIBAND_ALEN); in ipoib_hard_header()
848 static u32 ipoib_addr_hash(struct ipoib_neigh_hash *htbl, u8 *daddr) in ipoib_addr_hash() argument
[all …]
Dipoib.h408 u8 daddr[INFINIBAND_ALEN]; member
434 struct ipoib_neigh *ipoib_neigh_get(struct net_device *dev, u8 *daddr);
435 struct ipoib_neigh *ipoib_neigh_alloc(u8 *daddr,
484 void ipoib_mcast_send(struct net_device *dev, u8 *daddr, struct sk_buff *skb);
Dipoib_multicast.c644 void ipoib_mcast_send(struct net_device *dev, u8 *daddr, struct sk_buff *skb) in ipoib_mcast_send() argument
649 void *mgid = daddr + 4; in ipoib_mcast_send()
708 neigh = ipoib_neigh_get(dev, daddr); in ipoib_mcast_send()
711 neigh = ipoib_neigh_alloc(daddr, dev); in ipoib_mcast_send()
/drivers/net/arcnet/
Darcnet.c60 unsigned short type, uint8_t daddr);
105 unsigned short type, const void *daddr,
485 unsigned short type, const void *daddr, in arcnet_header() argument
495 daddr ? *(uint8_t *) daddr : -1, in arcnet_header()
507 _daddr = daddr ? *(uint8_t *) daddr : 0; in arcnet_header()
509 else if (!daddr) { in arcnet_header()
526 _daddr = *(uint8_t *) daddr; in arcnet_header()
552 uint8_t daddr=0; in arcnet_rebuild_header() local
569 status = arp_find(&daddr, skb) ? 1 : 0; in arcnet_rebuild_header()
571 daddr, type); in arcnet_rebuild_header()
[all …]
Darc-rawmode.c42 unsigned short type, uint8_t daddr);
136 unsigned short type, uint8_t daddr) in build_header() argument
161 pkt->hard.dest = daddr; in build_header()
Drfc1051.c42 unsigned short type, uint8_t daddr);
169 unsigned short type, uint8_t daddr) in build_header() argument
212 pkt->hard.dest = daddr; in build_header()
Dcapmode.c101 uint8_t daddr) in build_header() argument
128 pkt->hard.dest = daddr; in build_header()
Drfc1201.c42 unsigned short type, uint8_t daddr);
375 unsigned short type, uint8_t daddr) in build_header() argument
436 pkt->hard.dest = daddr; in build_header()
/drivers/infiniband/core/
Daddr.c179 static int dst_fetch_ha(struct dst_entry *dst, struct rdma_dev_addr *dev_addr, void *daddr) in dst_fetch_ha() argument
184 n = dst_neigh_lookup(dst, daddr); in dst_fetch_ha()
213 fl4.daddr = dst_ip; in addr4_resolve()
237 ret = dst_fetch_ha(&rt->dst, addr, &fl4.daddr); in addr4_resolve()
254 fl6.daddr = dst_in->sin6_addr; in addr6_resolve()
264 &fl6.daddr, 0, &fl6.saddr); in addr6_resolve()
285 ret = dst_fetch_ha(dst, addr, &fl6.daddr); in addr6_resolve()
/drivers/video/
Dhitfb.c79 u32 saddr, daddr; in hitfb_accel_bitblt() local
87 daddr = WIDTH * (dy + height) + dx + width; in hitfb_accel_bitblt()
100 daddr = WIDTH * dy + dx; in hitfb_accel_bitblt()
109 daddr <<= 1; in hitfb_accel_bitblt()
115 fb_writew(daddr & 0xffff, HD64461_BBTDSARL); in hitfb_accel_bitblt()
116 fb_writew(daddr >> 16, HD64461_BBTDSARH); in hitfb_accel_bitblt()
/drivers/scsi/cxgbi/
Dlibcxgbi.c455 __be32 saddr, __be32 daddr, in find_route_ipv4() argument
460 rt = ip_route_output_ports(&init_net, fl4, NULL, daddr, saddr, in find_route_ipv4()
470 struct sockaddr_in *daddr = (struct sockaddr_in *)dst_addr; in cxgbi_check_route() local
482 if (daddr->sin_family != AF_INET) { in cxgbi_check_route()
484 daddr->sin_family); in cxgbi_check_route()
489 rt = find_route_ipv4(&fl4, 0, daddr->sin_addr.s_addr, 0, daddr->sin_port, 0); in cxgbi_check_route()
492 daddr->sin_addr.s_addr, daddr->sin_port); in cxgbi_check_route()
497 n = dst_neigh_lookup(dst, &daddr->sin_addr.s_addr); in cxgbi_check_route()
506 &daddr->sin_addr.s_addr, ntohs(daddr->sin_port), in cxgbi_check_route()
513 ndev = ip_dev_find(&init_net, daddr->sin_addr.s_addr); in cxgbi_check_route()
[all …]
/drivers/net/wireless/ath/ath5k/
Dbase.c632 ds->ds_link = bf->daddr; /* link to self */ in ath5k_rxbuf_setup()
641 *ah->rxlink = bf->daddr; in ath5k_rxbuf_setup()
761 ath5k_hw_set_txdp(ah, txq->qnum, bf->daddr); in ath5k_txbuf_setup()
763 *txq->link = bf->daddr; in ath5k_txbuf_setup()
817 bf->daddr = da; in ath5k_desc_alloc()
825 bf->daddr = da; in ath5k_desc_alloc()
833 bf->daddr = da; in ath5k_desc_alloc()
1109 ath5k_hw_set_rxdp(ah, bf->daddr); in ath5k_rx_start()
1469 if (ath5k_hw_get_rxdp(ah) == bf->daddr) in ath5k_tasklet_rx()
1675 if (ath5k_hw_get_txdp(ah, txq->qnum) != bf->daddr) { in ath5k_tx_processq()
[all …]
Dbase.h66 dma_addr_t daddr; /* physical addr of desc */ member
/drivers/staging/csr/
Dnetdev.c899 const unsigned char *daddr, in _identify_sme_ma_pkt_ind() argument
931 r = skb_80211_to_ether(priv, skb, daddr, saddr, in _identify_sme_ma_pkt_ind()
946 memcpy((void*)bulkdata->d[0].os_data_ptr, daddr, ETH_ALEN); in _identify_sme_ma_pkt_ind()
998 const unsigned char *daddr, const unsigned char *saddr, in skb_80211_to_ether() argument
1013 if(skb== NULL || daddr == NULL || saddr == NULL){ in skb_80211_to_ether()
1058 memcpy(skb_push(skb, ETH_ALEN), daddr, ETH_ALEN); in skb_80211_to_ether()
1096 memcpy(eth->h_dest, daddr, ETH_ALEN); in skb_80211_to_ether()
1113 memcpy(eth->h_dest, daddr, ETH_ALEN); in skb_80211_to_ether()
1129 memcpy(skb_push(skb, ETH_ALEN), daddr, ETH_ALEN); in skb_80211_to_ether()
1185 const u8 *daddr, in prepare_and_add_macheader() argument
[all …]
/drivers/dma/
Dat_hdmac.c262 desc->lli.daddr, in atc_chain_complete()
266 desc->lli.daddr, in atc_chain_complete()
606 desc->lli.daddr = dest + offset; in atc_prep_dma_memcpy()
704 desc->lli.daddr = reg; in atc_prep_slave_sg()
744 desc->lli.daddr = mem; in atc_prep_slave_sg()
821 desc->lli.daddr = sconfig->dst_addr; in atc_dma_cyclic_fill_desc()
832 desc->lli.daddr = buf_addr + (period_len * period_index); in atc_dma_cyclic_fill_desc()
Dat_hdmac_regs.h171 dma_addr_t daddr; member
378 lli->saddr, lli->daddr, in atc_dump_lli()
/drivers/infiniband/hw/cxgb4/
Dmem.c181 dma_addr_t daddr; in _c4iw_write_mem_dma() local
184 daddr = dma_map_single(&rdev->lldi.pdev->dev, data, len, DMA_TO_DEVICE); in _c4iw_write_mem_dma()
185 if (dma_mapping_error(&rdev->lldi.pdev->dev, daddr)) in _c4iw_write_mem_dma()
187 save = daddr; in _c4iw_write_mem_dma()
198 ret = _c4iw_write_mem_dma_aligned(rdev, addr, dmalen, daddr, in _c4iw_write_mem_dma()
204 daddr += dmalen; in _c4iw_write_mem_dma()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c166 req->peer_port = csk->daddr.sin_port; in send_act_open_req()
168 req->peer_ip = csk->daddr.sin_addr.s_addr; in send_act_open_req()
577 &csk->daddr.sin_addr.s_addr, ntohs(csk->daddr.sin_port)); in do_act_open_rpl()
970 &csk->daddr.sin_addr.s_addr); in init_act_open()
1001 &csk->daddr.sin_addr.s_addr, ntohs(csk->daddr.sin_port)); in init_act_open()
/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.h113 struct net_device *dev, const void *daddr);
Dl2t.c302 struct net_device *dev, const void *daddr) in t3_l2t_get() argument
314 neigh = dst_neigh_lookup(dst, daddr); in t3_l2t_get()
/drivers/net/wireless/iwlwifi/mvm/
Dd3.c416 static __le16 pseudo_hdr_check(int len, __be32 saddr, __be32 daddr) in pseudo_hdr_check() argument
418 __sum16 check = tcp_v4_check(len, saddr, daddr, 0); in pseudo_hdr_check()
451 pkt->ip.daddr = tcp->dst; in iwl_mvm_build_tcp_packet()
464 pkt->ip.daddr = tcp->src; in iwl_mvm_build_tcp_packet()
538 pkt->ip.saddr, pkt->ip.daddr); in iwl_mvm_build_tcp_packet()
/drivers/net/caif/
Dcaif_spi.c82 static inline void *dma_alloc(dma_addr_t *daddr) in dma_alloc() argument
94 static inline void *dma_alloc(dma_addr_t *daddr) in dma_alloc() argument
96 return dma_alloc_coherent(NULL, SPI_DMA_BUF_LEN, daddr, in dma_alloc()

1234