Home
last modified time | relevance | path

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

12345678910>>...30

/drivers/s390/char/
Dhmcdrv_dev.c135 fp->private_data = NULL; /* no command yet */ in hmcdrv_dev_open()
150 kfree(fp->private_data); in hmcdrv_dev_release()
151 fp->private_data = NULL; in hmcdrv_dev_release()
175 if (fp->private_data) { in hmcdrv_dev_seek()
176 kfree(fp->private_data); in hmcdrv_dev_seek()
177 fp->private_data = NULL; in hmcdrv_dev_seek()
227 (fp->private_data == NULL)) { /* no FTP cmd defined ? */ in hmcdrv_dev_read()
231 retlen = hmcdrv_dev_transfer((char *) fp->private_data, in hmcdrv_dev_read()
254 if (!fp->private_data) { /* first expect a cmd write */ in hmcdrv_dev_write()
255 fp->private_data = kmalloc(len + 1, GFP_KERNEL); in hmcdrv_dev_write()
[all …]
/drivers/misc/mic/scif/
Dscif_fd.c26 f->private_data = priv; in scif_fdopen()
32 struct scif_endpt *priv = f->private_data; in scif_fdclose()
39 struct scif_endpt *priv = f->private_data; in scif_fdmmap()
46 struct scif_endpt *priv = f->private_data; in scif_fdpoll()
53 struct scif_endpt *ep = f->private_data; in scif_fdflush()
83 struct scif_endpt *priv = f->private_data; in scif_fdioctl()
168 struct scif_endpt *priv = f->private_data; in scif_fdioctl()
213 f->private_data = newep; in scif_fdioctl()
218 struct scif_endpt *priv = f->private_data; in scif_fdioctl()
242 struct scif_endpt *priv = f->private_data; in scif_fdioctl()
[all …]
/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read()
186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write()
195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read()
207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write()
237 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_read()
245 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_write()
254 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_read()
262 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_write()
271 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_read()
284 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_write()
[all …]
/drivers/usb/musb/
Dux500_dma.c58 void *private_data; member
63 static void ux500_dma_callback(void *private_data) in ux500_dma_callback() argument
65 struct dma_channel *channel = private_data; in ux500_dma_callback()
66 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_callback()
86 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_configure_channel()
94 struct musb *musb = ux500_channel->controller->private_data; in ux500_configure_channel()
146 struct musb *musb = controller->private_data; in ux500_dma_channel_allocate()
177 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_channel_release()
178 struct musb *musb = ux500_channel->controller->private_data; in ux500_dma_channel_release()
221 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_channel_abort()
[all …]
Dmusbhsdma.c44 struct musb *musb = controller->private_data; in dma_controller_stop()
82 channel->private_data = musb_channel; in dma_channel_allocate()
97 struct musb_dma_channel *musb_channel = channel->private_data; in dma_channel_release()
113 struct musb_dma_channel *musb_channel = channel->private_data; in configure_channel()
115 struct musb *musb = controller->private_data; in configure_channel()
151 struct musb_dma_channel *musb_channel = channel->private_data; in dma_channel_program()
153 struct musb *musb = controller->private_data; in dma_channel_program()
196 struct musb_dma_channel *musb_channel = channel->private_data; in dma_channel_abort()
198 struct musb *musb = musb_channel->controller->private_data; in dma_channel_abort()
240 static irqreturn_t dma_controller_irq(int irq, void *private_data) in dma_controller_irq() argument
[all …]
/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c181 struct private_data { struct
203 struct private_data *priv; argument
282 static int __issue_avs_command(struct private_data *priv, int cmd, bool is_send, in __issue_avs_command()
379 struct private_data *priv = data; in irq_handler()
420 static int brcm_avs_get_pmap(struct private_data *priv, struct pmap *pmap) in brcm_avs_get_pmap()
437 static int brcm_avs_set_pmap(struct private_data *priv, struct pmap *pmap) in brcm_avs_set_pmap()
449 static int brcm_avs_get_pstate(struct private_data *priv, unsigned int *pstate) in brcm_avs_get_pstate()
462 static int brcm_avs_set_pstate(struct private_data *priv, unsigned int pstate) in brcm_avs_set_pstate()
486 brcm_avs_get_freq_table(struct device *dev, struct private_data *priv) in brcm_avs_get_freq_table()
562 struct seq_file *s = file->private_data; in brcm_avs_seq_write()
[all …]
/drivers/isdn/hardware/eicon/
Ddivasi.c237 if (!file->private_data) { in um_idi_read()
244 private_data))) in um_idi_read()
256 ret = diva_um_idi_read(file->private_data, in um_idi_read()
297 if (!(file->private_data = e)) { in um_idi_open_adapter()
319 if (!file->private_data) { in um_idi_write()
334 private_data))) in um_idi_write()
349 ret = diva_um_idi_write(file->private_data, in um_idi_write()
373 if (!file->private_data) { in um_idi_poll()
379 diva_um_id_get_os_context(file->private_data))) in um_idi_poll()
390 switch (diva_user_mode_idi_ind_ready(file->private_data, file)) { in um_idi_poll()
[all …]
/drivers/xen/xenfs/
Dxenstored.c15 const char *str = (const char *)file->private_data; in xsd_read()
21 kfree(file->private_data); in xsd_release()
27 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p", in xsd_kva_open()
29 if (!file->private_data) in xsd_kva_open()
58 file->private_data = (void *)kasprintf(GFP_KERNEL, "%d", in xsd_port_open()
60 if (!file->private_data) in xsd_port_open()
/drivers/tee/
Dtee_shm_pool.c25 struct gen_pool *genpool = poolm->private_data; in pool_op_gen_alloc()
42 gen_pool_free(poolm->private_data, (unsigned long)shm->kaddr, in pool_op_gen_free()
54 gen_pool_destroy(pool->private_mgr.private_data); in pool_res_mem_destroy()
55 gen_pool_destroy(pool->dma_buf_mgr.private_data); in pool_res_mem_destroy()
85 mgr->private_data = genpool; in pool_res_mem_mgr_init()
137 if (pool && pool->private_mgr.private_data) in tee_shm_pool_alloc_res_mem()
138 gen_pool_destroy(pool->private_mgr.private_data); in tee_shm_pool_alloc_res_mem()
/drivers/ata/
Dlibahci.c259 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_host_caps()
269 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_host_cap2()
279 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_host_version()
304 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_read_em_buffer()
364 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_store_em_buffer()
407 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_show_em_supported()
582 struct ahci_host_priv *hpriv = host->private_data; in ahci_restore_initial_config()
601 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_scr_offset()
649 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_stop_engine()
688 struct ahci_host_priv *hpriv = ap->host->private_data; in ahci_start_fis_rx()
[all …]
Dpata_acpi.c39 struct pata_acpi *acpi = ap->private_data; in pacpi_pre_reset()
55 struct pata_acpi *acpi = ap->private_data; in pacpi_cable_detect()
74 struct pata_acpi *acpi = ap->private_data; in pacpi_discover_modes()
101 struct pata_acpi *acpi = adev->link->ap->private_data; in pacpi_mode_filter()
114 struct pata_acpi *acpi = ap->private_data; in pacpi_set_piomode()
137 struct pata_acpi *acpi = ap->private_data; in pacpi_set_dmamode()
170 struct pata_acpi *acpi = ap->private_data; in pacpi_qc_issue()
199 acpi = ap->private_data = devm_kzalloc(&pdev->dev, sizeof(struct pata_acpi), GFP_KERNEL); in pacpi_port_start()
200 if (ap->private_data == NULL) in pacpi_port_start()
Dsata_fsl.c297 struct sata_fsl_host_priv *host_priv = host->private_data; in fsl_sata_set_irq_coalescing()
357 struct sata_fsl_host_priv *host_priv = host->private_data; in fsl_sata_rx_watermark_show()
375 struct sata_fsl_host_priv *host_priv = host->private_data; in fsl_sata_rx_watermark_store()
519 struct sata_fsl_port_priv *pp = ap->private_data; in sata_fsl_qc_prep()
520 struct sata_fsl_host_priv *host_priv = ap->host->private_data; in sata_fsl_qc_prep()
567 struct sata_fsl_host_priv *host_priv = ap->host->private_data; in sata_fsl_qc_issue()
595 struct sata_fsl_port_priv *pp = qc->ap->private_data; in sata_fsl_qc_fill_rtf()
596 struct sata_fsl_host_priv *host_priv = qc->ap->host->private_data; in sata_fsl_qc_fill_rtf()
610 struct sata_fsl_host_priv *host_priv = link->ap->host->private_data; in sata_fsl_scr_write()
634 struct sata_fsl_host_priv *host_priv = link->ap->host->private_data; in sata_fsl_scr_read()
[all …]
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; in nv_adma_register_mode()
645 struct nv_adma_port_priv *pp = ap->private_data; in nv_adma_mode()
676 struct nv_adma_port_priv *pp = ap->private_data; in nv_adma_slave_config()
737 port0 = ap->host->ports[0]->private_data; in nv_adma_slave_config()
[all …]
Dpata_ep93xx.c332 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_set_piomode()
359 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_check_status()
366 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_check_altstatus()
375 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_tf_load()
416 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_tf_read()
448 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_exec_command()
458 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_dev_select()
471 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_set_devctl()
482 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_data_xfer()
522 struct ep93xx_pata_data *drv_data = ap->host->private_data; in ep93xx_pata_device_is_present()
[all …]
/drivers/usb/misc/
Duss720.c216 priv = pp->private_data; in get_1284_register()
248 priv = pp->private_data; in set_1284_register()
271 struct parport_uss720_private *priv = pp->private_data; in change_mode()
335 struct parport_uss720_private *priv = pp->private_data;
363 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_write_control()
373 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_read_control()
379 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_frob_control()
402 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_disable_irq()
413 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_enable_irq()
424 struct parport_uss720_private *priv = pp->private_data; in parport_uss720_data_forward()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c139 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_querycap()
163 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_g_std()
176 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_s_std()
185 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_querystd()
198 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_enum_input()
246 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_g_input()
268 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_s_input()
320 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_g_tuner()
332 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_s_tuner()
345 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_s_frequency()
[all …]
/drivers/gpu/drm/amd/include/
Dcgs_linux.h38 typedef int (*cgs_irq_source_set_func_t)(void *private_data,
52 typedef int (*cgs_irq_handler_func_t)(void *private_data,
74 void *private_data);
111 #define cgs_add_irq_source(dev,client_id,src_id,num_types,set,handler,private_data) \ argument
113 private_data)
/drivers/net/wireless/ti/wlcore/
Ddebugfs.c93 struct wl1271 *wl = file->private_data; in 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; in gpio_power_read()
211 struct wl1271 *wl = file->private_data; in gpio_power_write()
243 struct wl1271 *wl = file->private_data; in start_recovery_write()
261 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_read()
272 struct wl1271 *wl = file->private_data; in dynamic_ps_timeout_write()
325 struct wl1271 *wl = file->private_data; in forced_ps_read()
336 struct wl1271 *wl = file->private_data; in forced_ps_write()
[all …]
/drivers/scsi/fnic/
Dfnic_debugfs.c124 filp->private_data = inode->i_private; in fnic_trace_ctrl_open()
155 trace_type = (u8 *)filp->private_data; in fnic_trace_ctrl_read()
193 trace_type = (u8 *)filp->private_data; in fnic_trace_ctrl_write()
275 file->private_data = fnic_dbg_prt; in fnic_trace_debugfs_open()
301 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; in fnic_trace_debugfs_lseek()
327 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; in fnic_trace_debugfs_read()
351 fnic_dbgfs_t *fnic_dbg_prt = file->private_data; in fnic_trace_debugfs_release()
543 file->private_data = debug; in fnic_reset_stats_open()
567 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_read()
595 struct stats_debug_info *debug = file->private_data; in fnic_reset_stats_write()
[all …]
/drivers/infiniband/core/
Dcm.c276 void *private_data; member
430 static void * cm_copy_private_data(const void *private_data, in cm_copy_private_data() argument
435 if (!private_data || !private_data_len) in cm_copy_private_data()
438 data = kmemdup(private_data, private_data_len, GFP_KERNEL); in cm_copy_private_data()
446 void *private_data, u8 private_data_len) in cm_set_private_data() argument
448 if (cm_id_priv->private_data && cm_id_priv->private_data_len) in cm_set_private_data()
449 kfree(cm_id_priv->private_data); in cm_set_private_data()
451 cm_id_priv->private_data = private_data; in cm_set_private_data()
1032 kfree(cm_id_priv->private_data); in cm_destroy_id()
1296 if (param->private_data && param->private_data_len) in cm_format_req()
[all …]
/drivers/misc/ibmasm/
Dibmasmfs.c249 file->private_data = command_data; in command_file_open()
255 struct ibmasmfs_command_data *command_data = file->private_data; in command_file_close()
266 struct ibmasmfs_command_data *command_data = file->private_data; in command_file_read()
303 struct ibmasmfs_command_data *command_data = file->private_data; in command_file_write()
360 file->private_data = event_data; in event_file_open()
366 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_close()
375 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_read()
418 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_write()
445 file->private_data = rhbeat; in r_heartbeat_file_open()
451 struct ibmasmfs_heartbeat_data *rhbeat = file->private_data; in r_heartbeat_file_close()
[all …]
/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c59 kfree(runtime->private_data); in snd_bcm2835_playback_free()
60 runtime->private_data = NULL; in snd_bcm2835_playback_free()
163 runtime->private_data = alsa_stream; in snd_bcm2835_playback_open_generic()
217 alsa_stream = runtime->private_data; in snd_bcm2835_playback_close()
259 struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; in snd_bcm2835_pcm_hw_params()
288 struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; in snd_bcm2835_pcm_prepare()
339 struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; in snd_bcm2835_pcm_transfer()
352 struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; in snd_bcm2835_pcm_ack()
364 struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; in snd_bcm2835_pcm_trigger()
417 struct bcm2835_alsa_stream *alsa_stream = runtime->private_data; in snd_bcm2835_pcm_pointer()
[all …]
/drivers/scsi/bfa/
Dbfad_debugfs.c64 file->private_data = debug; in bfad_debugfs_open_drvtrc()
108 file->private_data = fw_debug; in bfad_debugfs_open_fwtrc()
152 file->private_data = fw_debug; in bfad_debugfs_open_fwsave()
168 file->private_data = reg_debug; in bfad_debugfs_open_reg()
177 struct bfad_debug_info *debug = file->private_data; in bfad_debugfs_lseek()
186 struct bfad_debug_info *debug = file->private_data; in bfad_debugfs_read()
229 struct bfad_debug_info *regrd_debug = file->private_data; in bfad_debugfs_read_regrd()
253 struct bfad_debug_info *regrd_debug = file->private_data; in bfad_debugfs_write_regrd()
322 struct bfad_debug_info *debug = file->private_data; in bfad_debugfs_write_regwr()
368 struct bfad_debug_info *debug = file->private_data; in bfad_debugfs_release()
[all …]
/drivers/isdn/hysdn/
Dhysdn_proclog.c157 hysdn_card *card = file->private_data; in hysdn_log_write()
176 if (!(inf = *((struct log_data **) file->private_data))) { in hysdn_log_read()
182 *((struct log_data **) file->private_data))); in hysdn_log_read()
188 file->private_data = &inf->next; /* next structure */ in hysdn_log_read()
209 filep->private_data = card; /* remember our own card */ in hysdn_log_open()
218 filep->private_data = &pd->log_tail->next; in hysdn_log_open()
220 filep->private_data = &pd->log_head; in hysdn_log_open()
252 inf = *((struct log_data **) filep->private_data); /* get first log entry */ in hysdn_log_close()
296 if (*((struct log_data **) file->private_data)) in hysdn_log_poll()
/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c83 file->private_data = fw_debug; in bnad_debugfs_open_fwtrc()
123 file->private_data = fw_debug; in bnad_debugfs_open_fwsave()
139 file->private_data = reg_debug; in bnad_debugfs_open_reg()
222 file->private_data = drv_info; in bnad_debugfs_open_drvinfo()
231 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_lseek()
243 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_read()
289 struct bnad_debug_info *regrd_debug = file->private_data; in bnad_debugfs_read_regrd()
312 struct bnad_debug_info *regrd_debug = file->private_data; in bnad_debugfs_write_regrd()
373 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_write_regwr()
415 struct bnad_debug_info *debug = file->private_data; in bnad_debugfs_release()
[all …]

12345678910>>...30