Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dgnss.h19 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 …]
/openbmc/linux/drivers/gnss/
H A Dcore.c38 struct gnss_device *gdev; 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()
226 struct gnss_device *gdev; in gnss_allocate_device()
277 void gnss_put_device(struct gnss_device *gdev) in gnss_put_device()
283 int gnss_register_device(struct gnss_device *gdev) in gnss_register_device()
301 void gnss_deregister_device(struct gnss_device *gdev) in gnss_deregister_device()
[all …]
H A Dusb.c28 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()
H A Dserial.c22 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()
H A Dsirf.c39 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()
H A Dserial.h16 struct gnss_device *gdev;
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_gnss.c206 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()
H A Dice.h579 struct gnss_device *gnss_dev;