/openbmc/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() 197 verbose(cbs->private_data, "(%02x) %c%d %s %d\n", in print_bpf_insn() 296 verbose(cbs->private_data, "(%02x) r%d = %s\n", in print_bpf_insn() 331 verbose(cbs->private_data, in print_bpf_insn() 339 verbose(cbs->private_data, in print_bpf_insn() [all …]
|
H A D | disasm.h | 22 typedef __printf(2, 3) void (*bpf_insn_print_t)(void *private_data, 24 typedef const char *(*bpf_insn_revmap_call_t)(void *private_data, 26 typedef const char *(*bpf_insn_print_imm_t)(void *private_data, 34 void *private_data; member
|
/openbmc/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() 197 verbose(cbs->private_data, "(%02x) %c%d %s %d\n", in print_bpf_insn() 296 verbose(cbs->private_data, "(%02x) r%d = %s\n", in print_bpf_insn() 331 verbose(cbs->private_data, in print_bpf_insn() 339 verbose(cbs->private_data, in print_bpf_insn() [all …]
|
H A D | disasm.h | 22 typedef __printf(2, 3) void (*bpf_insn_print_t)(void *private_data, 24 typedef const char *(*bpf_insn_revmap_call_t)(void *private_data, 26 typedef const char *(*bpf_insn_print_imm_t)(void *private_data, 34 void *private_data; member
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_virmidi.c | 114 rdev = private_data; in snd_virmidi_event_input() 201 runtime->private_data = vmidi; in snd_virmidi_input_open() 234 runtime->private_data = vmidi; in snd_virmidi_output_open() 252 substream->runtime->private_data = NULL; in snd_virmidi_input_close() 267 substream->runtime->private_data = NULL; in snd_virmidi_output_close() 290 rdev = private_data; in snd_virmidi_subscribe() 305 rdev = private_data; in snd_virmidi_unsubscribe() 320 rdev = private_data; in snd_virmidi_use() 335 rdev = private_data; in snd_virmidi_unuse() 402 pcallbacks.private_data = rdev; in snd_virmidi_dev_attach_seq() [all …]
|
/openbmc/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() 255 fp->private_data = kmalloc(len + 1, GFP_KERNEL); in hmcdrv_dev_write() 257 if (!fp->private_data) in hmcdrv_dev_write() 261 ((char *)fp->private_data)[len] = '\0'; in hmcdrv_dev_write() 265 kfree(fp->private_data); in hmcdrv_dev_write() [all …]
|
/openbmc/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,
|
H A D | info.h | 71 void *private_data; member 138 void *private_data, in snd_info_set_text_ops() argument 141 entry->private_data = private_data; in snd_info_set_text_ops() 146 void *private_data, 179 void *private_data, in snd_info_set_text_ops() argument 182 void *private_data, in snd_card_rw_proc_new() argument 206 void *private_data, in snd_card_ro_proc_new() argument 210 return snd_card_rw_proc_new(card, name, private_data, read, NULL); in snd_card_ro_proc_new()
|
/openbmc/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()
|
/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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 …]
|
/openbmc/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()
|
/openbmc/linux/sound/usb/ |
H A D | mixer_scarlett2.c | 1277 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb() 1390 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_config() 1452 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_config() 1552 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_mix() 1595 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_mix() 1698 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_mux() 1729 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_mux() 1871 struct scarlett2_data *private = mixer->private_data; in scarlett2_update_sync() 1891 struct scarlett2_data *private = mixer->private_data; in scarlett2_sync_ctl_get() 3840 mixer->private_data = NULL; in scarlett2_private_free() [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | brcmstb-avs-cpufreq.c | 175 struct private_data { struct 318 struct private_data *priv = data; in irq_handler() 484 struct private_data *priv; in brcm_avs_cpufreq_get() 505 struct private_data *priv = policy->driver_data; in brcm_avs_suspend() 530 struct private_data *priv = policy->driver_data; in brcm_avs_resume() 555 struct private_data *priv; in brcm_avs_prepare_init() 611 struct private_data *priv; in brcm_avs_prepare_uninit() 623 struct private_data *priv; in brcm_avs_cpufreq_init() 663 struct private_data *priv = policy->driver_data; in show_brcm_avs_pstate() 674 struct private_data *priv = policy->driver_data; in show_brcm_avs_mode() [all …]
|
/openbmc/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() 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() 211 struct musb *musb = controller->private_data; in ux500_dma_channel_abort() 247 ux500_channel = channel->private_data; in ux500_dma_controller_stop() 257 ux500_channel = channel->private_data; in ux500_dma_controller_stop() 269 struct musb *musb = controller->private_data; in ux500_dma_controller_start() 308 dma_channel->private_data = ux500_channel; in ux500_dma_controller_start() [all …]
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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); 146 p->chset.private_data = p; in snd_emux_create_port() 154 callback->private_data = p; in snd_emux_create_port() 176 free_port(void *private_data) in free_port() argument 180 p = private_data; in free_port() 244 port = private_data; in snd_emux_event_input() 306 snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info) in snd_emux_use() argument 311 p = private_data; in snd_emux_use() 329 snd_emux_unuse(void *private_data, struct snd_seq_port_subscribe *info) in snd_emux_unuse() argument 334 p = private_data; in snd_emux_unuse() [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()
|
/openbmc/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 …]
|
/openbmc/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() 384 struct snd_oxfw *oxfw = sbstm->private_data; in pcm_capture_pointer() 390 struct snd_oxfw *oxfw = sbstm->private_data; in pcm_playback_pointer() [all …]
|
/openbmc/linux/sound/core/ |
H A D | sound_oss.c | 28 void *private_data; in snd_lookup_oss_minor_data() local 35 private_data = mreg->private_data; in snd_lookup_oss_minor_data() 36 if (private_data && mreg->card_ptr) in snd_lookup_oss_minor_data() 39 private_data = NULL; in snd_lookup_oss_minor_data() 41 return private_data; in snd_lookup_oss_minor_data() 86 const struct file_operations *f_ops, void *private_data) in snd_register_oss_device() argument 107 preg->private_data = private_data; in snd_register_oss_device()
|