/linux-4.19.296/drivers/media/usb/dvb-usb-v2/ |
D | usb_urb.c | 16 int usb_urb_reconfig(struct usb_data_stream *stream, 21 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local 26 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete() 42 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete() 53 dev_dbg(&stream->udev->dev, in usb_urb_complete() 58 stream->complete(stream, in usb_urb_complete() 68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete() 71 dev_err(&stream->udev->dev, in usb_urb_complete() 79 int usb_urb_killv2(struct usb_data_stream *stream) in usb_urb_killv2() argument 82 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_killv2() [all …]
|
D | dvb_usb_common.h | 28 extern int usb_urb_initv2(struct usb_data_stream *stream, 30 extern int usb_urb_exitv2(struct usb_data_stream *stream); 31 extern int usb_urb_submitv2(struct usb_data_stream *stream, 33 extern int usb_urb_killv2(struct usb_data_stream *stream);
|
D | mxl111sf.c | 1035 static void mxl111sf_stream_config_bulk(struct usb_data_stream_properties *stream, u8 endpoint) in mxl111sf_stream_config_bulk() argument 1038 stream->type = USB_BULK; in mxl111sf_stream_config_bulk() 1039 stream->count = 5; in mxl111sf_stream_config_bulk() 1040 stream->endpoint = endpoint; in mxl111sf_stream_config_bulk() 1041 stream->u.bulk.buffersize = 8192; in mxl111sf_stream_config_bulk() 1044 static void mxl111sf_stream_config_isoc(struct usb_data_stream_properties *stream, in mxl111sf_stream_config_isoc() argument 1049 stream->type = USB_ISOC; in mxl111sf_stream_config_isoc() 1050 stream->count = 5; in mxl111sf_stream_config_isoc() 1051 stream->endpoint = endpoint; in mxl111sf_stream_config_isoc() 1052 stream->u.isoc.framesperurb = framesperurb; in mxl111sf_stream_config_isoc() [all …]
|
/linux-4.19.296/fs/squashfs/ |
D | decompressor_multi.c | 50 void *stream; member 56 struct squashfs_stream *stream) in put_decomp_stream() argument 58 mutex_lock(&stream->mutex); in put_decomp_stream() 59 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream() 60 mutex_unlock(&stream->mutex); in put_decomp_stream() 61 wake_up(&stream->wait); in put_decomp_stream() 67 struct squashfs_stream *stream; in squashfs_decompressor_create() local 71 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create() 72 if (!stream) in squashfs_decompressor_create() 75 stream->comp_opts = comp_opts; in squashfs_decompressor_create() [all …]
|
D | decompressor_single.c | 25 void *stream; member 32 struct squashfs_stream *stream; in squashfs_decompressor_create() local 35 stream = kmalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create() 36 if (stream == NULL) in squashfs_decompressor_create() 39 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create() 40 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create() 41 err = PTR_ERR(stream->stream); in squashfs_decompressor_create() 46 mutex_init(&stream->mutex); in squashfs_decompressor_create() 47 return stream; in squashfs_decompressor_create() 50 kfree(stream); in squashfs_decompressor_create() [all …]
|
D | decompressor_multi_percpu.c | 25 void *stream; member 31 struct squashfs_stream *stream; in squashfs_decompressor_create() local 40 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 41 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create() 42 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create() 43 err = PTR_ERR(stream->stream); in squashfs_decompressor_create() 53 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 54 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create() 55 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create() 64 (struct squashfs_stream __percpu *) msblk->stream; in squashfs_decompressor_destroy() [all …]
|
D | xz_wrapper.c | 97 struct squashfs_xz *stream; in squashfs_xz_init() local 100 stream = kmalloc(sizeof(*stream), GFP_KERNEL); in squashfs_xz_init() 101 if (stream == NULL) { in squashfs_xz_init() 106 stream->state = xz_dec_init(XZ_PREALLOC, comp_opts->dict_size); in squashfs_xz_init() 107 if (stream->state == NULL) { in squashfs_xz_init() 108 kfree(stream); in squashfs_xz_init() 113 return stream; in squashfs_xz_init() 123 struct squashfs_xz *stream = strm; in squashfs_xz_free() local 125 if (stream) { in squashfs_xz_free() 126 xz_dec_end(stream->state); in squashfs_xz_free() [all …]
|
D | zlib_wrapper.c | 39 z_stream *stream = kmalloc(sizeof(z_stream), GFP_KERNEL); in zlib_init() local 40 if (stream == NULL) in zlib_init() 42 stream->workspace = vmalloc(zlib_inflate_workspacesize()); in zlib_init() 43 if (stream->workspace == NULL) in zlib_init() 46 return stream; in zlib_init() 50 kfree(stream); in zlib_init() 57 z_stream *stream = strm; in zlib_free() local 59 if (stream) in zlib_free() 60 vfree(stream->workspace); in zlib_free() 61 kfree(stream); in zlib_free() [all …]
|
D | lz4_wrapper.c | 57 struct squashfs_lz4 *stream; in lz4_init() local 59 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in lz4_init() 60 if (stream == NULL) in lz4_init() 62 stream->input = vmalloc(block_size); in lz4_init() 63 if (stream->input == NULL) in lz4_init() 65 stream->output = vmalloc(block_size); in lz4_init() 66 if (stream->output == NULL) in lz4_init() 69 return stream; in lz4_init() 72 vfree(stream->input); in lz4_init() 74 kfree(stream); in lz4_init() [all …]
|
D | lzo_wrapper.c | 45 struct squashfs_lzo *stream = kzalloc(sizeof(*stream), GFP_KERNEL); in lzo_init() local 46 if (stream == NULL) in lzo_init() 48 stream->input = vmalloc(block_size); in lzo_init() 49 if (stream->input == NULL) in lzo_init() 51 stream->output = vmalloc(block_size); in lzo_init() 52 if (stream->output == NULL) in lzo_init() 55 return stream; in lzo_init() 58 vfree(stream->input); in lzo_init() 61 kfree(stream); in lzo_init() 68 struct squashfs_lzo *stream = strm; in lzo_free() local [all …]
|
/linux-4.19.296/include/sound/ |
D | compress_driver.h | 100 int (*open)(struct snd_compr_stream *stream); 101 int (*free)(struct snd_compr_stream *stream); 102 int (*set_params)(struct snd_compr_stream *stream, 104 int (*get_params)(struct snd_compr_stream *stream, 106 int (*set_metadata)(struct snd_compr_stream *stream, 108 int (*get_metadata)(struct snd_compr_stream *stream, 110 int (*trigger)(struct snd_compr_stream *stream, int cmd); 111 int (*pointer)(struct snd_compr_stream *stream, 113 int (*copy)(struct snd_compr_stream *stream, char __user *buf, 115 int (*mmap)(struct snd_compr_stream *stream, [all …]
|
D | soc-dpcm.h | 108 struct snd_soc_pcm_runtime *be, int stream); 112 struct snd_soc_pcm_runtime *be, int stream); 115 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream); 119 struct snd_soc_pcm_runtime *be, int stream); 123 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream); 127 snd_soc_dpcm_be_get_state(struct snd_soc_pcm_runtime *be, int stream); 130 void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, int stream, 139 int stream, struct snd_soc_dapm_widget_list **list_); 141 int stream, struct snd_soc_dapm_widget_list **list, int new); 142 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream); [all …]
|
D | hdaudio_ext.h | 82 struct hdac_ext_stream *stream, int idx, 97 struct hdac_ext_stream *stream, u32 value); 99 struct hdac_ext_stream *stream); 103 struct hdac_ext_stream *stream, u32 value); 104 int snd_hdac_ext_stream_set_lpib(struct hdac_ext_stream *stream, u32 value); 109 int snd_hdac_ext_link_stream_setup(struct hdac_ext_stream *stream, int fmt); 128 int stream); 130 int stream);
|
/linux-4.19.296/fs/cramfs/ |
D | uncompress.c | 27 static z_stream stream; variable 35 stream.next_in = src; in cramfs_uncompress_block() 36 stream.avail_in = srclen; in cramfs_uncompress_block() 38 stream.next_out = dst; in cramfs_uncompress_block() 39 stream.avail_out = dstlen; in cramfs_uncompress_block() 41 err = zlib_inflateReset(&stream); in cramfs_uncompress_block() 44 zlib_inflateEnd(&stream); in cramfs_uncompress_block() 45 zlib_inflateInit(&stream); in cramfs_uncompress_block() 48 err = zlib_inflate(&stream, Z_FINISH); in cramfs_uncompress_block() 51 return stream.total_out; in cramfs_uncompress_block() [all …]
|
/linux-4.19.296/drivers/slimbus/ |
D | stream.c | 123 static int slim_connect_port_channel(struct slim_stream_runtime *stream, in slim_connect_port_channel() argument 126 struct slim_device *sdev = stream->dev; in slim_connect_port_channel() 130 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel() 143 static int slim_disconnect_port(struct slim_stream_runtime *stream, in slim_disconnect_port() argument 146 struct slim_device *sdev = stream->dev; in slim_disconnect_port() 150 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_disconnect_port() 159 static int slim_deactivate_remove_channel(struct slim_stream_runtime *stream, in slim_deactivate_remove_channel() argument 162 struct slim_device *sdev = stream->dev; in slim_deactivate_remove_channel() 166 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_deactivate_remove_channel() 263 static int slim_define_channel_content(struct slim_stream_runtime *stream, in slim_define_channel_content() argument [all …]
|
/linux-4.19.296/crypto/ |
D | deflate.c | 49 struct z_stream_s *stream = &ctx->comp_stream; in deflate_comp_init() local 51 stream->workspace = vzalloc(zlib_deflate_workspacesize( in deflate_comp_init() 53 if (!stream->workspace) { in deflate_comp_init() 58 ret = zlib_deflateInit(stream, 3); in deflate_comp_init() 60 ret = zlib_deflateInit2(stream, DEFLATE_DEF_LEVEL, Z_DEFLATED, in deflate_comp_init() 71 vfree(stream->workspace); in deflate_comp_init() 78 struct z_stream_s *stream = &ctx->decomp_stream; in deflate_decomp_init() local 80 stream->workspace = vzalloc(zlib_inflate_workspacesize()); in deflate_decomp_init() 81 if (!stream->workspace) { in deflate_decomp_init() 86 ret = zlib_inflateInit(stream); in deflate_decomp_init() [all …]
|
/linux-4.19.296/drivers/soundwire/ |
D | stream.c | 616 if (m_rt->stream->state != SDW_STREAM_ENABLED) in sdw_program_params() 682 static int do_bank_switch(struct sdw_stream_runtime *stream) in do_bank_switch() argument 684 struct sdw_master_runtime *m_rt = stream->m_rt; in do_bank_switch() 726 void sdw_release_stream(struct sdw_stream_runtime *stream) in sdw_release_stream() argument 728 kfree(stream); in sdw_release_stream() 743 struct sdw_stream_runtime *stream; in sdw_alloc_stream() local 745 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in sdw_alloc_stream() 746 if (!stream) in sdw_alloc_stream() 749 stream->name = stream_name; in sdw_alloc_stream() 750 stream->state = SDW_STREAM_ALLOCATED; in sdw_alloc_stream() [all …]
|
D | cadence_master.c | 675 struct sdw_cdns_pdi **stream, in cdns_allocate_pdi() argument 693 *stream = pdi; in cdns_allocate_pdi() 706 struct sdw_cdns_streams *stream; in sdw_cdns_pdi_init() local 717 stream = &cdns->pcm; in sdw_cdns_pdi_init() 720 stream->num_bd -= CDNS_PCM_PDI_OFFSET; in sdw_cdns_pdi_init() 723 ret = cdns_allocate_pdi(cdns, &stream->bd, in sdw_cdns_pdi_init() 724 stream->num_bd, offset); in sdw_cdns_pdi_init() 728 offset += stream->num_bd; in sdw_cdns_pdi_init() 730 ret = cdns_allocate_pdi(cdns, &stream->in, in sdw_cdns_pdi_init() 731 stream->num_in, offset); in sdw_cdns_pdi_init() [all …]
|
D | cadence_master.h | 106 struct sdw_stream_runtime *stream; member 167 struct sdw_cdns_streams *stream, 170 struct sdw_cdns_streams *stream, 178 void *stream, int direction); 180 void *stream, int direction); 198 void *stream, bool pcm, int direction);
|
D | intel.c | 325 struct sdw_cdns_streams *stream, bool pcm) in intel_pdi_stream_ch_update() argument 327 intel_pdi_get_ch_update(sdw, stream->bd, stream->num_bd, in intel_pdi_stream_ch_update() 328 &stream->num_ch_bd, pcm); in intel_pdi_stream_ch_update() 330 intel_pdi_get_ch_update(sdw, stream->in, stream->num_in, in intel_pdi_stream_ch_update() 331 &stream->num_ch_in, pcm); in intel_pdi_stream_ch_update() 333 intel_pdi_get_ch_update(sdw, stream->out, stream->num_out, in intel_pdi_stream_ch_update() 334 &stream->num_ch_out, pcm); in intel_pdi_stream_ch_update() 497 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in intel_hw_params() 560 pconfig, dma->nr_ports, dma->stream); in intel_hw_params() 588 ret = sdw_stream_remove_master(&cdns->bus, dma->stream); in intel_hw_free() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | hswadsp.h | 155 TP_PROTO(struct sst_hsw_stream *stream), 157 TP_ARGS(stream), 169 __entry->id = stream->host_id; 170 __entry->pt_addr = stream->request.ringinfo.ring_pt_address; 171 __entry->num_pages = stream->request.ringinfo.num_pages; 172 __entry->ring_size = stream->request.ringinfo.ring_size; 173 __entry->ring_offset = stream->request.ringinfo.ring_offset; 174 __entry->first_pfn = stream->request.ringinfo.ring_first_pfn; 185 TP_PROTO(struct sst_hsw_stream *stream), 187 TP_ARGS(stream), [all …]
|
/linux-4.19.296/fs/isofs/ |
D | compress.c | 55 z_stream stream = { .total_out = 0, in zisofs_uncompress_block() local 110 stream.workspace = zisofs_zlib_workspace; in zisofs_uncompress_block() 113 zerr = zlib_inflateInit(&stream); in zisofs_uncompress_block() 126 if (!stream.avail_out) { in zisofs_uncompress_block() 128 stream.next_out = page_address(pages[curpage]) in zisofs_uncompress_block() 130 stream.avail_out = PAGE_SIZE - poffset; in zisofs_uncompress_block() 133 stream.next_out = (void *)&zisofs_sink_page; in zisofs_uncompress_block() 134 stream.avail_out = PAGE_SIZE; in zisofs_uncompress_block() 137 if (!stream.avail_in) { in zisofs_uncompress_block() 143 stream.next_in = bhs[curbh]->b_data + in zisofs_uncompress_block() [all …]
|
/linux-4.19.296/include/net/sctp/ |
D | stream_sched.h | 36 int (*set)(struct sctp_stream *stream, __u16 sid, __u16 value, 38 int (*get)(struct sctp_stream *stream, __u16 sid, __u16 *value); 41 int (*init)(struct sctp_stream *stream); 43 int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp); 45 void (*free)(struct sctp_stream *stream); 69 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp); 70 struct sctp_sched_ops *sctp_sched_ops_from_stream(struct sctp_stream *stream);
|
D | structs.h | 393 int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt, 395 int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid); 396 void sctp_stream_free(struct sctp_stream *stream); 397 void sctp_stream_clear(struct sctp_stream *stream); 398 void sctp_stream_update(struct sctp_stream *stream, struct sctp_stream *new); 401 #define sctp_ssn_peek(stream, type, sid) \ argument 402 (sctp_stream_##type((stream), (sid))->ssn) 405 #define sctp_ssn_next(stream, type, sid) \ argument 406 (sctp_stream_##type((stream), (sid))->ssn++) 409 #define sctp_ssn_skip(stream, type, sid, ssn) \ argument [all …]
|
/linux-4.19.296/include/net/ |
D | iw_handler.h | 509 char *iwe_stream_add_event(struct iw_request_info *info, char *stream, 513 iwe_stream_add_event_check(struct iw_request_info *info, char *stream, in iwe_stream_add_event_check() argument 516 char *res = iwe_stream_add_event(info, stream, ends, iwe, event_len); in iwe_stream_add_event_check() 518 if (res == stream) in iwe_stream_add_event_check() 528 char *iwe_stream_add_point(struct iw_request_info *info, char *stream, 532 iwe_stream_add_point_check(struct iw_request_info *info, char *stream, in iwe_stream_add_point_check() argument 535 char *res = iwe_stream_add_point(info, stream, ends, iwe, extra); in iwe_stream_add_point_check() 537 if (res == stream) in iwe_stream_add_point_check()
|