Lines Matching refs:svc_id
192 uint16_t hdr_size, msg_type, ver, svc_id; in apr_do_rx_callback() local
232 svc_id = hdr->dest_svc; in apr_do_rx_callback()
234 svc = idr_find(&apr->svcs_idr, svc_id); in apr_do_rx_callback()
243 svc_id); in apr_do_rx_callback()
354 while (id->domain_id != 0 || id->svc_id != 0) { in apr_device_match()
356 id->svc_id == adev->svc.id) in apr_device_match()
415 u32 svc_id, u32 domain_id) in apr_add_device() argument
426 adev->svc_id = svc_id; in apr_add_device()
429 svc->id = svc_id; in apr_add_device()
443 domain_id, svc_id); in apr_add_device()
447 domain_id, svc_id); in apr_add_device()
460 idr_alloc(&apr->svcs_idr, svc, svc_id, svc_id + 1, GFP_ATOMIC); in apr_add_device()
518 u32 svc_id; in of_register_apr_devices() local
549 if (of_property_read_u32(node, "reg", &svc_id)) in of_register_apr_devices()
554 if (apr_add_device(dev, node, svc_id, domain_id)) in of_register_apr_devices()
555 dev_err(dev, "Failed to add apr %d svc\n", svc_id); in of_register_apr_devices()