Searched refs:desc (Results 376 - 400 of 3185) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/mips/crypto/
H A Dcrc32-mips.c166 static int chksum_init(struct shash_desc *desc) argument
168 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
169 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
192 static int chksum_update(struct shash_desc *desc, const u8 *data, argument
195 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
201 static int chksumc_update(struct shash_desc *desc, const u8 *data, argument
204 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
210 static int chksum_final(struct shash_desc *desc, u8 *out) argument
212 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc);
218 static int chksumc_final(struct shash_desc *desc, u argument
238 chksum_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
246 chksumc_finup(struct shash_desc *desc, const u8 *data, unsigned int len, u8 *out) argument
254 chksum_digest(struct shash_desc *desc, const u8 *data, unsigned int length, u8 *out) argument
262 chksumc_digest(struct shash_desc *desc, const u8 *data, unsigned int length, u8 *out) argument
[all...]
/linux-master/drivers/pinctrl/
H A Dpinconf.c29 const struct pinconf_ops *ops = pctldev->desc->confops;
61 const struct pinconf_ops *ops = pctldev->desc->confops;
87 ops = pctldev->desc->confops;
153 const struct pinconf_ops *ops = pctldev->desc->confops;
207 ops = pctldev->desc->confops;
223 confops = pctldev->desc->confops;
265 const struct pinctrl_ops *pctlops = pctldev->desc->pctlops;
266 struct pin_desc *desc; local
270 desc = pin_desc_get(setting->pctldev,
272 seq_printf(s, "pin %s (%d)", desc
316 struct pin_desc *desc; local
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq.c83 struct i40e_aq_desc *desc; local
109 desc = I40E_ADMINQ_DESC(hw->aq.arq, i);
111 desc->flags = cpu_to_le16(I40E_AQ_FLAG_BUF);
113 desc->flags |= cpu_to_le16(I40E_AQ_FLAG_LB);
114 desc->opcode = 0;
118 desc->datalen = cpu_to_le16((u16)bi->size);
119 desc->retval = 0;
120 desc->cookie_high = 0;
121 desc->cookie_low = 0;
122 desc
695 struct i40e_aq_desc *desc; local
752 i40e_asq_send_command_atomic_exec(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, bool is_atomic_context) argument
956 i40e_asq_send_command_atomic(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, bool is_atomic_context) argument
975 i40e_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument
998 i40e_asq_send_command_atomic_v2(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, bool is_atomic_context, enum i40e_admin_queue_err *aq_status) argument
1020 i40e_asq_send_command_v2(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details, enum i40e_admin_queue_err *aq_status) argument
1036 i40e_fill_default_direct_cmd_desc(struct i40e_aq_desc *desc, u16 opcode) argument
1060 struct i40e_aq_desc *desc; local
[all...]
/linux-master/drivers/pmdomain/amlogic/
H A Dmeson-ee-pwrc.c335 struct meson_ee_pwrc_domain_desc desc; member in struct:meson_ee_pwrc_domain
354 pwrc_domain->desc.top_pd->sleep_reg, &reg);
356 return (reg & pwrc_domain->desc.top_pd->sleep_mask);
365 if (pwrc_domain->desc.top_pd)
367 pwrc_domain->desc.top_pd->sleep_reg,
368 pwrc_domain->desc.top_pd->sleep_mask,
369 pwrc_domain->desc.top_pd->sleep_mask);
372 for (i = 0 ; i < pwrc_domain->desc.mem_pd_count ; ++i)
374 pwrc_domain->desc.mem_pd[i].reg,
375 pwrc_domain->desc
[all...]
/linux-master/drivers/dma/idxd/
H A Dirq.c24 struct idxd_desc *desc; member in struct:idxd_resubmit
76 struct dsa_hw_desc desc = {}; local
81 desc.flags = IDXD_OP_FLAG_RCI;
82 desc.opcode = DSA_OPCODE_DRAIN;
83 desc.priv = 1;
86 desc.pasid = ie->pasid;
87 desc.int_handle = ie->int_handle;
96 iosubmit_cmds512(portal, &desc, 1);
98 rc = idxd_enqcmds(wq, portal, &desc);
101 dev_warn(dev, "Failed to submit drain desc o
517 struct idxd_desc *desc = irw->desc; local
543 idxd_queue_int_handle_resubmit(struct idxd_desc *desc) argument
561 struct idxd_desc *desc, *t; local
594 struct idxd_desc *desc, *n; local
[all...]
/linux-master/drivers/dma/
H A Ddma-axi-dmac.c231 struct axi_dmac_desc *desc; local
242 desc = chan->next_desc;
244 if (!desc) {
249 desc = to_axi_dmac_desc(vdesc);
251 sg = &desc->sg[desc->num_submitted];
261 } else if (++desc->num_submitted == desc->num_sgs ||
262 desc->have_partial_xfer) {
263 if (desc
330 struct axi_dmac_desc *desc; local
536 struct axi_dmac_desc *desc; local
570 axi_dmac_free_desc(struct axi_dmac_desc *desc) argument
629 struct axi_dmac_desc *desc; local
670 struct axi_dmac_desc *desc; local
708 struct axi_dmac_desc *desc; local
912 unsigned int val, desc; local
[all...]
H A Dmmp_pdma.c80 struct mmp_pdma_desc_hw desc; member in struct:mmp_pdma_desc_sw
91 struct dma_async_tx_descriptor desc; member in struct:mmp_pdma_chan
105 /* list for desc */
297 struct mmp_pdma_desc_sw *desc; local
324 desc = list_first_entry(&chan->chain_pending,
332 set_desc(chan->phy, desc->async_tx.phys);
338 /* desc->tx_list ==> pending list */
342 struct mmp_pdma_desc_sw *desc = tx_to_mmp_pdma_desc(tx); local
349 list_for_each_entry(child, &desc->tx_list, node) {
353 /* softly link to pending list - desc
364 struct mmp_pdma_desc_sw *desc; local
416 struct mmp_pdma_desc_sw *desc, *_desc; local
871 struct mmp_pdma_desc_sw *desc, *_desc; local
[all...]
/linux-master/drivers/platform/olpc/
H A Dolpc-ec.c80 struct ec_cmd_desc *desc = NULL; local
86 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node);
87 list_del(&desc->node);
92 if (!desc)
97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen,
98 desc->outbuf, desc
112 queue_ec_descriptor(struct ec_cmd_desc *desc, struct olpc_ec_priv *ec) argument
129 struct ec_cmd_desc desc; local
[all...]
/linux-master/drivers/regulator/
H A Drt5120-regulator.c216 static void rt5120_fillin_regulator_desc(struct regulator_desc *desc, int rid) argument
224 desc->name = name[rid];
225 desc->supply_name = sname[rid];
226 desc->owner = THIS_MODULE;
227 desc->type = REGULATOR_VOLTAGE;
228 desc->id = rid;
229 desc->enable_reg = RT5120_REG_ENABLE;
230 desc->enable_mask = RT5120_RIDEN_MASK(rid);
231 desc->active_discharge_reg = RT5120_REG_DISCHG;
232 desc
266 struct regulator_desc *desc = priv->rdesc + rid; local
[all...]
/linux-master/drivers/infiniband/ulp/iser/
H A Diser_memory.c49 struct iser_fr_desc *desc; local
53 desc = list_first_entry(&fr_pool->list,
55 list_del(&desc->list);
58 return desc;
62 struct iser_fr_desc *desc)
68 list_add(&desc->list, &fr_pool->list);
152 struct iser_fr_desc *desc; local
155 desc = reg->desc;
156 if (!desc)
61 iser_reg_desc_put_fr(struct ib_conn *ib_conn, struct iser_fr_desc *desc) argument
360 struct iser_fr_desc *desc; local
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Ddibusb-mc-common.c139 u8 desc; local
140 dibusb_read_eeprom_byte(adap->dev, 7, &desc);
141 if (desc == 2) {
144 dibusb_read_eeprom_byte(adap->dev, a, &desc);
146 } while (a > 7 && (desc == 0xff || desc == 0x00));
147 if (desc & 0x80)
148 if1 -= (0xff - desc);
150 if1 += desc;
H A Ddvb-usb-init.c213 const struct dvb_usb_device_description *desc = NULL; local
224 desc = &props->devices[i];
229 if (desc != NULL)
237 desc = &props->devices[i];
243 if (desc != NULL && props->identify_state != NULL)
244 props->identify_state(udev, props, &desc, cold);
246 return desc;
274 const struct dvb_usb_device_description *desc = NULL; local
289 desc = dvb_usb_find_device(udev, &d->props, &cold);
290 if (!desc) {
[all...]
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dfwdesc.h136 char desc[CARL9170FW_MOTD_STRING_LEN]; member in struct:carl9170fw_motd_desc
235 #define carl9170fw_for_each_hdr(desc, fw_desc) \
236 for (desc = fw_desc; \
237 memcmp(desc->magic, LAST_MAGIC, CARL9170FW_MAGIC_SIZE) && \
238 le16_to_cpu(desc->length) >= CARL9170FW_DESC_HEAD_SIZE && \
239 le16_to_cpu(desc->length) < CARL9170FW_DESC_MAX_LENGTH; \
240 desc = (void *)((unsigned long)desc + le16_to_cpu(desc->length)))
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dchain_mode.c25 struct dma_desc *desc; local
27 desc = tx_q->dma_tx + entry;
38 desc->des2 = cpu_to_le32(des2);
44 stmmac_prepare_tx_desc(priv, desc, 1, bmax, csum, STMMAC_CHAIN_MODE,
50 desc = tx_q->dma_tx + entry;
56 desc->des2 = cpu_to_le32(des2);
61 stmmac_prepare_tx_desc(priv, desc, 0, bmax, csum,
69 desc->des2 = cpu_to_le32(des2);
75 stmmac_prepare_tx_desc(priv, desc, 0, len, csum,
/linux-master/sound/soc/sof/
H A Dsof-client-probes-ipc3.c33 DECLARE_FLEX_ARRAY(struct sof_probe_point_desc, desc);
40 struct sof_probe_point_desc desc[]; member in struct:sof_ipc_probe_point_add_params
130 bytes = sizeof(reply->desc[0]);
147 * @desc: Returned list of active probes
155 struct sof_probe_point_desc **desc,
159 (void **)desc, num_desc);
165 * @desc: List of probe points to connect
166 * @num_desc: Number of elements in @desc
176 struct sof_probe_point_desc *desc,
180 size_t size = struct_size(msg, desc, num_des
154 ipc3_probes_points_info(struct sof_client_dev *cdev, struct sof_probe_point_desc **desc, size_t *num_desc) argument
175 ipc3_probes_points_add(struct sof_client_dev *cdev, struct sof_probe_point_desc *desc, size_t num_desc) argument
[all...]
/linux-master/fs/nfs/
H A Dfscache.h149 struct nfs_pageio_descriptor *desc)
151 hdr->netfs = desc->pg_netfs;
153 static inline void nfs_netfs_set_pageio_descriptor(struct nfs_pageio_descriptor *desc, argument
156 desc->pg_netfs = hdr->netfs;
158 static inline void nfs_netfs_reset_pageio_descriptor(struct nfs_pageio_descriptor *desc) argument
160 desc->pg_netfs = NULL;
197 struct nfs_pageio_descriptor *desc) {}
198 static inline void nfs_netfs_set_pageio_descriptor(struct nfs_pageio_descriptor *desc, argument
200 static inline void nfs_netfs_reset_pageio_descriptor(struct nfs_pageio_descriptor *desc) {} argument
148 nfs_netfs_set_pgio_header(struct nfs_pgio_header *hdr, struct nfs_pageio_descriptor *desc) argument
196 nfs_netfs_set_pgio_header(struct nfs_pgio_header *hdr, struct nfs_pageio_descriptor *desc) argument
/linux-master/drivers/sh/intc/
H A Dinternals.h45 struct intc_desc_int *desc; member in struct:intc_map_entry
146 void intc_set_dist_handle(unsigned int irq, struct intc_desc *desc,
152 intc_set_dist_handle(unsigned int irq, struct intc_desc *desc, argument
170 unsigned int intc_get_mask_handle(struct intc_desc *desc,
173 unsigned int intc_get_prio_handle(struct intc_desc *desc,
176 unsigned int intc_get_sense_handle(struct intc_desc *desc,
179 void intc_set_ack_handle(unsigned int irq, struct intc_desc *desc,
182 void intc_enable_disable_enum(struct intc_desc *desc, struct intc_desc_int *d,
189 void intc_subgroup_init(struct intc_desc *desc, struct intc_desc_int *d);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_tqp_stats.c65 struct hclge_desc desc; local
71 hclge_comm_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_RX_STATS,
74 desc.data[0] = cpu_to_le32(tqp->index);
75 ret = hclge_comm_cmd_send(hw, &desc, 1);
83 le32_to_cpu(desc.data[1]);
85 hclge_comm_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_TX_STATS,
88 desc.data[0] = cpu_to_le32(tqp->index);
89 ret = hclge_comm_cmd_send(hw, &desc, 1);
97 le32_to_cpu(desc.data[1]);
/linux-master/arch/arm/mach-omap2/
H A Dcpuidle34xx.c273 .desc = "MPU ON + CORE ON",
281 .desc = "MPU ON + CORE ON",
289 .desc = "MPU RET + CORE ON",
297 .desc = "MPU OFF + CORE ON",
305 .desc = "MPU RET + CORE RET",
313 .desc = "MPU OFF + CORE RET",
321 .desc = "MPU OFF + CORE OFF",
343 .desc = "MPU ON + CORE ON",
351 .desc = "MPU ON + CORE ON",
359 .desc
[all...]
/linux-master/drivers/firmware/qcom/
H A Dqcom_scm-legacy.c124 * @desc: descriptor structure containing arguments and return values
134 int scm_legacy_call(struct device *dev, const struct qcom_scm_desc *desc, argument
137 u8 arglen = desc->arginfo & 0xf;
158 cmd->id = cpu_to_le32(SCM_LEGACY_FNID(desc->svc, desc->cmd));
162 arg_buf[i] = cpu_to_le32(desc->args[i]);
218 * @desc: SCM call descriptor containing arguments
225 const struct qcom_scm_desc *desc,
230 size_t arglen = desc->arginfo & 0xf;
234 arm_smccc_smc(SCM_LEGACY_ATOMIC_ID(desc
224 scm_legacy_call_atomic(struct device *unused, const struct qcom_scm_desc *desc, struct qcom_scm_res *res) argument
[all...]
/linux-master/drivers/dma/xilinx/
H A Dzynqmp_dma.c265 * @desc: Transaction descriptor pointer
268 struct zynqmp_dma_desc_sw *desc)
272 addr = desc->src_p;
274 addr = desc->dst_p;
281 * @desc: Hw descriptor pointer
284 void *desc)
286 struct zynqmp_dma_desc_ll *hw = (struct zynqmp_dma_desc_ll *)desc;
372 struct zynqmp_dma_desc_sw *desc, *new; local
381 desc = list_last_entry(&chan->pending_list,
383 if (!list_empty(&desc
267 zynqmp_dma_update_desc_to_ctrlr(struct zynqmp_dma_chan *chan, struct zynqmp_dma_desc_sw *desc) argument
283 zynqmp_dma_desc_config_eod(struct zynqmp_dma_chan *chan, void *desc) argument
407 struct zynqmp_dma_desc_sw *desc; local
450 struct zynqmp_dma_desc_sw *desc, *next; local
465 struct zynqmp_dma_desc_sw *desc; local
580 struct zynqmp_dma_desc_sw *desc; local
604 struct zynqmp_dma_desc_sw *desc, *next; local
632 struct zynqmp_dma_desc_sw *desc; local
826 void *desc = NULL, *prev = NULL; local
[all...]
/linux-master/tools/perf/tests/
H A Dtests-scripts.c52 char buf[128], desc[256]; local
76 desc[pos++] = ch;
77 if (pos >= (int)sizeof(desc) - 1)
81 while (pos > 0 && isspace(desc[--pos]))
83 desc[++pos] = '\0';
85 return strdup(desc);
141 static void append_script(int dir_fd, const char *name, char *desc, argument
165 tests[0].desc = strdup_check(desc);
174 test_suite->desc
210 char *desc = shell_test__description(dir_fd, ent->d_name); local
[all...]
/linux-master/drivers/gpu/drm/udl/
H A Dudl_main.c31 char *desc; local
40 desc = buf;
43 0, desc, MAX_VENDOR_DESCRIPTOR_SIZE);
46 total_len, desc);
48 if ((desc[0] != total_len) || /* descriptor length */
49 (desc[1] != 0x5f) || /* vendor descriptor type */
50 (desc[2] != 0x01) || /* version (2 bytes) */
51 (desc[3] != 0x00) ||
52 (desc[4] != total_len - 2)) /* length after type */
55 desc_end = desc
[all...]
/linux-master/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c63 * @desc: current descriptor of the pending packet
65 * @drop_desc: dummy desc for packet dropping
82 struct vring_desc *desc; member in struct:mlxbf_tmfifo_vring
346 return &vr->desc[head];
351 struct vring_desc *desc, u32 len)
359 vr->used->ring[idx].id = cpu_to_virtio32(vdev, desc - vr->desc);
363 * Virtio could poll and check the 'idx' to decide whether the desc is
373 struct vring_desc *desc)
379 while (desc) {
350 mlxbf_tmfifo_release_desc(struct mlxbf_tmfifo_vring *vring, struct vring_desc *desc, u32 len) argument
372 mlxbf_tmfifo_get_pkt_len(struct mlxbf_tmfifo_vring *vring, struct vring_desc *desc) argument
411 mlxbf_tmfifo_init_net_desc(struct mlxbf_tmfifo_vring *vring, struct vring_desc *desc, bool is_rx) argument
425 struct vring_desc *desc; local
453 mlxbf_tmfifo_console_output_one(struct mlxbf_tmfifo_vdev *cons, struct mlxbf_tmfifo_vring *vring, struct vring_desc *desc) argument
489 struct vring_desc *desc; local
601 mlxbf_tmfifo_rxtx_word(struct mlxbf_tmfifo_vring *vring, struct vring_desc *desc, bool is_rx, int len) argument
654 mlxbf_tmfifo_rxtx_header(struct mlxbf_tmfifo_vring *vring, struct vring_desc **desc, bool is_rx, bool *vring_change) argument
740 struct vring_desc *desc; local
1058 mlxbf_tmfifo_virtio_find_vqs(struct virtio_device *vdev, unsigned int nvqs, struct virtqueue *vqs[], vq_callback_t *callbacks[], const char * const names[], const bool *ctx, struct irq_affinity *desc) argument
[all...]
/linux-master/drivers/dma/ioat/
H A Ddma.c209 struct ioat_ring_ent *desc; local
214 "Unable to start null desc - ring full\n");
221 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head);
223 hw = desc->hw;
232 async_tx_ack(&desc->txd);
233 ioat_set_chainaddr(ioat_chan, desc->txd.phys);
234 dump_desc_dbg(ioat_chan, desc);
262 struct ioat_ring_ent *desc; local
264 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail);
265 ioat_set_chainaddr(ioat_chan, desc
340 struct ioat_ring_ent *desc; local
366 ioat_free_ring_ent(struct ioat_ring_ent *desc, struct dma_chan *chan) argument
498 desc_has_ext(struct ioat_ring_ent *desc) argument
557 desc_get_errstat(struct ioatdma_chan *ioat_chan, struct ioat_ring_ent *desc) argument
594 struct ioat_ring_ent *desc; local
724 struct ioat_ring_ent *desc; local
780 struct ioat_ring_ent *desc; local
[all...]

Completed in 484 milliseconds

<<11121314151617181920>>