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

/drivers/crypto/qce/
H A Dablkcipher.c30 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); local
31 struct qce_device *qce = tmpl->qce;
58 qce->async_req_done(tmpl->qce, error);
67 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); local
68 struct qce_device *qce = tmpl->qce;
142 ret = qce_start(async_req, tmpl->crypto_alg_type, req->nbytes, 0);
209 struct qce_alg_template *tmpl = to_cipher_tmpl(tfm); local
212 rctx->flags = tmpl->alg_flags;
224 return tmpl->qce->async_req_enqueue(tmpl
349 struct qce_alg_template *tmpl; local
401 struct qce_alg_template *tmpl, *n; local
[all...]
H A Dsha.c43 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); local
44 struct qce_device *qce = tmpl->qce;
74 qce->async_req_done(tmpl->qce, error);
82 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); local
83 struct qce_device *qce = tmpl->qce;
115 ret = qce_start(async_req, tmpl->crypto_alg_type, 0, 0);
134 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); local
135 const u32 *std_iv = tmpl->std_iv;
140 rctx->flags = tmpl->alg_flags;
237 struct qce_alg_template *tmpl local
312 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); local
335 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); local
502 struct qce_alg_template *tmpl; local
558 struct qce_alg_template *tmpl, *n; local
[all...]
H A Dcommon.c236 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); local
237 struct qce_device *qce = tmpl->qce;
321 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); local
322 struct qce_device *qce = tmpl->qce;
/drivers/scsi/fnic/
H A Dcq_exch_desc.h28 u8 tmpl; member in struct:cq_exch_wq_desc
62 u16 tmpl; member in struct:cq_fcp_rq_desc
95 u16 *tmpl,
116 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK;
141 u16 tmpl; member in struct:cq_sgl_desc
169 u16 *tmpl,
178 *tmpl = desc_ptr->tmpl & CQ_SGL_TMPL_MASK;
86 cq_fcp_rq_desc_dec(struct cq_fcp_rq_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *eop, u8 *sop, u8 *fck, u16 *exchange_id, u16 *tmpl, u32 *bytes_written, u8 *sof, u8 *eof, u8 *ingress_port, u8 *packet_err, u8 *fcoe_err, u8 *fcs_ok, u8 *vlan_stripped, u16 *vlan) argument
162 cq_sgl_desc_dec(struct cq_sgl_desc *desc_ptr, u8 *type, u8 *color, u16 *q_number, u16 *exchange_id, u32 *active_burst_offset, u32 *tot_data_bytes, u16 *tmpl, u8 *sgl_err) argument
H A Dfnic_fcs.c803 u16 exchange_id, tmpl; local
820 &tmpl, &fcp_bytes_written, &sof, &eof,
/drivers/scsi/
H A Dscsi_sas_internal.h40 #define to_sas_internal(tmpl) container_of(tmpl, struct sas_internal, t)
H A Draid_class.c39 #define to_raid_internal(tmpl) container_of(tmpl, struct raid_internal, r)
H A Dscsi_transport_srp.c55 #define to_srp_internal(tmpl) container_of(tmpl, struct srp_internal, t)
H A Dscsi_transport_spi.c75 #define to_spi_internal(tmpl) container_of(tmpl, struct spi_internal, t)
H A Dscsi_transport_fc.c351 #define to_fc_internal(tmpl) container_of(tmpl, struct fc_internal, t)
H A Dscsi_transport_iscsi.c94 #define to_iscsi_internal(tmpl) \
95 container_of(tmpl, struct iscsi_internal, t)
/drivers/s390/net/
H A Dfsm.c17 int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order)
56 if ((tmpl[i].cond_state >= nr_states) ||
57 (tmpl[i].cond_event >= nr_events) ) {
60 name, i, (long)tmpl[i].cond_state, (long)f->nr_states,
61 (long)tmpl[i].cond_event, (long)f->nr_events);
65 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] =
66 tmpl[i].function;
16 init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order) argument
H A Dfsm.h104 * @param tmpl An array of fsm_nodes, describing this FSM.
111 int nr_states, int nr_events, const fsm_node *tmpl,
/drivers/net/wireless/ti/wlcore/
H A Dinit.c161 struct wl12xx_disconn_template *tmpl; local
165 tmpl = kzalloc(sizeof(*tmpl), GFP_KERNEL);
166 if (!tmpl) {
171 tmpl->header.frame_ctl = cpu_to_le16(IEEE80211_FTYPE_MGMT |
177 tmpl, sizeof(*tmpl), 0, rate);
180 kfree(tmpl);
H A Dcmd.c1212 struct wl12xx_arp_rsp_template *tmpl; local
1216 skb = dev_alloc_skb(sizeof(*hdr) + sizeof(__le16) + sizeof(*tmpl) +
1225 tmpl = (struct wl12xx_arp_rsp_template *)skb_put(skb, sizeof(*tmpl));
1226 memset(tmpl, 0, sizeof(*tmpl));
1229 memcpy(tmpl->llc_hdr, rfc1042_header, sizeof(rfc1042_header));
1230 tmpl->llc_type = cpu_to_be16(ETH_P_ARP);
1233 arp_hdr = &tmpl->arp_hdr;
1241 memcpy(tmpl
[all...]
/drivers/crypto/
H A Dn2_core.c1388 static int __n2_register_one_cipher(const struct n2_cipher_tmpl *tmpl) argument
1399 snprintf(alg->cra_name, CRYPTO_MAX_ALG_NAME, "%s", tmpl->name);
1400 snprintf(alg->cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s-n2", tmpl->drv_name);
1404 alg->cra_blocksize = tmpl->block_size;
1405 p->enc_type = tmpl->enc_type;
1408 alg->cra_u.ablkcipher = tmpl->ablkcipher;
1462 static int __n2_register_one_ahash(const struct n2_hash_tmpl *tmpl) argument
1473 p->hash_zero = tmpl->hash_zero;
1474 p->hash_init = tmpl->hash_init;
1475 p->auth_type = tmpl
[all...]
/drivers/crypto/nx/
H A Dnx-842.c1337 uint8_t tmpl; local
1342 memcpy(&tmpl, &tmp, 1);
1343 return tmpl;
1495 uint8_t tmpl; local
1515 while ((tmpl = sw842_get_template(&inbuf, &inbit)) != SW842_TMPL_EOF) {
1524 switch (tmpl) {
1566 if (tmpl > 25) {
1584 (op = sw842_tmpl_ops[tmpl][opindex++])
/drivers/ata/
H A Dlibata-transport.c65 #define to_ata_internal(tmpl) container_of(tmpl, struct ata_internal, t)
/drivers/net/bonding/
H A Dbond_3ad.c1631 static const struct port_params tmpl = { local
1667 memcpy(&port->partner_admin, &tmpl, sizeof(tmpl));
1668 memcpy(&port->partner_oper, &tmpl, sizeof(tmpl));
/drivers/atm/
H A Didt77252.c2149 unsigned long tmpl, modl; local
2170 tmpl = (unsigned long) tcra * ((unsigned long) card->tst_size - 2);
2171 modl = tmpl % (unsigned long)card->utopia_pcr;
2173 tst_entries = (int) (tmpl / card->utopia_pcr);
3260 unsigned long tmpl, modl; local
3483 tmpl = (unsigned long) rsvdcr * ((unsigned long) card->tst_size - 2);
3484 modl = tmpl % (unsigned long)card->utopia_pcr;
3485 tst_entries = (int) (tmpl / (unsigned long)card->utopia_pcr);
H A Dnicstar.c1238 unsigned long tmpl, modl; local
1300 tmpl =
1303 modl = tmpl % card->max_pcr;
1305 n = (int)(tmpl / card->max_pcr);

Completed in 4695 milliseconds