Lines Matching refs:proto_id
32 auto proto_proxy = proto_proxys_.find(args->req->proto_id);
48 zx_status_t PlatformBus::RegisterProtocol(uint32_t proto_id, void* protocol,
56 switch (proto_id) {
110 if (proto_proxys_.find(proto_id).IsValid()) {
111 zxlogf(ERROR, "%s: protocol %08x has already been registered\n", __func__, proto_id);
116 auto proxy = fbl::make_unique_checked<ProtoProxy>(&ac, proto_id,
164 zx_status_t PlatformBus::ProtocolDeviceAdd(uint32_t proto_id, const pbus_dev_t* pdev) {
188 while (DdkGetProtocol(proto_id, &dummy_proto) == ZX_ERR_NOT_SUPPORTED) {
193 zxlogf(ERROR, "%s failed for protocol %08x\n", __FUNCTION__, proto_id);
216 zx_status_t PlatformBus::DdkGetProtocol(uint32_t proto_id, void* out) {
217 switch (proto_id) {
255 auto proto_proxy = proto_proxys_.find(proto_id);