Searched refs:gnss_device (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/include/linux/ |
D | gnss.h | 19 struct gnss_device; 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, 37 struct gnss_device { struct 58 struct gnss_device *gnss_allocate_device(struct device *parent); argument 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, [all …]
|
/linux-6.1.9/drivers/gnss/ |
D | core.c | 34 #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 …]
|
D | usb.c | 28 struct gnss_device *gdev; 36 struct gnss_device *gdev = gusb->gdev; in gnss_usb_rx_complete() 70 static int gnss_usb_open(struct gnss_device *gdev) in gnss_usb_open() 85 static void gnss_usb_close(struct gnss_device *gdev) in gnss_usb_close() 92 static int gnss_usb_write_raw(struct gnss_device *gdev, in gnss_usb_write_raw() 122 struct gnss_device *gdev; in gnss_usb_probe()
|
D | serial.c | 22 static int gnss_serial_open(struct gnss_device *gdev) in gnss_serial_open() 49 static void gnss_serial_close(struct gnss_device *gdev) in gnss_serial_close() 59 static int gnss_serial_write_raw(struct gnss_device *gdev, in gnss_serial_write_raw() 87 struct gnss_device *gdev = gserial->gdev; in gnss_serial_receive_buf() 127 struct gnss_device *gdev; in gnss_serial_allocate()
|
D | sirf.c | 39 struct gnss_device *gdev; 88 static int sirf_open(struct gnss_device *gdev) in sirf_open() 125 static void sirf_close(struct gnss_device *gdev) in sirf_close() 139 static int sirf_write_raw(struct gnss_device *gdev, const unsigned char *buf, in sirf_write_raw() 167 struct gnss_device *gdev = data->gdev; in sirf_receive_buf() 398 struct gnss_device *gdev; in sirf_probe()
|
D | serial.h | 16 struct gnss_device *gdev;
|