Searched refs:private_data (Results 1 - 200 of 1375) sorted by relevance

1234567

/linux-4.1.27/drivers/xen/xenfs/
H A Dxenstored.c14 const char *str = (const char *)file->private_data; xsd_read()
20 kfree(file->private_data); xsd_release()
26 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p", xsd_kva_open()
28 if (!file->private_data) xsd_kva_open()
57 file->private_data = (void *)kasprintf(GFP_KERNEL, "%d", xsd_port_open()
59 if (!file->private_data) xsd_port_open()
/linux-4.1.27/sound/arm/
H A Dpxa2xx-pcm.c27 struct pxa2xx_pcm_client *client = substream->private_data; pxa2xx_pcm_prepare()
36 struct pxa2xx_pcm_client *client = substream->private_data; pxa2xx_pcm_open()
45 rtd = runtime->private_data; pxa2xx_pcm_open()
68 struct pxa2xx_pcm_client *client = substream->private_data; pxa2xx_pcm_close()
69 struct pxa2xx_runtime_data *rtd = substream->runtime->private_data; pxa2xx_pcm_close()
101 pcm->private_data = client; pxa2xx_pcm_new()
H A Dpxa2xx-pcm-lib.c43 struct pxa2xx_runtime_data *rtd = runtime->private_data; __pxa2xx_pcm_hw_params()
108 struct pxa2xx_runtime_data *rtd = substream->runtime->private_data; __pxa2xx_pcm_hw_free()
122 struct pxa2xx_runtime_data *prtd = substream->runtime->private_data; pxa2xx_pcm_trigger()
157 struct pxa2xx_runtime_data *prtd = runtime->private_data; pxa2xx_pcm_pointer()
171 struct pxa2xx_runtime_data *prtd = substream->runtime->private_data; __pxa2xx_pcm_prepare()
247 runtime->private_data = rtd; __pxa2xx_pcm_open()
260 struct pxa2xx_runtime_data *rtd = runtime->private_data; __pxa2xx_pcm_close()
287 buf->private_data = NULL; pxa2xx_pcm_preallocate_dma_buffer()
H A Daaci.c72 struct aaci *aaci = ac97->private_data; aaci_ac97_write()
112 struct aaci *aaci = ac97->private_data; aaci_ac97_read()
405 struct aaci *aaci = substream->private_data; aaci_pcm_open()
416 runtime->private_data = aacirun; aaci_pcm_open()
461 struct aaci *aaci = substream->private_data; aaci_pcm_close()
462 struct aaci_runtime *aacirun = substream->runtime->private_data; aaci_pcm_close()
478 struct aaci_runtime *aacirun = substream->runtime->private_data; aaci_pcm_hw_free()
507 struct aaci_runtime *aacirun = substream->runtime->private_data; aaci_pcm_hw_params()
526 struct aaci *aaci = substream->private_data; aaci_pcm_hw_params()
549 struct aaci_runtime *aacirun = runtime->private_data; aaci_pcm_prepare()
563 struct aaci_runtime *aacirun = runtime->private_data; aaci_pcm_pointer()
600 struct aaci_runtime *aacirun = substream->runtime->private_data; aaci_pcm_playback_trigger()
685 struct aaci_runtime *aacirun = substream->runtime->private_data; aaci_pcm_capture_trigger()
726 struct aaci *aaci = substream->private_data; aaci_pcm_capture_prepare()
758 struct aaci *aaci = card->private_data; aaci_do_suspend()
863 ac97_template.private_data = aaci; aaci_probe_ac97()
891 struct aaci *aaci = card->private_data; aaci_free_card()
916 aaci = card->private_data; aaci_init_card()
937 pcm->private_data = aaci; aaci_init_pcm()
1078 struct aaci *aaci = card->private_data; aaci_remove()
/linux-4.1.27/include/sound/
H A Dseq_kernel.h60 void *private_data; member in struct:snd_seq_port_callback
61 int (*subscribe)(void *private_data, struct snd_seq_port_subscribe *info);
62 int (*unsubscribe)(void *private_data, struct snd_seq_port_subscribe *info);
63 int (*use)(void *private_data, struct snd_seq_port_subscribe *info);
64 int (*unuse)(void *private_data, struct snd_seq_port_subscribe *info);
65 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop);
66 void (*private_free)(void *private_data);
87 snd_seq_dump_func_t func, void *private_data);
H A Dseq_midi_emul.h68 void *private_data; /* Driver data */ member in struct:snd_midi_channel_set
83 void (*note_on)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
84 void (*note_off)(void *private_data,int note, int vel, struct snd_midi_channel *chan); /* release note */
85 void (*key_press)(void *private_data, int note, int vel, struct snd_midi_channel *chan);
86 void (*note_terminate)(void *private_data, int note, struct snd_midi_channel *chan); /* terminate note immediately */
87 void (*control)(void *private_data, int type, struct snd_midi_channel *chan);
88 void (*nrpn)(void *private_data, struct snd_midi_channel *chan,
90 void (*sysex)(void *private_data, unsigned char *buf, int len, int parsed,
H A Dseq_oss.h38 void *private_data; /* private data for lowlevel drivers */ member in struct:snd_seq_oss_arg
90 void *private_data; member in struct:snd_seq_oss_reg
H A Dcompress_driver.h50 * @private_data: driver private data pointer
62 void *private_data; member in struct:snd_compr_runtime
74 * @private_data: pointer to DSP private data
84 void *private_data; member in struct:snd_compr_stream
140 * @private_data: pointer to DSP pvt data
150 void *private_data; member in struct:snd_compr
H A Dcontrol.h27 #define snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data)
79 void *private_data; member in struct:snd_kcontrol
122 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new * kcontrolnew, void * private_data);
246 void (*hook)(void *private_data, int),
247 void *private_data);
255 snd_kctl_jack_new(const char *name, int idx, void *private_data);
H A Dinfo.h85 void *private_data; member in struct:snd_info_entry
142 void *private_data, snd_info_set_text_ops()
145 entry->private_data = private_data; snd_info_set_text_ops()
176 void *private_data, snd_info_set_text_ops()
141 snd_info_set_text_ops(struct snd_info_entry *entry, void *private_data, void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) snd_info_set_text_ops() argument
175 snd_info_set_text_ops(struct snd_info_entry *entry __attribute__((unused)), void *private_data, void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) snd_info_set_text_ops() argument
/linux-4.1.27/sound/core/
H A Drtctimer.c74 t->private_data = &rtc_task; rtctimer_open()
81 rtc_task_t *rtc = t->private_data; rtctimer_close()
85 t->private_data = NULL; rtctimer_close()
93 rtc_task_t *rtc = timer->private_data; rtctimer_start()
104 rtc_task_t *rtc = timer->private_data; rtctimer_stop()
119 static void rtctimer_interrupt(void *private_data) rtctimer_interrupt() argument
121 tasklet_schedule(private_data); rtctimer_interrupt()
153 rtc_task.private_data = &rtc_tasklet; rtctimer_init()
H A Dhrtimer.c72 t->private_data = stime; snd_hrtimer_open()
78 struct snd_hrtimer *stime = t->private_data; snd_hrtimer_close()
83 t->private_data = NULL; snd_hrtimer_close()
90 struct snd_hrtimer *stime = t->private_data; snd_hrtimer_start()
102 struct snd_hrtimer *stime = t->private_data; snd_hrtimer_stop()
H A Dsound_oss.c49 void *private_data; snd_lookup_oss_minor_data() local
56 private_data = mreg->private_data; snd_lookup_oss_minor_data()
57 if (private_data && mreg->card_ptr) snd_lookup_oss_minor_data()
60 private_data = NULL; snd_lookup_oss_minor_data()
62 return private_data; snd_lookup_oss_minor_data()
108 const struct file_operations *f_ops, void *private_data) snd_register_oss_device()
129 preg->private_data = private_data; snd_register_oss_device()
107 snd_register_oss_device(int type, struct snd_card *card, int dev, const struct file_operations *f_ops, void *private_data) snd_register_oss_device() argument
H A Dctljack.c35 snd_kctl_jack_new(const char *name, int idx, void *private_data) snd_kctl_jack_new() argument
38 kctl = snd_ctl_new1(&jack_detect_kctl, private_data); snd_kctl_jack_new()
H A Dsound.c112 void *private_data; snd_lookup_minor_data() local
119 private_data = mreg->private_data; snd_lookup_minor_data()
120 if (private_data && mreg->card_ptr) snd_lookup_minor_data()
123 private_data = NULL; snd_lookup_minor_data()
125 return private_data; snd_lookup_minor_data()
252 * @private_data: user pointer for f_ops->open()
262 void *private_data, struct device *device) snd_register_device()
278 preg->private_data = private_data; snd_register_device()
260 snd_register_device(int type, struct snd_card *card, int dev, const struct file_operations *f_ops, void *private_data, struct device *device) snd_register_device() argument
H A Dpcm_timer.c69 substream = timer->private_data; snd_pcm_timer_resolution()
107 struct snd_pcm_substream *substream = timer->private_data; snd_pcm_timer_free()
132 timer->private_data = substream; snd_pcm_timer_init()
H A Dsgbuf.c35 struct snd_sg_buf *sgbuf = dmab->private_data; snd_free_sgbuf_pages()
59 dmab->private_data = NULL; snd_free_sgbuf_pages()
78 dmab->private_data = sgbuf = kzalloc(sizeof(*sgbuf), GFP_KERNEL); snd_malloc_sgbuf_pages()
146 struct snd_sg_buf *sg = dmab->private_data; snd_sgbuf_get_chunk_size()
/linux-4.1.27/drivers/usb/mon/
H A Dmon_stat.c40 file->private_data = sp; mon_stat_open()
47 struct snap *sp = file->private_data; mon_stat_read()
54 struct snap *sp = file->private_data; mon_stat_release()
55 file->private_data = NULL; mon_stat_release()
/linux-4.1.27/sound/usb/usx2y/
H A Dus122l.h22 #define US122L(c) ((struct us122l *)(c)->private_data)
H A DusX2Yhwdep.c64 struct usX2Ydev *us428 = hw->private_data; snd_us428ctls_mmap()
86 area->vm_private_data = hw->private_data; snd_us428ctls_mmap()
93 struct usX2Ydev *us428 = hw->private_data; snd_us428ctls_poll()
115 struct usX2Ydev *us428 = hw->private_data; snd_usX2Y_hwdep_dsp_status()
201 struct usX2Ydev *priv = hw->private_data; snd_usX2Y_hwdep_dsp_load()
256 hw->private_data = usX2Y(card); usX2Y_hwdep_new()
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_midi.c13 struct snd_bebob *bebob = substream->rmidi->private_data; midi_capture_open()
30 struct snd_bebob *bebob = substream->rmidi->private_data; midi_playback_open()
47 struct snd_bebob *bebob = substream->rmidi->private_data; midi_capture_close()
58 struct snd_bebob *bebob = substream->rmidi->private_data; midi_playback_close()
69 struct snd_bebob *bebob = substrm->rmidi->private_data; midi_capture_trigger()
86 struct snd_bebob *bebob = substrm->rmidi->private_data; midi_playback_trigger()
140 rmidi->private_data = bebob; snd_bebob_create_midi_devices()
H A Dbebob_pcm.c157 struct snd_bebob *bebob = substream->private_data; pcm_open()
204 struct snd_bebob *bebob = substream->private_data; pcm_close()
213 struct snd_bebob *bebob = substream->private_data; pcm_capture_hw_params()
226 struct snd_bebob *bebob = substream->private_data; pcm_playback_hw_params()
239 struct snd_bebob *bebob = substream->private_data; pcm_capture_hw_free()
251 struct snd_bebob *bebob = substream->private_data; pcm_playback_hw_free()
264 struct snd_bebob *bebob = substream->private_data; pcm_capture_prepare()
277 struct snd_bebob *bebob = substream->private_data; pcm_playback_prepare()
291 struct snd_bebob *bebob = substream->private_data; pcm_capture_trigger()
309 struct snd_bebob *bebob = substream->private_data; pcm_playback_trigger()
328 struct snd_bebob *bebob = sbstrm->private_data; pcm_capture_pointer()
334 struct snd_bebob *bebob = sbstrm->private_data; pcm_playback_pointer()
371 pcm->private_data = bebob; snd_bebob_create_pcm_devices()
H A Dbebob_hwdep.c23 struct snd_bebob *bebob = hwdep->private_data; hwdep_read()
59 struct snd_bebob *bebob = hwdep->private_data; hwdep_poll()
135 struct snd_bebob *bebob = hwdep->private_data; hwdep_release()
149 struct snd_bebob *bebob = hwdep->private_data; hwdep_ioctl()
194 hwdep->private_data = bebob; snd_bebob_create_hwdep_device()
H A Dbebob_proc.c39 struct snd_bebob *bebob = entry->private_data; proc_read_hw_info()
75 struct snd_bebob *bebob = entry->private_data; proc_read_meters()
108 struct snd_bebob *bebob = entry->private_data; proc_read_formation()
135 struct snd_bebob *bebob = entry->private_data; proc_read_clock()
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks_midi.c13 struct snd_efw *efw = substream->rmidi->private_data; midi_capture_open()
31 struct snd_efw *efw = substream->rmidi->private_data; midi_playback_open()
48 struct snd_efw *efw = substream->rmidi->private_data; midi_capture_close()
59 struct snd_efw *efw = substream->rmidi->private_data; midi_playback_close()
70 struct snd_efw *efw = substrm->rmidi->private_data; midi_capture_trigger()
87 struct snd_efw *efw = substrm->rmidi->private_data; midi_playback_trigger()
140 rmidi->private_data = efw; snd_efw_create_midi_devices()
H A Dfireworks_pcm.c197 struct snd_efw *efw = substream->private_data; pcm_open()
238 struct snd_efw *efw = substream->private_data; pcm_close()
246 struct snd_efw *efw = substream->private_data; pcm_capture_hw_params()
258 struct snd_efw *efw = substream->private_data; pcm_playback_hw_params()
270 struct snd_efw *efw = substream->private_data; pcm_capture_hw_free()
281 struct snd_efw *efw = substream->private_data; pcm_playback_hw_free()
293 struct snd_efw *efw = substream->private_data; pcm_capture_prepare()
305 struct snd_efw *efw = substream->private_data; pcm_playback_prepare()
318 struct snd_efw *efw = substream->private_data; pcm_capture_trigger()
335 struct snd_efw *efw = substream->private_data; pcm_playback_trigger()
353 struct snd_efw *efw = sbstrm->private_data; pcm_capture_pointer()
358 struct snd_efw *efw = sbstrm->private_data; pcm_playback_pointer()
396 pcm->private_data = efw; snd_efw_create_pcm_devices()
H A Dfireworks_proc.c31 struct snd_efw *efw = entry->private_data; proc_read_hwinfo()
108 struct snd_efw *efw = entry->private_data; proc_read_clock()
131 struct snd_efw *efw = entry->private_data; proc_read_phys_meters()
182 struct snd_efw *efw = entry->private_data; proc_read_queues_state()
H A Dfireworks_hwdep.c99 struct snd_efw *efw = hwdep->private_data; hwdep_read()
128 struct snd_efw *efw = hwdep->private_data; hwdep_write()
157 struct snd_efw *efw = hwdep->private_data; hwdep_poll()
233 struct snd_efw *efw = hwdep->private_data; hwdep_release()
247 struct snd_efw *efw = hwdep->private_data; hwdep_ioctl()
293 hwdep->private_data = efw; snd_efw_create_hwdep_device()
/linux-4.1.27/sound/firewire/oxfw/
H A Doxfw-midi.c13 struct snd_oxfw *oxfw = substream->rmidi->private_data; midi_capture_open()
35 struct snd_oxfw *oxfw = substream->rmidi->private_data; midi_playback_open()
57 struct snd_oxfw *oxfw = substream->rmidi->private_data; midi_capture_close()
72 struct snd_oxfw *oxfw = substream->rmidi->private_data; midi_playback_close()
87 struct snd_oxfw *oxfw = substrm->rmidi->private_data; midi_capture_trigger()
104 struct snd_oxfw *oxfw = substrm->rmidi->private_data; midi_playback_trigger()
179 rmidi->private_data = oxfw; snd_oxfw_create_midi()
H A Doxfw-pcm.c168 struct snd_oxfw *oxfw = substream->private_data; limit_to_current_params()
192 struct snd_oxfw *oxfw = substream->private_data; pcm_open()
224 struct snd_oxfw *oxfw = substream->private_data; pcm_close()
233 struct snd_oxfw *oxfw = substream->private_data; pcm_capture_hw_params()
250 struct snd_oxfw *oxfw = substream->private_data; pcm_playback_hw_params()
266 struct snd_oxfw *oxfw = substream->private_data; pcm_capture_hw_free()
281 struct snd_oxfw *oxfw = substream->private_data; pcm_playback_hw_free()
297 struct snd_oxfw *oxfw = substream->private_data; pcm_capture_prepare()
314 struct snd_oxfw *oxfw = substream->private_data; pcm_playback_prepare()
332 struct snd_oxfw *oxfw = substream->private_data; pcm_capture_trigger()
350 struct snd_oxfw *oxfw = substream->private_data; pcm_playback_trigger()
369 struct snd_oxfw *oxfw = sbstm->private_data; pcm_capture_pointer()
375 struct snd_oxfw *oxfw = sbstm->private_data; pcm_playback_pointer()
417 pcm->private_data = oxfw; snd_oxfw_create_pcm()
H A Doxfw-hwdep.c22 struct snd_oxfw *oxfw = hwdep->private_data; hwdep_read()
58 struct snd_oxfw *oxfw = hwdep->private_data; hwdep_poll()
130 struct snd_oxfw *oxfw = hwdep->private_data; hwdep_release()
143 struct snd_oxfw *oxfw = hwdep->private_data; hwdep_ioctl()
186 hwdep->private_data = oxfw; snd_oxfw_create_hwdep()
H A Doxfw-control.c137 struct snd_oxfw *oxfw = control->private_data; oxfw_mute_get()
147 struct snd_oxfw *oxfw = control->private_data; oxfw_mute_put()
167 struct snd_oxfw *oxfw = control->private_data; oxfw_volume_info()
182 struct snd_oxfw *oxfw = control->private_data; oxfw_volume_get()
194 struct snd_oxfw *oxfw = control->private_data; oxfw_volume_put()
/linux-4.1.27/sound/drivers/opl4/
H A Dopl4_seq.c61 static int snd_opl4_seq_use(void *private_data, struct snd_seq_port_subscribe *info) snd_opl4_seq_use() argument
63 struct snd_opl4 *opl4 = private_data; snd_opl4_seq_use()
88 static int snd_opl4_seq_unuse(void *private_data, struct snd_seq_port_subscribe *info) snd_opl4_seq_unuse() argument
90 struct snd_opl4 *opl4 = private_data; snd_opl4_seq_unuse()
112 void *private_data, int atomic, int hop) snd_opl4_seq_event_input()
114 struct snd_opl4 *opl4 = private_data; snd_opl4_seq_event_input()
120 static void snd_opl4_seq_free_port(void *private_data) snd_opl4_seq_free_port() argument
122 struct snd_opl4 *opl4 = private_data; snd_opl4_seq_free_port()
144 opl4->chset->private_data = opl4; snd_opl4_seq_probe()
163 pcallbacks.private_data = opl4; snd_opl4_seq_probe()
111 snd_opl4_seq_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop) snd_opl4_seq_event_input() argument
H A Dopl4_proc.c30 struct snd_opl4 *opl4 = entry->private_data; snd_opl4_mem_proc_open()
45 struct snd_opl4 *opl4 = entry->private_data; snd_opl4_mem_proc_release()
58 struct snd_opl4 *opl4 = entry->private_data; snd_opl4_mem_proc_read()
79 struct snd_opl4 *opl4 = entry->private_data; snd_opl4_mem_proc_write()
118 entry->private_data = opl4; snd_opl4_create_proc()
/linux-4.1.27/sound/firewire/dice/
H A Ddice-midi.c12 struct snd_dice *dice = substream->rmidi->private_data; midi_open()
34 struct snd_dice *dice = substream->rmidi->private_data; midi_close()
49 struct snd_dice *dice = substrm->rmidi->private_data; midi_capture_trigger()
66 struct snd_dice *dice = substrm->rmidi->private_data; midi_playback_trigger()
129 rmidi->private_data = dice; snd_dice_create_midi()
H A Ddice-pcm.c16 struct snd_dice *dice = substream->private_data; dice_rate_constraint()
51 struct snd_dice *dice = substream->private_data; dice_channels_constraint()
166 struct snd_dice *dice = substream->private_data; pcm_open()
222 struct snd_dice *dice = substream->private_data; pcm_close()
232 struct snd_dice *dice = substream->private_data; capture_hw_params()
249 struct snd_dice *dice = substream->private_data; playback_hw_params()
266 struct snd_dice *dice = substream->private_data; capture_hw_free()
282 struct snd_dice *dice = substream->private_data; playback_hw_free()
298 struct snd_dice *dice = substream->private_data; capture_prepare()
311 struct snd_dice *dice = substream->private_data; playback_prepare()
325 struct snd_dice *dice = substream->private_data; capture_trigger()
342 struct snd_dice *dice = substream->private_data; playback_trigger()
360 struct snd_dice *dice = substream->private_data; capture_pointer()
366 struct snd_dice *dice = substream->private_data; playback_pointer()
412 pcm->private_data = dice; snd_dice_create_pcm()
H A Ddice-hwdep.c15 struct snd_dice *dice = hwdep->private_data; hwdep_read()
58 struct snd_dice *dice = hwdep->private_data; hwdep_poll()
130 struct snd_dice *dice = hwdep->private_data; hwdep_release()
143 struct snd_dice *dice = hwdep->private_data; hwdep_ioctl()
186 hwdep->private_data = dice; snd_dice_create_hwdep()
/linux-4.1.27/sound/core/seq/
H A Dseq_virmidi.c117 rdev = rmidi->private_data;
126 void *private_data, int atomic, int hop) snd_virmidi_event_input()
130 rdev = private_data; snd_virmidi_event_input()
141 struct snd_virmidi *vmidi = substream->runtime->private_data; snd_virmidi_input_trigger()
155 struct snd_virmidi *vmidi = substream->runtime->private_data; snd_virmidi_output_trigger()
209 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; snd_virmidi_input_open()
225 runtime->private_data = vmidi; snd_virmidi_input_open()
238 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; snd_virmidi_output_open()
255 runtime->private_data = vmidi; snd_virmidi_output_open()
264 struct snd_virmidi_dev *rdev = substream->rmidi->private_data; snd_virmidi_input_close()
265 struct snd_virmidi *vmidi = substream->runtime->private_data; snd_virmidi_input_close()
271 substream->runtime->private_data = NULL; snd_virmidi_input_close()
281 struct snd_virmidi *vmidi = substream->runtime->private_data; snd_virmidi_output_close()
283 substream->runtime->private_data = NULL; snd_virmidi_output_close()
291 static int snd_virmidi_subscribe(void *private_data, snd_virmidi_subscribe() argument
296 rdev = private_data; snd_virmidi_subscribe()
306 static int snd_virmidi_unsubscribe(void *private_data, snd_virmidi_unsubscribe() argument
311 rdev = private_data; snd_virmidi_unsubscribe()
321 static int snd_virmidi_use(void *private_data, snd_virmidi_use() argument
326 rdev = private_data; snd_virmidi_use()
336 static int snd_virmidi_unuse(void *private_data, snd_virmidi_unuse() argument
341 rdev = private_data; snd_virmidi_unuse()
406 pcallbacks.private_data = rdev; snd_virmidi_dev_attach_seq()
445 struct snd_virmidi_dev *rdev = rmidi->private_data; snd_virmidi_dev_register()
472 struct snd_virmidi_dev *rdev = rmidi->private_data; snd_virmidi_dev_unregister()
492 struct snd_virmidi_dev *rdev = rmidi->private_data; snd_virmidi_free()
526 rmidi->private_data = rdev; snd_virmidi_new()
125 snd_virmidi_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop) snd_virmidi_event_input() argument
H A Dseq_midi.c86 msynth = runtime->private_data; snd_midi_input_event()
133 void *private_data, int atomic, int hop) event_process_midi()
135 struct seq_midisynth *msynth = private_data; event_process_midi()
180 static int midisynth_subscribe(void *private_data, struct snd_seq_port_subscribe *info) midisynth_subscribe() argument
183 struct seq_midisynth *msynth = private_data; midisynth_subscribe()
205 runtime->private_data = msynth; midisynth_subscribe()
211 static int midisynth_unsubscribe(void *private_data, struct snd_seq_port_subscribe *info) midisynth_unsubscribe() argument
214 struct seq_midisynth *msynth = private_data; midisynth_unsubscribe()
223 static int midisynth_use(void *private_data, struct snd_seq_port_subscribe *info) midisynth_use() argument
226 struct seq_midisynth *msynth = private_data; midisynth_use()
250 static int midisynth_unuse(void *private_data, struct snd_seq_port_subscribe *info) midisynth_unuse() argument
252 struct seq_midisynth *msynth = private_data; midisynth_unuse()
283 struct snd_rawmidi *rmidi = dev->private_data; snd_seq_midisynth_probe()
389 pcallbacks.private_data = ms; snd_seq_midisynth_probe()
132 event_process_midi(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop) event_process_midi() argument
H A Dseq_ports.h56 int (*open)(void *private_data, struct snd_seq_port_subscribe *info);
57 int (*close)(void *private_data, struct snd_seq_port_subscribe *info);
72 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data,
74 void (*private_free)(void *private_data);
75 void *private_data; member in struct:snd_seq_client_port
H A Dseq_dummy.c88 dummy_input(struct snd_seq_event *ev, int direct, void *private_data, dummy_input() argument
94 p = private_data; dummy_input()
111 dummy_free(void *private_data) dummy_free() argument
113 kfree(private_data); dummy_free()
150 pcb.private_data = rec; create_port()
/linux-4.1.27/sound/pci/ctxfi/
H A Dctpcm.c109 struct ct_atc_pcm *apcm = runtime->private_data; ct_atc_pcm_free_substream()
115 runtime->private_data = NULL; ct_atc_pcm_free_substream()
160 runtime->private_data = apcm; ct_pcm_playback_open()
183 struct ct_atc_pcm *apcm = substream->runtime->private_data; ct_pcm_hw_params()
198 struct ct_atc_pcm *apcm = substream->runtime->private_data; ct_pcm_hw_free()
212 struct ct_atc_pcm *apcm = runtime->private_data; ct_pcm_playback_prepare()
233 struct ct_atc_pcm *apcm = runtime->private_data; ct_pcm_playback_trigger()
259 struct ct_atc_pcm *apcm = runtime->private_data; ct_pcm_playback_pointer()
306 runtime->private_data = apcm; ct_pcm_capture_open()
324 struct ct_atc_pcm *apcm = runtime->private_data; ct_pcm_capture_prepare()
341 struct ct_atc_pcm *apcm = runtime->private_data; ct_pcm_capture_trigger()
364 struct ct_atc_pcm *apcm = runtime->private_data; ct_pcm_capture_pointer()
445 pcm->private_data = atc; ct_alsa_pcm_create()
H A Dxfi.c98 card->private_data = atc; ct_card_probe()
133 struct ct_atc *atc = card->private_data; ct_card_suspend()
141 struct ct_atc *atc = card->private_data; ct_card_resume()
/linux-4.1.27/sound/synth/emux/
H A Demux_seq.c29 static int snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info);
30 static int snd_emux_unuse(void *private_data, struct snd_seq_port_subscribe *info);
159 p->chset.private_data = p; snd_emux_create_port()
167 callback->private_data = p; snd_emux_create_port()
189 free_port(void *private_data) free_port() argument
193 p = private_data; free_port()
252 snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private_data, snd_emux_event_input() argument
257 port = private_data; snd_emux_event_input()
319 snd_emux_use(void *private_data, struct snd_seq_port_subscribe *info) snd_emux_use() argument
324 p = private_data; snd_emux_use()
342 snd_emux_unuse(void *private_data, struct snd_seq_port_subscribe *info) snd_emux_unuse() argument
347 p = private_data; snd_emux_unuse()
382 rdev = rmidi->private_data; snd_emux_init_virmidi()
H A Demux.c67 static int sf_sample_new(void *private_data, struct snd_sf_sample *sp, sf_sample_new() argument
71 struct snd_emux *emu = private_data; sf_sample_new()
76 static int sf_sample_free(void *private_data, struct snd_sf_sample *sp, sf_sample_free() argument
79 struct snd_emux *emu = private_data; sf_sample_free()
84 static void sf_sample_reset(void *private_data) sf_sample_reset() argument
86 struct snd_emux *emu = private_data; sf_sample_reset()
109 sf_cb.private_data = emu; snd_emux_register()
H A Demux_oss.c84 arg->private_data = emu; snd_emux_init_seq_oss()
139 arg->private_data = p; snd_emux_open_seq_oss()
184 p = arg->private_data; snd_emux_close_seq_oss()
214 p = arg->private_data; snd_emux_load_patch_seq_oss()
257 p = arg->private_data; snd_emux_ioctl_seq_oss()
290 p = arg->private_data; snd_emux_reset_seq_oss()
302 snd_emux_event_oss_input(struct snd_seq_event *ev, int direct, void *private_data, snd_emux_event_oss_input() argument
309 p = private_data; snd_emux_event_oss_input()
316 return snd_emux_event_input(ev, direct, private_data, atomic, hop); snd_emux_event_oss_input()
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_debugfs.c43 file->private_data = buf; uvc_debugfs_stats_open()
50 struct uvc_debugfs_buffer *buf = file->private_data; uvc_debugfs_stats_read()
58 kfree(file->private_data); uvc_debugfs_stats_release()
59 file->private_data = NULL; uvc_debugfs_stats_release()
/linux-4.1.27/drivers/s390/char/
H A Dhmcdrv_dev.c134 fp->private_data = NULL; /* no command yet */ hmcdrv_dev_open()
149 kfree(fp->private_data); hmcdrv_dev_release()
150 fp->private_data = NULL; hmcdrv_dev_release()
174 if (fp->private_data) { hmcdrv_dev_seek()
175 kfree(fp->private_data); hmcdrv_dev_seek()
176 fp->private_data = NULL; hmcdrv_dev_seek()
226 (fp->private_data == NULL)) { /* no FTP cmd defined ? */ hmcdrv_dev_read()
230 retlen = hmcdrv_dev_transfer((char *) fp->private_data, hmcdrv_dev_read()
253 if (!fp->private_data) { /* first expect a cmd write */ hmcdrv_dev_write()
254 fp->private_data = kmalloc(len + 1, GFP_KERNEL); hmcdrv_dev_write()
256 if (!fp->private_data) hmcdrv_dev_write()
259 if (!copy_from_user(fp->private_data, ubuf, len)) { hmcdrv_dev_write()
260 ((char *)fp->private_data)[len] = '\0'; hmcdrv_dev_write()
264 kfree(fp->private_data); hmcdrv_dev_write()
265 fp->private_data = NULL; hmcdrv_dev_write()
269 retlen = hmcdrv_dev_transfer((char *) fp->private_data, hmcdrv_dev_write()
H A Dvmcp.c44 file->private_data = session; vmcp_open()
52 session = file->private_data; vmcp_release()
53 file->private_data = NULL; vmcp_release()
66 session = file->private_data; vmcp_read()
99 session = file->private_data; vmcp_write()
141 session = file->private_data; vmcp_ioctl()
H A Dtape_char.c136 device = (struct tape_device *) filp->private_data; tapechar_read()
196 device = (struct tape_device *) filp->private_data; tapechar_write()
291 filp->private_data = device; tapechar_open()
309 device = (struct tape_device *) filp->private_data; tapechar_release()
332 filp->private_data = NULL; tapechar_release()
445 device = (struct tape_device *) filp->private_data; tapechar_ioctl()
456 struct tape_device *device = filp->private_data; tapechar_compat_ioctl()
/linux-4.1.27/drivers/usb/musb/
H A Dux500_dma.c58 void *private_data; member in struct:ux500_dma_controller
63 static void ux500_dma_callback(void *private_data) ux500_dma_callback() argument
65 struct dma_channel *channel = private_data; ux500_dma_callback()
66 struct ux500_dma_channel *ux500_channel = channel->private_data; ux500_dma_callback()
86 struct ux500_dma_channel *ux500_channel = channel->private_data; ux500_configure_channel()
94 struct musb *musb = ux500_channel->controller->private_data; ux500_configure_channel()
146 struct musb *musb = controller->private_data; ux500_dma_channel_allocate()
177 struct ux500_dma_channel *ux500_channel = channel->private_data; ux500_dma_channel_release()
178 struct musb *musb = ux500_channel->controller->private_data; ux500_dma_channel_release()
224 struct ux500_dma_channel *ux500_channel = channel->private_data; ux500_dma_channel_abort()
226 struct musb *musb = controller->private_data; ux500_dma_channel_abort()
262 ux500_channel = channel->private_data; ux500_dma_controller_stop()
272 ux500_channel = channel->private_data; ux500_dma_controller_stop()
284 struct musb *musb = controller->private_data; ux500_dma_controller_start()
323 dma_channel->private_data = ux500_channel; ux500_dma_controller_start()
383 controller->private_data = musb; dma_controller_create()
H A Dmusbhsdma.c44 struct musb *musb = controller->private_data; dma_controller_stop()
82 channel->private_data = musb_channel; dma_channel_allocate()
97 struct musb_dma_channel *musb_channel = channel->private_data; dma_channel_release()
113 struct musb_dma_channel *musb_channel = channel->private_data; configure_channel()
115 struct musb *musb = controller->private_data; configure_channel()
151 struct musb_dma_channel *musb_channel = channel->private_data; dma_channel_program()
153 struct musb *musb = controller->private_data; dma_channel_program()
196 struct musb_dma_channel *musb_channel = channel->private_data; dma_channel_abort()
198 struct musb *musb = musb_channel->controller->private_data; dma_channel_abort()
240 static irqreturn_t dma_controller_irq(int irq, void *private_data) dma_controller_irq() argument
242 struct musb_dma_controller *controller = private_data; dma_controller_irq()
243 struct musb *musb = controller->private_data; dma_controller_irq()
390 controller->private_data = musb; dma_controller_create()
H A Dmusb_cppi41.c120 static void cppi41_dma_callback(void *private_data);
223 static void cppi41_dma_callback(void *private_data) cppi41_dma_callback() argument
225 struct dma_channel *channel = private_data; cppi41_dma_callback()
226 struct cppi41_dma_channel *cppi41_channel = channel->private_data; cppi41_dma_callback()
370 struct cppi41_dma_channel *cppi41_channel = channel->private_data; cppi41_configure_channel()
469 struct cppi41_dma_channel *cppi41_channel = channel->private_data; cppi41_dma_channel_release()
483 struct cppi41_dma_channel *cppi41_channel = channel->private_data; cppi41_dma_channel_program()
512 struct cppi41_dma_channel *cppi41_channel = channel->private_data; cppi41_is_compatible()
530 struct cppi41_dma_channel *cppi41_channel = channel->private_data; cppi41_dma_channel_abort()
663 musb_dma->private_data = cppi41_channel; cppi41_dma_controller_start()
/linux-4.1.27/sound/drivers/opl3/
H A Dopl3_oss.c58 void *private_data, int atomic, int hop) snd_opl3_oss_event_input()
60 struct snd_opl3 *opl3 = private_data; snd_opl3_oss_event_input()
69 static void snd_opl3_oss_free_port(void *private_data) snd_opl3_oss_free_port() argument
71 struct snd_opl3 *opl3 = private_data; snd_opl3_oss_free_port()
87 opl3->oss_chset->private_data = opl3; snd_opl3_oss_create_port()
93 callbacks.private_data = opl3; snd_opl3_oss_create_port()
140 arg->private_data = opl3; snd_opl3_init_seq_oss()
172 arg->private_data = opl3; snd_opl3_open_seq_oss()
190 opl3 = arg->private_data; snd_opl3_close_seq_oss()
213 opl3 = arg->private_data; snd_opl3_load_patch_seq_oss()
254 opl3 = arg->private_data; snd_opl3_ioctl_seq_oss()
282 opl3 = arg->private_data; snd_opl3_reset_seq_oss()
57 snd_opl3_oss_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop) snd_opl3_oss_event_input() argument
H A Dopl3_seq.c104 static int snd_opl3_synth_use(void *private_data, struct snd_seq_port_subscribe * info) snd_opl3_synth_use() argument
106 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_use()
131 static int snd_opl3_synth_unuse(void *private_data, struct snd_seq_port_subscribe * info) snd_opl3_synth_unuse() argument
133 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_unuse()
156 void *private_data, int atomic, int hop) snd_opl3_synth_event_input()
158 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_event_input()
166 static void snd_opl3_synth_free_port(void *private_data) snd_opl3_synth_free_port() argument
168 struct snd_opl3 *opl3 = private_data; snd_opl3_synth_free_port()
184 opl3->chset->private_data = opl3; snd_opl3_synth_create_port()
192 callbacks.private_data = opl3; snd_opl3_synth_create_port()
155 snd_opl3_synth_event_input(struct snd_seq_event * ev, int direct, void *private_data, int atomic, int hop) snd_opl3_synth_event_input() argument
/linux-4.1.27/drivers/media/usb/stk1160/
H A Dstk1160-ac97.c35 struct stk1160 *dev = ac97->private_data; stk1160_write_ac97()
53 struct stk1160 *dev = ac97->private_data; stk1160_read_ac97()
75 struct stk1160 *dev = ac97->private_data; stk1160_reset_ac97()
117 /* We must set private_data before calling snd_ac97_mixer */ stk1160_ac97_register()
119 ac97_template.private_data = dev; stk1160_ac97_register()
/linux-4.1.27/drivers/infiniband/core/
H A Dcm.c223 void *private_data; member in struct:cm_id_private
318 static void * cm_copy_private_data(const void *private_data, cm_copy_private_data() argument
323 if (!private_data || !private_data_len) cm_copy_private_data()
326 data = kmemdup(private_data, private_data_len, GFP_KERNEL); cm_copy_private_data()
334 void *private_data, u8 private_data_len) cm_set_private_data()
336 if (cm_id_priv->private_data && cm_id_priv->private_data_len) cm_set_private_data()
337 kfree(cm_id_priv->private_data); cm_set_private_data()
339 cm_id_priv->private_data = private_data; cm_set_private_data()
462 static int cm_compare_private_data(u32 *private_data, cm_compare_private_data() argument
470 cm_mask_copy(src, private_data, dst_data->mask); cm_compare_private_data()
540 u32 *private_data) cm_find_listen()
548 data_cmp = cm_compare_private_data(private_data, cm_find_listen()
925 kfree(cm_id_priv->private_data); cm_destroy_id()
1083 if (param->private_data && param->private_data_len) cm_format_req()
1084 memcpy(req_msg->private_data, param->private_data, cm_format_req()
1101 if (param->private_data && cm_validate_req_param()
1317 work->cm_event.private_data = &req_msg->private_data; cm_format_req_event()
1346 const void *private_data, u8 private_data_len) cm_format_mra()
1354 if (private_data && private_data_len) cm_format_mra()
1355 memcpy(mra_msg->private_data, private_data, private_data_len); cm_format_mra()
1363 const void *private_data, cm_format_rej()
1395 if (private_data && private_data_len) cm_format_rej()
1396 memcpy(rej_msg->private_data, private_data, private_data_len); cm_format_rej()
1421 cm_id_priv->private_data, cm_dup_req_handler()
1479 req_msg->private_data); cm_match_req()
1640 if (param->private_data && param->private_data_len) cm_format_rep()
1641 memcpy(rep_msg->private_data, param->private_data, cm_format_rep()
1654 if (param->private_data && ib_send_cm_rep()
1696 const void *private_data, cm_format_rtu()
1703 if (private_data && private_data_len) cm_format_rtu()
1704 memcpy(rtu_msg->private_data, private_data, private_data_len); cm_format_rtu()
1708 const void *private_data, ib_send_cm_rtu()
1717 if (private_data && private_data_len > IB_CM_RTU_PRIVATE_DATA_SIZE) ib_send_cm_rtu()
1720 data = cm_copy_private_data(private_data, private_data_len); ib_send_cm_rtu()
1737 private_data, private_data_len); ib_send_cm_rtu()
1776 work->cm_event.private_data = &rep_msg->private_data; cm_format_rep_event()
1801 cm_id_priv->private_data, cm_dup_rep_handler()
1806 cm_id_priv->private_data, cm_dup_rep_handler()
1953 work->cm_event.private_data = &rtu_msg->private_data; cm_rtu_handler()
1983 const void *private_data, cm_format_dreq()
1992 if (private_data && private_data_len) cm_format_dreq()
1993 memcpy(dreq_msg->private_data, private_data, private_data_len); cm_format_dreq()
1997 const void *private_data, ib_send_cm_dreq()
2005 if (private_data && private_data_len > IB_CM_DREQ_PRIVATE_DATA_SIZE) ib_send_cm_dreq()
2026 private_data, private_data_len); ib_send_cm_dreq()
2047 const void *private_data, cm_format_drep()
2054 if (private_data && private_data_len) cm_format_drep()
2055 memcpy(drep_msg->private_data, private_data, private_data_len); cm_format_drep()
2059 const void *private_data, ib_send_cm_drep()
2068 if (private_data && private_data_len > IB_CM_DREP_PRIVATE_DATA_SIZE) ib_send_cm_drep()
2071 data = cm_copy_private_data(private_data, private_data_len); ib_send_cm_drep()
2091 private_data, private_data_len); ib_send_cm_drep()
2148 work->cm_event.private_data = &dreq_msg->private_data; cm_dreq_handler()
2173 cm_id_priv->private_data, cm_dreq_handler()
2217 work->cm_event.private_data = &drep_msg->private_data; cm_drep_handler()
2247 const void *private_data, ib_send_cm_rej()
2255 if ((private_data && private_data_len > IB_CM_REJ_PRIVATE_DATA_SIZE) || ib_send_cm_rej()
2273 private_data, private_data_len); ib_send_cm_rej()
2283 private_data, private_data_len); ib_send_cm_rej()
2314 work->cm_event.private_data = &rej_msg->private_data; cm_format_rej_event()
2419 const void *private_data, ib_send_cm_mra()
2431 if (private_data && private_data_len > IB_CM_MRA_PRIVATE_DATA_SIZE) ib_send_cm_mra()
2434 data = cm_copy_private_data(private_data, private_data_len); ib_send_cm_mra()
2471 private_data, private_data_len); ib_send_cm_mra()
2520 work->cm_event.private_data = &mra_msg->private_data; cm_mra_handler()
2585 const void *private_data, cm_format_lap()
2609 if (private_data && private_data_len) cm_format_lap()
2610 memcpy(lap_msg->private_data, private_data, private_data_len); cm_format_lap()
2615 const void *private_data, ib_send_cm_lap()
2623 if (private_data && private_data_len > IB_CM_LAP_PRIVATE_DATA_SIZE) ib_send_cm_lap()
2647 alternate_path, private_data, private_data_len); ib_send_cm_lap()
2708 work->cm_event.private_data = &lap_msg->private_data; cm_lap_handler()
2727 cm_id_priv->private_data, cm_lap_handler()
2769 const void *private_data, cm_format_apr()
2782 if (private_data && private_data_len) cm_format_apr()
2783 memcpy(apr_msg->private_data, private_data, private_data_len); cm_format_apr()
2790 const void *private_data, ib_send_cm_apr()
2798 if ((private_data && private_data_len > IB_CM_APR_PRIVATE_DATA_SIZE) || ib_send_cm_apr()
2816 info, info_length, private_data, private_data_len); ib_send_cm_apr()
2845 work->cm_event.private_data = &apr_msg->private_data; cm_apr_handler()
2921 if (param->private_data && param->private_data_len) cm_format_sidr_req()
2922 memcpy(sidr_req_msg->private_data, param->private_data, cm_format_sidr_req()
2934 if (!param->path || (param->private_data && ib_send_cm_sidr_req()
2987 work->cm_event.private_data = &sidr_req_msg->private_data; cm_format_sidr_req_event()
3026 sidr_req_msg->private_data); cm_sidr_req_handler()
3065 if (param->private_data && param->private_data_len) cm_format_sidr_rep()
3066 memcpy(sidr_rep_msg->private_data, param->private_data, cm_format_sidr_rep()
3079 (param->private_data && ib_send_cm_sidr_rep()
3131 work->cm_event.private_data = &sidr_rep_msg->private_data; cm_format_sidr_rep_event()
333 cm_set_private_data(struct cm_id_private *cm_id_priv, void *private_data, u8 private_data_len) cm_set_private_data() argument
538 cm_find_listen(struct ib_device *device, __be64 service_id, u32 *private_data) cm_find_listen() argument
1343 cm_format_mra(struct cm_mra_msg *mra_msg, struct cm_id_private *cm_id_priv, enum cm_msg_response msg_mraed, u8 service_timeout, const void *private_data, u8 private_data_len) cm_format_mra() argument
1358 cm_format_rej(struct cm_rej_msg *rej_msg, struct cm_id_private *cm_id_priv, enum ib_cm_rej_reason reason, void *ari, u8 ari_length, const void *private_data, u8 private_data_len) cm_format_rej() argument
1694 cm_format_rtu(struct cm_rtu_msg *rtu_msg, struct cm_id_private *cm_id_priv, const void *private_data, u8 private_data_len) cm_format_rtu() argument
1707 ib_send_cm_rtu(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len) ib_send_cm_rtu() argument
1981 cm_format_dreq(struct cm_dreq_msg *dreq_msg, struct cm_id_private *cm_id_priv, const void *private_data, u8 private_data_len) cm_format_dreq() argument
1996 ib_send_cm_dreq(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len) ib_send_cm_dreq() argument
2045 cm_format_drep(struct cm_drep_msg *drep_msg, struct cm_id_private *cm_id_priv, const void *private_data, u8 private_data_len) cm_format_drep() argument
2058 ib_send_cm_drep(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len) ib_send_cm_drep() argument
2243 ib_send_cm_rej(struct ib_cm_id *cm_id, enum ib_cm_rej_reason reason, void *ari, u8 ari_length, const void *private_data, u8 private_data_len) ib_send_cm_rej() argument
2417 ib_send_cm_mra(struct ib_cm_id *cm_id, u8 service_timeout, const void *private_data, u8 private_data_len) ib_send_cm_mra() argument
2582 cm_format_lap(struct cm_lap_msg *lap_msg, struct cm_id_private *cm_id_priv, struct ib_sa_path_rec *alternate_path, const void *private_data, u8 private_data_len) cm_format_lap() argument
2613 ib_send_cm_lap(struct ib_cm_id *cm_id, struct ib_sa_path_rec *alternate_path, const void *private_data, u8 private_data_len) ib_send_cm_lap() argument
2764 cm_format_apr(struct cm_apr_msg *apr_msg, struct cm_id_private *cm_id_priv, enum ib_cm_apr_status status, void *info, u8 info_length, const void *private_data, u8 private_data_len) cm_format_apr() argument
2786 ib_send_cm_apr(struct ib_cm_id *cm_id, enum ib_cm_apr_status status, void *info, u8 info_length, const void *private_data, u8 private_data_len) ib_send_cm_apr() argument
H A Dcma.c924 hdr = ib_event->private_data; cma_save_net_info()
1111 void *private_data) cma_set_rep_event_data()
1113 event->param.conn.private_data = private_data; cma_set_rep_event_data()
1151 ib_event->private_data); cma_ib_handler()
1176 event.param.conn.private_data = ib_event->private_data; cma_ib_handler()
1277 void *private_data, int offset) cma_set_req_event_data()
1279 event->param.conn.private_data = private_data + offset; cma_set_req_event_data()
1317 event.param.ud.private_data = ib_event->private_data + offset; cma_req_handler()
1323 ib_event->private_data, offset); cma_req_handler()
1469 event.param.conn.private_data = iw_event->private_data; cma_iw_handler()
1542 event.param.conn.private_data = iw_event->private_data; iw_conn_req_handler()
2681 event.param.ud.private_data = ib_event->private_data; cma_sidr_rep_handler()
2727 void *private_data; cma_resolve_ib_udp() local
2737 private_data = kzalloc(req.private_data_len, GFP_ATOMIC); cma_resolve_ib_udp()
2738 if (!private_data) cma_resolve_ib_udp()
2741 private_data = NULL; cma_resolve_ib_udp()
2744 if (conn_param->private_data && conn_param->private_data_len) cma_resolve_ib_udp()
2745 memcpy(private_data + offset, conn_param->private_data, cma_resolve_ib_udp()
2748 if (private_data) { cma_resolve_ib_udp()
2749 ret = cma_format_hdr(private_data, id_priv); cma_resolve_ib_udp()
2752 req.private_data = private_data; cma_resolve_ib_udp()
2774 kfree(private_data); cma_resolve_ib_udp()
2783 void *private_data; cma_connect_ib() local
2794 private_data = kzalloc(req.private_data_len, GFP_ATOMIC); cma_connect_ib()
2795 if (!private_data) cma_connect_ib()
2798 private_data = NULL; cma_connect_ib()
2801 if (conn_param->private_data && conn_param->private_data_len) cma_connect_ib()
2802 memcpy(private_data + offset, conn_param->private_data, cma_connect_ib()
2813 if (private_data) { cma_connect_ib()
2814 ret = cma_format_hdr(private_data, id_priv); cma_connect_ib()
2817 req.private_data = private_data; cma_connect_ib()
2845 kfree(private_data); cma_connect_ib()
2874 iw_param.private_data = conn_param->private_data; cma_connect_iw()
2945 rep.private_data = conn_param->private_data; cma_accept_ib()
2971 iw_param.private_data = conn_param->private_data; cma_accept_iw()
2983 const void *private_data, int private_data_len) cma_send_sidr_rep()
2997 rep.private_data = private_data; cma_send_sidr_rep()
3026 conn_param->private_data, rdma_accept()
3078 int rdma_reject(struct rdma_cm_id *id, const void *private_data, rdma_reject() argument
3092 private_data, private_data_len); rdma_reject()
3096 0, private_data, private_data_len); rdma_reject()
3100 private_data, private_data_len); rdma_reject()
3162 event.param.ud.private_data = mc->context; cma_ib_mc_handler()
1109 cma_set_rep_event_data(struct rdma_cm_event *event, struct ib_cm_rep_event_param *rep_data, void *private_data) cma_set_rep_event_data() argument
1275 cma_set_req_event_data(struct rdma_cm_event *event, struct ib_cm_req_event_param *req_data, void *private_data, int offset) cma_set_req_event_data() argument
2981 cma_send_sidr_rep(struct rdma_id_private *id_priv, enum ib_cm_sidr_status status, u32 qkey, const void *private_data, int private_data_len) cma_send_sidr_rep() argument
H A Ducm.c326 uvt->data = kmemdup(evt->private_data, uvt->data_len, GFP_KERNEL); ib_ucm_event_process()
741 param.private_data = NULL; ib_ucm_send_req()
748 result = ib_ucm_alloc_data(&param.private_data, cmd.data, cmd.len); ib_ucm_send_req()
784 kfree(param.private_data); ib_ucm_send_req()
799 param.private_data = NULL; ib_ucm_send_rep()
804 result = ib_ucm_alloc_data(&param.private_data, cmd.data, cmd.len); ib_ucm_send_rep()
826 kfree(param.private_data); ib_ucm_send_rep()
833 const void *private_data, ib_ucm_send_private_data()
838 const void *private_data = NULL; ib_ucm_send_private_data() local
844 result = ib_ucm_alloc_data(&private_data, cmd.data, cmd.len); ib_ucm_send_private_data()
850 result = func(ctx->cm_id, private_data, cmd.len); ib_ucm_send_private_data()
855 kfree(private_data); ib_ucm_send_private_data()
1004 param.private_data = NULL; ib_ucm_send_sidr_req()
1010 result = ib_ucm_alloc_data(&param.private_data, cmd.data, cmd.len); ib_ucm_send_sidr_req()
1031 kfree(param.private_data); ib_ucm_send_sidr_req()
1050 result = ib_ucm_alloc_data(&param.private_data, ib_ucm_send_sidr_rep()
1073 kfree(param.private_data); ib_ucm_send_sidr_rep()
1104 struct ib_ucm_file *file = filp->private_data; ib_ucm_write()
1134 struct ib_ucm_file *file = filp->private_data; ib_ucm_poll()
1167 filp->private_data = file; ib_ucm_open()
1176 struct ib_ucm_file *file = filp->private_data; ib_ucm_close()
830 ib_ucm_send_private_data(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int (*func)(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len)) ib_ucm_send_private_data() argument
/linux-4.1.27/arch/mips/pmcs-msp71xx/
H A Dmsp_serial.c48 struct msp_uart_data *d = p->private_data; msp_serial_out()
66 struct msp_uart_data *d = p->private_data; msp_serial_handle_irq()
119 up.private_data = kzalloc(sizeof(struct msp_uart_data), GFP_KERNEL); msp_serial_setup()
120 if (!up.private_data) { msp_serial_setup()
125 kfree(up.private_data); msp_serial_setup()
149 up.private_data = (void*)UART1_STATUS_REG; msp_serial_setup()
151 kfree(up.private_data); msp_serial_setup()
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Ddivasi.c237 if (!file->private_data) { um_idi_read()
244 private_data))) um_idi_read()
256 ret = diva_um_idi_read(file->private_data, um_idi_read()
297 if (!(file->private_data = e)) { um_idi_open_adapter()
320 if (!file->private_data) { um_idi_write()
335 private_data))) um_idi_write()
350 ret = diva_um_idi_write(file->private_data, um_idi_write()
374 if (!file->private_data) { um_idi_poll()
380 diva_um_id_get_os_context(file->private_data))) um_idi_poll()
391 switch (diva_user_mode_idi_ind_ready(file->private_data, file)) { um_idi_poll()
414 if (!(file->private_data)) { um_idi_release()
420 (diva_um_idi_os_context_t *) diva_um_id_get_os_context(file->private_data))) { um_idi_release()
427 if ((ret = remove_entity(file->private_data))) { um_idi_release()
432 ((int) adapter_nr, file->private_data)) { um_idi_release()
H A Ddivamnt.c124 if (file->private_data || diva_dbg_q_length()) { maint_poll()
140 filep->private_data = NULL; maint_open()
149 if (filep->private_data) { maint_close()
150 diva_os_free(0, filep->private_data); maint_close()
151 filep->private_data = NULL; maint_close()
/linux-4.1.27/sound/soc/blackfin/
H A Dbf5xx-i2s-pcm.c66 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_hw_params()
87 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_prepare()
89 struct sport_device *sport = runtime->private_data; bf5xx_pcm_prepare()
115 struct sport_device *sport = runtime->private_data; bf5xx_pcm_trigger()
143 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_pointer()
145 struct sport_device *sport = runtime->private_data; bf5xx_pcm_pointer()
176 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_open()
205 runtime->private_data = sport_handle; bf5xx_pcm_open()
231 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_copy()
288 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_silence()
H A Dbf5xx-ac97-pcm.c59 struct sport_device *sport = runtime->private_data; bf5xx_mmap_copy()
85 struct sport_device *sport = runtime->private_data; bf5xx_dma_irq()
133 struct sport_device *sport = runtime->private_data; bf5xx_pcm_hw_free()
152 struct sport_device *sport = runtime->private_data; bf5xx_pcm_prepare()
184 struct sport_device *sport = runtime->private_data; bf5xx_pcm_trigger()
223 struct sport_device *sport = runtime->private_data; bf5xx_pcm_pointer()
244 struct snd_soc_pcm_runtime *rtd = substream->private_data; bf5xx_pcm_open()
259 runtime->private_data = sport_handle; bf5xx_pcm_open()
318 struct snd_soc_pcm_runtime *rtd = pcm->private_data; bf5xx_pcm_preallocate_dma_buffer()
328 buf->private_data = NULL; bf5xx_pcm_preallocate_dma_buffer()
384 struct snd_soc_pcm_runtime *rtd = pcm->private_data; bf5xx_pcm_free_dma_buffers()
H A Dbf5xx-i2s.c66 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_set_dai_fmt()
114 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_hw_params()
174 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_shutdown()
187 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_set_channel_map()
222 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_set_tdm_slot()
257 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_resume()
288 struct bf5xx_i2s_port *bf5xx_i2s = sport_handle->private_data; bf5xx_i2s_dai_probe()
/linux-4.1.27/sound/soc/intel/atom/
H A Dsst-mfld-platform-compress.c76 runtime->private_data = stream; sst_platform_compr_open()
88 stream = cstream->runtime->private_data; sst_platform_compr_free()
109 struct snd_soc_pcm_runtime *rtd = cstream->private_data; sst_platform_compr_set_params()
113 stream = cstream->runtime->private_data; sst_platform_compr_set_params()
179 struct sst_runtime_stream *stream = cstream->runtime->private_data; sst_platform_compr_trigger()
210 stream = cstream->runtime->private_data; sst_platform_compr_pointer()
223 stream = cstream->runtime->private_data; sst_platform_compr_ack()
234 cstream->runtime->private_data; sst_platform_compr_get_caps()
243 cstream->runtime->private_data; sst_platform_compr_get_codec_caps()
252 cstream->runtime->private_data; sst_platform_compr_set_metadata()
/linux-4.1.27/sound/soc/samsung/
H A Didma.c74 struct idma_ctrl *prtd = substream->runtime->private_data; idma_enqueue()
109 struct idma_ctrl *prtd = substream->runtime->private_data; idma_setcallbk()
141 struct idma_ctrl *prtd = substream->runtime->private_data; idma_done()
151 struct idma_ctrl *prtd = substream->runtime->private_data; idma_hw_params()
182 struct idma_ctrl *prtd = substream->runtime->private_data; idma_prepare()
195 struct idma_ctrl *prtd = substream->runtime->private_data; idma_trigger()
229 struct idma_ctrl *prtd = runtime->private_data; idma_pointer()
309 runtime->private_data = prtd; idma_open()
317 struct idma_ctrl *prtd = runtime->private_data; idma_close()
366 buf->private_data = NULL; preallocate_idma_buffer()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_fops.c45 f->private_data = mvdev; mic_open()
51 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; mic_release()
55 f->private_data = NULL; mic_release()
62 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; mic_ioctl()
139 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; mic_poll()
194 struct mic_vdev *mvdev = (struct mic_vdev *)f->private_data; mic_mmap()
/linux-4.1.27/sound/isa/msnd/
H A Dmsnd_midi.c62 mpu = substream->rmidi->private_data; snd_msndmidi_input_open()
77 mpu = substream->rmidi->private_data; snd_msndmidi_input_close()
104 mpu = substream->rmidi->private_data; snd_msndmidi_input_trigger()
153 struct snd_msndmidi *mpu = rmidi->private_data; snd_msndmidi_free()
159 struct snd_msnd *chip = card->private_data; snd_msndmidi_new()
174 rmidi->private_data = mpu; snd_msndmidi_new()
/linux-4.1.27/sound/isa/
H A Dadlib.c47 release_and_free_resource(card->private_data); snd_adlib_free()
62 card->private_data = request_region(port[n], 4, CRD_NAME); snd_adlib_probe()
63 if (!card->private_data) { snd_adlib_probe()
H A Dcmi8330.c177 void *private_data; /* sb or wss */ member in struct:snd_cmi8330::snd_cmi8330_stream
409 * substream->private_data with the corresponding chip instance
426 /* replace the private_data and call the original open callback */ snd_cmi8330_playback_open()
427 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; snd_cmi8330_playback_open()
435 /* replace the private_data and call the original open callback */ snd_cmi8330_capture_open()
436 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; snd_cmi8330_capture_open()
453 pcm->private_data = chip; snd_cmi8330_pcm()
460 chip->streams[CMI_SB_STREAM].private_data = chip->sb; snd_cmi8330_pcm()
467 chip->streams[CMI_AD_STREAM].private_data = chip->wss; snd_cmi8330_pcm()
484 struct snd_cmi8330 *acard = card->private_data; snd_cmi8330_suspend()
495 struct snd_cmi8330 *acard = card->private_data; snd_cmi8330_resume()
530 acard = card->private_data; snd_cmi8330_card_new()
542 acard = card->private_data; snd_cmi8330_probe()
704 if ((res = snd_cmi8330_pnp(dev, card->private_data, pcard, pid)) < 0) { snd_cmi8330_pnp_detect()
/linux-4.1.27/sound/pci/oxygen/
H A Dxonar_dg_mixer.c72 struct oxygen *chip = ctl->private_data; output_select_get()
84 struct oxygen *chip = ctl->private_data; output_select_put()
117 struct oxygen *chip = ctl->private_data; hp_stereo_volume_get()
133 struct oxygen *chip = ctl->private_data; hp_stereo_volume_put()
163 struct oxygen *chip = ctl->private_data; hp_mute_get()
176 struct oxygen *chip = ctl->private_data; hp_mute_put()
221 struct oxygen *chip = ctl->private_data; input_vol_get()
235 struct oxygen *chip = ctl->private_data; input_vol_put()
292 struct oxygen *chip = ctl->private_data; input_sel_get()
304 struct oxygen *chip = ctl->private_data; input_sel_put()
339 struct oxygen *chip = ctl->private_data; hpf_get()
349 struct oxygen *chip = ctl->private_data; hpf_put()
H A Doxygen_mixer.c31 struct oxygen *chip = ctl->private_data; dac_volume_info()
43 struct oxygen *chip = ctl->private_data; dac_volume_get()
56 struct oxygen *chip = ctl->private_data; dac_volume_put()
76 struct oxygen *chip = ctl->private_data; dac_mute_get()
87 struct oxygen *chip = ctl->private_data; dac_mute_put()
119 struct oxygen *chip = ctl->private_data; upmix_info()
127 struct oxygen *chip = ctl->private_data; upmix_get()
197 struct oxygen *chip = ctl->private_data; upmix_put()
216 struct oxygen *chip = ctl->private_data; spdif_switch_get()
291 struct oxygen *chip = ctl->private_data; spdif_switch_put()
349 struct oxygen *chip = ctl->private_data; spdif_default_get()
360 struct oxygen *chip = ctl->private_data; spdif_default_put()
389 struct oxygen *chip = ctl->private_data; spdif_pcm_get()
400 struct oxygen *chip = ctl->private_data; spdif_pcm_put()
429 struct oxygen *chip = ctl->private_data; spdif_input_default_get()
443 struct oxygen *chip = ctl->private_data; spdif_bit_switch_get()
454 struct oxygen *chip = ctl->private_data; spdif_bit_switch_put()
485 struct oxygen *chip = ctl->private_data; monitor_get()
497 struct oxygen *chip = ctl->private_data; monitor_put()
519 struct oxygen *chip = ctl->private_data; ac97_switch_get()
557 struct oxygen *chip = ctl->private_data; ac97_switch_put()
613 struct oxygen *chip = ctl->private_data; ac97_volume_get()
634 struct oxygen *chip = ctl->private_data; ac97_volume_put()
669 struct oxygen *chip = ctl->private_data; mic_fmic_source_get()
681 struct oxygen *chip = ctl->private_data; mic_fmic_source_put()
711 struct oxygen *chip = ctl->private_data; ac97_fp_rec_volume_get()
725 struct oxygen *chip = ctl->private_data; ac97_fp_rec_volume_put()
1033 struct oxygen *chip = ctl->private_data; oxygen_any_ctl_free()
/linux-4.1.27/drivers/ata/
H A Dpata_acpi.c39 struct pata_acpi *acpi = ap->private_data; pacpi_pre_reset()
55 struct pata_acpi *acpi = ap->private_data; pacpi_cable_detect()
74 struct pata_acpi *acpi = ap->private_data; pacpi_discover_modes()
101 struct pata_acpi *acpi = adev->link->ap->private_data; pacpi_mode_filter()
114 struct pata_acpi *acpi = ap->private_data; pacpi_set_piomode()
137 struct pata_acpi *acpi = ap->private_data; pacpi_set_dmamode()
170 struct pata_acpi *acpi = ap->private_data; pacpi_qc_issue()
199 acpi = ap->private_data = devm_kzalloc(&pdev->dev, sizeof(struct pata_acpi), GFP_KERNEL); pacpi_port_start()
200 if (ap->private_data == NULL) pacpi_port_start()
H A Dlibahci.c231 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_show_host_caps()
241 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_show_host_cap2()
251 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_show_host_version()
272 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_read_em_buffer()
328 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_store_em_buffer()
368 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_show_em_supported()
529 struct ahci_host_priv *hpriv = host->private_data; ahci_restore_initial_config()
548 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_scr_offset()
621 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_start_fis_rx()
622 struct ahci_port_priv *pp = ap->private_data; ahci_start_fis_rx()
667 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_power_up()
687 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_set_lpm()
688 struct ahci_port_priv *pp = ap->private_data; ahci_set_lpm()
749 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_power_down()
770 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_start_port()
771 struct ahci_port_priv *pp = ap->private_data; ahci_start_port()
839 struct ahci_host_priv *hpriv = host->private_data; ahci_reset_controller()
888 struct ahci_port_priv *pp = ap->private_data; ahci_sw_activity()
903 struct ahci_port_priv *pp = ap->private_data; ahci_sw_activity_blink()
946 struct ahci_port_priv *pp = ap->private_data; ahci_init_sw_activity()
960 struct ahci_host_priv *hpriv = host->private_data; ahci_reset_em()
976 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_transmit_led_message()
977 struct ahci_port_priv *pp = ap->private_data; ahci_transmit_led_message()
1033 struct ahci_port_priv *pp = ap->private_data; ahci_led_show()
1050 struct ahci_port_priv *pp = ap->private_data; ahci_led_store()
1077 struct ahci_port_priv *pp = ap->private_data; ahci_activity_store()
1108 struct ahci_port_priv *pp = ap->private_data; ahci_activity_show()
1146 struct ahci_host_priv *hpriv = host->private_data; ahci_init_controller()
1172 struct ahci_host_priv *hpriv = dev->link->ap->host->private_data; ahci_dev_config()
1214 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_kick_engine()
1261 struct ahci_port_priv *pp = ap->private_data; ahci_exec_polled_cmd()
1291 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_do_softreset()
1292 struct ahci_port_priv *pp = ap->private_data; ahci_do_softreset()
1442 struct ahci_port_priv *pp = ap->private_data; ahci_hardreset()
1443 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_hardreset()
1516 struct ahci_port_priv *pp = ap->private_data; ahci_pmp_qc_defer()
1527 struct ahci_port_priv *pp = ap->private_data; ahci_qc_prep()
1564 struct ahci_port_priv *pp = ap->private_data; ahci_fbs_dec_intr()
1588 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_error_intr()
1589 struct ahci_port_priv *pp = ap->private_data; ahci_error_intr()
1701 struct ahci_port_priv *pp = ap->private_data; ahci_handle_port_interrupt()
1702 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_handle_port_interrupt()
1795 struct ahci_port_priv *pp = ap->private_data; ahci_port_thread_fn()
1814 struct ahci_port_priv *pp = ap->private_data; ahci_multi_irqs_intr()
1839 hpriv = host->private_data; ahci_single_irq_intr()
1893 struct ahci_port_priv *pp = ap->private_data; ahci_qc_issue()
1922 struct ahci_port_priv *pp = qc->ap->private_data; ahci_qc_fill_rtf()
1954 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_thaw()
1958 struct ahci_port_priv *pp = ap->private_data; ahci_thaw()
1971 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_error_handler()
1997 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_set_aggressive_devslp()
2073 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_enable_fbs()
2074 struct ahci_port_priv *pp = ap->private_data; ahci_enable_fbs()
2107 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_disable_fbs()
2108 struct ahci_port_priv *pp = ap->private_data; ahci_disable_fbs()
2141 struct ahci_port_priv *pp = ap->private_data; ahci_pmp_attach()
2167 struct ahci_port_priv *pp = ap->private_data; ahci_pmp_detach()
2217 struct ahci_host_priv *hpriv = ap->host->private_data; ahci_port_start()
2306 ap->private_data = pp; ahci_port_start()
2325 struct ahci_host_priv *hpriv = host->private_data; ahci_print_info()
2431 struct ahci_port_priv *pp = host->ports[i]->private_data; ahci_host_activate_multi_irqs()
2484 struct ahci_host_priv *hpriv = host->private_data; ahci_host_activate()
H A Dpata_imx.c47 struct pata_imx_priv *priv = ap->host->private_data; pata_imx_set_mode()
127 host->private_data = priv; pata_imx_probe()
177 struct pata_imx_priv *priv = host->private_data; pata_imx_remove()
192 struct pata_imx_priv *priv = host->private_data; pata_imx_suspend()
209 struct pata_imx_priv *priv = host->private_data; pata_imx_resume()
H A Dsata_nv.c546 .private_data = NV_PI_PRIV(nv_generic_interrupt, &nv_sht),
555 .private_data = NV_PI_PRIV(nv_nf2_interrupt, &nv_sht),
564 .private_data = NV_PI_PRIV(nv_ck804_interrupt, &nv_sht),
573 .private_data = NV_PI_PRIV(nv_adma_interrupt, &nv_adma_sht),
582 .private_data = NV_PI_PRIV(nv_generic_interrupt, &nv_sht),
591 .private_data = NV_PI_PRIV(nv_swncq_interrupt, &nv_swncq_sht),
607 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_register_mode()
645 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_mode()
676 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_slave_config()
737 port0 = ap->host->ports[0]->private_data; nv_adma_slave_config()
738 port1 = ap->host->ports[1]->private_data; nv_adma_slave_config()
785 struct nv_adma_port_priv *pp = qc->ap->private_data; nv_adma_check_atapi_dma()
837 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_check_cpb()
914 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_interrupt()
1029 struct nv_adma_port_priv *pp = host->ports[0]->private_data; nv_adma_interrupt()
1031 pp = host->ports[1]->private_data; nv_adma_interrupt()
1042 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_freeze()
1064 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_thaw()
1082 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_irq_clear()
1107 pp = ap->host->ports[0]->private_data; nv_adma_irq_clear()
1109 pp = ap->host->ports[1]->private_data; nv_adma_irq_clear()
1115 struct nv_adma_port_priv *pp = qc->ap->private_data; nv_adma_post_internal_cmd()
1194 ap->private_data = pp; nv_adma_port_start()
1222 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_port_stop()
1232 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_port_suspend()
1249 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_port_resume()
1350 struct nv_adma_port_priv *pp = qc->ap->private_data; nv_adma_fill_sg()
1370 struct nv_adma_port_priv *pp = qc->ap->private_data; nv_adma_use_reg_mode()
1387 struct nv_adma_port_priv *pp = qc->ap->private_data; nv_adma_qc_prep()
1433 struct nv_adma_port_priv *pp = qc->ap->private_data; nv_adma_qc_issue()
1672 struct nv_adma_port_priv *pp = ap->private_data; nv_adma_error_handler()
1728 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_qc_to_dq()
1739 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_qc_from_dq()
1756 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_fis_reinit()
1766 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_pp_reinit()
1779 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_irq_clear()
1794 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_ncq_stop()
1984 ap->private_data = pp; nv_swncq_port_start()
2009 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_fill_sg()
2044 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_issue_atacmd()
2068 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_qc_issue()
2111 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_sdbfis()
2183 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_tag()
2196 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_dmafis()
2224 struct nv_swncq_port_priv *pp = ap->private_data; nv_swncq_host_interrupt()
2387 ipriv = ppi[0]->private_data; nv_init_one()
2396 host->private_data = hpriv; nv_init_one()
2438 struct nv_host_priv *hpriv = host->private_data; nv_pci_device_resume()
2459 pp = host->ports[0]->private_data; nv_pci_device_resume()
2466 pp = host->ports[1]->private_data; nv_pci_device_resume()
H A Dpata_rb532_cf.c60 struct rb532_cf_info *info = ah->private_data; rb532_pata_irq_handler()
87 struct rb532_cf_info *info = ah->private_data; rb532_pata_setup_ports()
149 ah->private_data = info; rb532_pata_driver_probe()
183 struct rb532_cf_info *info = ah->private_data; rb532_pata_driver_remove()
H A Dpata_pxa.c62 struct pata_pxa_data *pd = qc->ap->private_data; pxa_load_dmac()
107 struct pata_pxa_data *pd = qc->ap->private_data; pxa_qc_prep()
146 struct pata_pxa_data *pd = qc->ap->private_data; pxa_bmdma_start()
156 struct pata_pxa_data *pd = qc->ap->private_data; pxa_bmdma_stop()
171 struct pata_pxa_data *pd = ap->private_data; pxa_bmdma_status()
222 struct pata_pxa_data *pd = ap->private_data; pxa_ata_dma_irq()
335 ap->private_data = data; pxa_ata_probe()
374 struct pata_pxa_data *data = host->ports[0]->private_data; pxa_ata_remove()
H A Dsata_fsl.c296 struct sata_fsl_host_priv *host_priv = host->private_data; fsl_sata_set_irq_coalescing()
356 struct sata_fsl_host_priv *host_priv = host->private_data; fsl_sata_rx_watermark_show()
374 struct sata_fsl_host_priv *host_priv = host->private_data; fsl_sata_rx_watermark_store()
518 struct sata_fsl_port_priv *pp = ap->private_data; sata_fsl_qc_prep()
519 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_qc_prep()
566 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_qc_issue()
594 struct sata_fsl_port_priv *pp = qc->ap->private_data; sata_fsl_qc_fill_rtf()
595 struct sata_fsl_host_priv *host_priv = qc->ap->host->private_data; sata_fsl_qc_fill_rtf()
609 struct sata_fsl_host_priv *host_priv = link->ap->host->private_data; sata_fsl_scr_write()
633 struct sata_fsl_host_priv *host_priv = link->ap->host->private_data; sata_fsl_scr_read()
656 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_freeze()
677 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_thaw()
699 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_pmp_attach()
709 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_pmp_detach()
729 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_port_start()
753 ap->private_data = pp; sata_fsl_port_start()
782 struct sata_fsl_port_priv *pp = ap->private_data; sata_fsl_port_stop()
783 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_port_stop()
798 ap->private_data = NULL; sata_fsl_port_stop()
807 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_dev_classify()
830 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_hardreset()
943 struct sata_fsl_port_priv *pp = ap->private_data; sata_fsl_softreset()
944 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_softreset()
1088 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_error_intr()
1214 struct sata_fsl_host_priv *host_priv = ap->host->private_data; sata_fsl_host_intr()
1317 struct sata_fsl_host_priv *host_priv = host->private_data; sata_fsl_interrupt()
1357 struct sata_fsl_host_priv *host_priv = host->private_data; sata_fsl_init_controller()
1512 host->private_data = host_priv; sata_fsl_probe()
1564 struct sata_fsl_host_priv *host_priv = host->private_data; sata_fsl_remove()
1588 struct sata_fsl_host_priv *host_priv = host->private_data; sata_fsl_resume()
1592 struct sata_fsl_port_priv *pp = ap->private_data; sata_fsl_resume()
H A Dpata_icside.c189 struct pata_icside_state *state = ap->host->private_data; pata_icside_set_dmamode()
222 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_setup()
247 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_start()
256 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_stop()
266 struct pata_icside_state *state = ap->host->private_data; pata_icside_bmdma_status()
304 struct pata_icside_state *state = ap->host->private_data; pata_icside_postreset()
458 host->private_data = info->state; pata_icside_add_ports()
571 struct pata_icside_state *state = host->private_data; pata_icside_shutdown()
580 struct pata_icside_state *state = host->private_data; pata_icside_remove()
H A Dpata_ep93xx.c332 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_set_piomode()
359 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_check_status()
366 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_check_altstatus()
375 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_tf_load()
416 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_tf_read()
448 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_exec_command()
458 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_dev_select()
471 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_set_devctl()
482 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_data_xfer()
522 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_device_is_present()
551 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_wait_after_reset()
614 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_bus_softreset()
704 struct ep93xx_pata_data *drv_data = qc->ap->host->private_data; ep93xx_pata_dma_start()
744 struct ep93xx_pata_data *drv_data = qc->ap->host->private_data; ep93xx_pata_dma_stop()
772 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_dma_status()
851 drv_data = ap->host->private_data; ep93xx_pata_drain_fifo()
865 struct ep93xx_pata_data *drv_data = ap->host->private_data; ep93xx_pata_port_start()
963 host->private_data = drv_data; ep93xx_pata_probe()
1012 struct ep93xx_pata_data *drv_data = host->private_data; ep93xx_pata_remove()
H A Dahci_st.c92 struct ahci_host_priv *hpriv = host->private_data; st_ahci_host_stop()
187 struct ahci_host_priv *hpriv = host->private_data; st_ahci_suspend()
211 struct ahci_host_priv *hpriv = host->private_data; st_ahci_resume()
/linux-4.1.27/sound/isa/gus/
H A Dgus_mem_proc.c39 struct gus_proc_private *priv = entry->private_data; snd_gf1_mem_proc_dump()
51 struct gus_proc_private *priv = entry->private_data; snd_gf1_mem_proc_free()
75 entry->private_data = priv; snd_gf1_mem_proc_init()
93 entry->private_data = priv; snd_gf1_mem_proc_init()
H A Dgus_uart.c97 gus = substream->rmidi->private_data; snd_gf1_uart_output_open()
117 gus = substream->rmidi->private_data; snd_gf1_uart_input_open()
149 gus = substream->rmidi->private_data; snd_gf1_uart_output_close()
164 gus = substream->rmidi->private_data; snd_gf1_uart_input_close()
179 gus = substream->rmidi->private_data; snd_gf1_uart_input_trigger()
199 gus = substream->rmidi->private_data; snd_gf1_uart_output_trigger()
255 rmidi->private_data = gus; snd_gf1_rawmidi_new()
H A Dgus_timer.c146 struct snd_gus_card *gus = timer->private_data; snd_gf1_timer1_free()
152 struct snd_gus_card *gus = timer->private_data; snd_gf1_timer2_free()
175 timer->private_data = gus; snd_gf1_timers_init()
185 timer->private_data = gus; snd_gf1_timers_init()
H A Dgus_pcm.c64 static void snd_gf1_pcm_block_change_ack(struct snd_gus_card * gus, void *private_data) snd_gf1_pcm_block_change_ack() argument
66 struct gus_pcm_private *pcmp = private_data; snd_gf1_pcm_block_change_ack()
81 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_block_change()
99 block.private_data = pcmp; snd_gf1_pcm_block_change()
109 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_trigger_up()
195 if (!pvoice->private_data) { snd_gf1_pcm_interrupt_wave()
200 pcmp = pvoice->private_data; snd_gf1_pcm_interrupt_wave()
276 struct gus_pcm_private *pcmp = pvoice->private_data; snd_gf1_pcm_interrupt_volume()
363 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_copy()
394 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_silence()
423 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_hw_params()
449 pcmp->pvoices[0]->private_data = pcmp; snd_gf1_pcm_playback_hw_params()
457 pcmp->pvoices[1]->private_data = pcmp; snd_gf1_pcm_playback_hw_params()
470 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_hw_free()
491 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_prepare()
505 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_trigger()
530 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_pointer()
674 kfree(runtime->private_data); snd_gf1_pcm_playback_free()
692 runtime->private_data = pcmp; snd_gf1_pcm_playback_open()
714 struct gus_pcm_private *pcmp = runtime->private_data; snd_gf1_pcm_playback_close()
794 pcmp = pvoice->private_data; snd_gf1_pcm_volume_put()
870 pcm->private_data = gus; snd_gf1_pcm_new()
/linux-4.1.27/sound/isa/sb/
H A Dsb8_midi.c69 chip = substream->rmidi->private_data; snd_sb8dsp_midi_input_open()
96 chip = substream->rmidi->private_data; snd_sb8dsp_midi_output_open()
122 chip = substream->rmidi->private_data; snd_sb8dsp_midi_input_close()
140 chip = substream->rmidi->private_data; snd_sb8dsp_midi_output_close()
158 chip = substream->rmidi->private_data; snd_sb8dsp_midi_input_trigger()
184 chip = substream->rmidi->private_data; snd_sb8dsp_midi_output_write()
215 struct snd_sb * chip = substream->rmidi->private_data; snd_sb8dsp_midi_output_timer()
229 chip = substream->rmidi->private_data; snd_sb8dsp_midi_output_trigger()
277 rmidi->private_data = chip; snd_sb8dsp_midi()
H A Demu8000_pcm.c239 runtime->private_data = rec; emu8k_pcm_open()
257 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_close()
259 subs->runtime->private_data = NULL; emu8k_pcm_close()
386 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_trigger()
447 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy()
484 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_silence()
513 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_copy()
545 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_silence()
571 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_hw_params()
595 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_hw_free()
613 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_prepare()
659 struct snd_emu8k_pcm *rec = subs->runtime->private_data; emu8k_pcm_pointer()
682 struct snd_emu8000 *emu = pcm->private_data; snd_emu8000_pcm_free()
693 pcm->private_data = emu; snd_emu8000_pcm_new()
/linux-4.1.27/sound/isa/wavefront/
H A Dwavefront_midi.c107 if (card->private_data == NULL) get_wavefront_midi()
110 acard = card->private_data; get_wavefront_midi()
240 if (snd_BUG_ON(!substream->rmidi->private_data)) snd_wavefront_midi_input_open()
243 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); snd_wavefront_midi_input_open()
264 if (snd_BUG_ON(!substream->rmidi->private_data)) snd_wavefront_midi_output_open()
267 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); snd_wavefront_midi_output_open()
288 if (snd_BUG_ON(!substream->rmidi->private_data)) snd_wavefront_midi_input_close()
291 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); snd_wavefront_midi_input_close()
311 if (snd_BUG_ON(!substream->rmidi->private_data)) snd_wavefront_midi_output_close()
314 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); snd_wavefront_midi_output_close()
334 if (substream->rmidi->private_data == NULL) snd_wavefront_midi_input_trigger()
337 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); snd_wavefront_midi_input_trigger()
373 if (substream->rmidi->private_data == NULL) snd_wavefront_midi_output_trigger()
376 mpu = *((snd_wavefront_mpu_id *) substream->rmidi->private_data); snd_wavefront_midi_output_trigger()
388 (unsigned long) substream->rmidi->card->private_data); snd_wavefront_midi_output_trigger()
400 snd_wavefront_midi_output_write((snd_wavefront_card_t *)substream->rmidi->card->private_data); snd_wavefront_midi_output_trigger()
/linux-4.1.27/sound/pci/emu10k1/
H A Demuproc.c187 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_read()
241 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_spdif_read()
281 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_rates_read()
296 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_acode_read()
340 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_fx8010_read()
381 struct snd_emu10k1 *emu = entry->private_data; snd_emu10k1_proc_voices_read()
402 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_emu1010_reg_read()
416 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_io_reg_read()
432 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_io_reg_write()
485 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_read()
509 struct snd_emu10k1 *emu = entry->private_data; snd_emu_proc_ptr_reg_write()
625 entry->private_data = emu; snd_emu10k1_proc_init()
632 entry->private_data = emu; snd_emu10k1_proc_init()
639 entry->private_data = emu; snd_emu10k1_proc_init()
646 entry->private_data = emu; snd_emu10k1_proc_init()
653 entry->private_data = emu; snd_emu10k1_proc_init()
H A Demu10k1_synth_local.h28 int snd_emu10k1_sample_new(struct snd_emux *private_data,
32 int snd_emu10k1_sample_free(struct snd_emux *private_data,
H A Demumpu401.c159 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; snd_emu10k1_midi_input_open()
186 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; snd_emu10k1_midi_output_open()
213 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; snd_emu10k1_midi_input_close()
236 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; snd_emu10k1_midi_output_close()
259 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; snd_emu10k1_midi_input_trigger()
273 struct snd_emu10k1_midi *midi = (struct snd_emu10k1_midi *)substream->rmidi->private_data; snd_emu10k1_midi_output_trigger()
327 struct snd_emu10k1_midi *midi = rmidi->private_data; snd_emu10k1_midi_free()
349 rmidi->private_data = midi; emu10k1_midi_init()
H A Demu10k1x.c360 kfree(runtime->private_data); snd_emu10k1x_pcm_free_substream()
401 runtime->private_data = epcm; snd_emu10k1x_playback_open()
420 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_hw_params()
438 if (runtime->private_data == NULL) snd_emu10k1x_pcm_hw_free()
441 epcm = runtime->private_data; snd_emu10k1x_pcm_hw_free()
457 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_prepare()
487 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_trigger()
524 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_pointer()
582 runtime->private_data = epcm; snd_emu10k1x_pcm_open_capture()
601 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_hw_params_capture()
622 if (runtime->private_data == NULL) snd_emu10k1x_pcm_hw_free_capture()
624 epcm = runtime->private_data; snd_emu10k1x_pcm_hw_free_capture()
655 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_trigger_capture()
684 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_pointer_capture()
711 struct emu10k1x *emu = ac97->private_data; snd_emu10k1x_ac97_read()
725 struct emu10k1x *emu = ac97->private_data; snd_emu10k1x_ac97_write()
749 ac97.private_data = chip; snd_emu10k1x_ac97()
863 pcm->private_data = emu; snd_emu10k1x_pcm()
1025 struct emu10k1x *emu = entry->private_data; snd_emu10k1x_proc_reg_read()
1053 struct emu10k1x *emu = entry->private_data; snd_emu10k1x_proc_reg_write()
1074 entry->private_data = emu; snd_emu10k1x_proc_init()
1337 struct emu10k1x_midi *midi = substream->rmidi->private_data; snd_emu10k1x_midi_input_open()
1364 struct emu10k1x_midi *midi = substream->rmidi->private_data; snd_emu10k1x_midi_output_open()
1391 struct emu10k1x_midi *midi = substream->rmidi->private_data; snd_emu10k1x_midi_input_close()
1414 struct emu10k1x_midi *midi = substream->rmidi->private_data; snd_emu10k1x_midi_output_close()
1437 struct emu10k1x_midi *midi = substream->rmidi->private_data; snd_emu10k1x_midi_input_trigger()
1451 struct emu10k1x_midi *midi = substream->rmidi->private_data; snd_emu10k1x_midi_output_trigger()
1505 struct emu10k1x_midi *midi = rmidi->private_data; snd_emu10k1x_midi_free()
1529 rmidi->private_data = midi; emu10k1x_midi_init()
H A Demupcm.c96 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_pointer()
413 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_hw_params()
442 if (runtime->private_data == NULL) snd_emu10k1_playback_hw_free()
444 epcm = runtime->private_data; snd_emu10k1_playback_hw_free()
473 if (runtime->private_data == NULL) snd_emu10k1_efx_playback_hw_free()
475 epcm = runtime->private_data; snd_emu10k1_efx_playback_hw_free()
499 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_prepare()
527 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_prepare()
594 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_prepare()
760 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_trigger()
809 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_trigger()
877 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_pointer()
911 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_trigger()
961 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_pointer()
1079 kfree(runtime->private_data); snd_emu10k1_pcm_free_substream()
1113 runtime->private_data = epcm; snd_emu10k1_efx_playback_open()
1143 runtime->private_data = epcm; snd_emu10k1_playback_open()
1202 runtime->private_data = epcm; snd_emu10k1_capture_open()
1238 substream->runtime->private_data = epcm; snd_emu10k1_capture_mic_open()
1278 substream->runtime->private_data = epcm; snd_emu10k1_capture_efx_open()
1412 pcm->private_data = emu; snd_emu10k1_pcm()
1441 pcm->private_data = emu; snd_emu10k1_pcm_multi()
1477 pcm->private_data = emu; snd_emu10k1_pcm_mic()
1570 static void snd_emu10k1_fx8010_playback_irq(struct snd_emu10k1 *emu, void *private_data) snd_emu10k1_fx8010_playback_irq() argument
1572 struct snd_pcm_substream *substream = private_data; snd_emu10k1_fx8010_playback_irq()
1815 pcm->private_data = emu; snd_emu10k1_pcm_efx()
/linux-4.1.27/sound/usb/caiaq/
H A Dmidi.c41 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; snd_usb_caiaq_midi_input_trigger()
57 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; snd_usb_caiaq_midi_output_close()
93 struct snd_usb_caiaqdev *cdev = substream->rmidi->private_data; snd_usb_caiaq_midi_output_trigger()
144 rmidi->private_data = device; snd_usb_caiaq_midi_init()
/linux-4.1.27/drivers/usb/misc/
H A Duss720.c222 priv = pp->private_data; get_1284_register()
254 priv = pp->private_data; set_1284_register()
277 struct parport_uss720_private *priv = pp->private_data; change_mode()
341 struct parport_uss720_private *priv = pp->private_data;
369 struct parport_uss720_private *priv = pp->private_data; parport_uss720_write_control()
379 struct parport_uss720_private *priv = pp->private_data; parport_uss720_read_control()
385 struct parport_uss720_private *priv = pp->private_data; parport_uss720_frob_control()
408 struct parport_uss720_private *priv = pp->private_data; parport_uss720_disable_irq()
419 struct parport_uss720_private *priv = pp->private_data; parport_uss720_enable_irq()
430 struct parport_uss720_private *priv = pp->private_data; parport_uss720_data_forward()
441 struct parport_uss720_private *priv = pp->private_data; parport_uss720_data_reverse()
458 struct parport_uss720_private *priv = pp->private_data; parport_uss720_save_state()
470 struct parport_uss720_private *priv = pp->private_data; parport_uss720_restore_state()
481 struct parport_uss720_private *priv = pp->private_data; parport_uss720_epp_read_data()
502 struct parport_uss720_private *priv = pp->private_data; parport_uss720_epp_write_data()
521 struct parport_uss720_private *priv = pp->private_data; parport_uss720_epp_write_data()
540 struct parport_uss720_private *priv = pp->private_data; parport_uss720_epp_read_addr()
560 struct parport_uss720_private *priv = pp->private_data; parport_uss720_epp_write_addr()
582 struct parport_uss720_private *priv = pp->private_data; parport_uss720_ecp_write_data()
600 struct parport_uss720_private *priv = pp->private_data; parport_uss720_ecp_read_data()
633 struct parport_uss720_private *priv = pp->private_data; parport_uss720_write_compat()
732 pp->private_data = priv; uss720_probe()
766 priv = pp->private_data; uss720_disconnect()
/linux-4.1.27/sound/firewire/
H A Disight.c266 struct isight *isight = substream->private_data; isight_open()
278 struct isight *isight = substream->private_data; isight_close()
288 struct isight *isight = substream->private_data; isight_hw_params()
332 struct isight *isight = substream->private_data; isight_hw_free()
408 struct isight *isight = substream->private_data; isight_prepare()
423 struct isight *isight = substream->private_data; isight_trigger()
440 struct isight *isight = substream->private_data; isight_pointer()
465 pcm->private_data = isight; isight_create_pcm()
476 struct isight *isight = ctl->private_data; isight_gain_info()
489 struct isight *isight = ctl->private_data; isight_gain_get()
505 struct isight *isight = ctl->private_data; isight_gain_put()
518 struct isight *isight = ctl->private_data; isight_mute_get()
534 struct isight *isight = ctl->private_data; isight_mute_put()
601 struct isight *isight = card->private_data; isight_card_free()
633 isight = card->private_data; isight_probe()
H A Dscs1x.c59 struct scs *scs = stream->rmidi->private_data; scs_output_open()
75 struct scs *scs = stream->rmidi->private_data; scs_output_trigger()
230 struct scs *scs = stream->rmidi->private_data; scs_output_drain()
244 struct scs *scs = stream->rmidi->private_data; scs_input_open()
258 struct scs *scs = stream->rmidi->private_data; scs_input_trigger()
330 rmidi->private_data = scs; scs_create_midi()
381 struct scs *scs = card->private_data; scs_card_free()
399 scs = card->private_data; scs_probe()
/linux-4.1.27/sound/soc/fsl/
H A Dfsl_asrc_dma.c52 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_complete()
64 struct snd_soc_pcm_runtime *rtd = substream->private_data; fsl_asrc_dma_prepare_and_submit()
66 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_prepare_and_submit()
106 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_trigger()
136 struct snd_soc_pcm_runtime *rtd = substream->private_data; fsl_asrc_dma_hw_params()
141 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_params()
257 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_hw_free()
275 struct snd_soc_pcm_runtime *rtd = substream->private_data; fsl_asrc_dma_startup()
289 runtime->private_data = pair; fsl_asrc_dma_startup()
301 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_shutdown()
320 struct fsl_asrc_pair *pair = runtime->private_data; fsl_asrc_dma_pcm_pointer()
H A Dimx-pcm-fiq.c81 struct imx_pcm_runtime_data *iprtd = runtime->private_data; snd_imx_pcm_hw_params()
96 struct imx_pcm_runtime_data *iprtd = runtime->private_data; snd_imx_pcm_prepare()
115 struct imx_pcm_runtime_data *iprtd = runtime->private_data; snd_imx_pcm_trigger()
152 struct imx_pcm_runtime_data *iprtd = runtime->private_data; snd_imx_pcm_pointer()
182 runtime->private_data = iprtd; snd_imx_open()
205 struct imx_pcm_runtime_data *iprtd = runtime->private_data; snd_imx_close()
249 buf->private_data = NULL; imx_pcm_preallocate_dma_buffer()
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c143 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_querycap()
167 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_std()
180 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_std()
189 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_querystd()
202 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_enum_input()
250 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_input()
272 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_input()
324 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_tuner()
336 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_tuner()
349 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_frequency()
382 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_frequency()
424 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_fmt_vid_cap()
444 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_try_fmt_vid_cap()
482 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_fmt_vid_cap()
498 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_streamon()
517 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_streamoff()
532 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_queryctrl()
590 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_querymenu()
605 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_ctrl()
618 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_ctrl()
628 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_ext_ctrls()
655 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_ext_ctrls()
678 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_try_ext_ctrls()
699 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_cropcap()
712 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_g_crop()
744 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_s_crop()
775 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_log_status()
899 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_v4l2_ioctl()
935 struct pvr2_v4l2_fh *fhp = file->private_data; pvr2_v4l2_release()
952 file->private_data = NULL; pvr2_v4l2_release()
1051 file->private_data = fhp; pvr2_v4l2_open()
1104 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_v4l2_read()
1166 struct pvr2_v4l2_fh *fh = file->private_data; pvr2_v4l2_poll()
/linux-4.1.27/arch/um/drivers/
H A Dhostaudio_kern.c73 struct hostaudio_state *state = file->private_data; hostaudio_read()
100 struct hostaudio_state *state = file->private_data; hostaudio_write()
141 struct hostaudio_state *state = file->private_data; hostaudio_ioctl()
213 file->private_data = state; hostaudio_open()
219 struct hostaudio_state *state = file->private_data; hostaudio_release()
235 struct hostmixer_state *state = file->private_data; hostmixer_ioctl_mixdev()
278 file->private_data = state; hostmixer_open_mixdev()
284 struct hostmixer_state *state = file->private_data; hostmixer_release()
/linux-4.1.27/drivers/vhost/
H A Dtest.c47 private = vq->private_data; handle_vq()
121 f->private_data = n; vhost_test_open()
132 private = vq->private_data; vhost_test_stop_vq()
133 vq->private_data = NULL; vhost_test_stop_vq()
155 struct vhost_test *n = f->private_data; vhost_test_release()
196 oldpriv = vq->private_data; vhost_test_run()
197 vq->private_data = priv; vhost_test_run()
263 struct vhost_test *n = f->private_data; vhost_test_ioctl()
/linux-4.1.27/fs/ext3/
H A Dfile.c45 if (is_dx(inode) && filp->private_data) ext3_release_file()
46 ext3_htree_free_dir_info(filp->private_data); ext3_release_file()
/linux-4.1.27/sound/pci/ca0106/
H A Dca_midi.c125 struct snd_ca_midi *midi = substream->rmidi->private_data; ca_midi_input_open()
145 struct snd_ca_midi *midi = substream->rmidi->private_data; ca_midi_output_open()
165 struct snd_ca_midi *midi = substream->rmidi->private_data; ca_midi_input_close()
185 struct snd_ca_midi *midi = substream->rmidi->private_data; ca_midi_output_close()
208 struct snd_ca_midi *midi = substream->rmidi->private_data; ca_midi_input_trigger()
222 struct snd_ca_midi *midi = substream->rmidi->private_data; ca_midi_output_trigger()
286 ca_midi_free(rmidi->private_data); ca_rmidi_free()
310 rmidi->private_data = midi; ca_midi_init()
H A Dca0106_proc.c277 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_iec958()
299 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_write32()
317 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_read32()
333 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_read16()
349 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_read8()
365 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_read1()
383 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_read2()
401 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_reg_write()
415 struct snd_ca0106 *emu = entry->private_data; snd_ca0106_proc_i2c_write()
449 entry->private_data = emu; snd_ca0106_proc_init()
/linux-4.1.27/sound/soc/nuc900/
H A Dnuc900-pcm.c51 struct nuc900_audio *nuc900_audio = runtime->private_data; nuc900_update_dma_register()
69 struct nuc900_audio *nuc900_audio = runtime->private_data; nuc900_dma_start()
80 struct nuc900_audio *nuc900_audio = runtime->private_data; nuc900_dma_stop()
91 struct nuc900_audio *nuc900_audio = substream->runtime->private_data; nuc900_dma_interrupt()
148 struct nuc900_audio *nuc900_audio = runtime->private_data; nuc900_dma_prepare()
210 struct nuc900_audio *nuc900_audio = runtime->private_data; nuc900_dma_getposition()
250 runtime->private_data = nuc900_audio; nuc900_dma_open()
258 struct nuc900_audio *nuc900_audio = runtime->private_data; nuc900_dma_close()
/linux-4.1.27/drivers/misc/ibmasm/
H A Dibmasmfs.c249 file->private_data = command_data; command_file_open()
255 struct ibmasmfs_command_data *command_data = file->private_data; command_file_close()
266 struct ibmasmfs_command_data *command_data = file->private_data; command_file_read()
303 struct ibmasmfs_command_data *command_data = file->private_data; command_file_write()
360 file->private_data = event_data; event_file_open()
366 struct ibmasmfs_event_data *event_data = file->private_data; event_file_close()
375 struct ibmasmfs_event_data *event_data = file->private_data; event_file_read()
418 struct ibmasmfs_event_data *event_data = file->private_data; event_file_write()
445 file->private_data = rhbeat; r_heartbeat_file_open()
451 struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; r_heartbeat_file_close()
459 struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; r_heartbeat_file_read()
487 struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; r_heartbeat_file_write()
509 void __iomem *address = (void __iomem *)file->private_data; remote_settings_file_read()
543 void __iomem *address = (void __iomem *)file->private_data; remote_settings_file_write()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm-dev.c81 file->private_data = priv; tpm_open()
89 struct file_priv *priv = file->private_data; tpm_read()
118 struct file_priv *priv = file->private_data; tpm_write()
162 struct file_priv *priv = file->private_data; tpm_release()
166 file->private_data = NULL; tpm_release()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Ddebug.c235 struct il_priv *il = file->private_data; il_dbgfs_tx_stats_read()
275 struct il_priv *il = file->private_data; il_dbgfs_clear_traffic_stats_write()
296 struct il_priv *il = file->private_data; il_dbgfs_rx_stats_read()
344 struct il_priv *il = file->private_data; il_dbgfs_sram_read()
398 struct il_priv *il = file->private_data; il_dbgfs_sram_write()
423 struct il_priv *il = file->private_data; il_dbgfs_stations_read()
488 struct il_priv *il = file->private_data; il_dbgfs_nvm_read()
535 struct il_priv *il = file->private_data; il_dbgfs_channels_read()
615 struct il_priv *il = file->private_data; il_dbgfs_status_read()
676 struct il_priv *il = file->private_data; il_dbgfs_interrupt_read()
754 struct il_priv *il = file->private_data; il_dbgfs_interrupt_write()
775 struct il_priv *il = file->private_data; il_dbgfs_qos_read()
800 struct il_priv *il = file->private_data; il_dbgfs_disable_ht40_write()
826 struct il_priv *il = file->private_data; il_dbgfs_disable_ht40_read()
851 struct il_priv *il = file->private_data; il_dbgfs_tx_queue_read()
898 struct il_priv *il = file->private_data; il_dbgfs_rx_queue_read()
926 struct il_priv *il = file->private_data; il_dbgfs_ucode_rx_stats_read()
935 struct il_priv *il = file->private_data; il_dbgfs_ucode_tx_stats_read()
944 struct il_priv *il = file->private_data; il_dbgfs_ucode_general_stats_read()
954 struct il_priv *il = file->private_data; il_dbgfs_sensitivity_read()
1053 struct il_priv *il = file->private_data; il_dbgfs_chain_noise_read()
1123 struct il_priv *il = file->private_data; il_dbgfs_power_save_status_read()
1148 struct il_priv *il = file->private_data; il_dbgfs_clear_ucode_stats_write()
1173 struct il_priv *il = file->private_data; il_dbgfs_rxon_flags_read()
1186 struct il_priv *il = file->private_data; il_dbgfs_rxon_filter_flags_read()
1199 struct il_priv *il = file->private_data; il_dbgfs_fh_reg_read()
1222 struct il_priv *il = file->private_data; il_dbgfs_missed_beacon_read()
1238 struct il_priv *il = file->private_data; il_dbgfs_missed_beacon_write()
1264 struct il_priv *il = file->private_data; il_dbgfs_force_reset_read()
1296 struct il_priv *il = file->private_data; il_dbgfs_force_reset_write()
1308 struct il_priv *il = file->private_data; il_dbgfs_wd_timeout_write()
/linux-4.1.27/drivers/block/aoe/
H A Daoeblk.c38 struct aoedev *d = disk->private_data; aoedisk_show_state()
51 struct aoedev *d = disk->private_data; aoedisk_show_mac()
62 struct aoedev *d = disk->private_data; aoedisk_show_netif()
100 struct aoedev *d = disk->private_data; aoedisk_show_fwver()
108 struct aoedev *d = disk->private_data; aoedisk_show_payload()
236 struct aoedev *d = bdev->bd_disk->private_data; aoeblk_open()
264 struct aoedev *d = disk->private_data; aoeblk_release()
299 struct aoedev *d = bdev->bd_disk->private_data; aoeblk_getgeo()
320 d = bdev->bd_disk->private_data; aoeblk_ioctl()
410 gd->private_data = d; aoeblk_gdalloc()
H A Daoechr.c166 switch ((unsigned long) filp->private_data) { aoechr_write()
195 filp->private_data = (void *) (unsigned long) n; aoechr_open()
221 n = (unsigned long) filp->private_data; aoechr_read()
/linux-4.1.27/sound/soc/atmel/
H A Datmel-pcm-pdc.c59 buf->private_data = NULL; atmel_pcm_preallocate_dma_buffer()
166 struct atmel_runtime_data *prtd = substream->runtime->private_data; atmel_pcm_dma_irq()
216 struct atmel_runtime_data *prtd = runtime->private_data; atmel_pcm_hw_params()
217 struct snd_soc_pcm_runtime *rtd = substream->private_data; atmel_pcm_hw_params()
243 struct atmel_runtime_data *prtd = substream->runtime->private_data; atmel_pcm_hw_free()
257 struct atmel_runtime_data *prtd = substream->runtime->private_data; atmel_pcm_prepare()
271 struct atmel_runtime_data *prtd = rtd->private_data; atmel_pcm_trigger()
337 struct atmel_runtime_data *prtd = runtime->private_data; atmel_pcm_pointer()
370 runtime->private_data = prtd; atmel_pcm_open()
378 struct atmel_runtime_data *prtd = substream->runtime->private_data; atmel_pcm_close()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c93 struct wl1271 *wl = file->private_data; tx_queue_len_read()
145 struct wl1271 *wl = file->private_data; \
155 struct wl1271 *wl = file->private_data; \
196 struct wl1271 *wl = file->private_data; gpio_power_read()
211 struct wl1271 *wl = file->private_data; gpio_power_write()
243 struct wl1271 *wl = file->private_data; start_recovery_write()
261 struct wl1271 *wl = file->private_data; dynamic_ps_timeout_read()
272 struct wl1271 *wl = file->private_data; dynamic_ps_timeout_write()
325 struct wl1271 *wl = file->private_data; forced_ps_read()
336 struct wl1271 *wl = file->private_data; forced_ps_write()
394 struct wl1271 *wl = file->private_data; split_scan_timeout_read()
405 struct wl1271 *wl = file->private_data; split_scan_timeout_write()
436 struct wl1271 *wl = file->private_data; driver_state_read()
535 struct wl1271 *wl = file->private_data; vifs_state_read()
645 struct wl1271 *wl = file->private_data; dtim_interval_read()
661 struct wl1271 *wl = file->private_data; dtim_interval_write()
706 struct wl1271 *wl = file->private_data; suspend_dtim_interval_read()
722 struct wl1271 *wl = file->private_data; suspend_dtim_interval_write()
761 struct wl1271 *wl = file->private_data; beacon_interval_read()
777 struct wl1271 *wl = file->private_data; beacon_interval_write()
820 struct wl1271 *wl = file->private_data; rx_streaming_interval_write()
859 struct wl1271 *wl = file->private_data; rx_streaming_interval_read()
875 struct wl1271 *wl = file->private_data; rx_streaming_always_write()
914 struct wl1271 *wl = file->private_data; rx_streaming_always_read()
930 struct wl1271 *wl = file->private_data; beacon_filtering_write()
967 struct wl1271 *wl = file->private_data; fw_stats_raw_read()
985 struct wl1271 *wl = file->private_data; sleep_auth_read()
996 struct wl1271 *wl = file->private_data; sleep_auth_write()
1048 struct wl1271 *wl = file->private_data; dev_mem_read()
1129 struct wl1271 *wl = file->private_data; dev_mem_write()
H A Ddebugfs.h43 struct wl1271 *wl = file->private_data; \
76 struct wl1271 *wl = file->private_data; \
96 struct wl1271 *wl = file->private_data; \
/linux-4.1.27/include/rdma/
H A Dib_cm.h263 void *private_data; member in struct:ib_cm_event
371 const void *private_data; member in struct:ib_cm_req_param
398 const void *private_data; member in struct:ib_cm_rep_param
423 * @private_data: Optional user-defined private data sent with the
428 const void *private_data,
436 * @private_data: Optional user-defined private data sent with the
441 const void *private_data,
448 * @private_data: Optional user-defined private data sent with the
456 const void *private_data,
483 * @private_data: Optional user-defined private data sent with the
491 const void *private_data,
503 * @private_data: Optional user-defined private data sent with the
509 const void *private_data,
518 * @private_data: Optional user-defined private data sent with the
524 const void *private_data,
555 * @private_data: Optional user-defined private data sent with the
563 const void *private_data,
570 const void *private_data; member in struct:ib_cm_sidr_req_param
591 const void *private_data; member in struct:ib_cm_sidr_rep_param
/linux-4.1.27/sound/soc/
H A Dsoc-compress.c31 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_open()
70 struct snd_soc_pcm_runtime *fe = cstream->private_data; soc_compr_open_fe()
181 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_free()
235 struct snd_soc_pcm_runtime *fe = cstream->private_data; soc_compr_free_fe()
283 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_trigger()
312 struct snd_soc_pcm_runtime *fe = cstream->private_data; soc_compr_trigger_fe()
367 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_params()
414 struct snd_soc_pcm_runtime *fe = cstream->private_data; soc_compr_set_params_fe()
468 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_params()
484 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_caps()
500 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_codec_caps()
515 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_ack()
531 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_pointer()
546 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_copy()
562 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_metadata()
575 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_metadata()
690 be_pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd; soc_new_compress()
692 be_pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd; soc_new_compress()
713 compr->private_data = rtd; soc_new_compress()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_debugfs.c63 file->private_data = debug; bfad_debugfs_open_drvtrc()
107 file->private_data = fw_debug; bfad_debugfs_open_fwtrc()
151 file->private_data = fw_debug; bfad_debugfs_open_fwsave()
167 file->private_data = reg_debug; bfad_debugfs_open_reg()
176 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_lseek()
185 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_read()
228 struct bfad_debug_info *regrd_debug = file->private_data; bfad_debugfs_read_regrd()
252 struct bfad_debug_info *regrd_debug = file->private_data; bfad_debugfs_write_regrd()
320 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_write_regwr()
366 struct bfad_debug_info *debug = file->private_data; bfad_debugfs_release()
371 file->private_data = NULL; bfad_debugfs_release()
379 struct bfad_debug_info *fw_debug = file->private_data; bfad_debugfs_release_fwtrc()
387 file->private_data = NULL; bfad_debugfs_release_fwtrc()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c84 file->private_data = fw_debug; bnad_debugfs_open_fwtrc()
125 file->private_data = fw_debug; bnad_debugfs_open_fwsave()
141 file->private_data = reg_debug; bnad_debugfs_open_reg()
225 file->private_data = drv_info; bnad_debugfs_open_drvinfo()
234 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_lseek()
246 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_read()
292 struct bnad_debug_info *regrd_debug = file->private_data; bnad_debugfs_read_regrd()
315 struct bnad_debug_info *regrd_debug = file->private_data; bnad_debugfs_write_regrd()
383 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_write_regwr()
431 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_release()
436 file->private_data = NULL; bnad_debugfs_release()
444 struct bnad_debug_info *debug = file->private_data; bnad_debugfs_buffer_release()
451 file->private_data = NULL; bnad_debugfs_buffer_release()
/linux-4.1.27/sound/pci/au88x0/
H A Dau88x0_pcm.c191 substream->runtime->private_data = NULL; snd_vortex_pcm_open()
196 substream->runtime->private_data = NULL; snd_vortex_pcm_open()
206 stream_t *stream = (stream_t *) substream->runtime->private_data; snd_vortex_pcm_close()
213 substream->runtime->private_data = NULL; snd_vortex_pcm_close()
223 stream_t *stream = (stream_t *) (substream->runtime->private_data); snd_vortex_pcm_hw_params()
257 stream = substream->runtime->private_data = &chip->dma_adb[dma]; snd_vortex_pcm_hw_params()
275 stream = substream->runtime->private_data = snd_vortex_pcm_hw_params()
292 stream_t *stream = (stream_t *) (substream->runtime->private_data); snd_vortex_pcm_hw_free()
316 substream->runtime->private_data = NULL; snd_vortex_pcm_hw_free()
327 stream_t *stream = (stream_t *) substream->runtime->private_data; snd_vortex_pcm_prepare()
359 stream_t *stream = (stream_t *) substream->runtime->private_data; snd_vortex_pcm_trigger()
422 stream_t *stream = (stream_t *) substream->runtime->private_data; snd_vortex_pcm_pointer()
639 pcm->private_data = chip; snd_vortex_new_pcm()
H A Dau88x0_mixer.c36 ac97.private_data = vortex; snd_vortex_mixer()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Ddebugfs.c35 struct lbs_private *priv = file->private_data; lbs_dev_info()
58 struct lbs_private *priv = file->private_data; lbs_sleepparams_write()
98 struct lbs_private *priv = file->private_data; lbs_sleepparams_read()
127 struct lbs_private *priv = file->private_data; lbs_host_sleep_write()
172 struct lbs_private *priv = file->private_data; lbs_host_sleep_read()
230 struct lbs_private *priv = file->private_data; lbs_threshold_read()
283 struct lbs_private *priv = file->private_data; lbs_threshold_write()
449 struct lbs_private *priv = file->private_data; lbs_rdmac_read()
474 struct lbs_private *priv = file->private_data; lbs_rdmac_write()
498 struct lbs_private *priv = file->private_data; lbs_wrmac_write()
530 struct lbs_private *priv = file->private_data; lbs_rdbbp_read()
556 struct lbs_private *priv = file->private_data; lbs_rdbbp_write()
580 struct lbs_private *priv = file->private_data; lbs_wrbbp_write()
612 struct lbs_private *priv = file->private_data; lbs_rdrf_read()
638 struct lbs_private *priv = file->private_data; lbs_rdrf_write()
662 struct lbs_private *priv = file->private_data; lbs_wrrf_write()
873 d = file->private_data; lbs_debugfs_read()
913 struct debug_data *d = f->private_data; lbs_debugfs_write()
/linux-4.1.27/sound/mips/
H A Dau1x00.c291 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_playback_open()
295 substream->private_data = au1000->stream[PLAYBACK]; snd_au1000_playback_open()
304 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_capture_open()
308 substream->private_data = au1000->stream[CAPTURE]; snd_au1000_capture_open()
317 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_playback_close()
326 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_capture_close()
336 struct audio_stream *stream = substream->private_data; snd_au1000_hw_params()
351 struct audio_stream *stream = substream->private_data; snd_au1000_hw_free()
359 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_playback_prepare()
373 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_capture_prepare()
387 struct audio_stream *stream = substream->private_data; snd_au1000_trigger()
409 struct audio_stream *stream = substream->private_data; snd_au1000_pointer()
462 pcm->private_data = au1000; snd_au1000_pcm_new()
500 struct snd_au1000 *au1000 = ac97->private_data; snd_au1000_ac97_read()
539 struct snd_au1000 *au1000 = ac97->private_data; snd_au1000_ac97_write()
563 struct snd_au1000 *au1000 = card->private_data; snd_au1000_free()
609 au1000 = card->private_data; au1000_ac97_probe()
692 ac97.private_data = au1000; au1000_ac97_probe()
/linux-4.1.27/drivers/isdn/divert/
H A Ddivert_procfs.c89 if (!(inf = *((struct divert_info **) file->private_data))) { isdn_divert_read()
93 *((struct divert_info **) file->private_data))); isdn_divert_read()
99 file->private_data = &inf->next; /* next structure */ isdn_divert_read()
129 if (*((struct divert_info **) file->private_data)) { isdn_divert_poll()
146 filep->private_data = &(divert_info_tail->next); isdn_divert_open()
148 filep->private_data = &divert_info_head; isdn_divert_open()
165 inf = *((struct divert_info **) filep->private_data); isdn_divert_close()
/linux-4.1.27/drivers/bluetooth/
H A Dbtmrvl_debugfs.c37 struct btmrvl_private *priv = file->private_data; btmrvl_hscfgcmd_write()
63 struct btmrvl_private *priv = file->private_data; btmrvl_hscfgcmd_read()
83 struct btmrvl_private *priv = file->private_data; btmrvl_pscmd_write()
110 struct btmrvl_private *priv = file->private_data; btmrvl_pscmd_read()
129 struct btmrvl_private *priv = file->private_data; btmrvl_hscmd_write()
154 struct btmrvl_private *priv = file->private_data; btmrvl_hscmd_read()
173 struct btmrvl_private *priv = file->private_data; btmrvl_fwdump_write()
H A Dhci_vhci.c273 struct vhci_data *data = file->private_data; vhci_read()
305 struct vhci_data *data = file->private_data; vhci_write()
312 struct vhci_data *data = file->private_data; vhci_poll()
344 file->private_data = data; vhci_open()
354 struct vhci_data *data = file->private_data; vhci_release()
367 file->private_data = NULL; vhci_release()
/linux-4.1.27/sound/pci/echoaudio/
H A Dmidi.c157 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_open()
168 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_trigger()
182 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_input_close()
192 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_open()
254 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_trigger()
283 struct echoaudio *chip = substream->rmidi->private_data; snd_echo_midi_output_close()
316 chip->rmidi->private_data = chip; snd_echo_midi_create()
/linux-4.1.27/drivers/isdn/hysdn/
H A Dhysdn_proclog.c159 hysdn_card *card = file->private_data; hysdn_log_write()
178 if (!(inf = *((struct log_data **) file->private_data))) { hysdn_log_read()
184 *((struct log_data **) file->private_data))); hysdn_log_read()
190 file->private_data = &inf->next; /* next structure */ hysdn_log_read()
211 filep->private_data = card; /* remember our own card */ hysdn_log_open()
220 filep->private_data = &pd->log_tail->next; hysdn_log_open()
222 filep->private_data = &pd->log_head; hysdn_log_open()
254 inf = *((struct log_data **) filep->private_data); /* get first log entry */ hysdn_log_close()
298 if (*((struct log_data **) file->private_data)) hysdn_log_poll()
H A Dhysdn_procconf.c103 if (!(cnf = file->private_data)) hysdn_conf_write()
219 if (!(cp = file->private_data)) hysdn_conf_read()
253 filep->private_data = cnf; hysdn_conf_open()
262 filep->private_data = tmp; /* start of string */ hysdn_conf_open()
319 if (filep->private_data) { hysdn_conf_close()
320 cnf = filep->private_data; hysdn_conf_close()
324 kfree(filep->private_data); /* free allocated memory for buffer */ hysdn_conf_close()
330 kfree(filep->private_data); /* release memory */ hysdn_conf_close()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dfile.c71 file->private_data = attr; spufs_attr_open()
78 kfree(file->private_data); spufs_attr_release()
89 attr = file->private_data; spufs_attr_read()
123 attr = file->private_data; spufs_attr_write()
167 file->private_data = ctx; spufs_mem_open()
200 struct spu_context *ctx = file->private_data; spufs_mem_read()
216 struct spu_context *ctx = file->private_data; spufs_mem_write()
238 struct spu_context *ctx = vma->vm_file->private_data; spufs_mem_mmap_fault()
287 struct spu_context *ctx = vma->vm_file->private_data; spufs_mem_mmap_access()
314 struct spu_context *ctx = file->private_data; spufs_mem_mmap()
344 struct spu_context *ctx = file->private_data; spufs_get_unmapped_area()
375 struct spu_context *ctx = vma->vm_file->private_data; spufs_ps_fault()
489 file->private_data = ctx; spufs_cntl_open()
525 file->private_data = i->i_ctx; spufs_regs_open()
543 struct spu_context *ctx = file->private_data; spufs_regs_read()
562 struct spu_context *ctx = file->private_data; spufs_regs_write()
601 struct spu_context *ctx = file->private_data; spufs_fpcr_read()
615 struct spu_context *ctx = file->private_data; spufs_fpcr_write()
644 file->private_data = i->i_ctx; spufs_pipe_open()
660 struct spu_context *ctx = file->private_data; spufs_mbox_read()
711 struct spu_context *ctx = file->private_data; spufs_mbox_stat_read()
746 struct spu_context *ctx = file->private_data; spufs_ibox_fasync()
778 struct spu_context *ctx = file->private_data; spufs_ibox_read()
835 struct spu_context *ctx = file->private_data; spufs_ibox_poll()
862 struct spu_context *ctx = file->private_data; spufs_ibox_stat_read()
895 struct spu_context *ctx = file->private_data; spufs_wbox_fasync()
930 struct spu_context *ctx = file->private_data; spufs_wbox_write()
985 struct spu_context *ctx = file->private_data; spufs_wbox_poll()
1012 struct spu_context *ctx = file->private_data; spufs_wbox_stat_read()
1043 file->private_data = ctx; spufs_signal1_open()
1091 struct spu_context *ctx = file->private_data; spufs_signal1_read()
1109 ctx = file->private_data; spufs_signal1_write()
1180 file->private_data = ctx; spufs_signal2_open()
1227 struct spu_context *ctx = file->private_data; spufs_signal2_read()
1246 ctx = file->private_data; spufs_signal2_write()
1426 file->private_data = i->i_ctx; spufs_mss_open()
1486 file->private_data = i->i_ctx; spufs_psmap_open()
1556 file->private_data = ctx; spufs_mfc_open()
1623 struct spu_context *ctx = file->private_data; spufs_mfc_read()
1749 struct spu_context *ctx = file->private_data; spufs_mfc_write()
1798 struct spu_context *ctx = file->private_data; spufs_mfc_poll()
1828 struct spu_context *ctx = file->private_data; spufs_mfc_flush()
1866 struct spu_context *ctx = file->private_data; spufs_mfc_fasync()
2058 file->private_data = ctx; spufs_info_open()
2103 struct spu_context *ctx = file->private_data; spufs_mbox_info_read()
2142 struct spu_context *ctx = file->private_data; spufs_ibox_info_read()
2185 struct spu_context *ctx = file->private_data; spufs_wbox_info_read()
2237 struct spu_context *ctx = file->private_data; spufs_dma_info_read()
2294 struct spu_context *ctx = file->private_data; spufs_proxydma_info_read()
/linux-4.1.27/sound/soc/intel/baytrail/
H A Dsst-baytrail-pcm.c71 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_hw_params()
133 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_hw_free()
143 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_restore_stream_context()
176 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_trigger()
218 struct snd_soc_pcm_runtime *rtd = substream->private_data; byt_notify_pointer()
239 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_pointer()
252 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_open()
280 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_close()
306 struct snd_soc_pcm_runtime *rtd = substream->private_data; sst_byt_pcm_mmap()
/linux-4.1.27/sound/soc/qcom/
H A Dlpass-platform.c63 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcmops_open()
86 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcmops_hw_params()
171 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcmops_hw_free()
188 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcmops_prepare()
235 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcmops_trigger()
304 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcmops_pointer()
353 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_lpaif_irq()
421 buf->private_data = NULL; lpass_platform_alloc_buffer()
498 struct snd_soc_pcm_runtime *soc_runtime = substream->private_data; lpass_platform_pcm_free()
/linux-4.1.27/net/mac80211/
H A Ddebugfs_sta.c27 struct sta_info *sta = file->private_data; \
64 struct sta_info *sta = file->private_data; sta_flags_read()
92 struct sta_info *sta = file->private_data; sta_num_ps_buf_frames_read()
107 struct sta_info *sta = file->private_data; sta_inactive_ms_read()
117 struct sta_info *sta = file->private_data; sta_connected_time_read()
143 struct sta_info *sta = file->private_data; sta_last_seq_ctrl_read()
157 struct sta_info *sta = file->private_data; sta_agg_status_read()
195 struct sta_info *sta = file->private_data; sta_agg_status_write()
260 struct sta_info *sta = file->private_data; sta_ht_capa_read()
336 struct sta_info *sta = file->private_data; sta_vht_capa_read()
365 struct sta_info *sta = file->private_data; sta_current_tx_rate_read()
380 struct sta_info *sta = file->private_data; sta_last_rx_rate_read()
H A Ddebugfs_key.c23 struct ieee80211_key *key = file->private_data; \
69 struct ieee80211_key *key = file->private_data; key_algorithm_read()
84 struct ieee80211_key *key = file->private_data; key_tx_spec_read()
134 struct ieee80211_key *key = file->private_data; key_rx_spec_read()
202 struct ieee80211_key *key = file->private_data; key_replays_read()
235 struct ieee80211_key *key = file->private_data; key_icverrors_read()
260 struct ieee80211_key *key = file->private_data; key_mic_failures_read()
276 struct ieee80211_key *key = file->private_data; key_key_read()
H A Ddebugfs.c39 struct ieee80211_local *local = file->private_data; \
78 struct ieee80211_local *local = file->private_data; reset_write()
98 struct ieee80211_local *local = file->private_data; hwflags_read()
160 struct ieee80211_local *local = file->private_data; queues_read()
209 return format_devstat_counter(file->private_data, \
/linux-4.1.27/sound/soc/pxa/
H A Dpxa2xx-pcm.c31 struct pxa2xx_runtime_data *prtd = runtime->private_data; pxa2xx_pcm_hw_params()
32 struct snd_soc_pcm_runtime *rtd = substream->private_data; pxa2xx_pcm_hw_params()
67 struct pxa2xx_runtime_data *prtd = substream->runtime->private_data; pxa2xx_pcm_hw_free()
H A Draumfeld.c69 struct snd_soc_pcm_runtime *rtd = substream->private_data; raumfeld_cs4270_startup()
78 struct snd_soc_pcm_runtime *rtd = substream->private_data; raumfeld_cs4270_shutdown()
88 struct snd_soc_pcm_runtime *rtd = substream->private_data; raumfeld_cs4270_hw_params()
158 struct snd_soc_pcm_runtime *rtd = substream->private_data; raumfeld_ak4104_hw_params()
/linux-4.1.27/fs/affs/
H A Ddir.c60 file->private_data = (void *)0; affs_readdir()
81 ino = (u32)(long)file->private_data; affs_readdir()
133 file->private_data = (void *)(long)ino; affs_readdir()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_debugfs.c123 filp->private_data = inode->i_private; fnic_trace_ctrl_open()
154 trace_type = (u8 *)filp->private_data; fnic_trace_ctrl_read()
192 trace_type = (u8 *)filp->private_data; fnic_trace_ctrl_write()
236 * the private_data field in @file.
274 file->private_data = fnic_dbg_prt; fnic_trace_debugfs_open()
300 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; fnic_trace_debugfs_lseek()
313 * This routine reads data from the buffer indicated in the private_data
326 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; fnic_trace_debugfs_read()
350 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; fnic_trace_debugfs_release()
542 file->private_data = debug; fnic_reset_stats_open()
566 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_read()
594 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_write()
656 struct stats_debug_info *debug = file->private_data; fnic_reset_stats_release()
696 file->private_data = debug; fnic_stats_debugfs_open()
709 * This routine reads data from the buffer indicated in the private_data
722 struct stats_debug_info *debug = file->private_data; fnic_stats_debugfs_read()
746 struct stats_debug_info *debug = file->private_data; fnic_stats_debugfs_release()
/linux-4.1.27/sound/pci/
H A Dals300.c211 data = chip->playback_substream->runtime->private_data; snd_als300_interrupt()
219 data = chip->capture_substream->runtime->private_data; snd_als300_interrupt()
245 data = chip->playback_substream->runtime->private_data; snd_als300plus_interrupt()
254 data = chip->capture_substream->runtime->private_data; snd_als300plus_interrupt()
274 struct snd_als300 *chip = ac97->private_data; snd_als300_ac97_read()
295 struct snd_als300 *chip = ac97->private_data; snd_als300_ac97_write()
319 ac97.private_data = chip; snd_als300_ac97()
380 runtime->private_data = data; snd_als300_playback_open()
391 data = substream->runtime->private_data; snd_als300_playback_close()
409 runtime->private_data = data; snd_als300_capture_open()
420 data = substream->runtime->private_data; snd_als300_capture_close()
505 data = substream->runtime->private_data; snd_als300_trigger()
548 data = substream->runtime->private_data; snd_als300_pointer()
596 pcm->private_data = chip; snd_als300_new_pcm()
731 struct snd_als300 *chip = card->private_data; snd_als300_suspend()
742 struct snd_als300 *chip = card->private_data; snd_als300_resume()
784 card->private_data = chip; snd_als300_probe()
/linux-4.1.27/drivers/staging/lustre/lustre/fld/
H A Dlproc_fld.c105 fld = ((struct seq_file *)file->private_data)->private; fld_proc_hash_seq_write()
134 struct lu_client_fld *fld = file->private_data; fld_proc_cache_flush_write()
147 file->private_data = PDE_DATA(inode); fld_proc_cache_flush_open()
153 file->private_data = NULL; fld_proc_cache_flush_release()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-module.c109 pdu = (struct libcfs_device_userstate **)&file->private_data; libcfs_psdev_open()
126 pdu = file->private_data; libcfs_psdev_release()
165 pfile.private_data = file->private_data; libcfs_ioctl()
/linux-4.1.27/drivers/oprofile/
H A Devent_buffer.c127 file->private_data = dcookie_register(); event_buffer_open()
128 if (!file->private_data) event_buffer_open()
141 dcookie_unregister(file->private_data); event_buffer_open()
152 dcookie_unregister(file->private_data); event_buffer_release()
/linux-4.1.27/drivers/fmc/
H A Dfmc-chardev.c45 f->private_data = fmc; fc_open()
51 struct fmc_device *fmc = f->private_data; fc_release()
60 struct fmc_device *fmc = f->private_data; fc_read()
81 struct fmc_device *fmc = f->private_data; fc_write()
/linux-4.1.27/include/media/
H A Dv4l2-fh.h75 * On error filp->private_data will be NULL, otherwise it will point to
89 * frees it. It will do nothing if filp->private_data (the pointer to the
99 * Helper function with struct file as argument. If filp->private_data is
104 return v4l2_fh_is_singular(filp->private_data); v4l2_fh_is_singular_file()
/linux-4.1.27/arch/arm/mach-dove/
H A Dpcie.c46 sys->private_data = pp; dove_pcie_setup()
99 struct pcie_port *pp = sys->private_data; pcie_rd_conf()
119 struct pcie_port *pp = sys->private_data; pcie_wr_conf()
170 struct pcie_port *pp = sys->private_data; dove_pcie_map_irq()
/linux-4.1.27/fs/coda/
H A Dfile.c151 BUG_ON(coda_file->private_data != NULL); coda_open()
152 coda_file->private_data = cfi; coda_open()
184 kfree(coda_file->private_data); coda_release()
185 coda_file->private_data = NULL; coda_release()
/linux-4.1.27/sound/i2c/other/
H A Dpt2258.c97 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_stereo_volume_get()
109 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_stereo_volume_put()
150 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_switch_get()
159 struct snd_pt2258 *pt = kcontrol->private_data; pt2258_switch_put()
/linux-4.1.27/sound/pci/ice1712/
H A Dak4xxx.c40 struct snd_ice1712 *ice = ak->private_data[0]; snd_ice1712_akm4xxx_lock()
47 struct snd_ice1712 *ice = ak->private_data[0]; snd_ice1712_akm4xxx_unlock()
62 struct snd_ice1712 *ice = ak->private_data[0]; snd_ice1712_akm4xxx_write()
142 ak->private_data[0] = ice; snd_ice1712_akm4xxx_init()
H A Drevo.c97 struct snd_ice1712 *ice = bus->private_data; revo_i2c_start()
103 struct snd_ice1712 *ice = bus->private_data; revo_i2c_stop()
109 struct snd_ice1712 *ice = bus->private_data; revo_i2c_direction()
126 struct snd_ice1712 *ice = bus->private_data; revo_i2c_setlines()
141 struct snd_ice1712 *ice = bus->private_data; revo_i2c_getdata()
174 ice->i2c->private_data = ice; revo51_i2c_init()
325 struct snd_ice1712 *ice = ak->private_data[0]; ap192_set_rate_val()
445 static void ap192_ak4114_write(void *private_data, unsigned char addr, ap192_ak4114_write() argument
448 struct snd_ice1712 *ice = private_data; ap192_ak4114_write()
458 static unsigned char ap192_ak4114_read(void *private_data, unsigned char addr) ap192_ak4114_read() argument
460 struct snd_ice1712 *ice = private_data; ap192_ak4114_read()
/linux-4.1.27/sound/usb/6fire/
H A Dmidi.c77 struct midi_runtime *rt = alsa_sub->rmidi->private_data; usb6fire_midi_out_trigger()
111 struct midi_runtime *rt = alsa_sub->rmidi->private_data; usb6fire_midi_out_drain()
131 struct midi_runtime *rt = alsa_sub->rmidi->private_data; usb6fire_midi_in_trigger()
189 rt->instance->private_data = rt; usb6fire_midi_init()
/linux-4.1.27/sound/usb/
H A Dmixer_scarlett.c235 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_switch_info()
247 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_switch_get()
265 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_switch_put()
304 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_info()
318 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_get()
337 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_put()
381 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_dynamic_info()
382 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; scarlett_ctl_enum_dynamic_info()
403 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_info()
404 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; scarlett_ctl_enum_info()
413 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_get()
414 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; scarlett_ctl_enum_get()
431 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_enum_put()
432 struct scarlett_mixer_elem_enum_info *opt = elem->private_data; scarlett_ctl_enum_put()
461 struct usb_mixer_elem_info *elem = kctl->private_data; scarlett_ctl_meter_get()
565 elem->private_data = (void *)opt; add_new_ctl()
/linux-4.1.27/sound/i2c/
H A Dcs8427.c98 struct cs8427 *chip = device->private_data; snd_cs8427_select_corudata()
118 struct cs8427 *chip = device->private_data; snd_cs8427_send_corudata()
150 kfree(device->private_data); snd_cs8427_free()
201 struct cs8427 *chip = device->private_data; snd_cs8427_init()
277 chip = device->private_data = kzalloc(sizeof(*chip), GFP_KERNEL); snd_cs8427_create()
328 chip = cs8427->private_data; snd_cs8427_reset()
430 struct cs8427 *chip = device->private_data; snd_cs8427_spdif_get()
442 struct cs8427 *chip = device->private_data; snd_cs8427_spdif_put()
534 struct cs8427 *chip = cs8427->private_data; snd_cs8427_iec958_build()
570 chip = cs8427->private_data; snd_cs8427_iec958_active()
591 chip = cs8427->private_data; snd_cs8427_iec958_pcm()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_cm.c65 * only support the max private_data length c2_llp_connect()
105 if (iw_param->private_data) { c2_llp_connect()
108 memcpy(&wr->private_data[0], iw_param->private_data, c2_llp_connect()
341 /* Validate private_data length */ c2_llp_accept()
347 if (iw_param->private_data) { c2_llp_accept()
349 memcpy(&wr->private_data[0], c2_llp_accept()
350 iw_param->private_data, iw_param->private_data_len); c2_llp_accept()
H A Dc2_ae.c218 cm_event.private_data = res->private_data; c2_ae_event()
227 cm_event.private_data = NULL; c2_ae_event()
292 cm_event.private_data = req->private_data; c2_ae_event()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c276 struct ath6kl *ar = file->private_data; read_file_war_stats()
358 file->private_data = inode->i_private; ath6kl_fwlog_open()
374 struct ath6kl *ar = file->private_data; ath6kl_fwlog_read()
427 struct ath6kl *ar = file->private_data; ath6kl_fwlog_block_read()
501 struct ath6kl *ar = file->private_data; ath6kl_fwlog_mask_read()
514 struct ath6kl *ar = file->private_data; ath6kl_fwlog_mask_write()
541 struct ath6kl *ar = file->private_data; read_file_tgt_stats()
698 struct ath6kl *ar = file->private_data; read_file_credit_dist_stats()
776 struct ath6kl *ar = file->private_data; ath6kl_endpoint_stats_read()
831 struct ath6kl *ar = file->private_data; ath6kl_endpoint_stats_write()
886 struct ath6kl *ar = file->private_data; ath6kl_regread_read()
904 struct ath6kl *ar = file->private_data; ath6kl_regread_write()
985 file->private_data = buf; ath6kl_regdump_open()
997 u8 *buf = file->private_data; ath6kl_regdump_read()
1003 vfree(file->private_data); ath6kl_regdump_release()
1019 struct ath6kl *ar = file->private_data; ath6kl_lrssi_roam_write()
1036 struct ath6kl *ar = file->private_data; ath6kl_lrssi_roam_read()
1057 struct ath6kl *ar = file->private_data; ath6kl_regwrite_read()
1071 struct ath6kl *ar = file->private_data; ath6kl_regwrite_write()
1152 struct ath6kl *ar = file->private_data; ath6kl_roam_table_read()
1224 struct ath6kl *ar = file->private_data; ath6kl_force_roam_write()
1256 struct ath6kl *ar = file->private_data; ath6kl_roam_mode_write()
1300 struct ath6kl *ar = file->private_data; ath6kl_keepalive_read()
1313 struct ath6kl *ar = file->private_data; ath6kl_keepalive_write()
1345 struct ath6kl *ar = file->private_data; ath6kl_disconnect_timeout_read()
1358 struct ath6kl *ar = file->private_data; ath6kl_disconnect_timeout_write()
1385 struct ath6kl *ar = file->private_data; ath6kl_create_qos_write()
1563 struct ath6kl *ar = file->private_data; ath6kl_delete_qos_write()
1610 struct ath6kl *ar = file->private_data; ath6kl_bgscan_int_write()
1650 struct ath6kl *ar = file->private_data; ath6kl_listen_int_write()
1682 struct ath6kl *ar = file->private_data; ath6kl_listen_int_read()
1708 struct ath6kl *ar = file->private_data; ath6kl_power_params_write()
/linux-4.1.27/arch/arm/include/asm/mach/
H A Dpci.h27 void **private_data; member in struct:hw_pci
66 void *private_data; /* platform controller private data */ member in struct:pci_sys_data
/linux-4.1.27/net/wireless/
H A Ddebugfs.c20 struct wiphy *wiphy= file->private_data; \
69 struct wiphy *wiphy = file->private_data; ht40allow_map_read()
/linux-4.1.27/sound/pci/hda/
H A Dthinkpad_helper.c32 static void update_tpacpi_mute_led(void *private_data, int enabled) update_tpacpi_mute_led() argument
35 old_vmaster_hook(private_data, enabled); update_tpacpi_mute_led()
/linux-4.1.27/drivers/input/serio/
H A Dserio_raw.c60 struct serio_raw_client *client = file->private_data; serio_raw_fasync()
105 file->private_data = client; serio_raw_open()
129 struct serio_raw_client *client = file->private_data; serio_raw_release()
163 struct serio_raw_client *client = file->private_data; serio_raw_read()
204 struct serio_raw_client *client = file->private_data; serio_raw_write()
244 struct serio_raw_client *client = file->private_data; serio_raw_poll()
/linux-4.1.27/arch/arm/mach-cns3xxx/
H A Dpcie.c41 return root->private_data; sysdata_to_cnspci()
218 .private_data = cnspci, cns3xxx_pcie_hw_init()
279 void *private_data; cns3xxx_pcie_init_late() local
285 .private_data = &private_data, cns3xxx_pcie_init_late()
299 private_data = &cns3xxx_pcie[i]; cns3xxx_pcie_init_late()
/linux-4.1.27/fs/cifs/
H A Dioctl.c42 struct cifsFileInfo *smb_file_target = dst_file->private_data; cifs_ioctl_clone()
76 if ((!src_file.file->private_data) || (!dst_file->private_data)) { cifs_ioctl_clone()
83 smb_file_target = dst_file->private_data; cifs_ioctl_clone()
84 smb_file_src = src_file.file->private_data; cifs_ioctl_clone()
142 struct cifsFileInfo *pSMBFile = filep->private_data; cifs_ioctl()
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss.c148 if ((dp = file->private_data) == NULL) odev_release()
162 dp = file->private_data; odev_read()
173 dp = file->private_data; odev_write()
183 dp = file->private_data; odev_ioctl()
199 dp = file->private_data; odev_poll()
288 entry->private_data = NULL; register_proc()
/linux-4.1.27/sound/isa/es1688/
H A Des1688.c101 struct snd_es1688 *chip = card->private_data; snd_es1688_legacy_create()
139 struct snd_es1688 *chip = card->private_data; snd_es1688_probe()
236 struct snd_es1688 *chip = card->private_data; snd_card_es968_pnp()
279 chip = card->private_data; snd_es968_pnp_detect()
306 struct snd_es1688 *chip = card->private_data; snd_es968_pnp_suspend()
316 struct snd_es1688 *chip = card->private_data; snd_es968_pnp_resume()
/linux-4.1.27/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_core.c31 static unsigned char pdacf_ak4117_read(void *private_data, unsigned char reg) pdacf_ak4117_read() argument
33 struct snd_pdacf *chip = private_data; pdacf_ak4117_read()
63 static void pdacf_ak4117_write(void *private_data, unsigned char reg, unsigned char val) pdacf_ak4117_write() argument
65 struct snd_pdacf *chip = private_data; pdacf_ak4117_write()
140 struct snd_pdacf *chip = entry->private_data; pdacf_proc_read()
167 card->private_data = chip; snd_pdacf_create()
/linux-4.1.27/sound/soc/sh/
H A Ddma-sh7760.c122 struct snd_soc_pcm_runtime *rtd = substream->private_data; camelot_pcm_open()
155 struct snd_soc_pcm_runtime *rtd = substream->private_data; camelot_pcm_close()
176 struct snd_soc_pcm_runtime *rtd = substream->private_data; camelot_hw_params()
204 struct snd_soc_pcm_runtime *rtd = substream->private_data; camelot_prepare()
251 struct snd_soc_pcm_runtime *rtd = substream->private_data; camelot_trigger()
278 struct snd_soc_pcm_runtime *rtd = substream->private_data; camelot_pos()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c216 struct ath_spec_scan_priv *spec_priv = file->private_data; read_file_spec_scan_ctl()
314 struct ath_spec_scan_priv *spec_priv = file->private_data; write_file_spec_scan_ctl()
365 struct ath_spec_scan_priv *spec_priv = file->private_data; read_file_spectral_short_repeat()
377 struct ath_spec_scan_priv *spec_priv = file->private_data; write_file_spectral_short_repeat()
413 struct ath_spec_scan_priv *spec_priv = file->private_data; read_file_spectral_count()
425 struct ath_spec_scan_priv *spec_priv = file->private_data; write_file_spectral_count()
461 struct ath_spec_scan_priv *spec_priv = file->private_data; read_file_spectral_period()
473 struct ath_spec_scan_priv *spec_priv = file->private_data; write_file_spectral_period()
509 struct ath_spec_scan_priv *spec_priv = file->private_data; read_file_spectral_fft_period()
521 struct ath_spec_scan_priv *spec_priv = file->private_data; write_file_spectral_fft_period()
H A Dhtc_drv_debug.c22 struct ath9k_htc_priv *priv = file->private_data; read_file_tgt_int_stats()
80 struct ath9k_htc_priv *priv = file->private_data; read_file_tgt_tx_stats()
150 struct ath9k_htc_priv *priv = file->private_data; read_file_tgt_rx_stats()
196 struct ath9k_htc_priv *priv = file->private_data; read_file_xmit()
254 struct ath9k_htc_priv *priv = file->private_data; read_file_skb_rx()
292 struct ath9k_htc_priv *priv = file->private_data; read_file_slot()
316 struct ath9k_htc_priv *priv = file->private_data; read_file_queue()
363 struct ath9k_htc_priv *priv = file->private_data; read_file_debug()
375 struct ath9k_htc_priv *priv = file->private_data; write_file_debug()
H A Ddebug.c74 u8 *buf = file->private_data; ath9k_debugfs_read_buf()
80 vfree(file->private_data); ath9k_debugfs_release_buf()
89 struct ath_softc *sc = file->private_data; read_file_debug()
101 struct ath_softc *sc = file->private_data; write_file_debug()
135 struct ath_softc *sc = file->private_data; read_file_ani()
191 struct ath_softc *sc = file->private_data; write_file_ani()
234 struct ath_softc *sc = file->private_data; read_file_bt_ant_diversity()
247 struct ath_softc *sc = file->private_data; write_file_bt_ant_diversity()
303 struct ath_softc *sc = file->private_data; read_file_antenna_diversity()
827 struct ath_softc *sc = file->private_data; read_file_regidx()
838 struct ath_softc *sc = file->private_data; write_file_regidx()
866 struct ath_softc *sc = file->private_data; read_file_regval()
882 struct ath_softc *sc = file->private_data; write_file_regval()
933 file->private_data = buf; open_file_regdump()
992 struct ath_softc *sc = file->private_data; read_file_btcoex()
1027 struct ath_softc *sc = file->private_data; read_file_ackto()
1051 struct ath_softc *sc = file->private_data; read_file_wow()
1075 struct ath_softc *sc = file->private_data; write_file_wow()
1112 struct ath_softc *sc = file->private_data; read_file_tpc()
1137 struct ath_softc *sc = file->private_data; write_file_tpc()
H A Ddfs_debug.c37 struct ath_softc *sc = file->private_data; read_file_dfs()
100 struct ath_softc *sc = file->private_data; write_file_dfs()
123 struct ath_softc *sc = file->private_data; write_file_simulate_radar()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Dsoc_camera.c297 struct soc_camera_device *icd = file->private_data; soc_camera_try_fmt_vid_cap()
299 WARN_ON(priv != file->private_data); soc_camera_try_fmt_vid_cap()
339 struct soc_camera_device *icd = file->private_data; soc_camera_s_std()
347 struct soc_camera_device *icd = file->private_data; soc_camera_g_std()
356 struct soc_camera_device *icd = file->private_data; soc_camera_enum_framesizes()
366 struct soc_camera_device *icd = file->private_data; soc_camera_reqbufs()
369 WARN_ON(priv != file->private_data); soc_camera_reqbufs()
393 struct soc_camera_device *icd = file->private_data; soc_camera_querybuf()
396 WARN_ON(priv != file->private_data); soc_camera_querybuf()
407 struct soc_camera_device *icd = file->private_data; soc_camera_qbuf()
410 WARN_ON(priv != file->private_data); soc_camera_qbuf()
424 struct soc_camera_device *icd = file->private_data; soc_camera_dqbuf()
427 WARN_ON(priv != file->private_data); soc_camera_dqbuf()
441 struct soc_camera_device *icd = file->private_data; soc_camera_create_bufs()
454 struct soc_camera_device *icd = file->private_data; soc_camera_prepare_buf()
467 struct soc_camera_device *icd = file->private_data; soc_camera_expbuf()
746 file->private_data = icd; soc_camera_open()
774 struct soc_camera_device *icd = file->private_data; soc_camera_close()
804 struct soc_camera_device *icd = file->private_data; soc_camera_read()
820 struct soc_camera_device *icd = file->private_data; soc_camera_mmap()
847 struct soc_camera_device *icd = file->private_data; soc_camera_poll()
876 struct soc_camera_device *icd = file->private_data; soc_camera_s_fmt_vid_cap()
879 WARN_ON(priv != file->private_data); soc_camera_s_fmt_vid_cap()
905 struct soc_camera_device *icd = file->private_data; soc_camera_enum_fmt_vid_cap()
908 WARN_ON(priv != file->private_data); soc_camera_enum_fmt_vid_cap()
924 struct soc_camera_device *icd = file->private_data; soc_camera_g_fmt_vid_cap()
927 WARN_ON(priv != file->private_data); soc_camera_g_fmt_vid_cap()
947 struct soc_camera_device *icd = file->private_data; soc_camera_querycap()
950 WARN_ON(priv != file->private_data); soc_camera_querycap()
959 struct soc_camera_device *icd = file->private_data; soc_camera_streamon()
964 WARN_ON(priv != file->private_data); soc_camera_streamon()
987 struct soc_camera_device *icd = file->private_data; soc_camera_streamoff()
991 WARN_ON(priv != file->private_data); soc_camera_streamoff()
1016 struct soc_camera_device *icd = file->private_data; soc_camera_cropcap()
1025 struct soc_camera_device *icd = file->private_data; soc_camera_g_crop()
1042 struct soc_camera_device *icd = file->private_data; soc_camera_s_crop()
1082 struct soc_camera_device *icd = file->private_data; soc_camera_g_selection()
1098 struct soc_camera_device *icd = file->private_data; soc_camera_s_selection()
1141 struct soc_camera_device *icd = file->private_data; soc_camera_g_parm()
1153 struct soc_camera_device *icd = file->private_data; soc_camera_s_parm()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-debugfs.c177 struct xgbe_prv_data *pdata = filp->private_data; xgmac_reg_addr_read()
186 struct xgbe_prv_data *pdata = filp->private_data; xgmac_reg_addr_write()
195 struct xgbe_prv_data *pdata = filp->private_data; xgmac_reg_value_read()
207 struct xgbe_prv_data *pdata = filp->private_data; xgmac_reg_value_write()
237 struct xgbe_prv_data *pdata = filp->private_data; xpcs_mmd_read()
245 struct xgbe_prv_data *pdata = filp->private_data; xpcs_mmd_write()
254 struct xgbe_prv_data *pdata = filp->private_data; xpcs_reg_addr_read()
262 struct xgbe_prv_data *pdata = filp->private_data; xpcs_reg_addr_write()
271 struct xgbe_prv_data *pdata = filp->private_data; xpcs_reg_value_read()
284 struct xgbe_prv_data *pdata = filp->private_data; xpcs_reg_value_write()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dlproc_osc.c60 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; osc_active_seq_write()
95 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; osc_max_rpcs_in_flight_seq_write()
139 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; osc_max_dirty_mb_seq_write()
183 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; osc_cached_mb_seq_write()
242 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_cur_grant_bytes_seq_write()
299 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_grant_shrink_interval_seq_write()
333 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_checksum_seq_write()
374 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_checksum_type_seq_write()
415 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_resend_count_seq_write()
444 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_contention_seconds_seq_write()
465 struct obd_device *obd = ((struct seq_file *)file->private_data)->private; osc_lockless_truncate_seq_write()
491 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; osc_obd_max_pages_per_rpc_seq_write()
685 struct seq_file *seq = file->private_data; osc_rpc_stats_seq_write()
724 struct seq_file *seq = file->private_data; osc_stats_seq_write()
/linux-4.1.27/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c102 runtime->private_data = &(cs5535au->dmas[CS5535AUDIO_DMA_PLAYBACK]); snd_cs5535audio_playback_open()
249 struct cs5535audio_dma *dma = substream->runtime->private_data; snd_cs5535audio_hw_params()
271 struct cs5535audio_dma *dma = substream->runtime->private_data; snd_cs5535audio_hw_free()
296 struct cs5535audio_dma *dma = substream->runtime->private_data; snd_cs5535audio_trigger()
335 dma = substream->runtime->private_data; snd_cs5535audio_pcm_pointer()
361 runtime->private_data = &(cs5535au->dmas[CS5535AUDIO_DMA_CAPTURE]); snd_cs5535audio_capture_open()
443 pcm->private_data = cs5535au; snd_cs5535audio_pcm()
/linux-4.1.27/sound/drivers/mpu401/
H A Dmpu401_uart.c289 mpu = substream->rmidi->private_data; snd_mpu401_uart_input_open()
311 mpu = substream->rmidi->private_data; snd_mpu401_uart_output_open()
333 mpu = substream->rmidi->private_data; snd_mpu401_uart_input_close()
350 mpu = substream->rmidi->private_data; snd_mpu401_uart_output_close()
372 mpu = substream->rmidi->private_data; snd_mpu401_uart_input_trigger()
458 mpu = substream->rmidi->private_data; snd_mpu401_uart_output_trigger()
500 struct snd_mpu401 *mpu = rmidi->private_data; snd_mpu401_uart_free()
521 * cast from rawmidi->private_data (with struct snd_mpu401 magic-cast).
552 rmidi->private_data = mpu; snd_mpu401_uart_new()
/linux-4.1.27/sound/sh/
H A Daica.c242 dreamcastcard = substream->pcm->private_data; aica_dma_transfer()
314 dreamcastcard = substream->pcm->private_data; aica_period_elapsed()
338 dreamcastcard = substream->pcm->private_data; spu_begin_dma()
359 dreamcastcard = substream->pcm->private_data; snd_aicapcm_pcm_open()
383 struct snd_card_aica *dreamcastcard = substream->pcm->private_data; snd_aicapcm_pcm_close()
412 struct snd_card_aica *dreamcastcard = substream->pcm->private_data; snd_aicapcm_pcm_prepare()
465 pcm->private_data = dreamcastcard; snd_aicapcmchip()
514 dreamcastcard = kcontrol->private_data; aica_pcmvolume_get()
526 dreamcastcard = kcontrol->private_data; aica_pcmvolume_put()
/linux-4.1.27/drivers/isdn/mISDN/
H A Dtimerdev.c66 filep->private_data = dev; mISDN_open()
73 struct mISDNtimerdev *dev = filep->private_data; mISDN_close()
102 struct mISDNtimerdev *dev = filep->private_data; mISDN_read()
145 struct mISDNtimerdev *dev = filep->private_data; mISDN_poll()
226 struct mISDNtimerdev *dev = filep->private_data; mISDN_ioctl()
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-encoder.c216 struct saa7164_encoder_fh *fh = file->private_data; vidioc_s_std()
245 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_std()
278 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_input()
294 struct saa7164_encoder_fh *fh = file->private_data; vidioc_s_input()
314 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_tuner()
340 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_frequency()
352 struct saa7164_encoder_fh *fh = file->private_data; vidioc_s_frequency()
402 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_ctrl()
438 struct saa7164_encoder_fh *fh = file->private_data; vidioc_s_ctrl()
537 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_ext_ctrls()
686 struct saa7164_encoder_fh *fh = file->private_data; vidioc_s_ext_ctrls()
715 struct saa7164_encoder_fh *fh = file->private_data; vidioc_querycap()
751 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_fmt_vid_cap()
772 struct saa7164_encoder_fh *fh = file->private_data; vidioc_try_fmt_vid_cap()
789 struct saa7164_encoder_fh *fh = file->private_data; vidioc_s_fmt_vid_cap()
1087 file->private_data = fh; fops_open()
1095 struct saa7164_encoder_fh *fh = file->private_data; fops_release()
1109 file->private_data = NULL; fops_release()
1148 struct saa7164_encoder_fh *fh = file->private_data; fops_read()
1254 (struct saa7164_encoder_fh *)file->private_data; fops_poll()
H A Dsaa7164-vbi.c188 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_std()
217 struct saa7164_encoder_fh *fh = file->private_data; vidioc_g_std()
250 struct saa7164_vbi_fh *fh = file->private_data; vidioc_g_input()
266 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_input()
286 struct saa7164_vbi_fh *fh = file->private_data; vidioc_g_tuner()
312 struct saa7164_vbi_fh *fh = file->private_data; vidioc_g_frequency()
324 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_frequency()
374 struct saa7164_vbi_fh *fh = file->private_data; vidioc_g_ctrl()
410 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_ctrl()
500 struct saa7164_vbi_fh *fh = file->private_data; vidioc_g_ext_ctrls()
625 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_ext_ctrls()
654 struct saa7164_vbi_fh *fh = file->private_data; vidioc_querycap()
690 struct saa7164_vbi_fh *fh = file->private_data; vidioc_g_fmt_vid_cap()
711 struct saa7164_vbi_fh *fh = file->private_data; vidioc_try_fmt_vid_cap()
728 struct saa7164_vbi_fh *fh = file->private_data; vidioc_s_fmt_vid_cap()
1034 file->private_data = fh; fops_open()
1042 struct saa7164_vbi_fh *fh = file->private_data; fops_release()
1056 file->private_data = NULL; fops_release()
1094 struct saa7164_vbi_fh *fh = file->private_data; fops_read()
1201 struct saa7164_vbi_fh *fh = (struct saa7164_vbi_fh *)file->private_data; fops_poll()
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dav7110_ca.c217 struct dvb_device *dvbdev = file->private_data; dvb_ca_open()
231 struct dvb_device *dvbdev = file->private_data; dvb_ca_poll()
253 struct dvb_device *dvbdev = file->private_data; dvb_ca_ioctl()
341 struct dvb_device *dvbdev = file->private_data; dvb_ca_write()
351 struct dvb_device *dvbdev = file->private_data; dvb_ca_read()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Ddebugfs_sta.c25 struct ieee80211_sta *sta = file->private_data; ath10k_dbg_sta_read_aggr_mode()
44 struct ieee80211_sta *sta = file->private_data; ath10k_dbg_sta_write_aggr_mode()
87 struct ieee80211_sta *sta = file->private_data; ath10k_dbg_sta_write_addba()
138 struct ieee80211_sta *sta = file->private_data; ath10k_dbg_sta_write_addba_resp()
188 struct ieee80211_sta *sta = file->private_data; ath10k_dbg_sta_write_delba()
/linux-4.1.27/drivers/media/radio/
H A Dradio-sf16fmr2.c61 struct fmr2 *fmr2 = tea->private_data; fmr2_tea575x_set_pins()
74 struct fmr2 *fmr2 = tea->private_data; fmr2_tea575x_get_pins()
151 struct fmr2 *fmr2 = tea->private_data; fmr2_s_ctrl()
185 struct fmr2 *fmr2 = tea->private_data; fmr2_tea_ext_init()
233 fmr2->tea.private_data = fmr2; fmr2_probe()
H A Dradio-maxiradio.c85 struct maxiradio *dev = tea->private_data; maxiradio_tea575x_set_pins()
100 struct maxiradio *dev = tea->private_data; maxiradio_tea575x_get_pins()
138 dev->tea.private_data = dev; maxiradio_probe()
/linux-4.1.27/drivers/remoteproc/
H A Dremoteproc_debugfs.c50 struct rproc_mem_entry *trace = filp->private_data; rproc_trace_read()
78 struct rproc *rproc = filp->private_data; rproc_state_read()
101 struct rproc *rproc = filp->private_data; rproc_name_read()
121 struct rproc *rproc = filp->private_data; rproc_recovery_read()
155 struct rproc *rproc = filp->private_data; rproc_recovery_write()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlproc_lov.c59 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; lov_stripesize_seq_write()
91 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; lov_stripeoffset_seq_write()
122 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; lov_stripetype_seq_write()
153 struct obd_device *dev = ((struct seq_file *)file->private_data)->private; lov_stripecount_seq_write()
260 seq = file->private_data; lov_target_seq_open()
/linux-4.1.27/drivers/pci/
H A Dproc.c194 struct pci_filp_private *fpriv = file->private_data; proc_bus_pci_ioctl()
233 struct pci_filp_private *fpriv = file->private_data; proc_bus_pci_mmap()
267 file->private_data = fpriv; proc_bus_pci_open()
274 kfree(file->private_data); proc_bus_pci_release()
275 file->private_data = NULL; proc_bus_pci_release()
/linux-4.1.27/drivers/char/
H A Dmsm_smd_pkt.c122 smd_pkt_devp = file->private_data; smd_pkt_read()
187 smd_pkt_devp = file->private_data; smd_pkt_write()
223 smd_pkt_devp = file->private_data; smd_pkt_poll()
299 file->private_data = smd_pkt_devp; smd_pkt_open()
336 struct smd_pkt_dev *smd_pkt_devp = file->private_data; smd_pkt_release()
/linux-4.1.27/fs/
H A Dsignalfd.c56 kfree(file->private_data); signalfd_release()
62 struct signalfd_ctx *ctx = file->private_data; signalfd_poll()
207 struct signalfd_ctx *ctx = file->private_data; signalfd_read()
236 struct signalfd_ctx *ctx = f->private_data; signalfd_show_fdinfo()
293 ctx = f.file->private_data; SYSCALL_DEFINE4()
/linux-4.1.27/net/batman-adv/
H A Dicmp_socket.c75 file->private_data = socket_client; batadv_socket_open()
82 struct batadv_socket_client *socket_client = file->private_data; batadv_socket_release()
109 struct batadv_socket_client *socket_client = file->private_data; batadv_socket_read()
152 struct batadv_socket_client *socket_client = file->private_data; batadv_socket_write()
276 struct batadv_socket_client *socket_client = file->private_data; batadv_socket_poll()
/linux-4.1.27/kernel/power/
H A Duser.c69 filp->private_data = data; snapshot_open()
117 data = filp->private_data; snapshot_release()
144 data = filp->private_data; snapshot_read()
177 data = filp->private_data; snapshot_write()
216 data = filp->private_data; snapshot_ioctl()
/linux-4.1.27/fs/9p/
H A Dvfs_dir.c97 struct p9_fid *fid = filp->private_data; v9fs_alloc_rdir_buf()
122 fid = file->private_data; v9fs_dir_readdir()
137 n = p9_client_read(file->private_data, ctx->pos, &to, v9fs_dir_readdir()
185 fid = file->private_data; v9fs_dir_readdir_dotl()
238 fid = filp->private_data; v9fs_dir_release()
/linux-4.1.27/sound/pci/ymfpci/
H A Dymfpci_main.c97 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_write()
107 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_read()
361 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_pcm_capture_interrupt()
394 struct snd_ymfpci_pcm *ypcm = substream->runtime->private_data; snd_ymfpci_playback_trigger()
439 struct snd_ymfpci_pcm *ypcm = substream->runtime->private_data; snd_ymfpci_capture_trigger()
642 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_playback_hw_params()
658 if (runtime->private_data == NULL) snd_ymfpci_playback_hw_free()
660 ypcm = runtime->private_data; snd_ymfpci_playback_hw_free()
680 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_playback_prepare()
719 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_capture_prepare()
763 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_playback_pointer()
775 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_capture_pointer()
844 snd_mpu401_uart_interrupt(irq, chip->rawmidi->private_data); snd_ymfpci_interrupt()
894 kfree(runtime->private_data); snd_ymfpci_pcm_free_substream()
921 runtime->private_data = ypcm; snd_ymfpci_playback_open_1()
960 ypcm = runtime->private_data; snd_ymfpci_playback_open()
982 ypcm = runtime->private_data; snd_ymfpci_playback_spdif_open()
1010 ypcm = runtime->private_data; snd_ymfpci_playback_4ch_open()
1048 runtime->private_data = ypcm; snd_ymfpci_capture_open()
1072 struct snd_ymfpci_pcm *ypcm = substream->runtime->private_data; snd_ymfpci_playback_close()
1117 struct snd_ymfpci_pcm *ypcm = runtime->private_data; snd_ymfpci_capture_close()
1155 pcm->private_data = chip; snd_ymfpci_pcm()
1190 pcm->private_data = chip; snd_ymfpci_pcm2()
1224 pcm->private_data = chip; snd_ymfpci_pcm_spdif()
1265 pcm->private_data = chip; snd_ymfpci_pcm_4ch()
1768 if (substream->runtime && substream->runtime->private_data) { snd_ymfpci_pcm_vol_put()
1769 struct snd_ymfpci_pcm *ypcm = substream->runtime->private_data; snd_ymfpci_pcm_vol_put()
1796 struct snd_ymfpci *chip = bus->private_data; snd_ymfpci_mixer_free_ac97_bus()
1802 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_mixer_free_ac97()
1824 ac97.private_data = chip; snd_ymfpci_mixer()
1963 timer->private_data = chip; snd_ymfpci_timer()
1978 struct snd_ymfpci *chip = entry->private_data; snd_ymfpci_proc_read()
2303 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_suspend()
2329 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_resume()
/linux-4.1.27/sound/core/oss/
H A Dmixer_oss.c72 file->private_data = fmixer; snd_mixer_oss_open()
87 if (file->private_data) { snd_mixer_oss_release()
88 fmixer = file->private_data; snd_mixer_oss_release()
381 return snd_mixer_oss_ioctl1(file->private_data, cmd, arg); snd_mixer_oss_ioctl()
595 struct slot *slot = pslot->private_data; snd_mixer_oss_get_volume1()
706 struct slot *slot = pslot->private_data; snd_mixer_oss_put_volume1()
755 struct slot *slot = pslot->private_data; snd_mixer_oss_get_recsrc1_sw()
768 struct slot *slot = pslot->private_data; snd_mixer_oss_get_recsrc1_route()
781 struct slot *slot = pslot->private_data; snd_mixer_oss_put_recsrc1_sw()
791 struct slot *slot = pslot->private_data; snd_mixer_oss_put_recsrc1_route()
828 slot = pslot->private_data; snd_mixer_oss_get_recsrc2()
877 slot = pslot->private_data; snd_mixer_oss_put_recsrc2()
942 struct slot *p = chn->private_data; snd_mixer_oss_slot_free()
1107 rslot->private_data = pslot; snd_mixer_oss_build_input()
1153 struct snd_mixer_oss *mixer = entry->private_data; snd_mixer_oss_proc_read()
1162 p = (struct slot *)mixer->slots[i].private_data; snd_mixer_oss_proc_read()
1177 struct snd_mixer_oss *mixer = entry->private_data; snd_mixer_oss_proc_write()
1209 slot = (struct slot *)mixer->slots[ch].private_data; snd_mixer_oss_proc_write()
1245 entry->private_data = mixer; snd_mixer_oss_proc_init()
/linux-4.1.27/sound/drivers/
H A Ddummy.c113 (*(const struct dummy_timer_ops **)(substream)->runtime->private_data)
277 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_start()
287 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_stop()
297 struct dummy_systimer_pcm *dpcm = runtime->private_data; dummy_systimer_prepare()
328 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_pointer()
345 substream->runtime->private_data = dpcm; dummy_systimer_create()
355 kfree(substream->runtime->private_data); dummy_systimer_free()
404 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_start()
414 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_stop()
430 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_pointer()
444 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_prepare()
467 substream->runtime->private_data = dpcm; dummy_hrtimer_create()
479 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_free()
708 pcm->private_data = dummy; snd_card_dummy_pcm()
985 struct snd_dummy *dummy = entry->private_data; dummy_proc_read()
1007 struct snd_dummy *dummy = entry->private_data; dummy_proc_write()
1041 entry->private_data = chip; dummy_proc_init()
1060 dummy = card->private_data; snd_dummy_probe()
1136 struct snd_dummy *dummy = card->private_data; snd_dummy_suspend()
/linux-4.1.27/drivers/md/bcache/
H A Ddebug.c164 struct dump_iterator *i = file->private_data; bch_dump_read()
206 file->private_data = i; bch_dump_open()
216 kfree(file->private_data); bch_dump_release()
/linux-4.1.27/drivers/misc/mei/
H A Ddebugfs.c30 struct mei_device *dev = fp->private_data; mei_dbgfs_read_meclients()
91 struct mei_device *dev = fp->private_data; mei_dbgfs_read_active()
139 struct mei_device *dev = fp->private_data; mei_dbgfs_read_devstate()
/linux-4.1.27/drivers/staging/android/
H A Dsw_sync.c151 file->private_data = obj; sw_sync_open()
158 struct sw_sync_timeline *obj = file->private_data; sw_sync_release()
226 struct sw_sync_timeline *obj = file->private_data; sw_sync_ioctl()
/linux-4.1.27/drivers/staging/iio/trigger/
H A Diio-trig-periodic-rtc.c108 static void iio_prtc_trigger_poll(void *private_data) iio_prtc_trigger_poll() argument
110 iio_trigger_poll(private_data); iio_prtc_trigger_poll()
150 trig_info->task.private_data = trig; iio_trig_periodic_rtc_probe()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c30 struct wcn36xx *wcn = file->private_data; read_file_bool_bmps()
57 struct wcn36xx *wcn = file->private_data; write_file_bool_bmps()
108 struct wcn36xx *wcn = file->private_data; write_file_dump()

Completed in 4758 milliseconds

1234567