Searched refs:get_u16 (Results 1 – 5 of 5) sorted by relevance
66 u_int16_t get_u16(const void *)
131 #define get_u16(ptr) (*(u16 *)(ptr)) macro789 int media = get_u16(p); in parse_eeprom()812 u16 media = get_u16(p); in parse_eeprom()852 u32 base15 = (p[2] & 0x40) ? get_u16(p + 7) : 0x0008; in parse_eeprom()1765 setup[i] = get_u16(&p[i*2 + 1]); in select_media()1780 outl(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in select_media()1838 outl(get_u16(&reset_sequence[i]) << 16, ioaddr + CSR15); in select_media()1840 outl(get_u16(&init_sequence[i]) << 16, ioaddr + CSR15); in select_media()1854 tp->advertising[phy_num] = get_u16(&misc_info[1]) | 1; in select_media()
85 #define get_u16(ptr) (*(u16 *)(ptr)) macro
579 get_u16(const void *vp) in get_u16() function
245 get_u16(uchar_t *buffer) in get_u16() function584 *sp = ntohs(get_u16((uchar_t *)(base + off))); in want_packet()951 if (ntohs(get_u16(base)) == ETHERTYPE_VLAN) in want_packet()