/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | atom-bits.h | 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() function 38 #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()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atom-bits.h | 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() function 38 #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()
|
/openbmc/hiomapd/ |
H A D | transport_mbox.c | 282 io.req.offset = get_u16(&req->msg.args[0]); in mbox_handle_create_window() 372 io.req.v1.offset = get_u16(&req->msg.args[0]); in mbox_handle_dirty_window() 375 io.req.v2.offset = get_u16(&req->msg.args[0]); in mbox_handle_dirty_window() 376 io.req.v2.size = get_u16(&req->msg.args[2]); in mbox_handle_dirty_window() 401 io.req.offset = get_u16(&req->msg.args[0]); in mbox_handle_erase_window() 402 io.req.size = get_u16(&req->msg.args[2]); in mbox_handle_erase_window() 436 io.req.offset = get_u16(&req->msg.args[0]); in mbox_handle_flush_window()
|
H A D | common.c | 55 uint16_t get_u16(uint8_t *ptr) in get_u16() function
|
H A D | common.h | 56 uint16_t get_u16(uint8_t *ptr);
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | jr3_pci.c | 243 val = get_u16(&spriv->sensor->model_no); in jr3_pci_ai_read_chan() 245 val = get_u16(&spriv->sensor->serial_no); in jr3_pci_ai_read_chan() 261 errors = get_u16(&spriv->sensor->errors); in jr3_pci_ai_insn_read() 436 errors = get_u16(&sensor->errors); in jr3_pci_poll_subdevice() 447 model_no = get_u16(&sensor->model_no); in jr3_pci_poll_subdevice() 448 serial_no = get_u16(&sensor->serial_no); in jr3_pci_poll_subdevice() 472 spriv->model_no = get_u16(&sensor->model_no); in jr3_pci_poll_subdevice() 473 spriv->serial_no = get_u16(&sensor->serial_no); in jr3_pci_poll_subdevice() 649 copy[i] = (char)(get_u16(&sensor0->copyright[i]) >> 8); in jr3_pci_show_copyright()
|
H A D | jr3_pci.h | 7 static inline u16 get_u16(const u32 __iomem *p) in get_u16() function
|
/openbmc/hiomapd/test/ |
H A D | windows_equally_evictable.c | 75 len = get_u16(&msg->args[2]); in main() 76 pos = get_u16(&msg->args[4]) + len; in main()
|
/openbmc/phosphor-mboxd/vpnor/test/ |
H A D | dump_flash.cpp | 87 len = get_u16(&msg->args[2]); in main() 88 pos = get_u16(&msg->args[4]) + len; in main()
|
/openbmc/hiomapd/vpnor/test/ |
H A D | dump_flash.cpp | 87 len = get_u16(&msg->args[2]); in main() 88 pos = get_u16(&msg->args[4]) + len; in main()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | media.c | 193 setup[i] = get_u16(&p[i*2 + 1]); in tulip_select_media() 205 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in tulip_select_media() 260 iowrite32(get_u16(&reset_sequence[i]) << 16, ioaddr + CSR15); in tulip_select_media() 275 iowrite32(get_u16(&init_sequence[i]) << 16, ioaddr + CSR15); in tulip_select_media() 307 tmp_info = get_u16(&misc_info[1]); in tulip_select_media() 330 iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); in tulip_select_media()
|
H A D | eeprom.c | 212 u16 media = get_u16(p); in tulip_parse_eeprom() 272 new_advertise |= get_u16(&p[7+gpr_len+reset_len]); in tulip_parse_eeprom()
|
H A D | tulip.h | 366 #define get_u16(ptr) get_unaligned_le16((ptr)) macro
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_msg.c | 334 flash_offset = get_u16(&req->msg.args[0]) << context->block_size_shift; in mbox_handle_read_window() 432 offset = get_u16(&req->msg.args[0]); in mbox_handle_dirty_window() 435 size = get_u16(&req->msg.args[2]); in mbox_handle_dirty_window() 496 offset = get_u16(&req->msg.args[0]); in mbox_handle_erase_window() 497 size = get_u16(&req->msg.args[2]); in mbox_handle_erase_window()
|
H A D | common.c | 52 uint16_t get_u16(uint8_t *ptr) in get_u16() function
|
H A D | common.h | 55 uint16_t get_u16(uint8_t *ptr);
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_msg.cpp | 36 size_t offset = get_u16(&req->msg.args[0]); in vpnor_handle_write_window()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ioam6_parser.c | 545 static int get_u16(__u16 *val, const char *arg, int base) in get_u16() function 626 get_u16(&ioam_ns, argv[6], 0)) in main()
|