/drivers/media/video/cx231xx/ |
D | cx231xx-i2c.c | 86 u16 saddr = 0; in cx231xx_i2c_send_bytes() local 98 saddr = msg->buf[0] << 8 | msg->buf[1]; in cx231xx_i2c_send_bytes() 100 saddr = msg->buf[0]; in cx231xx_i2c_send_bytes() 102 switch (saddr) { in cx231xx_i2c_send_bytes() 123 msg->addr, msg->len, saddr); in cx231xx_i2c_send_bytes() 193 u16 saddr = 0; in cx231xx_i2c_recv_bytes() local 198 saddr = msg->buf[0] << 8 | msg->buf[1]; in cx231xx_i2c_recv_bytes() 200 saddr = msg->buf[0]; in cx231xx_i2c_recv_bytes() 204 switch (saddr) { in cx231xx_i2c_recv_bytes() 280 u16 saddr = 0; in cx231xx_i2c_recv_bytes_with_saddr() local [all …]
|
D | cx231xx-core.c | 1514 int cx231xx_read_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, in cx231xx_read_i2c_master() argument 1522 saddr = 0; in cx231xx_read_i2c_master() 1524 saddr &= 0xff; in cx231xx_read_i2c_master() 1530 req_data.saddr_dat = saddr; in cx231xx_read_i2c_master() 1554 *data = value[saddr]; in cx231xx_read_i2c_master() 1560 int cx231xx_write_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, in cx231xx_write_i2c_master() argument 1573 saddr = 0; in cx231xx_write_i2c_master() 1575 saddr &= 0xff; in cx231xx_write_i2c_master() 1581 req_data.saddr_dat = saddr; in cx231xx_write_i2c_master() 1599 int cx231xx_read_i2c_data(struct cx231xx *dev, u8 dev_addr, u16 saddr, in cx231xx_read_i2c_data() argument [all …]
|
D | cx231xx-avcore.c | 60 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte() argument 63 saddr, 1, data, 1); in verve_write_byte() 66 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte() argument 72 saddr, 1, &temp, 1); in verve_read_byte() 112 static int afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) in afe_write_byte() argument 115 saddr, 2, data, 1); in afe_write_byte() 118 static int afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) in afe_read_byte() argument 124 saddr, 2, &temp, 1); in afe_read_byte() 522 static int vid_blk_write_byte(struct cx231xx *dev, u16 saddr, u8 data) in vid_blk_write_byte() argument 525 saddr, 2, data, 1); in vid_blk_write_byte() [all …]
|
D | cx231xx.h | 777 int cx231xx_read_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, 779 int cx231xx_write_i2c_master(struct cx231xx *dev, u8 dev_addr, u16 saddr, 782 u16 saddr, u8 saddr_len, u32 *data, u8 data_len); 784 u16 saddr, u8 saddr_len, u32 data, u8 data_len); 789 u16 saddr, u32 mask, u32 value);
|
/drivers/staging/wlan-ng/ |
D | p80211conv.c | 195 memcpy(p80211_hdr->a3.a3, &e_hdr.saddr, ETH_ALEN); in skb_ether_to_p80211() 284 u8 saddr[WLAN_ETHADDR_LEN]; in skb_p80211_to_ether() local 301 memcpy(saddr, w_hdr->a3.a2, WLAN_ETHADDR_LEN); in skb_p80211_to_ether() 305 memcpy(saddr, w_hdr->a3.a3, WLAN_ETHADDR_LEN); in skb_p80211_to_ether() 309 memcpy(saddr, w_hdr->a3.a2, WLAN_ETHADDR_LEN); in skb_p80211_to_ether() 318 memcpy(saddr, w_hdr->a4.a4, WLAN_ETHADDR_LEN); in skb_p80211_to_ether() 363 (memcmp(saddr, e_hdr->saddr, WLAN_ETHADDR_LEN) == 0))) { in skb_p80211_to_ether() 410 memcpy(e_hdr->saddr, saddr, WLAN_ETHADDR_LEN); in skb_p80211_to_ether() 451 memcpy(e_hdr->saddr, saddr, WLAN_ETHADDR_LEN); in skb_p80211_to_ether() 477 memcpy(e_hdr->saddr, saddr, WLAN_ETHADDR_LEN); in skb_p80211_to_ether()
|
D | p80211conv.h | 135 u8 saddr[WLAN_ETHADDR_LEN]; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 36 uint64_t saddr, uint64_t daddr, in radeon_benchmark_do_move() argument 51 r = radeon_copy_dma(rdev, saddr, daddr, in radeon_benchmark_do_move() 59 r = radeon_copy_blit(rdev, saddr, daddr, in radeon_benchmark_do_move() 101 uint64_t saddr, daddr; in radeon_benchmark_move() local 113 r = radeon_bo_pin(sobj, sdomain, &saddr); in radeon_benchmark_move() 135 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move() 145 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move()
|
/drivers/video/ |
D | hitfb.c | 63 u32 saddr = WIDTH * dy + dx; in hitfb_accel_set_dest() local 65 saddr <<= 1; in hitfb_accel_set_dest() 70 fb_writew(saddr & 0xffff, HD64461_BBTDSARL); in hitfb_accel_set_dest() 71 fb_writew(saddr >> 16, HD64461_BBTDSARH); in hitfb_accel_set_dest() 79 u32 saddr, daddr; in hitfb_accel_bitblt() local 86 saddr = WIDTH * (sy + height) + sx + width; in hitfb_accel_bitblt() 99 saddr = WIDTH * sy + sx; in hitfb_accel_bitblt() 108 saddr <<= 1; in hitfb_accel_bitblt() 113 fb_writew(saddr & 0xffff, HD64461_BBTSSARL); in hitfb_accel_bitblt() 114 fb_writew(saddr >> 16, HD64461_BBTSSARH); in hitfb_accel_bitblt()
|
/drivers/infiniband/core/ |
D | addr.c | 216 fl4.saddr = src_ip; in addr4_resolve() 224 src_in->sin_addr.s_addr = fl4.saddr; in addr4_resolve() 257 fl6.saddr = src_in->sin6_addr; in addr6_resolve() 264 if (ipv6_addr_any(&fl6.saddr)) { in addr6_resolve() 266 &fl6.daddr, 0, &fl6.saddr); in addr6_resolve() 271 src_in->sin6_addr = fl6.saddr; in addr6_resolve()
|
/drivers/net/arcnet/ |
D | rfc1201.c | 141 int saddr = pkt->hard.source, ofs; in rx() local 142 struct Incoming *in = &lp->rfc1201.incoming[saddr]; in rx() 156 saddr); in rx() 215 saddr); in rx() 217 *cptr = saddr; in rx() 256 saddr, in->sequence, soft->sequence, in rx()
|
D | arcnet.c | 106 const void *saddr, unsigned len); 486 const void *saddr, unsigned len) in arcnet_header() argument 494 saddr ? *(uint8_t *) saddr : -1, in arcnet_header()
|
/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 330 if (csk->saddr.sin_port) { in sock_get_port() 332 ntohs(csk->saddr.sin_port)); in sock_get_port() 350 csk->saddr.sin_port = in sock_get_port() 378 if (csk->saddr.sin_port) { in sock_put_port() 379 int idx = ntohs(csk->saddr.sin_port) - pmap->sport_base; in sock_put_port() 381 csk->saddr.sin_port = 0; in sock_put_port() 386 ntohs(csk->saddr.sin_port)); in sock_put_port() 455 __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() 543 csk->saddr.sin_addr.s_addr = fl4.saddr; in cxgbi_check_route() [all …]
|
/drivers/net/ethernet/cirrus/ |
D | mac89x0.c | 593 struct sockaddr *saddr = addr; in set_mac_address() local 596 if (!is_valid_ether_addr(saddr->sa_data)) in set_mac_address() 599 memcpy(dev->dev_addr, saddr->sa_data, ETH_ALEN); in set_mac_address()
|
/drivers/dma/ |
D | at_hdmac_regs.h | 151 dma_addr_t saddr; member 355 lli->saddr, lli->daddr, in atc_dump_lli()
|
D | at_hdmac.c | 273 desc->lli.saddr, in atc_chain_complete() 277 desc->lli.saddr, in atc_chain_complete() 606 desc->lli.saddr = src + offset; in atc_prep_dma_memcpy() 703 desc->lli.saddr = mem; in atc_prep_slave_sg() 743 desc->lli.saddr = reg; in atc_prep_slave_sg() 822 desc->lli.saddr = buf_addr + (period_len * period_index); in atc_dma_cyclic_fill_desc() 833 desc->lli.saddr = sconfig->src_addr; in atc_dma_cyclic_fill_desc()
|
/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 165 req->local_port = csk->saddr.sin_port; in send_act_open_req() 167 req->local_ip = csk->saddr.sin_addr.s_addr; in send_act_open_req() 576 &csk->saddr.sin_addr.s_addr, ntohs(csk->saddr.sin_port), in do_act_open_rpl() 966 csk->saddr.sin_addr.s_addr = chba->ipv4addr; in init_act_open() 999 &csk->saddr.sin_addr.s_addr, ntohs(csk->saddr.sin_port), in init_act_open()
|
/drivers/staging/rtl8712/ |
D | ip.h | 131 __u32 saddr; member
|
/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 1768 struct cnic_sockaddr saddr; in bnx2i_ep_connect() local 1874 memset(&saddr, 0, sizeof(saddr)); in bnx2i_ep_connect() 1877 saddr.remote.v4 = *desti; in bnx2i_ep_connect() 1878 saddr.local.v4.sin_family = desti->sin_family; in bnx2i_ep_connect() 1881 saddr.remote.v6 = *desti6; in bnx2i_ep_connect() 1882 saddr.local.v6.sin6_family = desti6->sin6_family; in bnx2i_ep_connect() 1891 rc = cnic->cm_connect(bnx2i_ep->cm_sk, &saddr); in bnx2i_ep_connect()
|
/drivers/staging/bcm/ |
D | Qos.c | 237 MatchSrcIpAddress(pstClassifierRule, iphd->saddr))) in IpVersion4() 509 pstClassifierRule = GetFragIPClsEntry(Adapter,pIpHeader->id, pIpHeader->saddr); in ClassifyPacket() 519 DelFragIPClsEntry(Adapter,pIpHeader->id, pIpHeader->saddr); in ClassifyPacket() 636 stFragPktInfo.ulSrcIpAddress = pIpHeader->saddr; in ClassifyPacket()
|
/drivers/net/ppp/ |
D | pptp.c | 274 iph->saddr = fl4.saddr; in pptp_xmit() 403 po = lookup_chan(htons(header->call_id), iph->saddr); in pptp_rcv()
|
/drivers/net/ethernet/sfc/ |
D | selftest.c | 286 received->ip.saddr = payload->ip.saddr; in efx_loopback_rx_packet() 421 payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); in efx_begin_loopback()
|
/drivers/net/wireless/ |
D | wl3501.h | 474 u8 saddr[ETH_ALEN]; member 487 u8 saddr[ETH_ALEN]; member
|
/drivers/s390/cio/ |
D | device_status.c | 173 cdev_irb->esw.esw0.saddr = irb->esw.esw0.saddr; in ccw_device_accumulate_esw()
|
/drivers/crypto/ |
D | hifn_795x.c | 1721 static int ablkcipher_get(void *saddr, unsigned int *srestp, unsigned int offset, in ablkcipher_get() argument 1735 memcpy(daddr + dst->offset + offset, saddr, copy); in ablkcipher_get() 1741 saddr += copy; in ablkcipher_get() 1778 void *saddr; in hifn_process_ready() local 1796 saddr = kmap_atomic(sg_page(t)); in hifn_process_ready() 1798 err = ablkcipher_get(saddr, &t->length, t->offset, in hifn_process_ready() 1801 kunmap_atomic(saddr); in hifn_process_ready() 1806 kunmap_atomic(saddr); in hifn_process_ready()
|
/drivers/net/bonding/ |
D | bond_main.c | 890 struct sockaddr saddr; in bond_do_fail_over_mac() local 919 memcpy(saddr.sa_data, old_active->dev->dev_addr, in bond_do_fail_over_mac() 921 saddr.sa_family = new_active->dev->type; in bond_do_fail_over_mac() 923 memcpy(saddr.sa_data, bond->dev->dev_addr, ETH_ALEN); in bond_do_fail_over_mac() 924 saddr.sa_family = bond->dev->type; in bond_do_fail_over_mac() 927 rv = dev_set_mac_address(new_active->dev, &saddr); in bond_do_fail_over_mac() 937 memcpy(saddr.sa_data, tmp_mac, ETH_ALEN); in bond_do_fail_over_mac() 938 saddr.sa_family = old_active->dev->type; in bond_do_fail_over_mac() 940 rv = dev_set_mac_address(old_active->dev, &saddr); in bond_do_fail_over_mac() 3363 return ((ntohl(iph->saddr ^ iph->daddr) & 0xffff) ^ in bond_xmit_hash_policy_l23() [all …]
|