/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 35 void set_dynamic_sa_command_0(struct dynamic_sa_ctl *sa, u32 save_h, in set_dynamic_sa_command_0() argument 40 sa->sa_command_0.w = 0; in set_dynamic_sa_command_0() 41 sa->sa_command_0.bf.save_hash_state = save_h; in set_dynamic_sa_command_0() 42 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0() 43 sa->sa_command_0.bf.load_hash_state = ld_h; in set_dynamic_sa_command_0() 44 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0() 45 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0() 46 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0() 47 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0() 48 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0() [all …]
|
D | crypto4xx_core.c | 592 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() local 596 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst() 786 struct dynamic_sa_ctl *sa; in crypto4xx_build_pd() local 861 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd() 862 sa = (struct dynamic_sa_ctl *) pd_uinfo->sa_va; in crypto4xx_build_pd() 864 memcpy(sa, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_build_pd() 866 memcpy(sa, ctx->sa_out, ctx->sa_len * 4); in crypto4xx_build_pd() 868 memcpy((void *) sa + ctx->offset_to_sr_ptr, in crypto4xx_build_pd() 875 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd() 876 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_build_pd() [all …]
|
/drivers/scsi/ |
D | constants.c | 209 int sa, len, cdb0; in print_opcode_name() local 221 sa = (cdbp[8] << 8) + cdbp[9]; in print_opcode_name() 222 name = get_sa_name(variable_length_arr, VARIABLE_LENGTH_SZ, sa); in print_opcode_name() 226 printk("cdb[0]=0x%x, sa=0x%x", cdb0, sa); in print_opcode_name() 233 sa = cdbp[1] & 0x1f; in print_opcode_name() 234 name = get_sa_name(maint_in_arr, MAINT_IN_SZ, sa); in print_opcode_name() 238 printk("cdb[0]=0x%x, sa=0x%x", cdb0, sa); in print_opcode_name() 241 sa = cdbp[1] & 0x1f; in print_opcode_name() 242 name = get_sa_name(maint_out_arr, MAINT_OUT_SZ, sa); in print_opcode_name() 246 printk("cdb[0]=0x%x, sa=0x%x", cdb0, sa); in print_opcode_name() [all …]
|
/drivers/staging/rtl8712/ |
D | wifi.h | 385 unsigned char *sa; in get_sa() local 390 sa = GetAddr2Ptr(pframe); in get_sa() 393 sa = GetAddr3Ptr(pframe); in get_sa() 396 sa = GetAddr2Ptr(pframe); in get_sa() 399 sa = GetAddr4Ptr(pframe); in get_sa() 403 return sa; in get_sa() 408 unsigned char *sa; in get_hdr_bssid() local 413 sa = GetAddr3Ptr(pframe); in get_hdr_bssid() 416 sa = GetAddr2Ptr(pframe); in get_hdr_bssid() 419 sa = GetAddr1Ptr(pframe); in get_hdr_bssid() [all …]
|
/drivers/block/ |
D | cciss_scsi.c | 143 struct cciss_scsi_adapter_data_t *sa; in scsi_cmd_alloc() local 147 sa = h->scsi_ctlr; in scsi_cmd_alloc() 148 stk = &sa->cmd_stack; in scsi_cmd_alloc() 184 struct cciss_scsi_adapter_data_t *sa; in scsi_cmd_free() local 187 sa = h->scsi_ctlr; in scsi_cmd_free() 188 stk = &sa->cmd_stack; in scsi_cmd_free() 199 scsi_cmd_stack_setup(ctlr_info_t *h, struct cciss_scsi_adapter_data_t *sa) in scsi_cmd_stack_setup() argument 205 stk = &sa->cmd_stack; in scsi_cmd_stack_setup() 207 sa->cmd_sg_list = cciss_allocate_sg_chain_blocks(h, in scsi_cmd_stack_setup() 209 if (!sa->cmd_sg_list && h->chainsize > 0) in scsi_cmd_stack_setup() [all …]
|
/drivers/ieee802154/ |
D | fakehard.c | 298 struct sockaddr_ieee802154 *sa = in ieee802154_fake_ioctl() local 311 sa->family = AF_IEEE802154; in ieee802154_fake_ioctl() 312 sa->addr.addr_type = IEEE802154_ADDR_SHORT; in ieee802154_fake_ioctl() 313 sa->addr.pan_id = pan_id; in ieee802154_fake_ioctl() 314 sa->addr.short_addr = short_addr; in ieee802154_fake_ioctl()
|
/drivers/s390/char/ |
D | zcore.c | 147 struct save_area *sa; in init_cpu_info() local 151 sa = kmalloc(sizeof(*sa), GFP_KERNEL); in init_cpu_info() 152 if (!sa) in init_cpu_info() 154 if (memcpy_hsa_kernel(sa, sys_info.sa_base, sys_info.sa_size) < 0) { in init_cpu_info() 156 kfree(sa); in init_cpu_info() 159 zfcpdump_save_areas[0] = sa; in init_cpu_info() 222 static int copy_lc(void __user *buf, void *sa, int sa_off, int len) in copy_lc() argument 230 if (copy_to_user(buf + i, sa + sa_off + i, 1)) in copy_lc()
|
/drivers/staging/octeon/ |
D | ethernet.c | 451 struct sockaddr sa; in cvm_oct_common_init() local 460 sa.sa_data[0] = (mac >> 40) & 0xff; in cvm_oct_common_init() 461 sa.sa_data[1] = (mac >> 32) & 0xff; in cvm_oct_common_init() 462 sa.sa_data[2] = (mac >> 24) & 0xff; in cvm_oct_common_init() 463 sa.sa_data[3] = (mac >> 16) & 0xff; in cvm_oct_common_init() 464 sa.sa_data[4] = (mac >> 8) & 0xff; in cvm_oct_common_init() 465 sa.sa_data[5] = mac & 0xff; in cvm_oct_common_init() 469 " %pM\n", dev->name, sa.sa_data); in cvm_oct_common_init() 491 dev->netdev_ops->ndo_set_mac_address(dev, &sa); in cvm_oct_common_init()
|
/drivers/net/ |
D | dummy.c | 45 struct sockaddr *sa = p; in dummy_set_address() local 47 if (!is_valid_ether_addr(sa->sa_data)) in dummy_set_address() 51 memcpy(dev->dev_addr, sa->sa_data, ETH_ALEN); in dummy_set_address()
|
/drivers/net/wireless/orinoco/ |
D | mic.c | 47 u8 *da, u8 *sa, u8 priority, in orinoco_mic() argument 61 memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); in orinoco_mic()
|
D | mic.h | 19 u8 *da, u8 *sa, u8 priority,
|
/drivers/net/wireless/bcmdhd/common/include/proto/ |
D | ethernet.h | 204 #define ETHER_ISNULLSRC(sa) ETHER_ISNULLDEST(sa) argument
|
/drivers/net/appletalk/ |
D | cops.c | 938 struct sockaddr_at *sa = (struct sockaddr_at *)&ifr->ifr_addr; in cops_ioctl() local 945 cops_nodeid(dev, sa->sat_addr.s_node); in cops_ioctl() 946 aa->s_net = sa->sat_addr.s_net; in cops_ioctl() 958 sa->sat_addr.s_net = aa->s_net; in cops_ioctl() 959 sa->sat_addr.s_node = aa->s_node; in cops_ioctl()
|
D | ltpc.c | 818 struct sockaddr_at *sa = (struct sockaddr_at *) &ifr->ifr_addr; in ltpc_ioctl() local 830 aa->s_net = sa->sat_addr.s_net; in ltpc_ioctl() 834 c.hint = sa->sat_addr.s_node; in ltpc_ioctl() 852 sa->sat_addr.s_net = aa->s_net; in ltpc_ioctl() 853 sa->sat_addr.s_node = aa->s_node; in ltpc_ioctl()
|
/drivers/scsi/aacraid/ |
D | Makefile | 6 dpcsup.o rx.o sa.o rkt.o nark.o src.o
|
D | sa.c | 305 iounmap(dev->regs.sa); in aac_sa_ioremap() 308 dev->base = dev->regs.sa = ioremap(dev->scsi_host_ptr->base, size); in aac_sa_ioremap()
|
/drivers/net/bonding/ |
D | bond_alb.c | 1166 struct sockaddr sa; in alb_set_mac_address() local 1192 memcpy(sa.sa_data, bond->dev->dev_addr, bond->dev->addr_len); in alb_set_mac_address() 1193 sa.sa_family = bond->dev->type; in alb_set_mac_address() 1199 dev_set_mac_address(slave->dev, &sa); in alb_set_mac_address() 1665 struct sockaddr *sa = addr; in bond_alb_set_mac_address() local 1670 if (!is_valid_ether_addr(sa->sa_data)) { in bond_alb_set_mac_address() 1679 memcpy(bond_dev->dev_addr, sa->sa_data, bond_dev->addr_len); in bond_alb_set_mac_address()
|
/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 552 struct sockaddr *sa = addr; in octeon_mgmt_set_mac_address() local 554 if (!is_valid_ether_addr(sa->sa_data)) in octeon_mgmt_set_mac_address() 557 memcpy(netdev->dev_addr, sa->sa_data, ETH_ALEN); in octeon_mgmt_set_mac_address() 709 struct sockaddr sa; in octeon_mgmt_open() local 770 memcpy(sa.sa_data, netdev->dev_addr, ETH_ALEN); in octeon_mgmt_open() 771 octeon_mgmt_set_mac_address(netdev, &sa); in octeon_mgmt_open()
|
/drivers/crypto/ |
D | hifn_795x.c | 437 void *sa[HIFN_D_RES_RSIZE]; member 1258 dev->sa[sa_idx] = priv; in hifn_setup_cmd_desc() 1762 dev->sa[i] = NULL; in hifn_complete_sa() 1832 if (dev->sa[i]) { in hifn_clear_rings() 1835 hifn_process_ready(dev->sa[i], error); in hifn_clear_rings() 1934 printk("%x.%p ", dma->resr[i].l, dev->sa[i]); in hifn_work() 1935 if (dev->sa[i]) { in hifn_work() 1936 hifn_process_ready(dev->sa[i], -ENODEV); in hifn_work() 2028 if (dev->sa[i]) { in hifn_flush() 2029 hifn_process_ready(dev->sa[i], in hifn_flush() [all …]
|
/drivers/hwmon/ |
D | s3c-hwmon.c | 103 struct sensor_device_attribute *sa = to_sensor_dev_attr(attr); in s3c_hwmon_show_raw() local 106 ret = s3c_hwmon_read_ch(dev, adc, sa->index); in s3c_hwmon_show_raw()
|
/drivers/net/wan/ |
D | lapbether.c | 255 struct sockaddr *sa = addr; in lapbeth_set_mac_address() local 256 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); in lapbeth_set_mac_address()
|
/drivers/net/wireless/hostap/ |
D | hostap_80211.h | 12 u8 sa[6]; member
|
/drivers/net/wireless/wl12xx/ |
D | wl12xx_80211.h | 65 u8 sa[ETH_ALEN]; member
|
/drivers/net/hamradio/ |
D | bpqether.c | 309 struct sockaddr *sa = (struct sockaddr *)addr; in bpq_set_mac_address() local 311 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); in bpq_set_mac_address()
|
/drivers/net/wireless/wl1251/ |
D | wl12xx_80211.h | 64 u8 sa[ETH_ALEN]; member
|