Lines Matching defs:ma
620 static int pm3393_macaddress_set(struct cmac *cmac, u8 ma[6])
627 * ma[5] = 0x09
628 * ma[4] = 0x13
629 * ma[3] = 0x00
630 * ma[2] = 0x43
631 * ma[1] = 0x07
632 * ma[0] = 0x00
637 * low_bits[15:0] = ma[1]:ma[0]
638 * mid_bits[31:16] = ma[3]:ma[2]
639 * high_bits[47:32] = ma[5]:ma[4]
643 memcpy(cmac->instance->mac_addr, ma, 6);
645 lo = ((u32) ma[1] << 8) | (u32) ma[0];
646 mid = ((u32) ma[3] << 8) | (u32) ma[2];
647 hi = ((u32) ma[5] << 8) | (u32) ma[4];