uint16_t 60 bsp/boot/ppc/arch/elf_reloc.c *(uint16_t *)where = (uint16_t)val; uint16_t 64 bsp/boot/ppc/arch/elf_reloc.c *(uint16_t *)where = (uint16_t)(val >> 16); uint16_t 68 bsp/boot/ppc/arch/elf_reloc.c *(uint16_t *)where = (uint16_t)((val + 0x8000) >> 16); uint16_t 42 bsp/drv/arm/gba/keypad.c #define REG_KEYSTS (*(volatile uint16_t *)0x4000130) uint16_t 43 bsp/drv/arm/gba/keypad.c #define REG_KEYCNT (*(volatile uint16_t *)0x4000132) uint16_t 96 bsp/drv/arm/gba/keypad.c uint16_t sts; uint16_t 49 bsp/drv/arm/gba/lcd.c uint16_t *vram; uint16_t 147 bsp/drv/arm/gba/lcd.c uint16_t *tile = CONSOLE_TILE; uint16_t 166 bsp/drv/arm/gba/lcd.c uint16_t *pal = BG_PALETTE; uint16_t 73 bsp/drv/arm/gba/lcd.h #define REG_DISPCNT (*(volatile uint16_t *)0x4000000) uint16_t 74 bsp/drv/arm/gba/lcd.h #define REG_BG0CNT (*(volatile uint16_t *)0x4000008) uint16_t 75 bsp/drv/arm/gba/lcd.h #define REG_BG1CNT (*(volatile uint16_t *)0x400000A) uint16_t 76 bsp/drv/arm/gba/lcd.h #define REG_BG2CNT (*(volatile uint16_t *)0x400000C) uint16_t 77 bsp/drv/arm/gba/lcd.h #define REG_BG3CNT (*(volatile uint16_t *)0x400000E) uint16_t 79 bsp/drv/arm/gba/lcd.h #define BG_PALETTE (uint16_t *)0x5000000 uint16_t 81 bsp/drv/arm/gba/lcd.h #define CONSOLE_TILE (uint16_t *)0x6000000 uint16_t 82 bsp/drv/arm/gba/lcd.h #define CONSOLE_MAP (uint16_t *)0x6008000 uint16_t 84 bsp/drv/arm/gba/lcd.h #define KBD1_TILE (uint16_t *)0x6004000 uint16_t 85 bsp/drv/arm/gba/lcd.h #define KBD2_TILE (uint16_t *)0x6006000 uint16_t 86 bsp/drv/arm/gba/lcd.h #define KBD1_MAP (uint16_t *)0x6009000 uint16_t 87 bsp/drv/arm/gba/lcd.h #define KBD2_MAP (uint16_t *)0x600A000 uint16_t 89 bsp/drv/arm/gba/lcd.h #define OAM (uint16_t *)0x7000000 uint16_t 90 bsp/drv/arm/gba/lcd.h #define SPL_PALETTE (uint16_t *)0x5000200 uint16_t 91 bsp/drv/arm/gba/lcd.h #define CURSOR_DATA (uint16_t *)0x6010000 uint16_t 186 bsp/drv/arm/gba/swkbd.c uint16_t *oam = OAM; uint16_t 210 bsp/drv/arm/gba/swkbd.c oam[curcur * 4] = (uint16_t)((oam[curcur * 4] & 0xff00) | 160); uint16_t 211 bsp/drv/arm/gba/swkbd.c oam[curcur * 4 + 1] = (uint16_t)((oam[curcur * 4 + 1] & 0xfe00) | 240); uint16_t 214 bsp/drv/arm/gba/swkbd.c oam[newcur * 4] = (uint16_t)((oam[newcur * 4] & 0xff00) | y); uint16_t 215 bsp/drv/arm/gba/swkbd.c oam[newcur * 4 + 1] = (uint16_t)((oam[newcur * 4 + 1] & 0xfe00) | x); uint16_t 384 bsp/drv/arm/gba/swkbd.c uint16_t val1, val2; uint16_t 385 bsp/drv/arm/gba/swkbd.c uint16_t *pal = BG_PALETTE; uint16_t 386 bsp/drv/arm/gba/swkbd.c uint16_t *tile1 = KBD1_TILE; uint16_t 387 bsp/drv/arm/gba/swkbd.c uint16_t *tile2 = KBD2_TILE; uint16_t 388 bsp/drv/arm/gba/swkbd.c uint16_t *map1 = KBD1_MAP; uint16_t 389 bsp/drv/arm/gba/swkbd.c uint16_t *map2 = KBD2_MAP; uint16_t 415 bsp/drv/arm/gba/swkbd.c map1[row * 32 + col] = (uint16_t)i; uint16_t 416 bsp/drv/arm/gba/swkbd.c map2[row * 32 + col] = (uint16_t)(i + 127); uint16_t 439 bsp/drv/arm/gba/swkbd.c uint16_t val; uint16_t 440 bsp/drv/arm/gba/swkbd.c uint16_t *oam = OAM; uint16_t 441 bsp/drv/arm/gba/swkbd.c uint16_t *cur = CURSOR_DATA; uint16_t 442 bsp/drv/arm/gba/swkbd.c uint16_t *pal = SPL_PALETTE; uint16_t 465 bsp/drv/arm/gba/swkbd.c oam[0] = (uint16_t)(0x6000 + 160); /* 256 color, Horizontal */ uint16_t 466 bsp/drv/arm/gba/swkbd.c oam[1] = (uint16_t)(0x8000 + 240); /* 32x16 */ uint16_t 467 bsp/drv/arm/gba/swkbd.c oam[2] = (uint16_t)(i * 16); /* Tile number */ uint16_t 41 bsp/drv/arm/include/busio.h #define bus_read_16(addr) (*((volatile uint16_t *)(addr))) uint16_t 45 bsp/drv/arm/include/busio.h #define bus_write_16(addr, val) (*((volatile uint16_t *)(addr)) = (val)) uint16_t 24 bsp/drv/lib/endian.c uint16_t uint16_t 25 bsp/drv/lib/endian.c htons(uint16_t x) uint16_t 29 bsp/drv/lib/endian.c return (uint16_t)(s[0] << 8 | s[1]); uint16_t 40 bsp/drv/lib/endian.c uint16_t uint16_t 41 bsp/drv/lib/endian.c ntohs(uint16_t x) uint16_t 45 bsp/drv/lib/endian.c return (uint16_t)(s[0] << 8 | s[1]); uint16_t 44 bsp/drv/ppc/include/busio.h #define bus_read_16(addr) (*((volatile uint16_t *)(IOBASE+addr))) uint16_t 48 bsp/drv/ppc/include/busio.h #define bus_write_16(addr, val) (*((volatile uint16_t *)(IOBASE+addr)) = (val)) uint16_t 42 bsp/drv/x86/include/busio.h void bus_write_16(int addr, uint16_t val); uint16_t 46 bsp/drv/x86/include/busio.h uint16_t bus_read_16(int addr); uint16_t 51 bsp/hal/arm/gba/clock.c #define TMR0_COUNT (*(volatile uint16_t *)0x4000100) uint16_t 52 bsp/hal/arm/gba/clock.c #define TMR0_CTRL (*(volatile uint16_t *)0x4000102) uint16_t 94 bsp/hal/arm/gba/clock.c TMR0_CTRL = (uint16_t)(TMR_IRQEN | TMR_64_CLOCK); uint16_t 49 bsp/hal/arm/gba/interrupt.c #define ICU_IE (*(volatile uint16_t *)0x4000200) uint16_t 50 bsp/hal/arm/gba/interrupt.c #define ICU_IF (*(volatile uint16_t *)0x4000202) uint16_t 51 bsp/hal/arm/gba/interrupt.c #define ICU_IME (*(volatile uint16_t *)0x4000208) uint16_t 73 bsp/hal/arm/gba/interrupt.c static uint16_t mask_table[NIPLS]; /* Level -> mask */ uint16_t 89 bsp/hal/arm/gba/interrupt.c uint16_t unmask = (uint16_t)1 << vector; uint16_t 111 bsp/hal/arm/gba/interrupt.c u_int mask = (uint16_t)~(1 << vector); uint16_t 144 bsp/hal/arm/gba/interrupt.c ICU_IF = (uint16_t)(1 << vector); uint16_t 165 bsp/hal/arm/gba/interrupt.c uint16_t bits; uint16_t 171 bsp/hal/arm/gba/interrupt.c if (bits & (uint16_t)(1 << vector)) uint16_t 111 bsp/hal/arm/integrator/interrupt.c u_int mask = (uint16_t)~(1 << vector); uint16_t 144 bsp/hal/x86/arch/cpu.c gdt_p.limit = (uint16_t)(sizeof(gdt) - 1); uint16_t 185 bsp/hal/x86/arch/cpu.c idt_p.limit = (uint16_t)(sizeof(idt) - 1); uint16_t 125 bsp/hal/x86/include/cpu.h uint16_t limit; uint16_t 184 bsp/hal/x86/include/cpu.h uint16_t dbg_trace; uint16_t 185 bsp/hal/x86/include/cpu.h uint16_t io_bitmap_offset; uint16_t 51 include/sys/dirent.h uint16_t d_reclen; /* length of this record */ uint16_t 52 include/sys/dirent.h uint16_t d_namlen; /* length of string in d_name */ uint16_t 46 include/sys/elf.h typedef uint16_t Elf32_Half; /* Unsigned medium integer */ uint16_t 69 include/sys/endian.h uint16_t htons(uint16_t); uint16_t 71 include/sys/endian.h uint16_t ntohs(uint16_t); uint16_t 58 usr/arch/ppc/elf_reloc.c *(uint16_t *)where = val; uint16_t 62 usr/arch/ppc/elf_reloc.c *(uint16_t *)where = (val >> 16); uint16_t 66 usr/arch/ppc/elf_reloc.c *(uint16_t *)where = (val + 0x8000) >> 16; uint16_t 330 usr/server/fs/arfs/arfs_vnops.c dir->d_namlen = (uint16_t)strlen(dir->d_name); uint16_t 252 usr/server/fs/devfs/devfs_vnops.c dir->d_namlen = (uint16_t)strlen(dir->d_name); uint16_t 90 usr/server/fs/fatfs/fatfs.h uint16_t jmp_instruction; uint16_t 93 usr/server/fs/fatfs/fatfs.h uint16_t bytes_per_sector; uint16_t 95 usr/server/fs/fatfs/fatfs.h uint16_t reserved_sectors; uint16_t 97 usr/server/fs/fatfs/fatfs.h uint16_t root_entries; uint16_t 98 usr/server/fs/fatfs/fatfs.h uint16_t total_sectors; uint16_t 100 usr/server/fs/fatfs/fatfs.h uint16_t sectors_per_fat; uint16_t 101 usr/server/fs/fatfs/fatfs.h uint16_t sectors_per_track; uint16_t 102 usr/server/fs/fatfs/fatfs.h uint16_t heads; uint16_t 120 usr/server/fs/fatfs/fatfs.h uint16_t time; uint16_t 121 usr/server/fs/fatfs/fatfs.h uint16_t date; uint16_t 122 usr/server/fs/fatfs/fatfs.h uint16_t cluster; uint16_t 131 usr/server/fs/fatfs/fatfs_fat.c uint16_t val; uint16_t 146 usr/server/fs/fatfs/fatfs_fat.c val = *((uint16_t *)(fmp->fat_buf + offset)); uint16_t 172 usr/server/fs/fatfs/fatfs_fat.c uint16_t val, tmp; uint16_t 186 usr/server/fs/fatfs/fatfs_fat.c val = (uint16_t)(next & fmp->fat_mask); uint16_t 188 usr/server/fs/fatfs/fatfs_fat.c tmp = *((uint16_t *)(buf + offset)); uint16_t 197 usr/server/fs/fatfs/fatfs_fat.c *((uint16_t *)(buf + offset)) = val; uint16_t 457 usr/server/fs/fifofs/fifo_vnops.c dir->d_namlen = (uint16_t)strlen(dir->d_name); uint16_t 488 usr/server/fs/ramfs/ramfs_vnops.c dir->d_namlen = (uint16_t)strlen(dir->d_name);