Searched refs:gnss_device (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/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.6.21/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;
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_gnss.c | 206 static int ice_gnss_open(struct gnss_device *gdev) in ice_gnss_open() 232 static void ice_gnss_close(struct gnss_device *gdev) in ice_gnss_close() 258 ice_gnss_write(struct gnss_device *gdev, const unsigned char *buf, in ice_gnss_write() 299 struct gnss_device *gdev; in ice_gnss_register()
|
D | ice.h | 578 struct gnss_device *gnss_dev;
|