Home
last modified time | relevance | path

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

123

/arch/mips/pmcs-msp71xx/
Dmsp_serial.c48 struct msp_uart_data *d = p->private_data; in msp_serial_out()
66 struct msp_uart_data *d = p->private_data; in msp_serial_handle_irq()
119 up.private_data = kzalloc(sizeof(struct msp_uart_data), GFP_KERNEL); in msp_serial_setup()
120 if (!up.private_data) { in msp_serial_setup()
125 kfree(up.private_data); in msp_serial_setup()
149 up.private_data = (void*)UART1_STATUS_REG; in msp_serial_setup()
151 kfree(up.private_data); in msp_serial_setup()
/arch/powerpc/platforms/powernv/
Deeh-powernv.c67 phb = hose->private_data; in pnv_eeh_init()
92 phb = hose->private_data; in pnv_eeh_post_init()
124 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dev_probe()
224 struct pnv_phb *phb = hose->private_data; in pnv_eeh_set_option()
262 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_state()
293 struct pnv_phb *phb = hose->private_data; in pnv_eeh_reset()
352 struct pnv_phb *phb = hose->private_data; in pnv_eeh_get_log()
372 struct pnv_phb *phb = hose->private_data; in pnv_eeh_configure_bridge()
397 struct pnv_phb *phb = hose->private_data; in pnv_eeh_err_inject()
451 phb = hose->private_data; in pnv_eeh_next_error()
[all …]
Deeh-ioda.c73 struct pci_controller *hose = filp->private_data; in ioda_eeh_ei_write()
74 struct pnv_phb *phb = hose->private_data; in ioda_eeh_ei_write()
120 struct pnv_phb *phb = hose->private_data; in ioda_eeh_dbgfs_set()
129 struct pnv_phb *phb = hose->private_data; in ioda_eeh_dbgfs_get()
184 struct pnv_phb *phb = hose->private_data; in ioda_eeh_post_init()
243 struct pnv_phb *phb = hose->private_data; in ioda_eeh_set_option()
316 struct pnv_phb *phb = pe->phb->private_data; in ioda_eeh_phb_diag()
328 struct pnv_phb *phb = pe->phb->private_data; in ioda_eeh_get_phb_state()
364 struct pnv_phb *phb = pe->phb->private_data; in ioda_eeh_get_pe_state()
470 struct pnv_phb *phb = pe->phb->private_data; in ioda_eeh_get_state()
[all …]
Dpci.c52 struct pnv_phb *phb = hose->private_data; in pnv_setup_msi_irqs()
101 struct pnv_phb *phb = hose->private_data; in pnv_teardown_msi_irqs()
434 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_read()
471 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_write()
498 struct pnv_phb *phb = hose->private_data; in pnv_pci_cfg_check()
539 phb = pdn->phb->private_data; in pnv_pci_read_config()
573 phb = pdn->phb->private_data; in pnv_pci_write_config()
735 struct pnv_phb *phb = hose->private_data; in pnv_pci_dma_dev_setup()
749 struct pnv_phb *phb = hose->private_data; in pnv_pci_dma_set_mask()
759 struct pnv_phb *phb = hose->private_data; in pnv_pci_dma_get_required_mask()
[all …]
Dpci-ioda.c499 struct pnv_phb *phb = hose->private_data; in pnv_ioda_get_pe()
651 struct pnv_phb *phb = hose->private_data;
747 struct pnv_phb *phb = hose->private_data; in pnv_ioda_setup_bus_PE()
837 phb = hose->private_data; in pnv_pci_ioda_setup_PEs()
1369 struct pnv_phb *phb = hose->private_data; in pnv_phb_to_cxl()
1393 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirqs()
1408 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirqs()
1418 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirq_ranges()
1438 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirq_ranges()
1474 struct pnv_phb *phb = hose->private_data; in pnv_cxl_get_irq_count()
[all …]
Dopal-lpc.c192 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read()
283 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_write()
/arch/um/drivers/
Dhostaudio_kern.c73 struct hostaudio_state *state = file->private_data; in hostaudio_read()
100 struct hostaudio_state *state = file->private_data; in hostaudio_write()
141 struct hostaudio_state *state = file->private_data; in hostaudio_ioctl()
213 file->private_data = state; in hostaudio_open()
219 struct hostaudio_state *state = file->private_data; in hostaudio_release()
235 struct hostmixer_state *state = file->private_data; in hostmixer_ioctl_mixdev()
278 file->private_data = state; in hostmixer_open_mixdev()
284 struct hostmixer_state *state = file->private_data; in hostmixer_release()
/arch/powerpc/platforms/cell/spufs/
Dfile.c71 file->private_data = attr; in spufs_attr_open()
78 kfree(file->private_data); in spufs_attr_release()
89 attr = file->private_data; in spufs_attr_read()
123 attr = file->private_data; in spufs_attr_write()
167 file->private_data = ctx; in spufs_mem_open()
200 struct spu_context *ctx = file->private_data; in spufs_mem_read()
216 struct spu_context *ctx = file->private_data; in spufs_mem_write()
238 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault()
287 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access()
314 struct spu_context *ctx = file->private_data; in spufs_mem_mmap()
[all …]
/arch/arm/mach-dove/
Dpcie.c46 sys->private_data = pp; in dove_pcie_setup()
99 struct pcie_port *pp = sys->private_data; in pcie_rd_conf()
119 struct pcie_port *pp = sys->private_data; in pcie_wr_conf()
174 struct pcie_port *pp = sys->private_data; in dove_pcie_map_irq()
/arch/arm/include/asm/mach/
Dpci.h27 void **private_data; member
70 void *private_data; /* platform controller private data */ member
/arch/arm/mach-mv78xx0/
Dpcie.c109 sys->private_data = pp; in mv78xx0_pcie_setup()
141 struct pcie_port *pp = sys->private_data; in pcie_rd_conf()
161 struct pcie_port *pp = sys->private_data; in pcie_wr_conf()
217 struct pcie_port *pp = sys->private_data; in mv78xx0_pcie_map_irq()
/arch/powerpc/kvm/
Dbook3s_64_vio.c65 struct kvmppc_spapr_tce_table *stt = vma->vm_file->private_data; in kvm_spapr_tce_fault()
89 struct kvmppc_spapr_tce_table *stt = filp->private_data; in kvm_spapr_tce_release()
/arch/arc/kernel/
Dtroubleshoot.c260 file->private_data = (void *)__get_free_page(GFP_KERNEL); in tlb_stats_open()
271 char *kbuf = (char *)file->private_data; in tlb_stats_output()
297 free_page((unsigned long)(file->private_data)); in tlb_stats_close()
/arch/powerpc/platforms/cell/
Dcelleb_pci.c104 struct celleb_pci_private *private = hose->private_data; in get_fake_config_start()
116 struct celleb_pci_private *private = hose->private_data; in get_resource_start()
291 struct celleb_pci_private *private = hose->private_data; in celleb_setup_fake_pci_device()
433 hose->private_data = in celleb_alloc_private_mem()
/arch/blackfin/kernel/
Dsys_bfin.c48 struct fb_info *info = filp->private_data; in get_fb_unmapped_area()
/arch/powerpc/sysdev/
Daxonram.c109 struct axon_ram_bank *bank = bio->bi_bdev->bd_disk->private_data; in axon_ram_make_request()
146 struct axon_ram_bank *bank = device->bd_disk->private_data; in axon_ram_direct_access()
233 bank->disk->private_data = bank; in axon_ram_probe()
Dfsl_pci.c83 struct ccsr_pci __iomem *pci = hose->private_data; in fsl_pcie_check_link()
177 struct ccsr_pci __iomem *pci = hose->private_data; in setup_pci_atmu()
504 pci = hose->private_data = ioremap(rsrc.start, resource_size(&rsrc)); in fsl_add_bridge()
505 if (!hose->private_data) in fsl_add_bridge()
558 iounmap(hose->private_data); in fsl_add_bridge()
1105 struct ccsr_pci __iomem *pci = hose->private_data; in fsl_pci_pme_handle()
1151 pci = hose->private_data; in fsl_pci_pme_probe()
1171 struct ccsr_pci __iomem *pci = hose->private_data; in send_pme_turnoff_message()
1207 struct ccsr_pci __iomem *pci = hose->private_data; in fsl_pci_syscore_do_resume()
Dscom.c109 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read()
146 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write()
/arch/m68k/emu/
Dnfblock.c84 struct nfhd_device *dev = bdev->bd_disk->private_data; in nfhd_getgeo()
135 dev->disk->private_data = dev; in nfhd_init_one()
/arch/s390/hypfs/
Dinode.c137 filp->private_data = kstrdup(data, GFP_KERNEL); in hypfs_open()
138 if (!filp->private_data) { in hypfs_open()
160 data = filp->private_data; in hypfs_aio_read()
212 kfree(filp->private_data); in hypfs_release()
/arch/cris/arch-v10/drivers/
Dgpio.c146 struct gpio_private *priv = file->private_data; in gpio_poll()
276 struct gpio_private *priv = file->private_data; in gpio_write()
350 filp->private_data = priv; in gpio_open()
371 todel = filp->private_data; in gpio_release()
508 struct gpio_private *priv = file->private_data; in gpio_ioctl()
/arch/cris/arch-v32/drivers/mach-a3/
Dgpio.c230 struct gpio_private *priv = file->private_data; in gpio_poll()
343 struct gpio_private *priv = file->private_data; in gpio_write()
398 filp->private_data = priv; in gpio_open()
429 todel = filp->private_data; in gpio_release()
529 struct gpio_private *priv = file->private_data; in gpio_ioctl_unlocked()
684 struct gpio_private *priv = file->private_data; in virtual_gpio_ioctl()
/arch/cris/arch-v32/drivers/mach-fs/
Dgpio.c187 struct gpio_private *priv = file->private_data; in gpio_poll()
355 struct gpio_private *priv = file->private_data; in gpio_write()
445 filp->private_data = (void *)priv; in gpio_open()
470 todel = filp->private_data; in gpio_release()
567 struct gpio_private *priv = file->private_data; in gpio_ioctl_unlocked()
725 struct gpio_private *priv = file->private_data; in virtual_gpio_ioctl()
/arch/xtensa/platforms/iss/
Dsimdisk.c132 struct simdisk *dev = bdev->bd_disk->private_data; in simdisk_open()
144 struct simdisk *dev = disk->private_data; in simdisk_release()
299 dev->gd->private_data = dev; in simdisk_setup()
/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c549 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write()
562 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl()
635 file->private_data = mpc52xx_gpt_wdt; in mpc52xx_wdt_open()
643 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_release()

123