Home
last modified time | relevance | path

Searched refs:uio_info (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/include/linux/
Duio_driver.h76 struct uio_info *info;
98 struct uio_info { struct
107 irqreturn_t (*handler)(int irq, struct uio_info *dev_info); argument
108 int (*mmap)(struct uio_info *info, struct vm_area_struct *vma); argument
109 int (*open)(struct uio_info *info, struct inode *inode); argument
110 int (*release)(struct uio_info *info, struct inode *inode); argument
111 int (*irqcontrol)(struct uio_info *info, s32 irq_on); argument
117 struct uio_info *info);
131 extern void uio_unregister_device(struct uio_info *info);
132 extern void uio_event_notify(struct uio_info *info);
[all …]
/linux-6.1.9/drivers/uio/
Duio_sercos3.c52 static void sercos3_disable_interrupts(struct uio_info *info, in sercos3_disable_interrupts()
65 static void sercos3_enable_interrupts(struct uio_info *info, in sercos3_enable_interrupts()
75 static irqreturn_t sercos3_handler(int irq, struct uio_info *info) in sercos3_handler()
91 static int sercos3_irqcontrol(struct uio_info *info, s32 irq_on) in sercos3_irqcontrol()
105 static int sercos3_setup_iomem(struct pci_dev *dev, struct uio_info *info, in sercos3_setup_iomem()
123 struct uio_info *info; in sercos3_pci_probe()
127 info = devm_kzalloc(&dev->dev, sizeof(struct uio_info), GFP_KERNEL); in sercos3_pci_probe()
182 struct uio_info *info = pci_get_drvdata(dev); in sercos3_pci_remove()
Duio_mf624.c33 struct uio_info *info) in mf624_disable_interrupt()
61 struct uio_info *info) in mf624_enable_interrupt()
88 static irqreturn_t mf624_irq_handler(int irq, struct uio_info *info) in mf624_irq_handler()
107 static int mf624_irqcontrol(struct uio_info *info, s32 irq_on) in mf624_irqcontrol()
137 struct uio_info *info; in mf624_pci_probe()
139 info = devm_kzalloc(&dev->dev, sizeof(struct uio_info), GFP_KERNEL); in mf624_pci_probe()
197 struct uio_info *info = pci_get_drvdata(dev); in mf624_pci_remove()
Duio_aec.c42 static irqreturn_t aectc_irq(int irq, struct uio_info *dev_info) in aectc_irq()
57 static void print_board_data(struct pci_dev *pdev, struct uio_info *i) in print_board_data()
71 struct uio_info *info; in probe()
74 info = devm_kzalloc(&pdev->dev, sizeof(struct uio_info), GFP_KERNEL); in probe()
125 struct uio_info *info = pci_get_drvdata(pdev); in remove()
Duio_fsl_elbc_gpcm.c61 void (*init)(struct uio_info *info);
62 void (*shutdown)(struct uio_info *info, bool init_err);
63 irqreturn_t (*irq_handler)(int irq, struct uio_info *info);
84 struct uio_info *info = dev_get_drvdata(dev); in reg_show()
103 struct uio_info *info = dev_get_drvdata(dev); in reg_store()
156 static irqreturn_t netx5152_irq_handler(int irq, struct uio_info *info) in netx5152_irq_handler()
177 static void netx5152_init(struct uio_info *info) in netx5152_init()
194 static void netx5152_shutdown(struct uio_info *info, bool init_err) in netx5152_shutdown()
313 struct uio_info *info; in uio_fsl_elbc_gpcm_probe()
432 struct uio_info *info = platform_get_drvdata(pdev); in uio_fsl_elbc_gpcm_remove()
Duio_pdrv_genirq.c32 struct uio_info *uioinfo;
43 static int uio_pdrv_genirq_open(struct uio_info *info, struct inode *inode) in uio_pdrv_genirq_open()
52 static int uio_pdrv_genirq_release(struct uio_info *info, struct inode *inode) in uio_pdrv_genirq_release()
61 static irqreturn_t uio_pdrv_genirq_handler(int irq, struct uio_info *dev_info) in uio_pdrv_genirq_handler()
77 static int uio_pdrv_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) in uio_pdrv_genirq_irqcontrol()
112 struct uio_info *uioinfo = dev_get_platdata(&pdev->dev); in uio_pdrv_genirq_probe()
Duio_pci_generic.c32 struct uio_info info;
37 to_uio_pci_generic_dev(struct uio_info *info) in to_uio_pci_generic_dev()
42 static int release(struct uio_info *info, struct inode *inode) in release()
60 static irqreturn_t irqhandler(int irq, struct uio_info *info) in irqhandler()
Duio_cif.c27 static irqreturn_t hilscher_handler(int irq, struct uio_info *dev_info) in hilscher_handler()
44 struct uio_info *info; in hilscher_pci_probe()
46 info = devm_kzalloc(&dev->dev, sizeof(struct uio_info), GFP_KERNEL); in hilscher_pci_probe()
100 struct uio_info *info = pci_get_drvdata(dev); in hilscher_pci_remove()
Duio_netx.c32 static irqreturn_t netx_handler(int irq, struct uio_info *dev_info) in netx_handler()
53 struct uio_info *info; in netx_pci_probe()
56 info = devm_kzalloc(&dev->dev, sizeof(struct uio_info), GFP_KERNEL); in netx_pci_probe()
120 struct uio_info *info = pci_get_drvdata(dev); in netx_pci_remove()
Duio_dmem_genirq.c33 struct uio_info *uioinfo;
44 static int uio_dmem_genirq_open(struct uio_info *info, struct inode *inode) in uio_dmem_genirq_open()
74 static int uio_dmem_genirq_release(struct uio_info *info, struct inode *inode) in uio_dmem_genirq_release()
105 static irqreturn_t uio_dmem_genirq_handler(int irq, struct uio_info *dev_info) in uio_dmem_genirq_handler()
121 static int uio_dmem_genirq_irqcontrol(struct uio_info *dev_info, s32 irq_on) in uio_dmem_genirq_irqcontrol()
157 struct uio_info *uioinfo = &pdata->uioinfo; in uio_dmem_genirq_probe()
Duio_pruss.c56 struct uio_info *info;
68 static irqreturn_t pruss_handler(int irq, struct uio_info *info) in pruss_handler()
90 struct uio_info *p = gdev->info; in pruss_cleanup()
109 struct uio_info *p; in pruss_probe()
Duio_dfl.c18 struct uio_info *uioinfo; in uio_dfl_probe()
22 uioinfo = devm_kzalloc(dev, sizeof(struct uio_info), GFP_KERNEL); in uio_dfl_probe()
Duio_hv_generic.c56 struct uio_info info;
79 hv_uio_irqcontrol(struct uio_info *info, s32 irq_state) in hv_uio_irqcontrol()
195 hv_uio_open(struct uio_info *info, struct inode *inode) in hv_uio_open()
220 hv_uio_release(struct uio_info *info, struct inode *inode) in hv_uio_release()
Duio.c429 void uio_event_notify(struct uio_info *info) in uio_event_notify()
920 struct uio_info *info) in __uio_register_device()
1003 uio_unregister_device(*(struct uio_info **)res); in devm_uio_unregister_device()
1016 struct uio_info *info) in __devm_uio_register_device()
1018 struct uio_info **ptr; in __devm_uio_register_device()
1044 void uio_unregister_device(struct uio_info *info) in uio_unregister_device()
/linux-6.1.9/drivers/target/
Dtarget_core_user.c128 struct uio_info uio_info; member
989 uio_event_notify(&udev->uio_info); in tcmu_unplug_device()
1131 uio_event_notify(&udev->uio_info); in queue_cmd_ring()
1194 uio_event_notify(&udev->uio_info); in queue_tmr_ring()
1647 kfree(udev->uio_info.name); in tcmu_dev_call_rcu()
1810 static int tcmu_irqcontrol(struct uio_info *info, s32 irq_on) in tcmu_irqcontrol()
1812 struct tcmu_dev *udev = container_of(info, struct tcmu_dev, uio_info); in tcmu_irqcontrol()
1829 struct uio_info *info = &udev->uio_info; in tcmu_find_mem_index()
1885 struct uio_info *info = &udev->uio_info; in tcmu_vma_fault()
1927 static int tcmu_mmap(struct uio_info *info, struct vm_area_struct *vma) in tcmu_mmap()
[all …]
/linux-6.1.9/include/linux/platform_data/
Duio_dmem_genirq.h14 struct uio_info uioinfo;
/linux-6.1.9/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7724.c489 static struct uio_info vpu_platform_data = {
518 static struct uio_info veu0_platform_data = {
547 static struct uio_info veu1_platform_data = {
576 static struct uio_info beu0_platform_data = {
605 static struct uio_info beu1_platform_data = {
695 static struct uio_info jpu_platform_data = {
724 static struct uio_info spu0_platform_data = {
753 static struct uio_info spu1_platform_data = {
Dsetup-sh7366.c90 static struct uio_info vpu_platform_data = {
118 static struct uio_info veu0_platform_data = {
146 static struct uio_info veu1_platform_data = {
Dsetup-sh7343.c140 static struct uio_info vpu_platform_data = {
168 static struct uio_info veu_platform_data = {
196 static struct uio_info jpu_platform_data = {
Dsetup-sh7723.c146 static struct uio_info vpu_platform_data = {
174 static struct uio_info veu0_platform_data = {
202 static struct uio_info veu1_platform_data = {
Dsetup-sh7722.c326 static struct uio_info vpu_platform_data = {
354 static struct uio_info veu_platform_data = {
382 static struct uio_info jpu_platform_data = {
/linux-6.1.9/Documentation/driver-api/
Duio-howto.rst216 struct uio_info
249 - ``int (*mmap)(struct uio_info *info, struct vm_area_struct *vma)``:
254 - ``int (*open)(struct uio_info *info, struct inode *inode)``:
258 - ``int (*release)(struct uio_info *info, struct inode *inode)``:
262 - ``int (*irqcontrol)(struct uio_info *info, s32 irq_on)``:
365 handler and fill your ``struct uio_info``. A pointer to this
366 ``struct uio_info`` is then used as ``platform_data`` for your platform
393 ``.handler`` element of ``struct uio_info`` must remain ``NULL``. The
438 - ``struct uio_info uioinfo``: The same structure used as the
/linux-6.1.9/drivers/scsi/qedi/
Dqedi.h118 struct uio_info qedi_uinfo;
Dqedi_main.c136 static int qedi_uio_open(struct uio_info *uinfo, struct inode *inode) in qedi_uio_open()
156 static int qedi_uio_close(struct uio_info *uinfo, struct inode *inode) in qedi_uio_close()
309 struct uio_info *uinfo; in qedi_init_uio()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dcnic.h193 struct uio_info cnic_uinfo;

12