Searched refs:getcaps_req (Results 1 – 2 of 2) sorted by relevance
300 struct bt_get_capabilities_req getcaps_req; in get_caps() member309 msg.getcaps_req.h.type = BT_REQUEST; in get_caps()310 msg.getcaps_req.h.name = BT_GET_CAPABILITIES; in get_caps()311 msg.getcaps_req.h.length = sizeof(msg.getcaps_req); in get_caps()313 strncpy(msg.getcaps_req.destination, u->address, in get_caps()314 sizeof(msg.getcaps_req.destination)); in get_caps()315 msg.getcaps_req.transport = u->transport; in get_caps()316 msg.getcaps_req.flags = BT_FLAG_AUTOCONNECT; in get_caps()318 if (service_send(u, &msg.getcaps_req.h) < 0) in get_caps()
841 struct bt_get_capabilities_req *getcaps_req = (void*) buf; in bluetooth_configure() local848 memset(getcaps_req, 0, BT_SUGGESTED_BUFFER_SIZE); in bluetooth_configure()849 getcaps_req->h.type = BT_REQUEST; in bluetooth_configure()850 getcaps_req->h.name = BT_GET_CAPABILITIES; in bluetooth_configure()852 getcaps_req->flags = 0; in bluetooth_configure()853 getcaps_req->flags |= BT_FLAG_AUTOCONNECT; in bluetooth_configure()854 strncpy(getcaps_req->destination, data->address, 18); in bluetooth_configure()855 getcaps_req->transport = BT_CAPABILITIES_TRANSPORT_A2DP; in bluetooth_configure()856 getcaps_req->h.length = sizeof(*getcaps_req); in bluetooth_configure()858 err = audioservice_send(data, &getcaps_req->h); in bluetooth_configure()