Home
last modified time | relevance | path

Searched refs:uint16_t (Results 1 – 25 of 214) sorted by relevance

123456789

/rk3399_rockchip-uboot/include/
H A Dpe.h15 uint16_t e_magic; /* 00: MZ Header signature */
16 uint16_t e_cblp; /* 02: Bytes on last page of file */
17 uint16_t e_cp; /* 04: Pages in file */
18 uint16_t e_crlc; /* 06: Relocations */
19 uint16_t e_cparhdr; /* 08: Size of header in paragraphs */
20 uint16_t e_minalloc; /* 0a: Minimum extra paragraphs needed */
21 uint16_t e_maxalloc; /* 0c: Maximum extra paragraphs needed */
22 uint16_t e_ss; /* 0e: Initial (relative) SS value */
23 uint16_t e_sp; /* 10: Initial SP value */
24 uint16_t e_csum; /* 12: Checksum */
[all …]
H A Dpci_rom.h13 uint16_t signature;
17 uint16_t data;
22 uint16_t vendor;
23 uint16_t device;
24 uint16_t reserved_1;
25 uint16_t dlen;
28 uint16_t class_hi;
29 uint16_t ilen;
30 uint16_t irevision;
33 uint16_t reserved_2;
H A Dcharset.h26 size_t utf16_strlen(const uint16_t *in);
40 size_t utf16_strnlen(const uint16_t *in, size_t count);
45 uint16_t *utf16_strcpy(uint16_t *dest, const uint16_t *src);
50 uint16_t *utf16_strdup(const uint16_t *s);
66 uint8_t *utf16_to_utf8(uint8_t *dest, const uint16_t *src, size_t size);
/rk3399_rockchip-uboot/include/fsl-mc/
H A Dfsl_dpni.h58 MC_PREP_OP(ext, 0, 0, 16, uint16_t, cfg->tc_cfg[0].max_dist); \
59 MC_PREP_OP(ext, 0, 16, 16, uint16_t, cfg->tc_cfg[0].max_fs_entries); \
60 MC_PREP_OP(ext, 0, 32, 16, uint16_t, cfg->tc_cfg[1].max_dist); \
61 MC_PREP_OP(ext, 0, 48, 16, uint16_t, cfg->tc_cfg[1].max_fs_entries); \
62 MC_PREP_OP(ext, 1, 0, 16, uint16_t, cfg->tc_cfg[2].max_dist); \
63 MC_PREP_OP(ext, 1, 16, 16, uint16_t, cfg->tc_cfg[2].max_fs_entries); \
64 MC_PREP_OP(ext, 1, 32, 16, uint16_t, cfg->tc_cfg[3].max_dist); \
65 MC_PREP_OP(ext, 1, 48, 16, uint16_t, cfg->tc_cfg[3].max_fs_entries); \
66 MC_PREP_OP(ext, 2, 0, 16, uint16_t, cfg->tc_cfg[4].max_dist); \
67 MC_PREP_OP(ext, 2, 16, 16, uint16_t, cfg->tc_cfg[4].max_fs_entries); \
[all …]
H A Dfsl_dpbp.h38 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, attr->bpid); \
40 MC_RSP_OP(cmd, 1, 0, 16, uint16_t, attr->version.major);\
41 MC_RSP_OP(cmd, 1, 16, 16, uint16_t, attr->version.minor);\
70 uint16_t *token);
85 uint16_t token);
119 uint16_t *token);
131 uint16_t token);
143 uint16_t token);
155 uint16_t token);
168 uint16_t token,
[all …]
H A Dfsl_dpio.h41 MC_RSP_OP(cmd, 0, 32, 16, uint16_t, attr->qbman_portal_id);\
46 MC_RSP_OP(cmd, 3, 0, 16, uint16_t, attr->version.major);\
47 MC_RSP_OP(cmd, 3, 16, 16, uint16_t, attr->version.minor);\
77 uint16_t *token);
89 uint16_t token);
139 uint16_t *token);
151 uint16_t token);
163 uint16_t token);
175 uint16_t token);
187 uint16_t token);
[all …]
H A Dfsl_dpmac.h45 MC_RSP_OP(cmd, 1, 0, 16, uint16_t, attr->version.major);\
46 MC_RSP_OP(cmd, 1, 16, 16, uint16_t, attr->version.minor);\
61 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, data)
68 MC_CMD_OP(cmd, 0, 16, 16, uint16_t, cfg->data); \
120 uint16_t *token);
135 uint16_t token);
211 uint16_t *token);
223 uint16_t token);
255 uint16_t major;
256 uint16_t minor;
[all …]
H A Dfsl_dpaa_fd.h61 static inline uint16_t ldpaa_fd_get_offset(const struct dpaa_fd *fd) in ldpaa_fd_get_offset()
63 return (uint16_t)(fd->simple.bpid_offset >> 16) & 0x0FFF; in ldpaa_fd_get_offset()
66 static inline void ldpaa_fd_set_offset(struct dpaa_fd *fd, uint16_t offset) in ldpaa_fd_set_offset()
72 static inline uint16_t ldpaa_fd_get_bpid(const struct dpaa_fd *fd) in ldpaa_fd_get_bpid()
74 return (uint16_t)(fd->simple.bpid_offset & 0xFFFF); in ldpaa_fd_get_bpid()
77 static inline void ldpaa_fd_set_bpid(struct dpaa_fd *fd, uint16_t bpid) in ldpaa_fd_set_bpid()
111 uint16_t ldpaa_dq_seqnum(const struct ldpaa_dq *);
112 uint16_t ldpaa_dq_odpid(const struct ldpaa_dq *);
/rk3399_rockchip-uboot/include/zfs/
H A Dzap_leaf.h43 uint16_t lh_nfree; /* number free chunks */
44 uint16_t lh_nentries; /* number of entries */
45 uint16_t lh_prefix_len; /* num bits used to id this */
49 uint16_t lh_freelist; /* chunk head of free list */
61 uint16_t l_hash[1];
68 uint16_t le_next; /* next entry in hash chain */
69 uint16_t le_name_chunk; /* first chunk of the name */
70 uint16_t le_name_length; /* bytes in name, incl null */
71 uint16_t le_value_chunk; /* first chunk of the value */
72 uint16_t le_value_length; /* value length in ints */
[all …]
H A Dzfs_acl.h18 uint16_t z_flags; /* flags, i.e inheritance */
19 uint16_t z_type; /* type of entry allow/deny */
27 uint16_t z_acl_version; /* acl version */
28 uint16_t z_acl_pad; /* pad */
37 uint16_t z_acl_version; /* acl version */
38 uint16_t z_acl_count; /* ace count */
/rk3399_rockchip-uboot/tools/rockchip/
H A Dtrust_merger.h91 uint16_t major;
92 uint16_t minor;
134 uint16_t e_type;
135 uint16_t e_machine;
141 uint16_t e_ehsize;
142 uint16_t e_phentsize;
143 uint16_t e_phnum;
144 uint16_t e_shentsize;
145 uint16_t e_shnum;
146 uint16_t e_shstrndx;
[all …]
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dpnp_def.h35 static inline void pnp_write_config(uint16_t dev, uint8_t reg, uint8_t value) in pnp_write_config()
43 static inline uint8_t pnp_read_config(uint16_t dev, uint8_t reg) in pnp_read_config()
51 static inline void pnp_set_logical_device(uint16_t dev) in pnp_set_logical_device()
58 static inline void pnp_set_enable(uint16_t dev, int enable) in pnp_set_enable()
63 static inline int pnp_read_enable(uint16_t dev) in pnp_read_enable()
68 static inline void pnp_set_iobase(uint16_t dev, uint8_t index, uint16_t iobase) in pnp_set_iobase()
74 static inline uint16_t pnp_read_iobase(uint16_t dev, uint8_t index) in pnp_read_iobase()
76 return ((uint16_t)(pnp_read_config(dev, index)) << 8) | in pnp_read_iobase()
80 static inline void pnp_set_irq(uint16_t dev, uint8_t index, unsigned irq) in pnp_set_irq()
85 static inline void pnp_set_drq(uint16_t dev, uint8_t index, unsigned drq) in pnp_set_drq()
/rk3399_rockchip-uboot/drivers/ufs/
H A Dufs-rockchip-usbplug.h20 static inline uint16_t swap_16(uint16_t val) in swap_16()
22 return (uint16_t)((val << 8) | (val >> 8)); /* shift 8 */ in swap_16()
32 static inline uint16_t to_bigendian16(uint16_t val) in to_bigendian16()
80 uint16_t w_periodic_rtc_update;
96 uint16_t w_context_capabilities;
126 uint16_t w_supported_memory_types;
128 uint16_t w_system_code_cap_adj_fac;
130 uint16_t w_non_persist_cap_adj_fac;
132 uint16_t w_enhanced1_cap_adj_fac;
134 uint16_t w_enhanced2_cap_adj_fac;
[all …]
/rk3399_rockchip-uboot/drivers/net/fsl-mc/
H A Ddpni.c34 uint16_t *token) in dpni_open()
58 uint16_t token) in dpni_close()
74 uint16_t *token) in dpni_create()
98 uint16_t token) in dpni_destroy()
113 uint16_t token, in dpni_set_pools()
130 uint16_t token) in dpni_enable()
145 uint16_t token) in dpni_disable()
160 uint16_t token) in dpni_reset()
175 uint16_t token, in dpni_get_attributes()
200 uint16_t token, in dpni_set_errors_behavior()
[all …]
H A Ddpbp.c16 uint16_t *token) in dpbp_open()
40 uint16_t token) in dpbp_close()
55 uint16_t *token) in dpbp_create()
80 uint16_t token) in dpbp_destroy()
95 uint16_t token) in dpbp_enable()
109 uint16_t token) in dpbp_disable()
124 uint16_t token) in dpbp_reset()
139 uint16_t token, in dpbp_get_attributes()
H A Ddpmac.c17 uint16_t *token) in dpmac_open()
41 uint16_t token) in dpmac_close()
56 uint16_t *token) in dpmac_create()
80 uint16_t token) in dpmac_destroy()
95 uint16_t token, in dpmac_get_attributes()
119 uint16_t token, in dpmac_mdio_read()
144 uint16_t token, in dpmac_mdio_write()
161 uint16_t token, in dpmac_get_link_cfg()
184 uint16_t token, in dpmac_set_link_state()
201 uint16_t token, in dpmac_get_counter()
/rk3399_rockchip-uboot/tools/
H A Dmxsimage.h21 uint16_t major;
22 uint16_t pad0;
23 uint16_t minor;
24 uint16_t pad1;
25 uint16_t revision;
26 uint16_t pad2;
46 uint16_t flags;
54 uint16_t key_count;
56 uint16_t key_dictionary_block;
58 uint16_t header_blocks;
[all …]
H A Dkwbimage.h39 uint16_t nandpagesize; /* 0x2-0x3 */
47 uint16_t ddrinitdelay; /* 0x1A-0x1B */
48 uint16_t rsvd2; /* 0x1C-0x1D */
77 uint16_t reserved2; /* 0x2-0x3 */
81 uint16_t headersz_lsb; /* 0xA-0xB */
89 uint16_t reserved5; /* 0x1C-0x1D */
112 uint16_t headersz_lsb;
136 uint16_t headersz_lsb; /* 0x2 - 0x3 */
141 uint16_t reserved3; /* 0x216 - 0x217 */
150 uint16_t reserved5; /* 0x25E2 - 0x25E3 */
H A Dbmp_logo.c9 uint16_t width;
10 uint16_t height;
25 uint16_t le_short(uint16_t x) in le_short()
27 uint16_t val; in le_short()
52 void gen_info(bitmap_t *b, uint16_t n_colors) in gen_info()
79 uint16_t data_offset, n_colors; in main()
109 if (fread (&data_offset, sizeof (uint16_t), 1, fp) != 1) in main()
112 if (fread (&b->width, sizeof (uint16_t), 1, fp) != 1) in main()
115 if (fread (&b->height, sizeof (uint16_t), 1, fp) != 1) in main()
118 if (fread (&n_colors, sizeof (uint16_t), 1, fp) != 1) in main()
/rk3399_rockchip-uboot/lib/
H A Dcharset.c17 size_t utf16_strlen(const uint16_t *in) in utf16_strlen()
24 size_t utf16_strnlen(const uint16_t *in, size_t count) in utf16_strnlen()
31 uint16_t *utf16_strcpy(uint16_t *dest, const uint16_t *src) in utf16_strcpy()
33 uint16_t *tmp = dest; in utf16_strcpy()
41 uint16_t *utf16_strdup(const uint16_t *s) in utf16_strdup()
43 uint16_t *new; in utf16_strdup()
51 uint8_t *utf16_to_utf8(uint8_t *dest, const uint16_t *src, size_t size) in utf16_to_utf8()
H A Dcrc16.c29 static const uint16_t crc16_tab[] = {
64 uint16_t crc16_ccitt(uint16_t crc_start, unsigned char *buf, int len) in crc16_ccitt()
67 uint16_t cksum; in crc16_ccitt()
/rk3399_rockchip-uboot/net/
H A Ddns.h25 uint16_t tid; /* Transaction ID */
26 uint16_t flags; /* Flags */
27 uint16_t nqueries; /* Questions */
28 uint16_t nanswers; /* Answers */
29 uint16_t nauth; /* Authority PRs */
30 uint16_t nother; /* Other PRs */
/rk3399_rockchip-uboot/arch/x86/include/asm/arch-broadwell/
H A Dpm.h112 uint16_t pm1_sts;
113 uint16_t pm1_en;
115 uint16_t tco1_sts;
116 uint16_t tco2_sts;
119 uint16_t gen_pmcon1;
120 uint16_t gen_pmcon2;
121 uint16_t gen_pmcon3;
123 uint16_t hsio_version;
124 uint16_t hsio_checksum;
/rk3399_rockchip-uboot/arch/x86/include/asm/arch-ivybridge/
H A Dpei_data.h14 uint16_t mode;
16 uint16_t hs_port_switch_mask;
18 uint16_t preboot_support;
20 uint16_t xhci_streams;
33 uint16_t smbusbar;
88 uint16_t usb_port_config[16][3];
/rk3399_rockchip-uboot/drivers/net/fsl-mc/dpio/
H A Ddpio.c14 uint16_t *token) in dpio_open()
38 uint16_t token) in dpio_close()
54 uint16_t *token) in dpio_create()
78 uint16_t token) in dpio_destroy()
93 uint16_t token) in dpio_enable()
108 uint16_t token) in dpio_disable()
123 uint16_t token) in dpio_reset()
138 uint16_t token, in dpio_get_attributes()

123456789