Searched refs:gserial (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/drivers/gnss/ |
D | serial.c | 24 struct gnss_serial *gserial = gnss_get_drvdata(gdev); in gnss_serial_open() local 25 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open() 32 serdev_device_set_baudrate(serdev, gserial->speed); in gnss_serial_open() 51 struct gnss_serial *gserial = gnss_get_drvdata(gdev); in gnss_serial_close() local 52 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close() 62 struct gnss_serial *gserial = gnss_get_drvdata(gdev); in gnss_serial_write_raw() local 63 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw() 86 struct gnss_serial *gserial = serdev_device_get_drvdata(serdev); in gnss_serial_receive_buf() local 87 struct gnss_device *gdev = gserial->gdev; in gnss_serial_receive_buf() 97 static int gnss_serial_set_power(struct gnss_serial *gserial, in gnss_serial_set_power() argument [all …]
|
D | mtk.c | 24 static int mtk_set_active(struct gnss_serial *gserial) in mtk_set_active() argument 26 struct mtk_data *data = gnss_serial_get_drvdata(gserial); in mtk_set_active() 36 static int mtk_set_standby(struct gnss_serial *gserial) in mtk_set_standby() argument 38 struct mtk_data *data = gnss_serial_get_drvdata(gserial); in mtk_set_standby() 48 static int mtk_set_power(struct gnss_serial *gserial, in mtk_set_power() argument 53 return mtk_set_active(gserial); in mtk_set_power() 56 return mtk_set_standby(gserial); in mtk_set_power() 68 struct gnss_serial *gserial; in mtk_probe() local 72 gserial = gnss_serial_allocate(serdev, sizeof(*data)); in mtk_probe() 73 if (IS_ERR(gserial)) { in mtk_probe() [all …]
|
D | ubx.c | 24 static int ubx_set_active(struct gnss_serial *gserial) in ubx_set_active() argument 26 struct ubx_data *data = gnss_serial_get_drvdata(gserial); in ubx_set_active() 36 static int ubx_set_standby(struct gnss_serial *gserial) in ubx_set_standby() argument 38 struct ubx_data *data = gnss_serial_get_drvdata(gserial); in ubx_set_standby() 48 static int ubx_set_power(struct gnss_serial *gserial, in ubx_set_power() argument 53 return ubx_set_active(gserial); in ubx_set_power() 56 return ubx_set_standby(gserial); in ubx_set_power() 68 struct gnss_serial *gserial; in ubx_probe() local 72 gserial = gnss_serial_allocate(serdev, sizeof(*data)); in ubx_probe() 73 if (IS_ERR(gserial)) { in ubx_probe() [all …]
|
D | serial.h | 29 int (*set_power)(struct gnss_serial *gserial, 35 struct gnss_serial *gnss_serial_allocate(struct serdev_device *gserial, 37 void gnss_serial_free(struct gnss_serial *gserial); 39 int gnss_serial_register(struct gnss_serial *gserial); 40 void gnss_serial_deregister(struct gnss_serial *gserial); 42 static inline void *gnss_serial_get_drvdata(struct gnss_serial *gserial) in gnss_serial_get_drvdata() argument 44 return gserial->drvdata; in gnss_serial_get_drvdata()
|
/Linux-v6.1/drivers/usb/gadget/function/ |
D | u_serial.h | 34 struct gserial { struct 47 void (*connect)(struct gserial *p); argument 48 void (*disconnect)(struct gserial *p); argument 49 int (*send_break)(struct gserial *p, int duration); argument 69 int gserial_connect(struct gserial *, u8 port_num); 70 void gserial_disconnect(struct gserial *); 71 void gserial_suspend(struct gserial *p); 72 void gserial_resume(struct gserial *p);
|
D | f_obex.c | 30 struct gserial port; 42 static inline struct f_obex *port_to_obex(struct gserial *p) in port_to_obex() 259 static void obex_connect(struct gserial *g) in obex_connect() 272 static void obex_disconnect(struct gserial *g) in obex_disconnect()
|
D | f_acm.c | 41 struct gserial port; 69 static inline struct f_acm *port_to_acm(struct gserial *p) in port_to_acm() 326 static int acm_send_break(struct gserial *port, int duration); 574 static void acm_connect(struct gserial *port) in acm_connect() 582 static void acm_disconnect(struct gserial *port) in acm_disconnect() 590 static int acm_send_break(struct gserial *port, int duration) in acm_send_break()
|
D | u_serial.c | 102 struct gserial *port_usb; 635 struct gserial *gser = port->port_usb; in gs_open() 673 struct gserial *gser; in gs_close() 832 struct gserial *gser; in gs_break_ctl() 1293 int gserial_connect(struct gserial *gser, u8 port_num) in gserial_connect() 1369 void gserial_disconnect(struct gserial *gser) in gserial_disconnect() 1414 void gserial_suspend(struct gserial *gser) in gserial_suspend() 1425 void gserial_resume(struct gserial *gser) in gserial_resume()
|
D | f_serial.c | 28 struct gserial port;
|
/Linux-v6.1/drivers/usb/gadget/legacy/ |
D | dbgp.c | 32 struct gserial *serial; 301 dbgp.serial = kzalloc(sizeof(struct gserial), GFP_KERNEL); in dbgp_bind()
|