Home
last modified time | relevance | path

Searched refs:desc_list (Results 1 – 23 of 23) sorted by relevance

/openbmc/u-boot/test/dm/
H A Dgpio.c212 ARRAY_SIZE(desc_list), 0)); in dm_test_gpio_phandles()
217 ut_assertok(gpio_free_list(dev, desc_list, 3)); in dm_test_gpio_phandles()
219 ARRAY_SIZE(desc_list), in dm_test_gpio_phandles()
222 ut_asserteq_ptr(gpio_a, desc_list[0].dev); in dm_test_gpio_phandles()
223 ut_asserteq(1, desc_list[0].offset); in dm_test_gpio_phandles()
224 ut_asserteq_ptr(gpio_a, desc_list[1].dev); in dm_test_gpio_phandles()
225 ut_asserteq(4, desc_list[1].offset); in dm_test_gpio_phandles()
226 ut_asserteq_ptr(gpio_b, desc_list[2].dev); in dm_test_gpio_phandles()
227 ut_asserteq(5, desc_list[2].offset); in dm_test_gpio_phandles()
228 ut_asserteq(1, dm_gpio_get_value(desc_list)); in dm_test_gpio_phandles()
[all …]
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd_ddma.c73 if (!qh->desc_list) in dwc2_desc_list_alloc()
86 qh->desc_list = NULL; in dwc2_desc_list_alloc()
103 if (qh->desc_list) { in dwc2_desc_list_free()
107 qh->desc_list = NULL; in dwc2_desc_list_free()
294 if (qh->desc_list) in dwc2_release_channel_ddma()
748 &qh->desc_list[n_desc - 1]); in dwc2_init_non_isoc_dma_desc()
759 n_desc, &qh->desc_list[n_desc], in dwc2_init_non_isoc_dma_desc()
760 qh->desc_list[n_desc].buf, in dwc2_init_non_isoc_dma_desc()
761 qh->desc_list[n_desc].status); in dwc2_init_non_isoc_dma_desc()
788 &qh->desc_list[0]); in dwc2_init_non_isoc_dma_desc()
[all …]
H A Dgadget.c872 struct dwc2_dma_desc *desc = hs_ep->desc_list; in dwc2_gadget_config_nonisoc_xfer_ddma()
921 desc = &hs_ep->desc_list[index]; in dwc2_gadget_fill_isoc_desc()
932 hs_ep->desc_list[index - 1].status &= ~DEV_DMA_L; in dwc2_gadget_fill_isoc_desc()
1000 desc = &hs_ep->desc_list[i]; in dwc2_gadget_start_isoc_ddma()
1381 hs_ep->desc_list = hsotg->setup_desc[0]; in dwc2_gadget_set_ep0_desc_chain()
1386 hs_ep->desc_list = hsotg->ctrl_in_desc; in dwc2_gadget_set_ep0_desc_chain()
1390 hs_ep->desc_list = hsotg->ctrl_out_desc; in dwc2_gadget_set_ep0_desc_chain()
2349 struct dwc2_dma_desc *desc = hs_ep->desc_list; in dwc2_gadget_get_xfersize_ddma()
4087 if (!hs_ep->desc_list) { in dwc2_hsotg_ep_enable()
4233 hs_ep->desc_list, hs_ep->desc_list_dma); in dwc2_hsotg_ep_enable()
[all …]
H A Dhcd.h338 struct dwc2_dma_desc *desc_list; member
H A Dcore.h152 struct dwc2_dma_desc *desc_list; member
H A Dhcd_queue.c1673 if (qh->desc_list) in dwc2_hcd_qh_free()
/openbmc/u-boot/drivers/usb/emul/
H A Dusb-emul-uclass.c91 ptr = usb_emul_find_descriptor(plat->desc_list, type, index); in usb_emul_get_descriptor()
260 void **desc_list) in usb_emul_setup_device() argument
268 plat->desc_list = (struct usb_generic_descriptor **)desc_list; in usb_emul_setup_device()
271 ptr = plat->desc_list; in usb_emul_setup_device()
H A Dsandbox_hub.c135 gen_desc = plat->plat.desc_list; in hub_find_device()
/openbmc/u-boot/include/asm-generic/
H A Dgpio.h403 int dm_gpio_get_values_as_int(const struct gpio_desc *desc_list, int count);
476 struct gpio_desc *desc_list, int max_count,
520 struct gpio_desc *desc_list, int max_count,
/openbmc/linux/drivers/media/platform/ti/vpe/
H A Dvpe.c1075 vpdma_add_out_dtd(&ctx->desc_list, pix->width, in add_out_dtd()
1319 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1321 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1324 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1326 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1334 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1337 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1340 vpdma_add_sync_on_channel_ctd(&ctx->desc_list, in device_run()
1431 vpdma_reset_desc_list(&ctx->desc_list); in vpe_irq()
2394 vpdma_free_desc_list(&ctx->desc_list); in vpe_open()
[all …]
/openbmc/linux/drivers/dma/
H A Dtimb_dma.c65 u8 *desc_list; member
334 td_desc->desc_list = kzalloc(td_desc->desc_list_len, GFP_KERNEL); in td_alloc_init_desc()
335 if (!td_desc->desc_list) in td_alloc_init_desc()
343 td_desc->desc_list, td_desc->desc_list_len, DMA_TO_DEVICE); in td_alloc_init_desc()
353 kfree(td_desc->desc_list); in td_alloc_init_desc()
366 kfree(td_desc->desc_list); in td_free_desc()
528 err = td_fill_desc(td_chan, td_desc->desc_list + desc_usage, sg, in td_prep_slave_sg()
/openbmc/linux/drivers/dma/qcom/
H A Dbam_dma.c370 struct list_head desc_list; member
582 if (!list_empty(&bchan->desc_list)) { in bam_free_chan()
747 if (!list_empty(&bchan->desc_list)) { in bam_dma_terminate_all()
748 async_desc = list_first_entry(&bchan->desc_list, in bam_dma_terminate_all()
754 &bchan->desc_list, desc_node) { in bam_dma_terminate_all()
862 &bchan->desc_list, desc_node) { in process_channel_irqs()
967 list_for_each_entry(async_desc, &bchan->desc_list, desc_node) { in bam_tx_status()
1097 list_add_tail(&async_desc->desc_node, &bchan->desc_list); in bam_start_dma()
1224 INIT_LIST_HEAD(&bchan->desc_list); in bam_channel_init()
/openbmc/qemu/hw/scsi/
H A Dsrp.h115 struct srp_direct_buf desc_list[0]; member
H A Dspapr_vscsi.c315 *ret = tmp->desc_list[n]; in vscsi_fetch_desc()
/openbmc/linux/include/scsi/
H A Dsrp.h112 struct srp_direct_buf desc_list[] __packed __aligned(4); member
/openbmc/u-boot/include/
H A Dusb.h628 struct usb_generic_descriptor **desc_list; member
998 void **desc_list);
/openbmc/u-boot/drivers/gpio/
H A Dgpio-uclass.c751 int dm_gpio_get_values_as_int(const struct gpio_desc *desc_list, int count) in dm_gpio_get_values_as_int() argument
758 ret = dm_gpio_get_value(&desc_list[i]); in dm_gpio_get_values_as_int()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_display_power_map.c1588 const struct i915_power_well_desc_list *desc_list; in __set_power_wells() local
1594 for_each_power_well_instance(power_well_descs, power_well_descs_sz, desc_list, desc, inst) in __set_power_wells()
1605 for_each_power_well_instance(power_well_descs, power_well_descs_sz, desc_list, desc, inst) { in __set_power_wells()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dqcom_nandc.c424 struct list_head desc_list; member
925 list_add_tail(&desc->node, &nandc->desc_list); in prepare_bam_async_desc()
1095 list_add_tail(&desc->node, &nandc->desc_list); in prep_adm_dma_desc()
1336 list_for_each_entry(desc, &nandc->desc_list, node) in submit_descs()
1365 list_for_each_entry_safe(desc, n, &nandc->desc_list, node) { in submit_descs()
3136 INIT_LIST_HEAD(&nandc->desc_list); in qcom_nandc_alloc()
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c213 md = &id->desc_list[0]; in srp_indirect_data()
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c713 &indirect->desc_list[0]); in map_sg_data()
738 sizeof(indirect->desc_list[0])); in map_sg_data()
739 memcpy(indirect->desc_list, evt_struct->ext_list, in map_sg_data()
1091 offsetof(struct srp_indirect_buf, desc_list)); in ibmvscsi_queuecommand_lck()
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c1126 return srpt_alloc_rw_ctxs(ioctx, idb->desc_list, nbufs, in srpt_get_desc_tbl()
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c1765 memcpy(indirect_hdr->desc_list, req->indirect_desc, in srp_map_data()