/linux/kernel/bpf/ |
H A D | disasm.c | 30 res = cbs->cb_call(cbs->private_data, insn); in __func_get_name() 48 return cbs->cb_imm(cbs->private_data, insn, full_imm); in __func_imm_name() 139 void *private_data, in print_bpf_end_insn() argument 142 verbose(private_data, "(%02x) r%d = %s%d r%d\n", in print_bpf_end_insn() 149 void *private_data, in print_bpf_bswap_insn() argument 152 verbose(private_data, "(%02x) r%d = bswap%d r%d\n", in print_bpf_bswap_insn() 196 print_bpf_bswap_insn(verbose, cbs->private_data, insn); in print_bpf_insn() 198 print_bpf_end_insn(verbose, cbs->private_data, insn); in print_bpf_insn() 200 verbose(cbs->private_data, "(%02x) %c%d = -%c%d\n", in print_bpf_insn() 205 verbose(cbs->private_data, "(%02x) r%d = addr_space_cast(r%d, %d, %d)\n", in print_bpf_insn() [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 30 res = cbs->cb_call(cbs->private_data, insn); in __func_get_name() 48 return cbs->cb_imm(cbs->private_data, insn, full_imm); in __func_imm_name() 139 void *private_data, in print_bpf_end_insn() argument 142 verbose(private_data, "(%02x) r%d = %s%d r%d\n", in print_bpf_end_insn() 149 void *private_data, in print_bpf_bswap_insn() argument 152 verbose(private_data, "(%02x) r%d = bswap%d r%d\n", in print_bpf_bswap_insn() 196 print_bpf_bswap_insn(verbose, cbs->private_data, insn); in print_bpf_insn() 198 print_bpf_end_insn(verbose, cbs->private_data, insn); in print_bpf_insn() 200 verbose(cbs->private_data, "(%02x) %c%d = -%c%d\n", in print_bpf_insn() 205 verbose(cbs->private_data, "(%02x) r%d = addr_space_cast(r%d, %d, %d)\n", in print_bpf_insn() [all …]
|
/linux/sound/core/seq/ |
H A D | seq_virmidi.c | 110 void *private_data, int atomic, int hop) in snd_virmidi_event_input() argument 114 rdev = private_data; in snd_virmidi_event_input() 125 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_input_trigger() 174 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_output_trigger() 186 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_open() 201 runtime->private_data = vmidi; in snd_virmidi_input_open() 215 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_output_open() 233 runtime->private_data = vmidi; in snd_virmidi_output_open() 242 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_close() 243 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_input_close() [all …]
|
/linux/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 135 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open() 150 kfree(fp->private_data); in hmcdrv_dev_release() 151 fp->private_data = NULL; in hmcdrv_dev_release() 175 if (fp->private_data) { in hmcdrv_dev_seek() 176 kfree(fp->private_data); in hmcdrv_dev_seek() 177 fp->private_data = NULL; in hmcdrv_dev_seek() 224 (fp->private_data == NULL)) { /* no FTP cmd defined ? */ in hmcdrv_dev_read() 228 retlen = hmcdrv_dev_transfer((char *) fp->private_data, in hmcdrv_dev_read() 251 if (!fp->private_data) { /* first expect a cmd write */ in hmcdrv_dev_write() 252 fp->private_data = kmalloc(len + 1, GFP_KERNEL); in hmcdrv_dev_write() [all …]
|
/linux/include/sound/ |
H A D | seq_kernel.h | 46 void *private_data; member 47 int (*subscribe)(void *private_data, struct snd_seq_port_subscribe *info); 48 int (*unsubscribe)(void *private_data, struct snd_seq_port_subscribe *info); 49 int (*use)(void *private_data, struct snd_seq_port_subscribe *info); 50 int (*unuse)(void *private_data, struct snd_seq_port_subscribe *info); 51 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop); 52 void (*private_free)(void *private_data); 76 snd_seq_dump_func_t func, void *private_data);
|
H A D | seq_midi_emul.h | 54 void *private_data; /* Driver data */ member 69 void (*note_on)(void *private_data, int note, int vel, struct snd_midi_channel *chan); 70 …void (*note_off)(void *private_data,int note, int vel, struct snd_midi_channel *chan); /* release … 71 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan); 72 …void (*note_terminate)(void *private_data, int note, struct snd_midi_channel *chan); /* terminate … 73 void (*control)(void *private_data, int type, struct snd_midi_channel *chan); 74 void (*nrpn)(void *private_data, struct snd_midi_channel *chan, 76 void (*sysex)(void *private_data, unsigned char *buf, int len, int parsed,
|
/linux/sound/usb/ |
H A D | mixer_scarlett2.c | 2345 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb() 2488 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_config() 2545 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_data() 2568 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_data_buf() 2628 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_config() 2728 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_config_buf() 2823 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_mix() 2857 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_mix() 3028 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_mux() 3061 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_mux() [all …]
|
/linux/sound/drivers/opl4/ |
H A D | opl4_seq.c | 61 static int snd_opl4_seq_use(void *private_data, struct snd_seq_port_subscribe *info) in snd_opl4_seq_use() argument 63 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_use() 88 static int snd_opl4_seq_unuse(void *private_data, struct snd_seq_port_subscribe *info) in snd_opl4_seq_unuse() argument 90 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_unuse() 112 void *private_data, int atomic, int hop) in snd_opl4_seq_event_input() argument 114 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_event_input() 120 static void snd_opl4_seq_free_port(void *private_data) in snd_opl4_seq_free_port() argument 122 struct snd_opl4 *opl4 = private_data; in snd_opl4_seq_free_port() 144 opl4->chset->private_data = opl4; in snd_opl4_seq_probe() 163 pcallbacks.private_data = opl4; in snd_opl4_seq_probe()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read() 186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write() 195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read() 207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write() 237 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_read() 245 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_write() 254 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_read() 262 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_write() 271 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_read() 284 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_write() [all …]
|
/linux/sound/firewire/tascam/ |
H A D | tascam-pcm.c | 45 struct snd_tscm *tscm = substream->private_data; in pcm_open() 109 struct snd_tscm *tscm = substream->private_data; in pcm_close() 119 struct snd_tscm *tscm = substream->private_data; in pcm_hw_params() 140 struct snd_tscm *tscm = substream->private_data; in pcm_hw_free() 156 struct snd_tscm *tscm = substream->private_data; in pcm_capture_prepare() 173 struct snd_tscm *tscm = substream->private_data; in pcm_playback_prepare() 190 struct snd_tscm *tscm = substream->private_data; in pcm_capture_trigger() 208 struct snd_tscm *tscm = substream->private_data; in pcm_playback_trigger() 226 struct snd_tscm *tscm = sbstrm->private_data; in pcm_capture_pointer() 233 struct snd_tscm *tscm = sbstrm->private_data; in pcm_playback_pointer() [all …]
|
/linux/sound/drivers/opl3/ |
H A D | opl3_oss.c | 29 void *private_data, int atomic, int hop) in snd_opl3_oss_event_input() argument 31 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_event_input() 40 static void snd_opl3_oss_free_port(void *private_data) in snd_opl3_oss_free_port() argument 42 struct snd_opl3 *opl3 = private_data; in snd_opl3_oss_free_port() 58 opl3->oss_chset->private_data = opl3; in snd_opl3_oss_create_port() 64 callbacks.private_data = opl3; in snd_opl3_oss_create_port() 111 arg->private_data = opl3; in snd_opl3_init_seq_oss() 144 arg->private_data = opl3; in snd_opl3_open_seq_oss() 163 opl3 = arg->private_data; in snd_opl3_close_seq_oss() 186 opl3 = arg->private_data; in snd_opl3_load_patch_seq_oss() [all …]
|
/linux/drivers/usb/musb/ |
H A D | ux500_dma.c | 46 void *private_data; member 51 static void ux500_dma_callback(void *private_data) in ux500_dma_callback() argument 53 struct dma_channel *channel = private_data; in ux500_dma_callback() 54 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_callback() 74 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_configure_channel() 82 struct musb *musb = ux500_channel->controller->private_data; in ux500_configure_channel() 134 struct musb *musb = controller->private_data; in ux500_dma_channel_allocate() 165 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_channel_release() 166 struct musb *musb = ux500_channel->controller->private_data; in ux500_dma_channel_release() 209 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_channel_abort() [all …]
|
/linux/drivers/tee/ |
H A D | tee_shm_pool.c | 16 struct gen_pool *genpool = pool->private_data; in pool_op_gen_alloc() 39 gen_pool_free(pool->private_data, (unsigned long)shm->kaddr, in pool_op_gen_free() 46 gen_pool_destroy(pool->private_data); in pool_op_gen_destroy_pool() 72 pool->private_data = gen_pool_create(min_alloc_order, -1); in tee_shm_pool_alloc_res_mem() 73 if (!pool->private_data) { in tee_shm_pool_alloc_res_mem() 78 rc = gen_pool_add_virt(pool->private_data, vaddr, paddr, size, -1); in tee_shm_pool_alloc_res_mem() 80 gen_pool_destroy(pool->private_data); in tee_shm_pool_alloc_res_mem()
|
/linux/sound/soc/sof/ |
H A D | stream-ipc.c | 39 struct sof_stream *stream = sps->substream->runtime->private_data; in sof_ipc_msg_data() 48 struct sof_compr_stream *sstream = sps->cstream->runtime->private_data; in sof_ipc_msg_data() 75 struct sof_stream *stream = sps->substream->runtime->private_data; in sof_set_stream_data_offset() 81 struct sof_compr_stream *sstream = sps->cstream->runtime->private_data; in sof_set_stream_data_offset() 104 substream->runtime->private_data = stream; in sof_stream_pcm_open() 120 struct sof_stream *stream = substream->runtime->private_data; in sof_stream_pcm_close() 122 substream->runtime->private_data = NULL; in sof_stream_pcm_close()
|
/linux/drivers/xen/xenfs/ |
H A D | xenstored.c | 15 const char *str = (const char *)file->private_data; in xsd_read() 21 kfree(file->private_data); in xsd_release() 27 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p", in xsd_kva_open() 29 if (!file->private_data) in xsd_kva_open() 58 file->private_data = (void *)kasprintf(GFP_KERNEL, "%d", in xsd_port_open() 60 if (!file->private_data) in xsd_port_open()
|
/linux/drivers/char/xillybus/ |
H A D | xillybus_class.c | 34 void *private_data; member 46 void *private_data, in xillybus_init_chrdev() argument 92 unit->private_data = private_data; in xillybus_init_chrdev() 175 void xillybus_cleanup_chrdev(void *private_data, in xillybus_cleanup_chrdev() argument 184 if (iter->private_data == private_data) { in xillybus_cleanup_chrdev() 216 void **private_data, int *index) in xillybus_find_inode() argument 237 *private_data = unit->private_data; in xillybus_find_inode()
|
/linux/sound/synth/emux/ |
H A D | emux_seq.c | 16 static int snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info); 17 static int snd_emux_unuse(void *private_data, struct snd_seq_port_subscribe *info); 147 p->chset.private_data = p; in snd_emux_create_port() 155 callback->private_data = p; in snd_emux_create_port() 177 free_port(void *private_data) in free_port() argument 181 p = private_data; in free_port() 240 snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private_data, in snd_emux_event_input() argument 245 port = private_data; in snd_emux_event_input() 307 snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info) in snd_emux_use() argument 312 p = private_data; in snd_emux_use() [all …]
|
H A D | emux.c | 54 static int sf_sample_new(void *private_data, struct snd_sf_sample *sp, in sf_sample_new() argument 58 struct snd_emux *emu = private_data; in sf_sample_new() 63 static int sf_sample_free(void *private_data, struct snd_sf_sample *sp, in sf_sample_free() argument 66 struct snd_emux *emu = private_data; in sf_sample_free() 71 static void sf_sample_reset(void *private_data) in sf_sample_reset() argument 73 struct snd_emux *emu = private_data; in sf_sample_reset() 96 sf_cb.private_data = emu; in snd_emux_register()
|
/linux/sound/firewire/digi00x/ |
H A D | digi00x-pcm.c | 102 struct snd_dg00x *dg00x = substream->private_data; in pcm_open() 180 struct snd_dg00x *dg00x = substream->private_data; in pcm_close() 190 struct snd_dg00x *dg00x = substream->private_data; in pcm_hw_params() 211 struct snd_dg00x *dg00x = substream->private_data; in pcm_hw_free() 227 struct snd_dg00x *dg00x = substream->private_data; in pcm_capture_prepare() 243 struct snd_dg00x *dg00x = substream->private_data; in pcm_playback_prepare() 261 struct snd_dg00x *dg00x = substream->private_data; in pcm_capture_trigger() 279 struct snd_dg00x *dg00x = substream->private_data; in pcm_playback_trigger() 297 struct snd_dg00x *dg00x = sbstrm->private_data; in pcm_capture_pointer() 304 struct snd_dg00x *dg00x = sbstrm->private_data; in pcm_playback_pointer() [all …]
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 148 struct snd_oxfw *oxfw = substream->private_data; in limit_to_current_params() 172 struct snd_oxfw *oxfw = substream->private_data; in pcm_open() 230 struct snd_oxfw *oxfw = substream->private_data; in pcm_close() 239 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_hw_params() 262 struct snd_oxfw *oxfw = substream->private_data; in pcm_playback_hw_params() 285 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_hw_free() 300 struct snd_oxfw *oxfw = substream->private_data; in pcm_playback_hw_free() 316 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_prepare() 331 struct snd_oxfw *oxfw = substream->private_data; in pcm_playback_prepare() 347 struct snd_oxfw *oxfw = substream->private_data; in pcm_capture_trigger() [all …]
|
/linux/sound/isa/wavefront/ |
H A D | wavefront_midi.c | 104 if (card->private_data == NULL) in get_wavefront_midi() 107 acard = card->private_data; in get_wavefront_midi() 237 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_open() 240 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_input_open() 262 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_open() 265 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_output_open() 287 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_close() 290 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_input_close() 311 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_close() 314 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); in snd_wavefront_midi_output_close() [all …]
|
/linux/sound/firewire/dice/ |
H A D | dice-pcm.c | 15 struct snd_dice *dice = substream->private_data; in dice_rate_constraint() 53 struct snd_dice *dice = substream->private_data; in dice_channels_constraint() 166 struct snd_dice *dice = substream->private_data; in pcm_open() 256 struct snd_dice *dice = substream->private_data; in pcm_close() 266 struct snd_dice *dice = substream->private_data; in pcm_hw_params() 292 struct snd_dice *dice = substream->private_data; in pcm_hw_free() 308 struct snd_dice *dice = substream->private_data; in capture_prepare() 322 struct snd_dice *dice = substream->private_data; in playback_prepare() 337 struct snd_dice *dice = substream->private_data; in capture_trigger() 355 struct snd_dice *dice = substream->private_data; in playback_trigger() [all …]
|
/linux/sound/pci/ctxfi/ |
H A D | ctpcm.c | 105 struct ct_atc_pcm *apcm = runtime->private_data; in ct_atc_pcm_free_substream() 111 runtime->private_data = NULL; in ct_atc_pcm_free_substream() 153 runtime->private_data = apcm; in ct_pcm_playback_open() 180 struct ct_atc_pcm *apcm = substream->runtime->private_data; in ct_pcm_hw_params() 190 struct ct_atc_pcm *apcm = substream->runtime->private_data; in ct_pcm_hw_free() 203 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_playback_prepare() 224 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_playback_trigger() 250 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_playback_pointer() 294 runtime->private_data = apcm; in ct_pcm_capture_open() 316 struct ct_atc_pcm *apcm = runtime->private_data; in ct_pcm_capture_prepare() [all …]
|
/linux/sound/firewire/fireface/ |
H A D | ff-pcm.c | 141 struct snd_ff *ff = substream->private_data; in pcm_open() 220 struct snd_ff *ff = substream->private_data; in pcm_close() 230 struct snd_ff *ff = substream->private_data; in pcm_hw_params() 251 struct snd_ff *ff = substream->private_data; in pcm_hw_free() 267 struct snd_ff *ff = substream->private_data; in pcm_capture_prepare() 284 struct snd_ff *ff = substream->private_data; in pcm_playback_prepare() 301 struct snd_ff *ff = substream->private_data; in pcm_capture_trigger() 319 struct snd_ff *ff = substream->private_data; in pcm_playback_trigger() 337 struct snd_ff *ff = sbstrm->private_data; in pcm_capture_pointer() 344 struct snd_ff *ff = sbstrm->private_data; in pcm_playback_pointer() [all …]
|
/linux/sound/firewire/motu/ |
H A D | motu-pcm.c | 132 struct snd_motu *motu = substream->private_data; in pcm_open() 200 struct snd_motu *motu = substream->private_data; in pcm_close() 210 struct snd_motu *motu = substream->private_data; in pcm_hw_params() 231 struct snd_motu *motu = substream->private_data; in pcm_hw_free() 247 struct snd_motu *motu = substream->private_data; in capture_prepare() 260 struct snd_motu *motu = substream->private_data; in playback_prepare() 274 struct snd_motu *motu = substream->private_data; in capture_trigger() 291 struct snd_motu *motu = substream->private_data; in playback_trigger() 309 struct snd_motu *motu = substream->private_data; in capture_pointer() 315 struct snd_motu *motu = substream->private_data; in playback_pointer() [all …]
|