Lines Matching refs:platform_device
186 int (*get_id)(struct platform_device *pdev);
187 int (*enable_set)(struct platform_device *pdev, bool enable);
192 struct dfl_fpga_port_ops *dfl_fpga_port_ops_get(struct platform_device *pdev);
194 int dfl_fpga_check_port_id(struct platform_device *pdev, void *pport_id);
245 struct platform_device *dev;
279 struct platform_device *dev;
339 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
340 void (*uinit)(struct platform_device *pdev,
342 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
349 void dfl_fpga_dev_feature_uinit(struct platform_device *pdev);
350 int dfl_fpga_dev_feature_init(struct platform_device *pdev,
353 int dfl_fpga_dev_ops_register(struct platform_device *pdev,
356 void dfl_fpga_dev_ops_unregister(struct platform_device *pdev);
359 struct platform_device *dfl_fpga_inode_to_feature_dev(struct inode *inode) in dfl_fpga_inode_to_feature_dev()
492 struct platform_device *
494 int (*match)(struct platform_device *, void *));
496 static inline struct platform_device *
498 int (*match)(struct platform_device *, void *)) in dfl_fpga_cdev_find_port() argument
500 struct platform_device *pdev; in dfl_fpga_cdev_find_port()
515 long dfl_feature_ioctl_get_num_irqs(struct platform_device *pdev,
518 long dfl_feature_ioctl_set_irq(struct platform_device *pdev,