Home
last modified time | relevance | path

Searched refs:tmpl (Results 1 – 21 of 21) sorted by relevance

/drivers/crypto/qce/
Dsha.c43 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_ahash_done() local
44 struct qce_device *qce = tmpl->qce; in qce_ahash_done()
74 qce->async_req_done(tmpl->qce, error); in qce_ahash_done()
82 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_ahash_async_req_handle() local
83 struct qce_device *qce = tmpl->qce; in qce_ahash_async_req_handle()
115 ret = qce_start(async_req, tmpl->crypto_alg_type, 0, 0); in qce_ahash_async_req_handle()
134 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); in qce_ahash_init() local
135 const u32 *std_iv = tmpl->std_iv; in qce_ahash_init()
140 rctx->flags = tmpl->alg_flags; in qce_ahash_init()
237 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); in qce_ahash_update() local
[all …]
Dablkcipher.c30 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); in qce_ablkcipher_done() local
31 struct qce_device *qce = tmpl->qce; in qce_ablkcipher_done()
58 qce->async_req_done(tmpl->qce, error); in qce_ablkcipher_done()
67 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); in qce_ablkcipher_async_req_handle() local
68 struct qce_device *qce = tmpl->qce; in qce_ablkcipher_async_req_handle()
142 ret = qce_start(async_req, tmpl->crypto_alg_type, req->nbytes, 0); in qce_ablkcipher_async_req_handle()
209 struct qce_alg_template *tmpl = to_cipher_tmpl(tfm); in qce_ablkcipher_crypt() local
212 rctx->flags = tmpl->alg_flags; in qce_ablkcipher_crypt()
224 return tmpl->qce->async_req_enqueue(tmpl->qce, &req->base); in qce_ablkcipher_crypt()
349 struct qce_alg_template *tmpl; in qce_ablkcipher_register_one() local
[all …]
Dcommon.c236 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_setup_regs_ahash() local
237 struct qce_device *qce = tmpl->qce; in qce_setup_regs_ahash()
321 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); in qce_setup_regs_ablkcipher() local
322 struct qce_device *qce = tmpl->qce; in qce_setup_regs_ablkcipher()
/drivers/scsi/fnic/
Dcq_exch_desc.h28 u8 tmpl; member
62 u16 tmpl; member
95 u16 *tmpl, in cq_fcp_rq_desc_dec() argument
116 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK; in cq_fcp_rq_desc_dec()
141 u16 tmpl; member
169 u16 *tmpl, in cq_sgl_desc_dec() argument
178 *tmpl = desc_ptr->tmpl & CQ_SGL_TMPL_MASK; in cq_sgl_desc_dec()
Dfnic_fcs.c803 u16 exchange_id, tmpl; in fnic_rq_cmpl_frame_recv() local
820 &tmpl, &fcp_bytes_written, &sof, &eof, in fnic_rq_cmpl_frame_recv()
/drivers/s390/net/
Dfsm.c17 int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order) in init_fsm() argument
56 if ((tmpl[i].cond_state >= nr_states) || in init_fsm()
57 (tmpl[i].cond_event >= nr_events) ) { in init_fsm()
60 name, i, (long)tmpl[i].cond_state, (long)f->nr_states, in init_fsm()
61 (long)tmpl[i].cond_event, (long)f->nr_events); in init_fsm()
65 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] = in init_fsm()
66 tmpl[i].function; in init_fsm()
Dfsm.h111 int nr_states, int nr_events, const fsm_node *tmpl,
/drivers/net/wireless/ti/wlcore/
Dinit.c161 struct wl12xx_disconn_template *tmpl; in wl1271_ap_init_deauth_template() local
165 tmpl = kzalloc(sizeof(*tmpl), GFP_KERNEL); in wl1271_ap_init_deauth_template()
166 if (!tmpl) { in wl1271_ap_init_deauth_template()
171 tmpl->header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_MGMT | in wl1271_ap_init_deauth_template()
177 tmpl, sizeof(*tmpl), 0, rate); in wl1271_ap_init_deauth_template()
180 kfree(tmpl); in wl1271_ap_init_deauth_template()
Dcmd.c1213 struct wl12xx_arp_rsp_template *tmpl; in wl1271_cmd_build_arp_rsp() local
1217 skb = dev_alloc_skb(sizeof(*hdr) + sizeof(__le16) + sizeof(*tmpl) + in wl1271_cmd_build_arp_rsp()
1226 tmpl = (struct wl12xx_arp_rsp_template *)skb_put(skb, sizeof(*tmpl)); in wl1271_cmd_build_arp_rsp()
1227 memset(tmpl, 0, sizeof(*tmpl)); in wl1271_cmd_build_arp_rsp()
1230 memcpy(tmpl->llc_hdr, rfc1042_header, sizeof(rfc1042_header)); in wl1271_cmd_build_arp_rsp()
1231 tmpl->llc_type = cpu_to_be16(ETH_P_ARP); in wl1271_cmd_build_arp_rsp()
1234 arp_hdr = &tmpl->arp_hdr; in wl1271_cmd_build_arp_rsp()
1242 memcpy(tmpl->sender_hw, vif->addr, ETH_ALEN); in wl1271_cmd_build_arp_rsp()
1243 tmpl->sender_ip = wlvif->ip_addr; in wl1271_cmd_build_arp_rsp()
/drivers/scsi/
Dscsi_sas_internal.h40 #define to_sas_internal(tmpl) container_of(tmpl, struct sas_internal, t) argument
Draid_class.c39 #define to_raid_internal(tmpl) container_of(tmpl, struct raid_internal, r) argument
Dscsi_transport_srp.c55 #define to_srp_internal(tmpl) container_of(tmpl, struct srp_internal, t) argument
Dscsi_transport_spi.c75 #define to_spi_internal(tmpl) container_of(tmpl, struct spi_internal, t) argument
Dscsi_transport_fc.c351 #define to_fc_internal(tmpl) container_of(tmpl, struct fc_internal, t) argument
Dscsi_transport_iscsi.c94 #define to_iscsi_internal(tmpl) \ argument
95 container_of(tmpl, struct iscsi_internal, t)
/drivers/crypto/
Dn2_core.c1388 static int __n2_register_one_cipher(const struct n2_cipher_tmpl *tmpl) in __n2_register_one_cipher() argument
1399 snprintf(alg->cra_name, CRYPTO_MAX_ALG_NAME, "%s", tmpl->name); in __n2_register_one_cipher()
1400 snprintf(alg->cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s-n2", tmpl->drv_name); in __n2_register_one_cipher()
1404 alg->cra_blocksize = tmpl->block_size; in __n2_register_one_cipher()
1405 p->enc_type = tmpl->enc_type; in __n2_register_one_cipher()
1408 alg->cra_u.ablkcipher = tmpl->ablkcipher; in __n2_register_one_cipher()
1462 static int __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl) in __n2_register_one_ahash() argument
1473 p->hash_zero = tmpl->hash_zero; in __n2_register_one_ahash()
1474 p->hash_init = tmpl->hash_init; in __n2_register_one_ahash()
1475 p->auth_type = tmpl->auth_type; in __n2_register_one_ahash()
[all …]
/drivers/crypto/nx/
Dnx-842.c1337 uint8_t tmpl; in sw842_get_byte() local
1342 memcpy(&tmpl, &tmp, 1); in sw842_get_byte()
1343 return tmpl; in sw842_get_byte()
1495 uint8_t tmpl; in sw842_decompress() local
1515 while ((tmpl = sw842_get_template(&inbuf, &inbit)) != SW842_TMPL_EOF) { in sw842_decompress()
1524 switch (tmpl) { in sw842_decompress()
1566 if (tmpl > 25) { in sw842_decompress()
1584 (op = sw842_tmpl_ops[tmpl][opindex++]) in sw842_decompress()
/drivers/net/bonding/
Dbond_3ad.c1631 static const struct port_params tmpl = { in ad_initialize_port() local
1667 memcpy(&port->partner_admin, &tmpl, sizeof(tmpl)); in ad_initialize_port()
1668 memcpy(&port->partner_oper, &tmpl, sizeof(tmpl)); in ad_initialize_port()
/drivers/ata/
Dlibata-transport.c65 #define to_ata_internal(tmpl) container_of(tmpl, struct ata_internal, t) argument
/drivers/atm/
Didt77252.c2149 unsigned long tmpl, modl; in idt77252_init_cbr() local
2170 tmpl = (unsigned long) tcra * ((unsigned long) card->tst_size - 2); in idt77252_init_cbr()
2171 modl = tmpl % (unsigned long)card->utopia_pcr; in idt77252_init_cbr()
2173 tst_entries = (int) (tmpl / card->utopia_pcr); in idt77252_init_cbr()
3260 unsigned long tmpl, modl; in init_card() local
3483 tmpl = (unsigned long) rsvdcr * ((unsigned long) card->tst_size - 2); in init_card()
3484 modl = tmpl % (unsigned long)card->utopia_pcr; in init_card()
3485 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr); in init_card()
Dnicstar.c1238 unsigned long tmpl, modl; in ns_open() local
1300 tmpl = in ns_open()
1303 modl = tmpl % card->max_pcr; in ns_open()
1305 n = (int)(tmpl / card->max_pcr); in ns_open()