Home
last modified time | relevance | path

Searched refs:cl_dev (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/sound/soc/intel/skylake/
Dskl-sst-cldma.c90 ctx->cl_dev.frags = 0; in skl_cldma_setup_bdle()
93 (ctx->cl_dev.frags * ctx->cl_dev.bufsize)); in skl_cldma_setup_bdle()
98 bdl[2] = cpu_to_le32(ctx->cl_dev.bufsize); in skl_cldma_setup_bdle()
100 size -= ctx->cl_dev.bufsize; in skl_cldma_setup_bdle()
104 ctx->cl_dev.frags++; in skl_cldma_setup_bdle()
163 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); in skl_cldma_cleanup()
164 ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl); in skl_cldma_cleanup()
171 if (!wait_event_timeout(ctx->cl_dev.wait_queue, in skl_cldma_wait_interruptible()
172 ctx->cl_dev.wait_condition, in skl_cldma_wait_interruptible()
180 if (ctx->cl_dev.wake_status != SKL_CL_DMA_BUF_COMPLETE) { in skl_cldma_wait_interruptible()
[all …]
Dskl-sst.c55 ret = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, basefw, base_fw_size, in skl_transfer_firmware()
67 ctx->cl_dev.ops.cl_stop_dma(ctx); in skl_transfer_firmware()
160 ctx->cl_dev.ops.cl_cleanup_controller(ctx); in skl_load_base_firmware()
238 ctx->cl_dev.ops.cl_cleanup_controller(ctx); in skl_set_dsp_D3()
346 bytes_left = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, data, size, false); in skl_transfer_module()
374 bytes_left = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, in skl_transfer_module()
387 ctx->cl_dev.ops.cl_stop_dma(ctx); in skl_transfer_module()
604 ctx->dsp->cl_dev.ops.cl_cleanup_controller(ctx->dsp); in skl_sst_dsp_cleanup()
/Linux-v4.19/drivers/platform/x86/
Dacerhdf.c94 static struct thermal_cooling_device *cl_dev; variable
370 if (cdev != cl_dev) in acerhdf_bind()
385 if (cdev != cl_dev) in acerhdf_unbind()
717 cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL, in acerhdf_register_thermal()
720 if (IS_ERR(cl_dev)) in acerhdf_register_thermal()
742 if (cl_dev) { in acerhdf_unregister_thermal()
743 thermal_cooling_device_unregister(cl_dev); in acerhdf_unregister_thermal()
744 cl_dev = NULL; in acerhdf_unregister_thermal()
/Linux-v4.19/sound/soc/intel/common/
Dsst-dsp-priv.h321 struct skl_cl_dev cl_dev; member
/Linux-v4.19/drivers/scsi/
Dsg.c1501 sg_add_device(struct device *cl_dev, struct class_interface *cl_intf) in sg_add_device() argument
1503 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_add_device()
1541 sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, in sg_add_device()
1561 dev_set_drvdata(cl_dev, sdp); in sg_add_device()
1601 sg_remove_device(struct device *cl_dev, struct class_interface *cl_intf) in sg_remove_device() argument
1603 struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); in sg_remove_device()
1604 Sg_device *sdp = dev_get_drvdata(cl_dev); in sg_remove_device()