Lines Matching full:dam
301 * address_mode is the masked value for sam or dam value
311 /* SAM and DAM are the same here */ in lowpan_iphc_uncompress_addr()
372 /* SAM and DAM are the same here */ in lowpan_iphc_uncompress_ctx_addr()
378 * DAM 00 -> reserved should never occur. in lowpan_iphc_uncompress_ctx_addr()
464 pr_debug("DAM value has a wrong value: 0x%x\n", address_mode); in lowpan_uncompress_multicast_daddr()
803 /* check for SAM/DAM = 11 */ in lowpan_iphc_compress_ctx_802154_lladdr()
852 u8 dam; in lowpan_compress_ctx_addr() local
858 dam = LOWPAN_IPHC_DAM_11; in lowpan_compress_ctx_addr()
864 dam = LOWPAN_IPHC_DAM_11; in lowpan_compress_ctx_addr()
871 /* check for SAM/DAM = 10 */ in lowpan_compress_ctx_addr()
879 dam = LOWPAN_IPHC_DAM_10; in lowpan_compress_ctx_addr()
884 /* check for SAM/DAM = 01, should always match */ in lowpan_compress_ctx_addr()
890 dam = LOWPAN_IPHC_DAM_01; in lowpan_compress_ctx_addr()
899 return lowpan_iphc_dam_to_sam_value[dam]; in lowpan_compress_ctx_addr()
901 return dam; in lowpan_compress_ctx_addr()
948 u8 dam = LOWPAN_IPHC_DAM_01; in lowpan_compress_addr_64() local
953 dam = LOWPAN_IPHC_DAM_11; /* 0-bits */ in lowpan_compress_addr_64()
960 dam = LOWPAN_IPHC_DAM_11; in lowpan_compress_addr_64()
971 dam = LOWPAN_IPHC_DAM_10; /* 16-bits */ in lowpan_compress_addr_64()
985 return lowpan_iphc_dam_to_sam_value[dam]; in lowpan_compress_addr_64()
987 return dam; in lowpan_compress_addr_64()