Home
last modified time | relevance | path

Searched refs:desc (Results 201 – 225 of 3950) sorted by relevance

12345678910>>...158

/openbmc/linux/drivers/dma/
H A Dpch_dma.c433 if (desc) { in pdc_alloc_desc()
438 desc->txd.phys = addr; in pdc_alloc_desc()
441 return desc; in pdc_alloc_desc()
455 ret = desc; in pdc_desc_get()
481 if (desc) { in pdc_desc_put()
507 if (!desc) { in pd_alloc_chan_resources()
544 dma_pool_free(pd->pool, desc, desc->txd.phys); in pd_free_chan_resources()
598 if (!desc) in pd_prep_slave_sg()
627 first = desc; in pd_prep_slave_sg()
633 prev = desc; in pd_prep_slave_sg()
[all …]
/openbmc/linux/drivers/regulator/
H A Drtq2208-regulator.c75 struct regulator_desc desc; member
130 const struct regulator_desc *desc = rdev->desc; in rtq2208_set_ramp_delay() local
379 struct regulator_desc *desc; in rtq2208_init_regulator_desc() local
397 desc = &rdesc->desc; in rtq2208_init_regulator_desc()
398 desc->name = curr_info->name; in rtq2208_init_regulator_desc()
401 desc->id = idx; in rtq2208_init_regulator_desc()
402 desc->owner = THIS_MODULE; in rtq2208_init_regulator_desc()
403 desc->type = REGULATOR_VOLTAGE; in rtq2208_init_regulator_desc()
406 desc->active_discharge_off = 0; in rtq2208_init_regulator_desc()
432 desc->n_voltages = 1; in rtq2208_init_regulator_desc()
[all …]
H A Dscmi-regulator.c44 struct regulator_desc desc; member
79 ret, sreg->desc.name); in scmi_reg_is_enabled()
165 sreg->desc.fixed_uV = in scmi_config_linear_regulator_mappings()
167 sreg->desc.n_voltages = 1; in scmi_config_linear_regulator_mappings()
171 sreg->desc.min_uV = in scmi_config_linear_regulator_mappings()
173 sreg->desc.uV_step = in scmi_config_linear_regulator_mappings()
175 sreg->desc.linear_min_sel = 0; in scmi_config_linear_regulator_mappings()
176 sreg->desc.n_voltages = (delta_uV / sreg->desc.uV_step) + 1; in scmi_config_linear_regulator_mappings()
227 if (!sreg->desc.name) in scmi_regulator_common_init()
230 sreg->desc.id = sreg->id; in scmi_regulator_common_init()
[all …]
H A Dbcm590xx-regulator.c195 struct regulator_desc *desc; member
292 pmu->desc = devm_kcalloc(&pdev->dev, in bcm590xx_probe()
296 if (!pmu->desc) in bcm590xx_probe()
303 pmu->desc[i].name = info->name; in bcm590xx_probe()
307 pmu->desc[i].id = i; in bcm590xx_probe()
314 pmu->desc[i].ops = &bcm590xx_ops_ldo; in bcm590xx_probe()
317 pmu->desc[i].ops = &bcm590xx_ops_vbus; in bcm590xx_probe()
319 pmu->desc[i].ops = &bcm590xx_ops_dcdc; in bcm590xx_probe()
327 pmu->desc[i].enable_is_inverted = true; in bcm590xx_probe()
331 pmu->desc[i].type = REGULATOR_VOLTAGE; in bcm590xx_probe()
[all …]
H A Dvexpress-regulator.c43 struct regulator_desc *desc; in vexpress_regulator_probe() local
49 desc = devm_kzalloc(&pdev->dev, sizeof(*desc), GFP_KERNEL); in vexpress_regulator_probe()
50 if (!desc) in vexpress_regulator_probe()
57 desc->name = dev_name(&pdev->dev); in vexpress_regulator_probe()
58 desc->type = REGULATOR_VOLTAGE; in vexpress_regulator_probe()
59 desc->owner = THIS_MODULE; in vexpress_regulator_probe()
60 desc->continuous_voltage_range = true; in vexpress_regulator_probe()
63 desc); in vexpress_regulator_probe()
69 desc->ops = &vexpress_regulator_ops; in vexpress_regulator_probe()
71 desc->ops = &vexpress_regulator_ops_ro; in vexpress_regulator_probe()
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Dcaamhash.c211 u32 *desc; in ahash_set_sh_desc() local
266 u32 *desc; in axcbc_set_sh_desc() local
318 u32 *desc; in acmac_set_sh_desc() local
368 u32 *desc; in hash_digest_key() local
374 if (!desc) in hash_digest_key()
831 u32 *desc; in ahash_update_ctx() local
952 u32 *desc; in ahash_final_ctx() local
1013 u32 *desc; in ahash_finup_ctx() local
1086 u32 *desc; in ahash_digest() local
1155 u32 *desc; in ahash_final_no_ctx() local
[all …]
H A Dkey_gen.c14 void split_key_done(struct device *dev, u32 *desc, u32 err, in split_key_done() argument
48 u32 *desc; in gen_split_key() local
67 desc = kmalloc(CAAM_CMD_SZ * 6 + CAAM_PTR_SZ * 2, GFP_KERNEL); in gen_split_key()
68 if (!desc) { in gen_split_key()
81 init_job_desc(desc, 0); in gen_split_key()
85 append_operation(desc, (adata->algtype & OP_ALG_ALGSEL_MASK) | in gen_split_key()
93 append_fifo_load_as_imm(desc, NULL, 0, LDST_CLASS_2_CCB | in gen_split_key()
100 append_fifo_store(desc, dma_addr, adata->keylen, in gen_split_key()
104 DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc), in gen_split_key()
110 ret = caam_jr_enqueue(jrdev, desc, split_key_done, &result); in gen_split_key()
[all …]
/openbmc/linux/tools/virtio/ringtest/
H A Dvirtio_ring_0_9.c86 ring.desc[i].next = i + 1; in alloc_ring()
105 struct vring_desc *desc; in add_inbuf() local
117 desc = ring.desc; in add_inbuf()
120 desc[head].len = len; in add_inbuf()
127 guest.free_head = desc[head].next; in add_inbuf()
181 *lenp = ring.desc[index].len; in get_buf()
273 struct vring_desc *desc; in use_buf() local
284 desc = &ring.desc[head & (ring_size - 1)]; in use_buf()
298 desc = &ring.desc[head]; in use_buf()
301 *lenp = desc->len; in use_buf()
[all …]
/openbmc/linux/drivers/dma/idxd/
H A Ddma.c46 tx = &desc->txd; in idxd_dma_complete_txd()
56 idxd_free_desc(desc->wq, desc); in idxd_dma_complete_txd()
90 struct idxd_desc *desc; in idxd_dma_prep_interrupt() local
97 if (IS_ERR(desc)) in idxd_dma_prep_interrupt()
102 desc->txd.flags = flags; in idxd_dma_prep_interrupt()
103 return &desc->txd; in idxd_dma_prep_interrupt()
113 struct idxd_desc *desc; in idxd_dma_submit_memcpy() local
123 if (IS_ERR(desc)) in idxd_dma_submit_memcpy()
130 desc->txd.flags = flags; in idxd_dma_submit_memcpy()
132 return &desc->txd; in idxd_dma_submit_memcpy()
[all …]
/openbmc/phosphor-debug-collector/tools/dreport.d/include.d/
H A Dfunctions12 desc="$3"
16 log_error "Failed to collect $desc"
22 log_info "Collected $desc"
24 log_warning "Skipping $desc"
35 desc="$2"
39 log_error "Failed to copy $desc $file_name"
44 log_info "Copied $desc $file_name"
47 log_warning "Skipping copy $desc $file_name"
58 desc="$2"
62 log_error "Failed to copy $desc $file_name"
[all …]
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c342 (desc->rtype << 19) | desc->destid); in tsi721_desc_fill_init()
453 for_each_sg(desc->sg, sg, desc->sg_len, i) { in tsi721_submit_sg()
488 desc->sg = sg; in tsi721_submit_sg()
489 desc->sg_len -= i; in tsi721_submit_sg()
501 bdma_chan->id, bd_ptr, desc->destid, desc->rio_addr); in tsi721_submit_sg()
519 desc->sg_len = 0; in tsi721_submit_sg()
553 if (desc) { in tsi721_advance_work()
588 bdma_chan->id, dmac_sts, desc->destid, desc->rio_addr); in tsi721_dma_tasklet()
742 if (!desc) { in tsi721_alloc_chan_resources()
877 desc->sg = sgl; in tsi721_prep_rio_sg()
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dvirtex2.c98 switch (desc->iface) { in virtex2_load()
101 ret_val = virtex2_ss_load(desc, buf, bsize); in virtex2_load()
106 ret_val = virtex2_ssm_load(desc, buf, bsize); in virtex2_load()
111 __FUNCTION__, desc->iface); in virtex2_load()
120 switch (desc->iface) { in virtex2_dump()
123 ret_val = virtex2_ss_dump(desc, buf, bsize); in virtex2_dump()
128 ret_val = virtex2_ssm_dump(desc, buf, bsize); in virtex2_dump()
133 __FUNCTION__, desc->iface); in virtex2_dump()
138 static int virtex2_info(xilinx_desc *desc) in virtex2_info() argument
168 int cookie = desc->cookie; in virtex2_ssm_load()
[all …]
H A Dspartan2.c48 switch (desc->iface) { in spartan2_load()
51 ret_val = spartan2_ss_load(desc, buf, bsize); in spartan2_load()
56 ret_val = spartan2_sp_load(desc, buf, bsize); in spartan2_load()
61 __FUNCTION__, desc->iface); in spartan2_load()
71 switch (desc->iface) { in spartan2_dump()
74 ret_val = spartan2_ss_dump(desc, buf, bsize); in spartan2_dump()
79 ret_val = spartan2_sp_dump(desc, buf, bsize); in spartan2_dump()
84 __FUNCTION__, desc->iface); in spartan2_dump()
90 static int spartan2_info(xilinx_desc *desc) in spartan2_info() argument
110 int cookie = desc->cookie; /* make a local copy */ in spartan2_sp_load()
[all …]
/openbmc/linux/arch/sh/boards/mach-x3proto/
H A Dsetup.c128 .desc = "key44",
133 .desc = "key43",
138 .desc = "key42",
142 .desc = "key41",
146 .desc = "key34",
150 .desc = "key33",
154 .desc = "key32",
158 .desc = "key31",
162 .desc = "key24",
166 .desc = "key23",
[all …]
/openbmc/linux/arch/arm/crypto/
H A Dsha256_neon_glue.c27 static int crypto_sha256_neon_update(struct shash_desc *desc, const u8 *data, in crypto_sha256_neon_update() argument
30 struct sha256_state *sctx = shash_desc_ctx(desc); in crypto_sha256_neon_update()
34 return crypto_sha256_arm_update(desc, data, len); in crypto_sha256_neon_update()
37 sha256_base_do_update(desc, data, len, sha256_block_data_order_neon); in crypto_sha256_neon_update()
43 static int crypto_sha256_neon_finup(struct shash_desc *desc, const u8 *data, in crypto_sha256_neon_finup() argument
47 return crypto_sha256_arm_finup(desc, data, len, out); in crypto_sha256_neon_finup()
51 sha256_base_do_update(desc, data, len, in crypto_sha256_neon_finup()
53 sha256_base_do_finalize(desc, sha256_block_data_order_neon); in crypto_sha256_neon_finup()
56 return sha256_base_finish(desc, out); in crypto_sha256_neon_finup()
59 static int crypto_sha256_neon_final(struct shash_desc *desc, u8 *out) in crypto_sha256_neon_final() argument
[all …]
H A Dsha512-neon-glue.c26 static int sha512_neon_update(struct shash_desc *desc, const u8 *data, in sha512_neon_update() argument
29 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_neon_update()
33 return sha512_arm_update(desc, data, len); in sha512_neon_update()
36 sha512_base_do_update(desc, data, len, sha512_block_data_order_neon); in sha512_neon_update()
42 static int sha512_neon_finup(struct shash_desc *desc, const u8 *data, in sha512_neon_finup() argument
46 return sha512_arm_finup(desc, data, len, out); in sha512_neon_finup()
50 sha512_base_do_update(desc, data, len, in sha512_neon_finup()
52 sha512_base_do_finalize(desc, sha512_block_data_order_neon); in sha512_neon_finup()
55 return sha512_base_finish(desc, out); in sha512_neon_finup()
58 static int sha512_neon_final(struct shash_desc *desc, u8 *out) in sha512_neon_final() argument
[all …]
/openbmc/linux/drivers/mailbox/
H A Dti-msgmgr.c248 const struct ti_msgmgr_desc *desc = inst->desc; in ti_msgmgr_queue_rx_poll_timeout() local
293 desc = inst->desc; in ti_msgmgr_queue_rx_interrupt()
323 const struct ti_msgmgr_desc *desc = inst->desc; in ti_msgmgr_queue_peek_data() local
350 const struct ti_msgmgr_desc *desc = inst->desc; in ti_msgmgr_last_tx_done() local
363 if (desc->is_sproxy) { in ti_msgmgr_last_tx_done()
406 desc = inst->desc; in ti_msgmgr_send_data()
586 d = inst->desc; in ti_msgmgr_of_xlate()
836 desc = of_id->data; in ti_msgmgr_probe()
843 inst->desc = desc; in ti_msgmgr_probe()
855 if (desc->is_sproxy) { in ti_msgmgr_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpmac.c370 skb_put(desc->skb, desc->datalen); in cpmac_rx_one()
371 desc->skb->protocol = eth_type_trans(desc->skb, priv->dev); in cpmac_rx_one()
382 desc->hw_data = (u32)desc->data_mapping; in cpmac_rx_one()
445 desc = desc->next; in cpmac_poll()
566 desc->hw_data = (u32)desc->data_mapping; in cpmac_start_xmit()
597 desc->skb, desc->skb->len); in cpmac_end_xmit()
693 desc->hw_next = desc->next->mapping; in cpmac_clear_rx()
694 desc = desc->next; in cpmac_clear_rx()
953 desc->hw_data = (u32)desc->data_mapping; in cpmac_open()
957 desc->next->prev = desc; in cpmac_open()
[all …]
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_fip.c46 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW; in qedf_fcoe_send_vlan_req()
50 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in qedf_fcoe_send_vlan_req()
83 struct fip_desc *desc; in qedf_fcoe_process_vlan_resp() local
93 dlen = desc->fip_dlen * FIP_BPW; in qedf_fcoe_process_vlan_resp()
94 switch (desc->fip_dtype) { in qedf_fcoe_process_vlan_resp()
99 desc = (struct fip_desc *)((char *)desc + dlen); in qedf_fcoe_process_vlan_resp()
172 struct fip_desc *desc; in qedf_fip_recv() local
233 while (rlen >= sizeof(*desc)) { in qedf_fip_recv()
234 dlen = desc->fip_dlen * FIP_BPW; in qedf_fip_recv()
235 switch (desc->fip_dtype) { in qedf_fip_recv()
[all …]
/openbmc/linux/drivers/firmware/
H A Dqcom_scm.c153 struct qcom_scm_desc desc = { in __get_convention() local
271 struct qcom_scm_desc desc = { in __qcom_scm_is_call_available() local
302 struct qcom_scm_desc desc = { in qcom_scm_set_boot_addr() local
315 desc.args[0] = flags; in qcom_scm_set_boot_addr()
323 struct qcom_scm_desc desc = { in qcom_scm_set_boot_addr_mc() local
382 struct qcom_scm_desc desc = { in qcom_scm_cpu_power_down() local
396 struct qcom_scm_desc desc = { in qcom_scm_set_remote_state() local
415 struct qcom_scm_desc desc = { in __qcom_scm_set_dload_mode() local
473 struct qcom_scm_desc desc = { in qcom_scm_pas_init_image() local
503 desc.args[1] = mdata_phys; in qcom_scm_pas_init_image()
[all …]
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-dummy.c76 struct coresight_desc desc = { 0 }; in dummy_probe() local
81 if (!desc.name) in dummy_probe()
84 desc.type = CORESIGHT_DEV_TYPE_SOURCE; in dummy_probe()
85 desc.subtype.source_subtype = in dummy_probe()
87 desc.ops = &dummy_source_cs_ops; in dummy_probe()
90 if (!desc.name) in dummy_probe()
93 desc.type = CORESIGHT_DEV_TYPE_SINK; in dummy_probe()
95 desc.ops = &dummy_sink_cs_ops; in dummy_probe()
113 desc.pdata = pdev->dev.platform_data; in dummy_probe()
114 desc.dev = &pdev->dev; in dummy_probe()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dsm3_avx_glue.c23 static int sm3_avx_update(struct shash_desc *desc, const u8 *data, in sm3_avx_update() argument
26 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_avx_update()
41 sm3_base_do_update(desc, data, len, sm3_transform_avx); in sm3_avx_update()
51 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_avx_finup()
62 sm3_base_do_update(desc, data, len, sm3_transform_avx); in sm3_avx_finup()
63 sm3_base_do_finalize(desc, sm3_transform_avx); in sm3_avx_finup()
66 return sm3_base_finish(desc, out); in sm3_avx_finup()
69 static int sm3_avx_final(struct shash_desc *desc, u8 *out) in sm3_avx_final() argument
72 sm3_final(shash_desc_ctx(desc), out); in sm3_avx_final()
77 sm3_base_do_finalize(desc, sm3_transform_avx); in sm3_avx_final()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c73 struct prestera_sdma_desc *desc; member
113 struct prestera_sdma_desc *desc; in prestera_sdma_buf_init() local
117 if (!desc) in prestera_sdma_buf_init()
122 buf->desc = desc; in prestera_sdma_buf_init()
140 desc->word2 = cpu_to_le32(word); in prestera_sdma_rx_desc_init()
292 struct prestera_sdma_desc *desc; in prestera_sdma_rx_poll() local
298 desc = buf->desc; in prestera_sdma_rx_poll()
432 desc->word2 = 0; in prestera_sdma_tx_desc_init()
451 desc->word2 = cpu_to_le32(word); in prestera_sdma_tx_desc_set_buf()
463 desc->word1 = cpu_to_le32(word); in prestera_sdma_tx_desc_xmit()
[all …]
/openbmc/linux/security/integrity/evm/
H A Devm_crypto.c79 struct shash_desc *desc; in init_desc() local
121 desc = kmalloc(sizeof(*desc) + crypto_shash_descsize(*tfm), in init_desc()
123 if (!desc) in init_desc()
126 desc->tfm = *tfm; in init_desc()
130 kfree(desc); in init_desc()
133 return desc; in init_desc()
240 if (IS_ERR(desc)) in evm_calc_hmac_or_hash()
241 return PTR_ERR(desc); in evm_calc_hmac_or_hash()
302 kfree(desc); in evm_calc_hmac_or_hash()
395 if (IS_ERR(desc)) { in evm_init_hmac()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhw.h240 bool (*rx_desc_get_last_msdu)(struct hal_rx_desc *desc);
242 u8 *(*rx_desc_get_hdr_status)(struct hal_rx_desc *desc);
243 bool (*rx_desc_encrypt_valid)(struct hal_rx_desc *desc);
245 u8 (*rx_desc_get_decap_type)(struct hal_rx_desc *desc);
246 u8 (*rx_desc_get_mesh_ctl)(struct hal_rx_desc *desc);
251 u16 (*rx_desc_get_msdu_len)(struct hal_rx_desc *desc);
252 u8 (*rx_desc_get_msdu_sgi)(struct hal_rx_desc *desc);
254 u8 (*rx_desc_get_msdu_rx_bw)(struct hal_rx_desc *desc);
255 u32 (*rx_desc_get_msdu_freq)(struct hal_rx_desc *desc);
257 u8 (*rx_desc_get_msdu_nss)(struct hal_rx_desc *desc);
[all …]

12345678910>>...158