Home
last modified time | relevance | path

Searched refs:private_data (Results 1 – 25 of 1509) sorted by relevance

12345678910>>...61

/linux-6.6.21/kernel/bpf/
Ddisasm.c30 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()
179 print_bpf_bswap_insn(verbose, cbs->private_data, insn); in print_bpf_insn()
181 print_bpf_end_insn(verbose, cbs->private_data, insn); in print_bpf_insn()
183 verbose(cbs->private_data, "(%02x) %c%d = -%c%d\n", in print_bpf_insn()
188 verbose(cbs->private_data, "(%02x) %c%d %s %s%c%d\n", in print_bpf_insn()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
Ddisasm.c30 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()
179 print_bpf_bswap_insn(verbose, cbs->private_data, insn); in print_bpf_insn()
181 print_bpf_end_insn(verbose, cbs->private_data, insn); in print_bpf_insn()
183 verbose(cbs->private_data, "(%02x) %c%d = -%c%d\n", in print_bpf_insn()
188 verbose(cbs->private_data, "(%02x) %c%d %s %s%c%d\n", in print_bpf_insn()
[all …]
/linux-6.6.21/sound/core/seq/
Dseq_virmidi.c103 void *private_data, int atomic, int hop) in snd_virmidi_event_input() argument
107 rdev = private_data; in snd_virmidi_event_input()
118 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_input_trigger()
167 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_output_trigger()
179 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_open()
194 runtime->private_data = vmidi; in snd_virmidi_input_open()
209 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_output_open()
227 runtime->private_data = vmidi; in snd_virmidi_output_open()
236 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; in snd_virmidi_input_close()
237 struct snd_virmidi *vmidi = substream->runtime->private_data; in snd_virmidi_input_close()
[all …]
/linux-6.6.21/drivers/s390/char/
Dhmcdrv_dev.c135 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()
227 (fp->private_data == NULL)) { /* no FTP cmd defined ? */ in hmcdrv_dev_read()
231 retlen = hmcdrv_dev_transfer((char *) fp->private_data, in hmcdrv_dev_read()
254 if (!fp->private_data) { /* first expect a cmd write */ in hmcdrv_dev_write()
255 fp->private_data = kmalloc(len + 1, GFP_KERNEL); in hmcdrv_dev_write()
[all …]
/linux-6.6.21/include/sound/
Dseq_kernel.h46 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);
Dseq_midi_emul.h54 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,
Dinfo.h71 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()
/linux-6.6.21/sound/drivers/opl4/
Dopl4_seq.c61 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-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c177 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-6.6.21/sound/usb/
Dmixer_scarlett_gen2.c1186 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb()
1299 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_config()
1361 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_config()
1461 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_mix()
1504 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_mix()
1607 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_mux()
1638 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_set_mux()
1780 struct scarlett2_data *private = mixer->private_data; in scarlett2_update_sync()
1798 struct usb_mixer_elem_info *elem = kctl->private_data; in scarlett2_sync_ctl_get()
1800 struct scarlett2_data *private = mixer->private_data; in scarlett2_sync_ctl_get()
[all …]
/linux-6.6.21/sound/firewire/tascam/
Dtascam-pcm.c45 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-6.6.21/drivers/tee/
Dtee_shm_pool.c16 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-6.6.21/drivers/xen/xenfs/
Dxenstored.c15 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-6.6.21/sound/soc/sof/
Dstream-ipc.c39 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-6.6.21/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c175 struct private_data { struct
200 static unsigned long wait_for_avs_command(struct private_data *priv, in wait_for_avs_command() argument
224 static int __issue_avs_command(struct private_data *priv, unsigned int cmd, in __issue_avs_command()
318 struct private_data *priv = data; in irq_handler()
359 static int brcm_avs_get_pmap(struct private_data *priv, struct pmap *pmap) in brcm_avs_get_pmap()
376 static int brcm_avs_set_pmap(struct private_data *priv, struct pmap *pmap) in brcm_avs_set_pmap()
388 static int brcm_avs_get_pstate(struct private_data *priv, unsigned int *pstate) in brcm_avs_get_pstate()
401 static int brcm_avs_set_pstate(struct private_data *priv, unsigned int pstate) in brcm_avs_set_pstate()
426 brcm_avs_get_freq_table(struct device *dev, struct private_data *priv) in brcm_avs_get_freq_table()
469 static bool brcm_avs_is_firmware_loaded(struct private_data *priv) in brcm_avs_is_firmware_loaded()
[all …]
/linux-6.6.21/drivers/usb/musb/
Dux500_dma.c46 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-6.6.21/sound/drivers/opl3/
Dopl3_oss.c29 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()
Dopl3_seq.c90 static int snd_opl3_synth_use(void *private_data, struct snd_seq_port_subscribe * info) in snd_opl3_synth_use() argument
92 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_use()
119 static int snd_opl3_synth_unuse(void *private_data, struct snd_seq_port_subscribe * info) in snd_opl3_synth_unuse() argument
121 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_unuse()
144 void *private_data, int atomic, int hop) in snd_opl3_synth_event_input() argument
146 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_event_input()
154 static void snd_opl3_synth_free_port(void *private_data) in snd_opl3_synth_free_port() argument
156 struct snd_opl3 *opl3 = private_data; in snd_opl3_synth_free_port()
172 opl3->chset->private_data = opl3; in snd_opl3_synth_create_port()
180 callbacks.private_data = opl3; in snd_opl3_synth_create_port()
/linux-6.6.21/drivers/char/xillybus/
Dxillybus_class.c34 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-6.6.21/sound/synth/emux/
Demux_seq.c16 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);
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()
239 snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private_data, in snd_emux_event_input() argument
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()
[all …]
Demux.c54 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-6.6.21/sound/firewire/digi00x/
Ddigi00x-pcm.c102 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-6.6.21/sound/firewire/oxfw/
Doxfw-pcm.c148 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-6.6.21/drivers/ata/
Dpata_acpi.c40 struct pata_acpi *acpi = ap->private_data; in pacpi_pre_reset()
56 struct pata_acpi *acpi = ap->private_data; in pacpi_cable_detect()
75 struct pata_acpi *acpi = ap->private_data; in pacpi_discover_modes()
102 struct pata_acpi *acpi = adev->link->ap->private_data; in pacpi_mode_filter()
115 struct pata_acpi *acpi = ap->private_data; in pacpi_set_piomode()
138 struct pata_acpi *acpi = ap->private_data; in pacpi_set_dmamode()
171 struct pata_acpi *acpi = ap->private_data; in pacpi_qc_issue()
200 acpi = ap->private_data = devm_kzalloc(&pdev->dev, sizeof(struct pata_acpi), GFP_KERNEL); in pacpi_port_start()
201 if (ap->private_data == NULL) in pacpi_port_start()
/linux-6.6.21/sound/core/
Dsound_oss.c28 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()

12345678910>>...61