Lines Matching refs:gateway
50 #include "gateway.h"
66 struct gateway {
106 struct gateway *gw = dev->gateway;
155 struct gateway *gw = dev->gateway;
175 struct gateway *gw = dev->gateway;
177 DBG("at the begin of sco_connect_cb() in gateway.c");
200 if (!dev->gateway->rfcomm) {
225 struct gateway *gw = dev->gateway;
272 struct gateway *gw = dev->gateway;
370 struct gateway *gw = au_dev->gateway;
388 struct gateway *gw = device->gateway;
417 struct gateway *gw = device->gateway;
442 struct gateway *gateway = data;
443 struct hf_agent *agent = gateway->agent;
448 gateway->agent = NULL;
455 struct gateway *gw = device->gateway;
486 struct gateway *gw = device->gateway;
519 struct gateway *gw = device->gateway;
573 g_free(dev->gateway);
574 dev->gateway = NULL;
579 if (dev->gateway->agent)
580 agent_disconnect(dev, dev->gateway->agent);
586 struct gateway *gateway_init(struct audio_device *dev)
597 return g_new0(struct gateway, 1);
603 return (dev && dev->gateway &&
604 dev->gateway->state == GATEWAY_STATE_CONNECTED);
612 dev->gateway->rfcomm = g_io_channel_ref(io);
619 struct gateway *gw = dev->gateway;
636 struct gateway *gw = dev->gateway;
653 struct gateway *gw = dev->gateway;
682 struct gateway *gw = dev->gateway;
704 struct gateway *gw = dev->gateway;
714 struct gateway *gw = dev->gateway;