Lines Matching refs:local_ssap
431 u8 local_ssap; in nfc_llcp_get_local_ssap() local
435 local_ssap = find_first_zero_bit(&local->local_sap, LLCP_LOCAL_NUM_SAP); in nfc_llcp_get_local_ssap()
436 if (local_ssap == LLCP_LOCAL_NUM_SAP) { in nfc_llcp_get_local_ssap()
441 set_bit(local_ssap, &local->local_sap); in nfc_llcp_get_local_ssap()
445 return local_ssap + LLCP_LOCAL_SAP_OFFSET; in nfc_llcp_get_local_ssap()
450 u8 local_ssap; in nfc_llcp_put_ssap() local
454 local_ssap = ssap; in nfc_llcp_put_ssap()
459 local_ssap = ssap - LLCP_WKS_NUM_SAP; in nfc_llcp_put_ssap()
461 client_cnt = &local->local_sdp_cnt[local_ssap]; in nfc_llcp_put_ssap()
472 clear_bit(local_ssap, sdp); in nfc_llcp_put_ssap()
486 local_ssap = ssap - LLCP_LOCAL_NUM_SAP; in nfc_llcp_put_ssap()
494 clear_bit(local_ssap, sdp); in nfc_llcp_put_ssap()