/external/u-boot/arch/x86/cpu/quark/ |
D | mrc_util.c | 141 uint32_t msk; in set_rcvn() local 156 msk = (byte_lane & 1) ? 0xf00000 : 0xf00; in set_rcvn() 159 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn() 172 msk = 0x3f000000; in set_rcvn() 174 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn() 183 msk = 0x00; in set_rcvn() 187 msk |= (byte_lane & 1) ? (1 << 5) : (1 << 2); in set_rcvn() 189 temp |= msk; in set_rcvn() 192 msk |= (byte_lane & 1) ? (1 << 11) : (1 << 8); in set_rcvn() 194 temp |= msk; in set_rcvn() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 293 u8 *msk, size_t *len) in ieee802_1x_auth_get_msk() argument 314 os_memcpy(msk, key, keylen); in ieee802_1x_auth_get_msk() 328 struct mka_key *msk; in ieee802_1x_notify_create_actor() local 338 msk = os_zalloc(sizeof(*msk)); in ieee802_1x_notify_create_actor() 342 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor() 345 msk->len = DEFAULT_KEY_LEN; in ieee802_1x_notify_create_actor() 346 if (ieee802_1x_auth_get_msk(wpa_s, wpa_s->bssid, msk->key, &msk->len)) { in ieee802_1x_notify_create_actor() 360 if (ieee802_1x_cak_aes_cmac(msk->key, msk->len, wpa_s->own_addr, in ieee802_1x_notify_create_actor() 370 if (ieee802_1x_ckn_aes_cmac(msk->key, msk->len, wpa_s->own_addr, in ieee802_1x_notify_create_actor() 382 if (msk) { in ieee802_1x_notify_create_actor() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | masked_sad_intrin_avx2.c | 125 const uint8_t *second_pred, const uint8_t *msk, int msk_stride, in aom_masked_sad_avx2() argument 132 second_pred, m, msk, msk_stride, n); in aom_masked_sad_avx2() 136 second_pred, m, msk, msk_stride, n); in aom_masked_sad_avx2() 140 m, msk, msk_stride, n); in aom_masked_sad_avx2() 144 m, msk, msk_stride, m, n); in aom_masked_sad_avx2() 151 ref_stride, msk, msk_stride, n); in aom_masked_sad_avx2() 155 ref_stride, msk, msk_stride, n); in aom_masked_sad_avx2() 159 ref_stride, msk, msk_stride, n); in aom_masked_sad_avx2() 163 ref_stride, msk, msk_stride, m, n); in aom_masked_sad_avx2() 173 const uint8_t *second_pred, const uint8_t *msk, int msk_stride, \ [all …]
|
D | masked_sad_intrin_ssse3.c | 35 const uint8_t *second_pred, const uint8_t *msk, int msk_stride, \ 39 m, msk, msk_stride, m, n); \ 42 ref_stride, msk, msk_stride, m, n); \ 48 const uint8_t *second_pred, const uint8_t *msk, int msk_stride, \ 52 second_pred, 8, msk, msk_stride, n); \ 55 ref_stride, msk, msk_stride, n); \ 61 const uint8_t *second_pred, const uint8_t *msk, int msk_stride, \ 65 second_pred, 4, msk, msk_stride, n); \ 68 ref_stride, msk, msk_stride, n); \ 238 int ref_stride, const uint8_t *second_pred8, const uint8_t *msk, \ [all …]
|
D | masked_variance_intrin_ssse3.c | 57 const uint8_t *msk, int msk_stride, int invert_mask, \ 65 masked_variance(ref, ref_stride, temp, W, second_pred, W, msk, \ 68 masked_variance(ref, ref_stride, second_pred, W, temp, W, msk, \ 77 const uint8_t *msk, int msk_stride, int invert_mask, \ 85 masked_variance8xh(ref, ref_stride, temp, second_pred, msk, msk_stride, \ 88 masked_variance8xh(ref, ref_stride, second_pred, temp, msk, msk_stride, \ 97 const uint8_t *msk, int msk_stride, int invert_mask, \ 105 masked_variance4xh(ref, ref_stride, temp, second_pred, msk, msk_stride, \ 108 masked_variance4xh(ref, ref_stride, second_pred, temp, msk, msk_stride, \ 547 const uint8_t *msk, int msk_stride, int invert_mask, uint32_t *sse) { \ [all …]
|
/external/scapy/scapy/ |
D | route.py | 40 for net, msk, gw, iface, addr, metric in self.routes: 42 ltoa(msk), 54 thenet,msk = host,32 56 thenet,msk = net.split("/") 57 msk = int(msk) 70 return (atol(thenet), itom(msk), gw, dev, ifaddr, metric) 99 net, msk, gw, iface, addr, metric = route 108 self.routes[i] = (net,msk,gw,iface,the_addr,metric) 181 for net, msk, gw, iface, addr, metric in self.routes: 189 bcast = atol(addr)|(~msk&0xffffffff); # FIXME: check error in atol()
|
/external/u-boot/arch/m68k/cpu/mcf5227x/ |
D | cpu.c | 34 u16 msk; in print_cpuinfo() local 39 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo() 41 switch (msk) { in print_cpuinfo() 50 printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk, in print_cpuinfo()
|
/external/u-boot/arch/m68k/cpu/mcf5445x/ |
D | cpu.c | 37 u16 msk; in print_cpuinfo() local 42 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo() 44 switch (msk) { in print_cpuinfo() 83 printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk, in print_cpuinfo()
|
/external/u-boot/arch/m68k/cpu/mcf523x/ |
D | cpu.c | 34 u16 msk; in print_cpuinfo() local 39 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo() 41 switch (msk) { in print_cpuinfo() 50 printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk, in print_cpuinfo()
|
/external/u-boot/arch/m68k/cpu/mcf532x/ |
D | cpu.c | 36 u16 msk; in print_cpuinfo() local 41 msk = (in_be16(&ccm->cir) >> 6); in print_cpuinfo() 43 switch (msk) { in print_cpuinfo() 89 printf("Freescale MCF%d (Mask:%01x Version:%x)\n", id, msk, in print_cpuinfo()
|
/external/libopus/celt/ |
D | entenc.c | 247 opus_uint32 msk; in ec_enc_done() local 253 msk=(EC_CODE_TOP-1)>>l; in ec_enc_done() 254 end=(_this->val+msk)&~msk; in ec_enc_done() 255 if((end|msk)>=_this->val+_this->rng){ in ec_enc_done() 257 msk>>=1; in ec_enc_done() 258 end=(_this->val+msk)&~msk; in ec_enc_done()
|
/external/libaom/libaom/aom_dsp/ |
D | variance.h | 65 const uint8_t *msk, int msk_stride, 70 const uint8_t *msk, int msk_stride, int invert_mask, unsigned int *sse); 81 const int32_t *msk); 85 const int32_t *msk, 89 const int32_t *wsrc, const int32_t *msk, unsigned int *sse);
|
D | sad_av1.c | 45 const uint8_t *second_pred, const uint8_t *msk, int msk_stride, \ 48 return masked_sad(src, src_stride, ref, ref_stride, second_pred, m, msk, \ 51 return masked_sad(src, src_stride, second_pred, m, ref, ref_stride, msk, \ 112 int ref_stride, const uint8_t *second_pred8, const uint8_t *msk, \ 116 second_pred8, m, msk, msk_stride, m, n); \ 119 ref_stride, msk, msk_stride, m, n); \
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_bbt.c | 89 uint8_t msk = (mark & BBT_ENTRY_MASK) << ((block & BBT_ENTRY_MASK) * 2); in bbt_mark_entry() local 90 chip->bbt[block >> BBT_ENTRY_SHIFT] |= msk; in bbt_mark_entry() 177 uint8_t msk = (uint8_t)((1 << bits) - 1); in read_bbt() local 216 uint8_t tmp = (dat >> j) & msk; in read_bbt() 217 if (tmp == msk) in read_bbt() 624 uint8_t msk[4]; in write_bbt() local 696 msk[2] = ~rcode; in write_bbt() 698 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt() 699 msk[3] = 0x01; in write_bbt() 701 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.h | 80 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, 84 const u8 *nonce_s, const u8 *mk, u8 *msk, 94 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk); 97 const u8 *nonce_s, u8 *msk, u8 *emsk); 112 u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument 119 const u8 *nonce_s, u8 *msk, in eap_aka_prime_derive_keys_reauth() argument
|
D | eap_gpsk_common.c | 112 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_helper() argument 169 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper() 191 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys_aes() argument 219 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_aes() 227 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_sha256() argument 253 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_sha256() 284 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys() argument 320 msk, emsk, sk, sk_len, in eap_gpsk_derive_keys() 327 msk, emsk, sk, sk_len); in eap_gpsk_derive_keys()
|
D | eap_sim_common.c | 77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) in eap_sim_derive_keys() argument 90 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 99 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 109 const u8 *nonce_s, const u8 *mk, u8 *msk, in eap_sim_derive_keys_reauth() argument 150 if (msk) { in eap_sim_derive_keys_reauth() 151 os_memcpy(msk, buf, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 153 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 277 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument 315 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys() 316 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys() [all …]
|
/external/u-boot/common/ |
D | lcd_console_rotation.c | 21 uchar msk = 0x80; in lcd_putc_xy90() local 25 *dst-- = (*(pfont + i) & msk) ? fg_color : bg_color; in lcd_putc_xy90() 26 msk >>= 1; in lcd_putc_xy90() 123 uchar msk = 0x80; in lcd_putc_xy270() local 127 *dst++ = (*(pfont + i) & msk) ? fg_color : bg_color; in lcd_putc_xy270() 128 msk >>= 1; in lcd_putc_xy270()
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_key.c | 91 int ieee802_1x_cak_aes_cmac(const u8 *msk, size_t msk_bytes, const u8 *mac1, in ieee802_1x_cak_aes_cmac() argument 97 return aes_kdf(msk, 8 * msk_bytes, "IEEE8021 EAP CAK", in ieee802_1x_cak_aes_cmac() 108 int ieee802_1x_ckn_aes_cmac(const u8 *msk, size_t msk_bytes, const u8 *mac1, in ieee802_1x_ckn_aes_cmac() argument 124 res = aes_kdf(msk, 8 * msk_bytes, "IEEE8021 EAP CKN", in ieee802_1x_ckn_aes_cmac()
|
D | ieee802_1x_key.h | 12 int ieee802_1x_cak_aes_cmac(const u8 *msk, size_t msk_bytes, const u8 *mac1, 14 int ieee802_1x_ckn_aes_cmac(const u8 *msk, size_t msk_bytes, const u8 *mac1,
|
/external/u-boot/arch/m68k/cpu/mcf52x2/ |
D | cpu.c | 194 uchar msk; in print_cpuinfo() local 198 msk = (in_be32(&sysctrl->sc_dir) > 28) & 0xf; in print_cpuinfo() 199 switch (msk) { in print_cpuinfo() 208 printf("Freescale MCF5272 (Mask:%01x)\n", msk); in print_cpuinfo()
|
/external/scapy/scapy/layers/ |
D | dhcp.py | 319 netw,msk = (network.split("/")+["32"])[:2] 320 msk = itom(int(msk)) 321 self.netmask = ltoa(msk) 322 self.network = ltoa(atol(netw)&msk) 323 self.broadcast = ltoa( atol(self.network) | (0xffffffff&~msk) )
|
/external/scapy/scapy/arch/ |
D | linux.py | 208 msk = struct.unpack(">I", ifreq[20:24])[0] 218 if (ifaddr & msk) == ip_mask: 220 return (ifaddr & msk, msk, gw_str, ifname, 239 msk = socket.ntohl(struct.unpack("I",ifreq2[20:24])[0]) 240 dst = socket.ntohl(struct.unpack("I",ifreq[20:24])[0]) & msk 242 routes.append((dst, msk, "0.0.0.0", LOOPBACK_NAME, ifaddr, 1)) 248 iff,dst,gw,flags,x,x,metric,msk,x,x,x = l.split() 268 msk_int = socket.htonl(int(msk, 16)) & 0xffffffff
|
/external/iptables/extensions/ |
D | libebt_ip.c | 141 static void ebt_parse_ip_address(char *address, uint32_t *addr, uint32_t *msk) in ebt_parse_ip_address() argument 148 if (ip_mask(p + 1, (unsigned char *)msk)) { in ebt_parse_ip_address() 154 *msk = 0xFFFFFFFF; in ebt_parse_ip_address() 161 *addr = *addr & *msk; in ebt_parse_ip_address()
|
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | cpu_init.c | 165 uint msk = 1; in config_8560_ioports() local 174 pmsk |= msk; in config_8560_ioports() 176 ppar |= msk; in config_8560_ioports() 178 psor |= msk; in config_8560_ioports() 180 pdir |= msk; in config_8560_ioports() 182 podr |= msk; in config_8560_ioports() 184 pdat |= msk; in config_8560_ioports() 187 msk <<= 1; in config_8560_ioports()
|