Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 25 of 103) sorted by relevance

12345

/drivers/crypto/amcc/
Dcrypto4xx_alg.c35 static 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 …]
Dcrypto4xx_core.c593 struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_copy_digest_to_dst() local
597 if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { in crypto4xx_copy_digest_to_dst()
775 struct dynamic_sa_ctl *sa; in crypto4xx_build_pd() local
854 pd->sa = pd_uinfo->sa_pa; in crypto4xx_build_pd()
855 sa = (struct dynamic_sa_ctl *) pd_uinfo->sa_va; in crypto4xx_build_pd()
857 memcpy(sa, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_build_pd()
859 memcpy(sa, ctx->sa_out, ctx->sa_len * 4); in crypto4xx_build_pd()
861 memcpy((void *) sa + ctx->offset_to_sr_ptr, in crypto4xx_build_pd()
868 pd->sa = ctx->sa_in_dma_addr; in crypto4xx_build_pd()
869 sa = (struct dynamic_sa_ctl *) ctx->sa_in; in crypto4xx_build_pd()
[all …]
/drivers/staging/rtl8712/
Dwifi.h329 unsigned char *sa; in get_sa() local
334 sa = GetAddr2Ptr(pframe); in get_sa()
337 sa = GetAddr3Ptr(pframe); in get_sa()
340 sa = GetAddr2Ptr(pframe); in get_sa()
343 sa = GetAddr4Ptr(pframe); in get_sa()
347 return sa; in get_sa()
352 unsigned char *sa; in get_hdr_bssid() local
357 sa = GetAddr3Ptr(pframe); in get_hdr_bssid()
360 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
363 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
[all …]
/drivers/staging/rtl8188eu/include/
Dwifi.h306 unsigned char *sa; in get_sa() local
311 sa = GetAddr2Ptr(pframe); in get_sa()
314 sa = GetAddr3Ptr(pframe); in get_sa()
317 sa = GetAddr2Ptr(pframe); in get_sa()
320 sa = GetAddr4Ptr(pframe); in get_sa()
323 return sa; in get_sa()
328 unsigned char *sa; in get_hdr_bssid() local
333 sa = GetAddr3Ptr(pframe); in get_hdr_bssid()
336 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
339 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
[all …]
/drivers/net/
Dmacsec.c173 struct macsec_rx_sa __rcu *sa[MACSEC_NUM_AN]; member
220 struct macsec_tx_sa __rcu *sa[MACSEC_NUM_AN]; member
313 struct macsec_rx_sa *sa = rcu_dereference_bh(ptr); in macsec_rxsa_get() local
315 if (!sa || !sa->active) in macsec_rxsa_get()
318 if (!atomic_inc_not_zero(&sa->refcnt)) in macsec_rxsa_get()
321 return sa; in macsec_rxsa_get()
345 struct macsec_rx_sa *sa = container_of(head, struct macsec_rx_sa, rcu); in free_rxsa() local
347 crypto_free_aead(sa->key.tfm); in free_rxsa()
348 free_percpu(sa->stats); in free_rxsa()
349 kfree(sa); in free_rxsa()
[all …]
Dvxlan.c98 if (a->sa.sa_family != b->sa.sa_family) in vxlan_addr_equal()
100 if (a->sa.sa_family == AF_INET6) in vxlan_addr_equal()
108 if (ipa->sa.sa_family == AF_INET6) in vxlan_addr_any()
116 if (ipa->sa.sa_family == AF_INET6) in vxlan_addr_multicast()
126 ip->sa.sa_family = AF_INET6; in vxlan_nla_get_addr()
130 ip->sa.sa_family = AF_INET; in vxlan_nla_get_addr()
140 if (ip->sa.sa_family == AF_INET6) in vxlan_nla_put_addr()
170 ip->sa.sa_family = AF_INET; in vxlan_nla_get_addr()
295 ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET; in vxlan_fdb_info()
820 if (remote->sa.sa_family == AF_INET) { in vxlan_fdb_parse()
[all …]
/drivers/staging/rtl8723bs/include/
Dwifi.h405 unsigned char *sa; in get_sa() local
410 sa = GetAddr2Ptr(pframe); in get_sa()
413 sa = GetAddr3Ptr(pframe); in get_sa()
416 sa = GetAddr2Ptr(pframe); in get_sa()
419 sa = GetAddr4Ptr(pframe); in get_sa()
423 return sa; in get_sa()
428 unsigned char *sa = NULL; in get_hdr_bssid() local
433 sa = GetAddr3Ptr(pframe); in get_hdr_bssid()
436 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
439 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c58 struct mlx5_accel_ipsec_sa sa; member
158 if (context->sa.sw_sa_handle != resp->sw_sa_handle) { in mlx5_fpga_ipsec_recv()
160 ntohl(context->sa.sw_sa_handle), in mlx5_fpga_ipsec_recv()
191 memcpy(&context->sa, cmd, sizeof(*cmd)); in mlx5_fpga_ipsec_sa_cmd_exec()
193 context->buf.sg[0].size = sizeof(context->sa); in mlx5_fpga_ipsec_sa_cmd_exec()
194 context->buf.sg[0].data = &context->sa; in mlx5_fpga_ipsec_sa_cmd_exec()
/drivers/crypto/bcm/
Dspu.c77 pflags = be32_to_cpu(spuh->sa.proto_flags); in spum_dump_msg_hdr()
82 cflags = be32_to_cpu(spuh->sa.cipher_flags); in spum_dump_msg_hdr()
102 ecf = be32_to_cpu(spuh->sa.ecf); in spum_dump_msg_hdr()
799 spuh->sa.proto_flags = cpu_to_be32(protocol_bits); in spum_create_request()
800 spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); in spum_create_request()
801 spuh->sa.ecf = cpu_to_be32(ecf_bits); in spum_create_request()
914 spuh->sa.proto_flags = cpu_to_be32(protocol_bits); in spum_cipher_req_init()
917 spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); in spum_cipher_req_init()
918 spuh->sa.ecf = cpu_to_be32(ecf_bits); in spum_cipher_req_init()
990 cipher_bits = be32_to_cpu(spuh->sa.cipher_flags); in spum_cipher_req_finish()
[all …]
/drivers/gpu/drm/
Ddrm_blend.c299 const struct drm_plane_state *sa = *(struct drm_plane_state **)a; in drm_atomic_state_zpos_cmp() local
302 if (sa->zpos != sb->zpos) in drm_atomic_state_zpos_cmp()
303 return sa->zpos - sb->zpos; in drm_atomic_state_zpos_cmp()
305 return sa->plane->base.id - sb->plane->base.id; in drm_atomic_state_zpos_cmp()
/drivers/staging/rtl8188eu/hal/
Drtl8188e_rxdesc.c145 u8 *sa = NULL; in update_recvframe_phyinfo_88e() local
169 sa = padapter->mlmepriv.cur_network.network.MacAddress; in update_recvframe_phyinfo_88e()
172 sa = get_sa(wlanhdr); in update_recvframe_phyinfo_88e()
177 psta = rtw_get_stainfo(pstapriv, sa); in update_recvframe_phyinfo_88e()
/drivers/scsi/
Dscsi_logging.c109 int sa, cdb0; in scsi_format_opcode_name() local
123 sa = (cdbp[8] << 8) + cdbp[9]; in scsi_format_opcode_name()
125 sa = cdbp[1] & 0x1f; in scsi_format_opcode_name()
127 if (!scsi_opcode_sa_name(cdb0, sa, &cdb_name, &sa_name)) { in scsi_format_opcode_name()
146 cdb_name, sa); in scsi_format_opcode_name()
149 "opcode=0x%x, sa=0x%x", cdb0, sa); in scsi_format_opcode_name()
/drivers/s390/char/
Dzcore.c119 struct save_area *sa; in init_cpu_info() local
122 sa = save_area_boot_cpu(); in init_cpu_info()
123 if (!sa) in init_cpu_info()
129 save_area_add_regs(sa, hsa_buf); /* vx registers are saved in smp.c */ in init_cpu_info()
/drivers/net/wireless/intersil/orinoco/
Dmic.c49 u8 *da, u8 *sa, u8 priority, in orinoco_mic() argument
63 memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); in orinoco_mic()
Dmic.h20 u8 *da, u8 *sa, u8 priority,
/drivers/remoteproc/
Dimx_rproc.c70 u32 sa; /* system bus address */ member
204 *sys = att->sa + offset; in imx_rproc_da_to_sys()
271 att->sa, att->size); in imx_rproc_addr_init()
276 priv->mem[b].sys_addr = att->sa; in imx_rproc_addr_init()
/drivers/net/ppp/
Dpptp.c99 struct pptp_addr *sa) in add_chan() argument
104 if (!sa->call_id) { in add_chan()
111 sa->call_id = call_id; in add_chan()
112 } else if (test_bit(sa->call_id, callid_bitmap)) { in add_chan()
116 sock->proto.pptp.src_addr = *sa; in add_chan()
117 set_bit(sa->call_id, callid_bitmap); in add_chan()
118 rcu_assign_pointer(callid_sock[sa->call_id], sock); in add_chan()
/drivers/target/
Dtarget_core_xcopy.c991 unsigned int sa; in target_do_xcopy() local
998 sa = se_cmd->t_task_cdb[1] & 0x1f; in target_do_xcopy()
999 if (sa != 0x00) { in target_do_xcopy()
1123 int sa = (cdb[1] & 0x1f), list_id = cdb[2]; in target_do_receive_copy_results() local
1127 " 0x%02x, AL: %u\n", sa, list_id, se_cmd->data_length); in target_do_receive_copy_results()
1135 switch (sa) { in target_do_receive_copy_results()
1143 pr_err("Unsupported SA for receive copy results: 0x%02x\n", sa); in target_do_receive_copy_results()
/drivers/s390/cio/
Dscm.c135 dev_set_name(&scmdev->dev, "%016llx", (unsigned long long) sale->sa); in scmdev_setup()
137 scmdev->address = sale->sa; in scmdev_setup()
181 return scmdev->address == sale->sa; in check_address()
/drivers/net/appletalk/
Dcops.c938 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()
Dltpc.c818 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/ibmvscsi_tgt/
Dibmvscsi_tgt.h360 #define h_copy_rdma(l, sa, sb, da, db) \ argument
361 plpar_hcall_norets(H_COPY_RDMA, l, sa, sb, da, db)
/drivers/staging/lustre/lustre/osc/
Dosc_request.c204 struct osc_setattr_args *sa, int rc) in osc_setattr_interpret() argument
217 lustre_get_wire_obdo(&req->rq_import->imp_connect_data, sa->sa_oa, in osc_setattr_interpret()
220 rc = sa->sa_upcall(sa->sa_cookie, rc); in osc_setattr_interpret()
229 struct osc_setattr_args *sa; in osc_setattr_async() local
254 BUILD_BUG_ON(sizeof(*sa) > sizeof(req->rq_async_args)); in osc_setattr_async()
255 sa = ptlrpc_req_async_args(req); in osc_setattr_async()
256 sa->sa_oa = oa; in osc_setattr_async()
257 sa->sa_upcall = upcall; in osc_setattr_async()
258 sa->sa_cookie = cookie; in osc_setattr_async()
328 struct osc_setattr_args *sa; in osc_punch_base() local
[all …]
/drivers/scsi/aacraid/
DMakefile6 dpcsup.o rx.o sa.o rkt.o nark.o src.o
/drivers/staging/greybus/tools/
Dloopback_test.c730 struct sigaction sa; in wait_for_complete() local
738 sa.sa_handler = handler; in wait_for_complete()
739 sa.sa_flags = 0; in wait_for_complete()
740 sigemptyset(&sa.sa_mask); in wait_for_complete()
741 if (sigaction(SIGINT, &sa, NULL) == -1) { in wait_for_complete()

12345