cl_dev 82 drivers/platform/x86/acerhdf.c static struct thermal_cooling_device *cl_dev; cl_dev 369 drivers/platform/x86/acerhdf.c if (cdev != cl_dev) cl_dev 384 drivers/platform/x86/acerhdf.c if (cdev != cl_dev) cl_dev 734 drivers/platform/x86/acerhdf.c cl_dev = thermal_cooling_device_register("acerhdf-fan", NULL, cl_dev 737 drivers/platform/x86/acerhdf.c if (IS_ERR(cl_dev)) cl_dev 759 drivers/platform/x86/acerhdf.c if (cl_dev) { cl_dev 760 drivers/platform/x86/acerhdf.c thermal_cooling_device_unregister(cl_dev); cl_dev 761 drivers/platform/x86/acerhdf.c cl_dev = NULL; cl_dev 1500 drivers/scsi/sg.c sg_add_device(struct device *cl_dev, struct class_interface *cl_intf) cl_dev 1502 drivers/scsi/sg.c struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); cl_dev 1540 drivers/scsi/sg.c sg_class_member = device_create(sg_sysfs_class, cl_dev->parent, cl_dev 1560 drivers/scsi/sg.c dev_set_drvdata(cl_dev, sdp); cl_dev 1600 drivers/scsi/sg.c sg_remove_device(struct device *cl_dev, struct class_interface *cl_intf) cl_dev 1602 drivers/scsi/sg.c struct scsi_device *scsidp = to_scsi_device(cl_dev->parent); cl_dev 1603 drivers/scsi/sg.c Sg_device *sdp = dev_get_drvdata(cl_dev); cl_dev 102 include/linux/intel-ish-client-if.h void ishtp_put_device(struct ishtp_cl_device *cl_dev); cl_dev 103 include/linux/intel-ish-client-if.h void ishtp_get_device(struct ishtp_cl_device *cl_dev); cl_dev 312 sound/soc/intel/common/sst-dsp-priv.h struct skl_cl_dev cl_dev; cl_dev 82 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.frags = 0; cl_dev 85 sound/soc/intel/skylake/skl-sst-cldma.c (ctx->cl_dev.frags * ctx->cl_dev.bufsize)); cl_dev 90 sound/soc/intel/skylake/skl-sst-cldma.c bdl[2] = cpu_to_le32(ctx->cl_dev.bufsize); cl_dev 92 sound/soc/intel/skylake/skl-sst-cldma.c size -= ctx->cl_dev.bufsize; cl_dev 96 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.frags++; cl_dev 155 sound/soc/intel/skylake/skl-sst-cldma.c ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); cl_dev 156 sound/soc/intel/skylake/skl-sst-cldma.c ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl); cl_dev 163 sound/soc/intel/skylake/skl-sst-cldma.c if (!wait_event_timeout(ctx->cl_dev.wait_queue, cl_dev 164 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.wait_condition, cl_dev 172 sound/soc/intel/skylake/skl-sst-cldma.c if (ctx->cl_dev.wake_status != SKL_CL_DMA_BUF_COMPLETE) { cl_dev 178 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.wake_status = SKL_CL_DMA_STATUS_NONE; cl_dev 192 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.dma_buffer_offset, trigger); cl_dev 193 sound/soc/intel/skylake/skl-sst-cldma.c dev_dbg(ctx->dev, "spib position: %d\n", ctx->cl_dev.curr_spib_pos); cl_dev 200 sound/soc/intel/skylake/skl-sst-cldma.c if (ctx->cl_dev.dma_buffer_offset + size > ctx->cl_dev.bufsize) { cl_dev 201 sound/soc/intel/skylake/skl-sst-cldma.c unsigned int size_b = ctx->cl_dev.bufsize - cl_dev 202 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.dma_buffer_offset; cl_dev 203 sound/soc/intel/skylake/skl-sst-cldma.c memcpy(ctx->cl_dev.dmab_data.area + ctx->cl_dev.dma_buffer_offset, cl_dev 207 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.dma_buffer_offset = 0; cl_dev 210 sound/soc/intel/skylake/skl-sst-cldma.c memcpy(ctx->cl_dev.dmab_data.area + ctx->cl_dev.dma_buffer_offset, cl_dev 213 sound/soc/intel/skylake/skl-sst-cldma.c if (ctx->cl_dev.curr_spib_pos == ctx->cl_dev.bufsize) cl_dev 214 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.dma_buffer_offset = 0; cl_dev 216 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.dma_buffer_offset = ctx->cl_dev.curr_spib_pos; cl_dev 218 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.wait_condition = false; cl_dev 223 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_setup_spb(ctx, ctx->cl_dev.curr_spib_pos, trigger); cl_dev 225 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_trigger(ctx, true); cl_dev 260 sound/soc/intel/skylake/skl-sst-cldma.c if (bytes_left > ctx->cl_dev.bufsize) { cl_dev 266 sound/soc/intel/skylake/skl-sst-cldma.c if (ctx->cl_dev.curr_spib_pos == 0) cl_dev 267 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.curr_spib_pos = ctx->cl_dev.bufsize; cl_dev 269 sound/soc/intel/skylake/skl-sst-cldma.c size = ctx->cl_dev.bufsize; cl_dev 283 sound/soc/intel/skylake/skl-sst-cldma.c if ((ctx->cl_dev.curr_spib_pos + bytes_left) cl_dev 284 sound/soc/intel/skylake/skl-sst-cldma.c <= ctx->cl_dev.bufsize) { cl_dev 285 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.curr_spib_pos += bytes_left; cl_dev 288 sound/soc/intel/skylake/skl-sst-cldma.c (ctx->cl_dev.bufsize - cl_dev 289 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.curr_spib_pos); cl_dev 290 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.curr_spib_pos = excess_bytes; cl_dev 314 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.wake_status = SKL_CL_DMA_ERR; cl_dev 316 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.wake_status = SKL_CL_DMA_BUF_COMPLETE; cl_dev 318 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.wait_condition = true; cl_dev 319 sound/soc/intel/skylake/skl-sst-cldma.c wake_up(&ctx->cl_dev.wait_queue); cl_dev 327 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.bufsize = SKL_MAX_BUFFER_SIZE; cl_dev 330 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_setup_bdle = skl_cldma_setup_bdle; cl_dev 331 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_setup_controller = skl_cldma_setup_controller; cl_dev 332 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_setup_spb = skl_cldma_setup_spb; cl_dev 333 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_cleanup_spb = skl_cldma_cleanup_spb; cl_dev 334 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_trigger = skl_cldma_stream_run; cl_dev 335 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_cleanup_controller = skl_cldma_cleanup; cl_dev 336 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_copy_to_dmabuf = skl_cldma_copy_to_buf; cl_dev 337 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_stop_dma = skl_cldma_stop; cl_dev 341 sound/soc/intel/skylake/skl-sst-cldma.c &ctx->cl_dev.dmab_data, ctx->cl_dev.bufsize); cl_dev 348 sound/soc/intel/skylake/skl-sst-cldma.c &ctx->cl_dev.dmab_bdl, PAGE_SIZE); cl_dev 351 sound/soc/intel/skylake/skl-sst-cldma.c ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data); cl_dev 354 sound/soc/intel/skylake/skl-sst-cldma.c bdl = (__le32 *)ctx->cl_dev.dmab_bdl.area; cl_dev 357 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_setup_bdle(ctx, &ctx->cl_dev.dmab_data, cl_dev 358 sound/soc/intel/skylake/skl-sst-cldma.c &bdl, ctx->cl_dev.bufsize, 1); cl_dev 359 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.ops.cl_setup_controller(ctx, &ctx->cl_dev.dmab_bdl, cl_dev 360 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.bufsize, ctx->cl_dev.frags); cl_dev 362 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.curr_spib_pos = 0; cl_dev 363 sound/soc/intel/skylake/skl-sst-cldma.c ctx->cl_dev.dma_buffer_offset = 0; cl_dev 364 sound/soc/intel/skylake/skl-sst-cldma.c init_waitqueue_head(&ctx->cl_dev.wait_queue); cl_dev 47 sound/soc/intel/skylake/skl-sst.c ret = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, basefw, base_fw_size, cl_dev 59 sound/soc/intel/skylake/skl-sst.c ctx->cl_dev.ops.cl_stop_dma(ctx); cl_dev 152 sound/soc/intel/skylake/skl-sst.c ctx->cl_dev.ops.cl_cleanup_controller(ctx); cl_dev 230 sound/soc/intel/skylake/skl-sst.c ctx->cl_dev.ops.cl_cleanup_controller(ctx); cl_dev 338 sound/soc/intel/skylake/skl-sst.c bytes_left = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, data, size, false); cl_dev 366 sound/soc/intel/skylake/skl-sst.c bytes_left = ctx->cl_dev.ops.cl_copy_to_dmabuf(ctx, cl_dev 379 sound/soc/intel/skylake/skl-sst.c ctx->cl_dev.ops.cl_stop_dma(ctx); cl_dev 594 sound/soc/intel/skylake/skl-sst.c skl->dsp->cl_dev.ops.cl_cleanup_controller(skl->dsp);