Lines Matching refs:gdev
31 int (*open)(struct gnss_device *gdev);
32 void (*close)(struct gnss_device *gdev);
33 int (*write_raw)(struct gnss_device *gdev, const unsigned char *buf,
59 void gnss_put_device(struct gnss_device *gdev);
60 int gnss_register_device(struct gnss_device *gdev);
61 void gnss_deregister_device(struct gnss_device *gdev);
63 int gnss_insert_raw(struct gnss_device *gdev, const unsigned char *buf,
66 static inline void gnss_set_drvdata(struct gnss_device *gdev, void *data) in gnss_set_drvdata() argument
68 dev_set_drvdata(&gdev->dev, data); in gnss_set_drvdata()
71 static inline void *gnss_get_drvdata(struct gnss_device *gdev) in gnss_get_drvdata() argument
73 return dev_get_drvdata(&gdev->dev); in gnss_get_drvdata()