Home
last modified time | relevance | path

Searched refs:gnss_device (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/linux/
Dgnss.h19 struct gnss_device;
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,
36 struct gnss_device { struct
57 struct gnss_device *gnss_allocate_device(struct device *parent); argument
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,
[all …]
/Linux-v4.19/drivers/gnss/
Dcore.c34 #define to_gnss_device(d) container_of((d), struct gnss_device, dev)
38 struct gnss_device *gdev; in gnss_open()
41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
70 struct gnss_device *gdev = file->private_data; in gnss_release()
91 struct gnss_device *gdev = file->private_data; in gnss_read()
126 struct gnss_device *gdev = file->private_data; in gnss_write()
189 struct gnss_device *gdev = file->private_data; in gnss_poll()
216 struct gnss_device *gdev = to_gnss_device(dev); in gnss_device_release()
224 struct gnss_device *gnss_allocate_device(struct device *parent) in gnss_allocate_device()
226 struct gnss_device *gdev; in gnss_allocate_device()
[all …]
Dserial.c21 static int gnss_serial_open(struct gnss_device *gdev) in gnss_serial_open()
48 static void gnss_serial_close(struct gnss_device *gdev) in gnss_serial_close()
58 static int gnss_serial_write_raw(struct gnss_device *gdev, in gnss_serial_write_raw()
86 struct gnss_device *gdev = gserial->gdev; in gnss_serial_receive_buf()
126 struct gnss_device *gdev; in gnss_serial_allocate()
Dsirf.c29 struct gnss_device *gdev;
40 static int sirf_open(struct gnss_device *gdev) in sirf_open()
68 static void sirf_close(struct gnss_device *gdev) in sirf_close()
78 static int sirf_write_raw(struct gnss_device *gdev, const unsigned char *buf, in sirf_write_raw()
106 struct gnss_device *gdev = data->gdev; in sirf_receive_buf()
258 struct gnss_device *gdev; in sirf_probe()
Dserial.h16 struct gnss_device *gdev;