Searched refs:get_u16 (Results 1 – 6 of 6) sorted by relevance
34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() function38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr))39 #define CU16(ptr) get_u16(ctx->bios, (ptr))42 return get_u16(bios, ptr)|(((uint32_t)get_u16(bios, ptr+2))<<16); in get_u32()
194 setup[i] = get_u16(&p[i*2 + 1]); in tulip_select_media()206 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in tulip_select_media()261 iowrite32(get_u16(&reset_sequence[i]) << 16, ioaddr + CSR15); in tulip_select_media()276 iowrite32(get_u16(&init_sequence[i]) << 16, ioaddr + CSR15); in tulip_select_media()308 tmp_info = get_u16(&misc_info[1]); in tulip_select_media()328 setup[i] = get_u16(&p[i*2 + 1]); in tulip_select_media()336 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in tulip_select_media()
213 u16 media = get_u16(p); in tulip_parse_eeprom()274 new_advertise |= get_u16(&p[7+gpr_len+reset_len]); in tulip_parse_eeprom()
366 #define get_u16(ptr) get_unaligned_le16((ptr)) macro
279 (get_u16(&p->channel->errors) & (watch_dog | watch_dog2 | in jr3_pci_ai_insn_read()355 get_u16(&p->channel->model_no); in jr3_pci_ai_insn_read()362 get_u16(&p->channel->serial_no); in jr3_pci_ai_insn_read()517 int errors = get_u16(&channel->errors); in jr3_pci_poll_subdevice()530 u16 model_no = get_u16(&channel->model_no); in jr3_pci_poll_subdevice()531 u16 serial_no = get_u16(&channel->serial_no); in jr3_pci_poll_subdevice()556 get_u16(&channel->model_no); in jr3_pci_poll_subdevice()558 get_u16(&channel->serial_no); in jr3_pci_poll_subdevice()930 get_u16(&devpriv->iobase->channel[0]. in jr3_pci_attach()
5 static inline u16 get_u16(volatile const u32 * p) in get_u16() function