Lines Matching refs:service
676 * The service user is requesting disconnection, this will not remove the
782 * Inform service user
1298 * Inform service user if he has requested it
1378 * Function irlmp_service_to_hint (service)
1380 * Converts a service type, to a hint bit
1382 * Returns: a 16 bit hint value, with the service bit set
1384 __u16 irlmp_service_to_hint(int service)
1388 hint.byte[0] = service_hint_mapping[service][0];
1389 hint.byte[1] = service_hint_mapping[service][1];
1396 * Function irlmp_register_service (service)
1398 * Register local service with IrLMP
1403 irlmp_service_t *service;
1408 service = kmalloc(sizeof(irlmp_service_t), GFP_ATOMIC);
1409 if (!service) {
1413 service->hints.word = hints;
1414 hashbin_insert(irlmp->services, (irda_queue_t *) service,
1415 (long) service, NULL);
1419 return (void *)service;
1426 * Unregister service with IrLMP.
1432 irlmp_service_t *service;
1441 service = hashbin_lock_find(irlmp->services, (long) handle, NULL);
1442 if (!service) {
1443 IRDA_DEBUG(1, "%s(), Unknown service!\n", __FUNCTION__);
1447 hashbin_remove_this(irlmp->services, (irda_queue_t *) service);
1448 kfree(service);
1455 service = (irlmp_service_t *) hashbin_get_first(irlmp->services);
1456 while (service) {
1457 irlmp->hints.word |= service->hints.word;
1459 service = (irlmp_service_t *)hashbin_get_next(irlmp->services);
1675 * Find a free source LSAP to use. This function is called if the service