Home
last modified time | relevance | path

Searched refs:desc (Results 76 – 100 of 3566) sorted by relevance

12345678910>>...143

/openbmc/linux/include/linux/dma/
H A Dti-cppi5.h349 desc->next_desc = 0; in cppi5_hdesc_init()
463 desc->hdr.pkt_info2 |= in cppi5_hdesc_set_pkttype()
482 desc->buf_ptr = buf; in cppi5_hdesc_attach_buf()
484 desc->org_buf_ptr = obuf; in cppi5_hdesc_attach_buf()
491 *obuf = desc->org_buf_ptr; in cppi5_hdesc_get_obuf()
497 desc->buf_ptr = desc->org_buf_ptr; in cppi5_hdesc_reset_to_original()
498 desc->buf_info1 = desc->org_buf_len; in cppi5_hdesc_reset_to_original()
511 desc->next_desc = hbuf_desc; in cppi5_hdesc_link_hbdesc()
523 desc->next_desc = 0; in cppi5_hdesc_reset_hbdesc()
559 psdata = &desc->epib; in cppi5_hdesc_get_psdata()
[all …]
/openbmc/linux/drivers/usb/image/
H A Dmicrotek.c215 (int)desc, in mts_debug_dump()
219 usb_sndbulkpipe(desc->usb_dev,desc->ep_out), in mts_debug_dump()
220 usb_rcvbulkpipe(desc->usb_dev,desc->ep_response), in mts_debug_dump()
221 usb_rcvbulkpipe(desc->usb_dev,desc->ep_image) in mts_debug_dump()
534 desc->context.instance = desc; in mts_build_transfer_context()
543 desc->context.data = sg_virt(desc->context.curr_sg); in mts_build_transfer_context()
553 ) { pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_image); in mts_build_transfer_context()
557 pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_response); in mts_build_transfer_context()
563 pipe = usb_sndbulkpipe(desc->usb_dev,desc->ep_out); in mts_build_transfer_context()
595 usb_sndbulkpipe(desc->usb_dev,desc->ep_out), in mts_scsi_queuecommand_lck()
[all …]
/openbmc/u-boot/drivers/crypto/fsl/
H A Dfsl_blob.c31 u32 *desc; in blob_decap() local
42 if (!desc) { in blob_decap()
65 ret = run_descriptor_jr(desc); in blob_decap()
77 free(desc); in blob_decap()
96 u32 *desc; in blob_encap() local
107 if (!desc) { in blob_encap()
130 ret = run_descriptor_jr(desc); in blob_encap()
142 free(desc); in blob_encap()
150 u32 *desc; in blob_dek() local
157 if (!desc) { in blob_dek()
[all …]
/openbmc/linux/drivers/usb/core/
H A Dgeneric.c35 && desc->bInterfaceSubClass == 2 in is_rndis()
36 && desc->bInterfaceProtocol == 0xff; in is_rndis()
42 && desc->bInterfaceSubClass == 1 in is_activesync()
43 && desc->bInterfaceProtocol == 1; in is_activesync()
73 if (c->desc.bNumInterfaces > 0) in usb_choose_configuration()
74 desc = &c->intf_cache[0]->altsetting->desc; in usb_choose_configuration()
127 if (desc && is_audio(desc)) { in usb_choose_configuration()
129 if (is_uac3_config(desc)) { in usb_choose_configuration()
152 (is_rndis(desc) || is_activesync(desc))) { in usb_choose_configuration()
166 (desc && desc->bInterfaceClass != in usb_choose_configuration()
[all …]
H A Dconfig.c103 ep->desc.wMaxPacketSize; in usb_parse_ss_endpoint_companion()
106 buffer += desc->bLength; in usb_parse_ss_endpoint_companion()
107 size -= desc->bLength; in usb_parse_ss_endpoint_companion()
111 if (usb_endpoint_xfer_control(&ep->desc) && desc->bMaxBurst != 0) { in usb_parse_ss_endpoint_companion()
132 desc->bmAttributes, in usb_parse_ss_endpoint_companion()
159 (desc->bMaxBurst + 1); in usb_parse_ss_endpoint_companion()
297 d = &endpoint->desc; in usb_parse_endpoint()
642 config->desc.bDescriptorType, config->desc.bLength); in usb_parse_configuration()
904 if (!desc) in usb_get_configuration()
965 kfree(desc); in usb_get_configuration()
[all …]
H A Ddevices.c202 desc = &intfc->altsetting[setno].desc; in usb_dump_interface_descriptor()
207 active = (desc == &iface->cur_altsetting->desc); in usb_dump_interface_descriptor()
211 desc->bInterfaceNumber, in usb_dump_interface_descriptor()
213 desc->bNumEndpoints, in usb_dump_interface_descriptor()
214 desc->bInterfaceClass, in usb_dump_interface_descriptor()
230 for (i = 0; i < desc->desc.bNumEndpoints; i++) { in usb_dump_interface()
232 start, end, &desc->endpoint[i].desc); in usb_dump_interface()
272 desc->bNumInterfaces, in usb_dump_config_descriptor()
274 desc->bmAttributes, in usb_dump_config_descriptor()
275 desc->bMaxPower * mul); in usb_dump_config_descriptor()
[all …]
/openbmc/linux/drivers/dma/
H A Dep93xx_dma.c295 if (!desc) in ep93xx_dma_advance_active()
369 if (!desc) { in m2p_fill_desc()
430 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt()
531 if (!desc) { in m2m_fill_desc()
621 last_done = !desc || desc->txd.cookie; in m2m_hw_interrupt()
697 ret = desc; in ep93xx_dma_desc_get()
708 if (desc) { in ep93xx_dma_desc_put()
763 if (desc) { in ep93xx_dma_tasklet()
795 if (!desc) { in ep93xx_dma_interrupt()
919 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in ep93xx_dma_alloc_chan_resources()
[all …]
H A Dfsl_raid.c268 return desc; in fsl_re_init_desc()
292 if (!desc) { in fsl_re_chan_alloc_desc()
293 desc = kzalloc(sizeof(*desc), GFP_NOWAIT); in fsl_re_chan_alloc_desc()
294 if (!desc) in fsl_re_chan_alloc_desc()
300 kfree(desc); in fsl_re_chan_alloc_desc()
304 desc = fsl_re_init_desc(re_chan, desc, cf, paddr); in fsl_re_chan_alloc_desc()
312 return desc; in fsl_re_chan_alloc_desc()
337 if (desc <= 0) in fsl_re_prep_dma_genq()
582 desc = kzalloc(sizeof(*desc), GFP_KERNEL); in fsl_re_alloc_chan_resources()
583 if (!desc) in fsl_re_alloc_chan_resources()
[all …]
H A Dtxx9dmac.c183 desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node); in txx9dmac_last_child()
184 return desc; in txx9dmac_last_child()
195 desc = kzalloc(sizeof(*desc), flags); in txx9dmac_desc_alloc()
196 if (!desc) in txx9dmac_desc_alloc()
205 return desc; in txx9dmac_desc_alloc()
263 if (desc) { in txx9dmac_desc_put()
275 desc); in txx9dmac_desc_put()
474 (u64)desc->CHAR, desc->SAR, desc->DAR, desc->CNTR); in txx9dmac_dump_desc()
479 (u64)desc->CHAR, desc->SAR, desc->DAR, desc->CNTR, in txx9dmac_dump_desc()
480 desc->SAIR, desc->DAIR, desc->CCR, desc->CSR); in txx9dmac_dump_desc()
[all …]
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_rpc.c37 size = desc->end - desc->start; in vpu_rpc_check_buffer_space()
39 ptr1 = desc->wptr; in vpu_rpc_check_buffer_space()
40 ptr2 = desc->rptr; in vpu_rpc_check_buffer_space()
42 ptr1 = desc->rptr; in vpu_rpc_check_buffer_space()
43 ptr2 = desc->wptr; in vpu_rpc_check_buffer_space()
70 wptr = desc->wptr; in vpu_rpc_send_cmd_buf()
71 data = (u32 *)(shared->cmd_mem_vir + desc->wptr - desc->start); in vpu_rpc_send_cmd_buf()
95 desc->wptr = wptr; in vpu_rpc_send_cmd_buf()
112 msgword = *(u32 *)(shared->msg_mem_vir + desc->rptr - desc->start); in vpu_rpc_check_msg()
133 data = (u32 *)(shared->msg_mem_vir + desc->rptr - desc->start); in vpu_rpc_receive_msg_buf()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/base/circbuf/interface/
H A Dia_css_circbuf.h154 OP___assert(cb->desc); in ia_css_circbuf_get_pos_at_offset()
187 OP___assert(cb->desc); in ia_css_circbuf_get_offset()
208 OP___assert(cb->desc); in ia_css_circbuf_get_size()
210 return cb->desc->size; in ia_css_circbuf_get_size()
226 OP___assert(cb->desc); in ia_css_circbuf_get_num_elems()
228 num = ia_css_circbuf_get_offset(cb, cb->desc->start, cb->desc->end); in ia_css_circbuf_get_num_elems()
246 OP___assert(cb->desc); in ia_css_circbuf_is_empty()
263 OP___assert(cb->desc); in ia_css_circbuf_is_full()
282 OP___assert(cb->desc); in ia_css_circbuf_write()
289 cb->desc->end = ia_css_circbuf_get_pos_at_offset(cb, cb->desc->end, 1); in ia_css_circbuf_write()
[all …]
/openbmc/linux/kernel/irq/
H A Dcpuhotplug.c78 irq_force_complete_move(desc); in migrate_one_irq()
120 irq_shutdown_and_deactivate(desc); in migrate_one_irq()
173 struct irq_desc *desc; in irq_migrate_all_off_this_cpu() local
179 desc = irq_to_desc(irq); in irq_migrate_all_off_this_cpu()
180 raw_spin_lock(&desc->lock); in irq_migrate_all_off_this_cpu()
182 raw_spin_unlock(&desc->lock); in irq_migrate_all_off_this_cpu()
218 if (desc->istate & IRQS_SUSPENDED) in irq_restore_affinity_of_irq()
241 struct irq_desc *desc; in irq_affinity_online_cpu() local
246 desc = irq_to_desc(irq); in irq_affinity_online_cpu()
247 raw_spin_lock_irq(&desc->lock); in irq_affinity_online_cpu()
[all …]
H A Ddebug.h6 #define ___P(f) if (desc->status_use_accessors & f) printk("%14s set\n", #f)
7 #define ___PS(f) if (desc->istate & f) printk("%14s set\n", #f)
11 static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) in print_irq_desc() argument
19 irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled); in print_irq_desc()
21 desc->handle_irq, desc->handle_irq); in print_irq_desc()
23 desc->irq_data.chip, desc->irq_data.chip); in print_irq_desc()
24 printk("->action(): %p\n", desc->action); in print_irq_desc()
25 if (desc->action) { in print_irq_desc()
27 desc->action->handler, desc->action->handler); in print_irq_desc()
/openbmc/linux/drivers/dma/idxd/
H A Dsubmit.c13 struct idxd_desc *desc; in __get_desc() local
16 desc = wq->descs[idx]; in __get_desc()
19 desc->cpu = cpu; in __get_desc()
22 desc->hw->pasid = idxd->pasid; in __get_desc()
24 return desc; in __get_desc()
67 int cpu = desc->cpu; in idxd_free_desc()
69 desc->cpu = -1; in idxd_free_desc()
74 struct idxd_desc *desc) in list_abort_desc() argument
80 if (d == desc) { in list_abort_desc()
111 if (d == desc) { in llist_abort_desc()
[all …]
/openbmc/linux/drivers/pci/msi/
H A Dmsi.c121 pci_write_config_dword(msi_desc_to_pci_dev(desc), desc->pci.mask_pos, in pci_msi_update_mask()
134 __pci_msi_mask_desc(desc, BIT(data->irq - desc->irq)); in pci_msi_mask_irq()
146 __pci_msi_unmask_desc(desc, BIT(data->irq - desc->irq)); in pci_msi_unmask_irq()
284 struct msi_desc desc; in msi_setup_msi_desc() local
288 memset(&desc, 0, sizeof(desc)); in msi_setup_msi_desc()
313 pci_read_config_dword(dev, desc.pci.mask_pos, &desc.pci.msi_mask); in msi_setup_msi_desc()
381 memcpy(&desc, entry, sizeof(desc)); in msi_capability_init()
401 pci_msi_unmask(&desc, msi_multi_mask(&desc)); in msi_capability_init()
538 pci_msi_unmask(desc, msi_multi_mask(desc)); in pci_msi_shutdown()
620 memset(&desc, 0, sizeof(desc)); in msix_setup_msi_descs()
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dsha1_ssse3_glue.c41 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update()
45 return crypto_sha1_update(desc, data, len); in sha1_update()
54 sha1_base_do_update(desc, data, len, sha1_xform); in sha1_update()
64 return crypto_sha1_finup(desc, data, len, out); in sha1_finup()
68 sha1_base_do_update(desc, data, len, sha1_xform); in sha1_finup()
69 sha1_base_do_finalize(desc, sha1_xform); in sha1_finup()
72 return sha1_base_finish(desc, out); in sha1_finup()
93 return sha1_ssse3_finup(desc, NULL, 0, out); in sha1_ssse3_final()
142 return sha1_avx_finup(desc, NULL, 0, out); in sha1_avx_final()
224 return sha1_avx2_finup(desc, NULL, 0, out); in sha1_avx2_final()
[all …]
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.h256 const struct mtk_pin_desc *desc);
258 const struct mtk_pin_desc *desc, int *res);
270 const struct mtk_pin_desc *desc, u32 arg);
272 const struct mtk_pin_desc *desc, int *val);
315 const struct mtk_pin_desc *desc);
317 const struct mtk_pin_desc *desc, int *res);
325 const struct mtk_pin_desc *desc);
327 const struct mtk_pin_desc *desc,
335 const struct mtk_pin_desc *desc,
338 const struct mtk_pin_desc *desc,
[all …]
/openbmc/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c408 desc->fragno++; in encryptor()
418 sg_mark_end(&desc->infrags[desc->fragno - 1]); in encryptor()
419 sg_mark_end(&desc->outfrags[desc->fragno - 1]); in encryptor()
421 skcipher_request_set_crypt(desc->req, desc->infrags, desc->outfrags, in encryptor()
434 desc->infrags[0] = desc->outfrags[0]; in encryptor()
458 memset(desc.iv, 0, sizeof(desc.iv)); in gss_encrypt_xdr_buf()
505 sg_mark_end(&desc->frags[desc->fragno - 1]); in decryptor()
507 skcipher_request_set_crypt(desc->req, desc->frags, desc->frags, in decryptor()
542 memset(desc.iv, 0, sizeof(desc.iv)); in gss_decrypt_xdr_buf()
691 memset(desc.iv, 0, sizeof(desc.iv)); in krb5_cbc_cts_encrypt()
[all …]
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dgenericirq.rst219 handle_irq_event(desc->action);
230 handle_irq_event(desc->action);
231 desc->irq_data.chip->irq_eoi();
241 if (desc->status & running) {
246 desc->irq_data.chip->irq_ack();
247 desc->status |= running;
249 if (desc->status & masked)
251 desc->status &= ~pending;
254 desc->status &= ~running;
268 handle_irq_event(desc->action);
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h75 desc->blockSize.width); in vmw_surface_get_size_in_blocks()
77 desc->blockSize.height); in vmw_surface_get_size_in_blocks()
79 desc->blockSize.depth); in vmw_surface_get_size_in_blocks()
197 const u32 bw = desc->blockSize.width, bh = desc->blockSize.height; in vmw_surface_get_pixel_offset()
200 desc->bytesPerBlock; in vmw_surface_get_pixel_offset()
220 const SVGA3dSurfaceDesc *desc; in vmw_surface_get_image_offset() local
331 const SVGA3dSurfaceDesc *desc; member
389 cache->desc = desc = vmw_surface_get_desc(format); in vmw_surface_setup_cache()
397 (desc, &mip->size, 0); in vmw_surface_setup_cache()
438 const SVGA3dSurfaceDesc *desc = cache->desc; in vmw_surface_get_loc() local
[all …]
/openbmc/linux/drivers/dma/sh/
H A Dusb-dmac.c196 struct usb_dmac_desc *desc = chan->desc; in usb_dmac_chan_start_sg() local
269 desc = kzalloc(struct_size(desc, sg, sg_len), gfp); in usb_dmac_desc_alloc()
270 if (!desc) in usb_dmac_desc_alloc()
432 if (!desc) in usb_dmac_prep_slave_sg()
508 struct usb_dmac_desc *desc = chan->desc; in usb_dmac_chan_get_residue() local
511 if (!desc) { in usb_dmac_chan_get_residue()
519 for (i = desc->sg_index + 1; i < desc->sg_len; i++) in usb_dmac_chan_get_residue()
579 struct usb_dmac_desc *desc = chan->desc; in usb_dmac_isr_transfer_end() local
583 if (++desc->sg_index < desc->sg_len) { in usb_dmac_isr_transfer_end()
588 desc->done_cookie = desc->vd.tx.cookie; in usb_dmac_isr_transfer_end()
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Depautoconf.c49 struct usb_endpoint_descriptor *desc in ep_matches() argument
148 desc->bEndpointAddress |= num; in ep_matches()
158 desc->bEndpointAddress |= epnum; in ep_matches()
217 struct usb_endpoint_descriptor *desc in usb_ep_autoconfig() argument
231 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
234 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
241 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
254 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
259 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
281 if (ep && ep_matches(gadget, ep, desc)) in usb_ep_autoconfig()
[all …]
/openbmc/linux/drivers/hte/
H A Dhte.c159 if (!desc) in hte_ts_put()
162 ei = desc->hte_data; in hte_ts_put()
247 if (!desc) in hte_ts_dis_en_common()
250 ei = desc->hte_data; in hte_ts_dis_en_common()
430 desc->hte_data = ei; in hte_bind_ts_info_locked()
577 if (!desc) in hte_ts_get()
662 if (!desc || !desc->hte_data || !cb) in hte_request_ts_ns()
665 ei = desc->hte_data; in hte_request_ts_ns()
738 if (!desc) in hte_init_line_attr()
741 memset(&desc->attr, 0, sizeof(desc->attr)); in hte_init_line_attr()
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dcq_enet_desc.h22 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
92 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec()
95 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
112 *rss_hash = le32_to_cpu(desc->rss_hash); in cq_enet_rq_desc_dec()
121 *vlan = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec()
124 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec()
126 *fcoe_fc_crc_ok = (desc->flags & in cq_enet_rq_desc_dec()
128 *fcoe_enc_error = (desc->flags & in cq_enet_rq_desc_dec()
130 *fcoe_eof = (u8)((desc->checksum_fcoe >> in cq_enet_rq_desc_dec()
139 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
[all …]
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_emc-test.c258 qtest_memread(qts, addr, desc, sizeof(*desc)); in emc_read_tx_desc()
259 desc->flags = le32_to_cpu(desc->flags); in emc_read_tx_desc()
260 desc->txbsa = le32_to_cpu(desc->txbsa); in emc_read_tx_desc()
262 desc->ntxdsa = le32_to_cpu(desc->ntxdsa); in emc_read_tx_desc()
280 qtest_memread(qts, addr, desc, sizeof(*desc)); in emc_read_rx_desc()
282 desc->rxbsa = le32_to_cpu(desc->rxbsa); in emc_read_rx_desc()
283 desc->reserved = le32_to_cpu(desc->reserved); in emc_read_rx_desc()
284 desc->nrxdsa = le32_to_cpu(desc->nrxdsa); in emc_read_rx_desc()
448 memset(&desc[0], 0, sizeof(*desc) * count); in init_tx_desc()
598 memset(desc, 0, sizeof(*desc) * count); in init_rx_desc()
[all …]

12345678910>>...143