Lines Matching refs:gdev
30 int (*open)(struct gnss_device *gdev);
31 void (*close)(struct gnss_device *gdev);
32 int (*write_raw)(struct gnss_device *gdev, const unsigned char *buf,
58 void gnss_put_device(struct gnss_device *gdev);
59 int gnss_register_device(struct gnss_device *gdev);
60 void gnss_deregister_device(struct gnss_device *gdev);
62 int gnss_insert_raw(struct gnss_device *gdev, const unsigned char *buf,
65 static inline void gnss_set_drvdata(struct gnss_device *gdev, void *data) in gnss_set_drvdata() argument
67 dev_set_drvdata(&gdev->dev, data); in gnss_set_drvdata()
70 static inline void *gnss_get_drvdata(struct gnss_device *gdev) in gnss_get_drvdata() argument
72 return dev_get_drvdata(&gdev->dev); in gnss_get_drvdata()