Home | History | Annotate | Download | only in netboot

Lines Matching full:u16

122 typedef unsigned short u16;
133 #define get_u16(ptr) (*(u16 *)(ptr))
280 static u16 t21041_csr13[] = { 0xEF01, 0xEF09, 0xEF09, 0xEF01, 0xEF09, };
281 static u16 t21041_csr14[] = { 0xFFFF, 0xF7FD, 0xF7FD, 0x7F3F, 0x7F3D, };
282 static u16 t21041_csr15[] = { 0x0008, 0x0006, 0x000E, 0x0008, 0x0008, };
284 static u16 t21142_csr13[] = { 0x0001, 0x0009, 0x0009, 0x0000, 0x0001, };
285 static u16 t21142_csr14[] = { 0xFFFF, 0x0705, 0x0705, 0x0000, 0x7F3D, };
286 static u16 t21142_csr15[] = { 0x0008, 0x0006, 0x000E, 0x0008, 0x0008, };
315 u16 defaultmedia;
424 u16 sym_advertise, mii_advertise; /* NWay to-advertise. */
426 u16 lpar; /* 21143 Link partner ability. */
427 u16 advertising[4]; /* MII advertise, from SROM table. */
441 u16 newtable[32]; /* Max length below. */
822 u16 media = get_u16(p);
863 u16 *p1 = (u16 *)(p + (p[2] & 0x40 ? 9 : 3));
993 u32 addr_high = cpu_to_le32(get_unaligned((u16 *)(nic->node_addr+4)));
1072 u16 nstype;
1085 nstype = htons((u16) t);
1311 put_unaligned(le16_to_cpu(value), ((u16*)nic->node_addr) + i);
1317 put_unaligned(inl(ioaddr + 0xA8), (u16 *)(nic->node_addr + 4));
1326 ((u16 *)ee_data)[i] =
1376 u16 media2advert[] = { 0x20, 0x40, 0x03e0, 0x60, 0x80, 0x100, 0x200 };
1742 u16 setup[5];
1807 u16 *misc_info;
1812 u16 *init_sequence = (u16*)(p+2);
1813 u16 *reset_sequence = &((u16*)(p+3))[init_length];
1825 misc_info = (u16*)(reset_sequence + reset_length);