Home
last modified time | relevance | path

Searched refs:private_data (Results 1 – 25 of 52) 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/
Dpci-cxl.c30 struct pnv_phb *phb = hose->private_data; in pnv_phb_to_cxl_mode()
56 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirqs()
71 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirqs()
81 struct pnv_phb *phb = hose->private_data; in pnv_cxl_release_hwirq_ranges()
101 struct pnv_phb *phb = hose->private_data; in pnv_cxl_alloc_hwirq_ranges()
137 struct pnv_phb *phb = hose->private_data; in pnv_cxl_get_irq_count()
147 struct pnv_phb *phb = hose->private_data; in pnv_cxl_ioda_msi_setup()
199 struct pnv_phb *phb = hose->private_data; in pnv_cxl_enable_phb_kernel_api()
233 struct pnv_phb *phb = hose->private_data; in pnv_pci_on_cxl_phb()
241 struct pnv_phb *phb = hose->private_data; in pnv_cxl_phb_to_afu()
[all …]
Deeh-powernv.c68 phb = hose->private_data; in pnv_eeh_init()
115 struct pci_controller *hose = filp->private_data; in pnv_eeh_ei_write()
155 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_set()
164 struct pnv_phb *phb = hose->private_data; in pnv_eeh_dbgfs_get()
231 phb = hose->private_data; in pnv_eeh_post_init()
351 struct pnv_phb *phb = hose->private_data; in pnv_eeh_probe()
466 struct pnv_phb *phb = hose->private_data; in pnv_eeh_set_option()
538 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_diag()
550 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_phb_state()
589 struct pnv_phb *phb = pe->phb->private_data; in pnv_eeh_get_pe_state()
[all …]
Dpci.c165 struct pnv_phb *phb = hose->private_data; in pnv_setup_msi_irqs()
214 struct pnv_phb *phb = hose->private_data; in pnv_teardown_msi_irqs()
602 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_config_check_eeh()
658 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_read()
694 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_write()
720 struct pnv_phb *phb = pdn->phb->private_data; in pnv_pci_cfg_check()
763 phb = pdn->phb->private_data; in pnv_pci_read_config()
791 phb = pdn->phb->private_data; in pnv_pci_write_config()
978 struct pnv_phb *phb = hose->private_data; in pnv_pci_dma_dev_setup()
1001 struct pnv_phb *phb = hose->private_data; in pnv_pci_dma_bus_setup()
[all …]
Dmemtrace.c45 struct memtrace_entry *ent = filp->private_data; in memtrace_read()
63 struct memtrace_entry *dev = filp->private_data; in memtrace_mmap()
Dpci-ioda.c250 struct pnv_phb *phb = hose->private_data; in pnv_ioda_reserve_dev_m64_pe()
349 struct pnv_phb *phb = hose->private_data; in pnv_ioda_pick_m64_pe()
667 struct pnv_phb *phb = hose->private_data; in pnv_ioda_get_pe()
1030 struct pnv_phb *phb = hose->private_data; in pnv_ioda_setup_dev_PE()
1120 struct pnv_phb *phb = hose->private_data; in pnv_ioda_setup_bus_PE()
1191 struct pnv_phb *phb = hose->private_data; in pnv_ioda_setup_npu_PE()
1259 phb = hose->private_data; in pnv_pci_ioda_setup_PEs()
1282 phb = hose->private_data; in pnv_pci_vf_release_m64()
1321 phb = hose->private_data; in pnv_pci_vf_assign_m64()
1440 phb = hose->private_data; in pnv_ioda_release_vf_PE()
[all …]
Dnpu-dma.c180 phb = hose->private_data; in get_gpu_pci_dev_and_pe()
327 phb = pci_bus_to_host(npdev->bus)->private_data; in pnv_npu_try_dma_set_bypass()
566 nphb = pci_bus_to_host(npdev->bus)->private_data; in acquire_atsd_reg()
745 nphb = pci_bus_to_host(npdev->bus)->private_data; in pnv_npu2_init_context()
825 nphb = pci_bus_to_host(npdev->bus)->private_data; in pnv_npu2_destroy_context()
Dopal-lpc.c191 struct lpc_debugfs_entry *lpc = filp->private_data; in lpc_debug_read()
282 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()
137 struct hostaudio_state *state = file->private_data; in hostaudio_ioctl()
209 file->private_data = state; in hostaudio_open()
215 struct hostaudio_state *state = file->private_data; in hostaudio_release()
231 struct hostmixer_state *state = file->private_data; in hostmixer_ioctl_mixdev()
274 file->private_data = state; in hostmixer_open_mixdev()
280 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()
239 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_fault()
270 struct spu_context *ctx = vma->vm_file->private_data; in spufs_mem_mmap_access()
319 struct spu_context *ctx = vmf->vma->vm_file->private_data; in spufs_ps_fault()
[all …]
/arch/arm/mach-cns3xxx/
Dpcie.c41 return root->private_data; in sysdata_to_cnspci()
268 void *private_data; in cns3xxx_pcie_init_late() local
274 .private_data = &private_data, in cns3xxx_pcie_init_late()
288 private_data = &cns3xxx_pcie[i]; in cns3xxx_pcie_init_late()
/arch/arm/include/asm/mach/
Dpci.h27 void **private_data; member
57 void *private_data; /* platform controller private data */ member
/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()
177 struct pcie_port *pp = sys->private_data; in dove_pcie_map_irq()
/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()
219 struct pcie_port *pp = sys->private_data; in mv78xx0_pcie_map_irq()
/arch/s390/kernel/
Dsysinfo.c501 file->private_data = (void *) get_zeroed_page(GFP_KERNEL); \
502 if (!file->private_data) \
504 if (stsi(file->private_data, fc, s1, s2)) { \
505 free_page((unsigned long)file->private_data); \
506 file->private_data = NULL; \
521 free_page((unsigned long)file->private_data); in stsi_release()
527 return simple_read_from_buffer(buf, size, ppos, file->private_data, PAGE_SIZE); in stsi_read()
/arch/blackfin/kernel/
Dsys_bfin.c48 struct fb_info *info = filp->private_data; in get_fb_unmapped_area()
/arch/m68k/emu/
Dnfblock.c85 struct nfhd_device *dev = bdev->bd_disk->private_data; in nfhd_getgeo()
136 dev->disk->private_data = dev; in nfhd_init_one()
/arch/powerpc/sysdev/
Dfsl_pci.c82 struct ccsr_pci __iomem *pci = hose->private_data; in fsl_pcie_check_link()
198 struct ccsr_pci __iomem *pci = hose->private_data; in setup_pci_atmu()
565 pci = hose->private_data = ioremap(rsrc.start, resource_size(&rsrc)); in fsl_add_bridge()
566 if (!hose->private_data) in fsl_add_bridge()
643 iounmap(hose->private_data); in fsl_add_bridge()
1150 struct ccsr_pci __iomem *pci = hose->private_data; in fsl_pci_pme_handle()
1196 pci = hose->private_data; in fsl_pci_pme_probe()
1216 struct ccsr_pci __iomem *pci = hose->private_data; in send_pme_turnoff_message()
1252 struct ccsr_pci __iomem *pci = hose->private_data; in fsl_pci_syscore_do_resume()
Dscom.c108 struct scom_debug_entry *ent = filp->private_data; in scom_debug_read()
145 struct scom_debug_entry *ent = filp->private_data; in scom_debug_write()
/arch/s390/hypfs/
Dinode.c134 filp->private_data = kstrdup(data, GFP_KERNEL); in hypfs_open()
135 if (!filp->private_data) { in hypfs_open()
147 char *data = file->private_data; in hypfs_read_iter()
206 kfree(filp->private_data); in hypfs_release()
/arch/cris/arch-v10/drivers/
Dgpio.c147 struct gpio_private *priv = file->private_data; in gpio_poll()
277 struct gpio_private *priv = file->private_data; in gpio_write()
351 filp->private_data = priv; in gpio_open()
372 todel = filp->private_data; in gpio_release()
509 struct gpio_private *priv = file->private_data; in gpio_ioctl()
/arch/xtensa/platforms/iss/
Dsimdisk.c128 struct simdisk *dev = bdev->bd_disk->private_data; in simdisk_open()
140 struct simdisk *dev = disk->private_data; in simdisk_release()
289 dev->gd->private_data = dev; in simdisk_setup()
/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c544 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write()
557 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl()
630 file->private_data = mpc52xx_gpt_wdt; in mpc52xx_wdt_open()
638 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_release()
/arch/arm/kernel/
Dbios32.c475 if (hw->private_data) in pcibios_init_hw()
476 sys->private_data = hw->private_data[nr]; in pcibios_init_hw()
/arch/powerpc/platforms/pseries/
Ddtl.c251 filp->private_data = dtl; in dtl_file_open()
272 dtl = filp->private_data; in dtl_file_read()

123