Home
last modified time | relevance | path

Searched refs:get_u16 (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/radeon/
Datom-bits.h34 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()
/linux-6.12.1/drivers/gpu/drm/amd/include/
Datom-bits.h34 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()
/linux-6.12.1/drivers/hid/bpf/progs/
DWacom__ArtPen.bpf.c94 static inline __u16 *get_u16(__u8 *data, unsigned int offset) in get_u16() function
120 tool_type = get_u16(data, params.offsets.tool_type); in SEC()
131 pressure = get_u16(data, params.offsets.pressure); in SEC()
/linux-6.12.1/drivers/comedi/drivers/
Djr3_pci.c243 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()
Djr3_pci.h7 static inline u16 get_u16(const u32 __iomem *p) in get_u16() function
/linux-6.12.1/drivers/net/ethernet/dec/tulip/
Dmedia.c193 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()
Deeprom.c212 u16 media = get_u16(p); in tulip_parse_eeprom()
272 new_advertise |= get_u16(&p[7+gpr_len+reset_len]); in tulip_parse_eeprom()
Dtulip.h366 #define get_u16(ptr) get_unaligned_le16((ptr)) macro
/linux-6.12.1/tools/testing/selftests/net/
Dioam6_parser.c536 static int get_u16(__u16 *val, const char *arg, int base) in get_u16() function
615 get_u16(&ioam_ns, argv[3], 0)) in main()