Lines Matching defs:bg

103 static void hdlc_rx_greybus_frame(struct gb_beagleplay *bg, u8 *buf, u16 len)  in hdlc_rx_greybus_frame()
115 static void hdlc_rx_dbg_frame(const struct gb_beagleplay *bg, const char *buf, u16 len) in hdlc_rx_dbg_frame()
126 static void hdlc_write(struct gb_beagleplay *bg) in hdlc_write()
150 static void hdlc_append(struct gb_beagleplay *bg, u8 value) in hdlc_append()
170 static void hdlc_append_escaped(struct gb_beagleplay *bg, u8 value) in hdlc_append_escaped()
179 static void hdlc_append_tx_frame(struct gb_beagleplay *bg) in hdlc_append_tx_frame()
185 static void hdlc_append_tx_u8(struct gb_beagleplay *bg, u8 value) in hdlc_append_tx_u8()
191 static void hdlc_append_tx_buf(struct gb_beagleplay *bg, const u8 *buf, u16 len) in hdlc_append_tx_buf()
199 static void hdlc_append_tx_crc(struct gb_beagleplay *bg) in hdlc_append_tx_crc()
208 struct gb_beagleplay *bg = container_of(work, struct gb_beagleplay, tx_work); in hdlc_transmit() local
215 static void hdlc_tx_frames(struct gb_beagleplay *bg, u8 address, u8 control, in hdlc_tx_frames()
237 static void hdlc_tx_s_frame_ack(struct gb_beagleplay *bg) in hdlc_tx_s_frame_ack()
242 static void hdlc_rx_frame(struct gb_beagleplay *bg) in hdlc_rx_frame()
274 static ssize_t hdlc_rx(struct gb_beagleplay *bg, const u8 *data, size_t count) in hdlc_rx()
311 static int hdlc_init(struct gb_beagleplay *bg) in hdlc_init()
329 static void hdlc_deinit(struct gb_beagleplay *bg) in hdlc_deinit()
337 struct gb_beagleplay *bg = serdev_device_get_drvdata(sd); in gb_tty_receive() local
344 struct gb_beagleplay *bg = serdev_device_get_drvdata(serdev); in gb_tty_wakeup() local
369 struct gb_beagleplay *bg = dev_get_drvdata(&hd->dev); in gb_message_send() local
399 static void gb_beagleplay_start_svc(struct gb_beagleplay *bg) in gb_beagleplay_start_svc()
407 static void gb_beagleplay_stop_svc(struct gb_beagleplay *bg) in gb_beagleplay_stop_svc()
415 static void gb_greybus_deinit(struct gb_beagleplay *bg) in gb_greybus_deinit()
421 static int gb_greybus_init(struct gb_beagleplay *bg) in gb_greybus_init()
445 static void gb_serdev_deinit(struct gb_beagleplay *bg) in gb_serdev_deinit()
450 static int gb_serdev_init(struct gb_beagleplay *bg) in gb_serdev_init()
469 struct gb_beagleplay *bg; in gb_beagleplay_probe() local
501 struct gb_beagleplay *bg = serdev_device_get_drvdata(serdev); in gb_beagleplay_remove() local