/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | endians.h | 90 (u16)((((u16)(x) & 0xff00) >> 8) | \ 91 (((u16)(x) & 0x00ff) << 8)) 143 #define __constant_be16_to_cpu(x) __ntfs_bswap_constant_16((u16)(x)) 147 #define __constant_cpu_to_be16(x) __ntfs_bswap_constant_16((u16)(x)) 161 #define __constant_le16_to_cpu(x) __ntfs_bswap_constant_16((u16)(x)) 165 #define __constant_cpu_to_le16(x) __ntfs_bswap_constant_16((u16)(x)) 193 #define le16_to_cpu(x) (u16)__le16_to_cpu((u16)(x)) 197 #define le16_to_cpup(x) (u16)__le16_to_cp [all...] |
H A D | logfile.c | 60 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; 121 usa_end = usa_ofs + usa_count * sizeof(u16); 123 usa_end > NTFS_BLOCK_SIZE - sizeof(u16)) { 173 u16 ra_ofs, ra_len, ca_ofs; 185 NTFS_BLOCK_SIZE - sizeof(u16)) { 199 ra_ofs + ca_ofs > (u16)(NTFS_BLOCK_SIZE - 200 sizeof(u16))) { 288 u16 nr_clients, idx; 439 NTFS_BLOCK_SIZE - (int)sizeof(u16)) {
|
H A D | security.h | 158 u16 tag; 159 u16 perms; 166 u16 filler; 175 u16 tagsset; 176 u16 filler;
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_api.h | 69 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex); 87 s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data); 88 s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data); 106 s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 107 s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data); 108 s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data); 109 s32 e1000_write_nvm(struct e1000_hw *hw, u16 offse [all...] |
H A D | e1000_mac.h | 43 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 64 s32 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed, 65 u16 *duplex); 67 u16 *speed, u16 *duplex); 87 void e1000_init_rx_addrs_generic(struct e1000_hw *hw, u16 rar_count); 97 s32 e1000_acquire_swfw_sync(struct e1000_hw *hw, u16 mask); 98 void e1000_release_swfw_sync(struct e1000_hw *hw, u16 mask);
|
H A D | e1000_mbx.c | 44 u16 E1000_UNUSEDARG mbx_id) 60 u16 E1000_UNUSEDARG size, 61 u16 E1000_UNUSEDARG mbx_id) 77 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) 103 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) 126 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) 146 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) 166 s32 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_i [all...] |
H A D | e1000_manage.h | 43 u16 length, u16 offset, u8 *sum); 47 u8 *buffer, u16 length);
|
H A D | e1000_80003es2lan.c | 48 u16 *data); 51 u16 data); 52 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, 53 u16 words, u16 *data); 57 static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, 58 u16 *duplex); 63 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex); 67 u16 *data); 69 u16 dat [all...] |
H A D | e1000_i210.c | 41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, 42 u16 *data); 44 static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data); 90 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, 91 u16 *data) 94 u16 i, count; 135 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 word [all...] |
H A D | e1000_phy.c | 40 u16 *data, bool read, bool page_set); 43 u16 *data, bool read); 46 static const u16 e1000_m88_cable_length_table[] = { 52 static const u16 e1000_igp_2_cable_length_table[] = { 110 u16 E1000_UNUSEDARG data) 123 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data) 158 u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) 229 u16 phy_id; 230 u16 retry_count = 0; 291 s32 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *dat [all...] |
H A D | e1000_vf.c | 48 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 49 u16 *duplex); 222 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 223 u16 *duplex) 376 (((u16) mc_addr[5]) << bit_shift))); 382 u32 *msg, u16 size) 405 u16 *hash_list = (u16 *)&msgbuf[1]; 447 void e1000_vfta_set_vf(struct e1000_hw *hw, u16 vid, bool set) 464 void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_siz [all...] |
H A D | e1000_ich8lan.c | 94 static s32 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, 95 u16 words, u16 *data); 96 static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words, 97 u16 *data); 98 static s32 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, 99 u16 words, u16 *data); 104 u16 *dat [all...] |
H A D | e1000_api.c | 670 s32 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) 731 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) 951 s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, 952 u16 offset, u8 *sum) 1024 s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) 1041 s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) 1099 s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) 1114 s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) 1340 s32 e1000_read_nvm(struct e1000_hw *hw, u16 offse [all...] |
H A D | e1000_82575.c | 56 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, 57 u16 *duplex); 60 u16 *data); 65 u32 offset, u16 *data); 67 u32 offset, u16 data); 78 static s32 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data); 80 u32 offset, u16 data); 83 u16 *speed, u16 *duplex); 95 u16 offse [all...] |
/haiku/src/libs/x86emu/ |
H A D | ops2.c | 195 M.x86.R_IP = (u16) target; 386 u16 srcval; 387 u16 *shiftreg; 414 u16 srcval; 415 u16 *shiftreg; 442 u16 srcval; 443 u16 *shiftreg; 467 u16 *srcreg, *shiftreg; 514 u16 destval; 515 u16 *shiftre [all...] |
H A D | prim_ops.c | 133 u16 134 aaa_word(u16 d) 136 u16 res; 148 res = (u16) (d & 0xFF0F); 159 u16 160 aas_word(u16 d) 162 u16 res; 174 res = (u16) (d & 0xFF0F); 185 u16 186 aad_word(u16 [all...] |
H A D | debug.c | 52 static void print_encoded_bytes(u16 s, u16 o); 91 disassemble_forward(u16 seg, u16 off, int n) 201 print_encoded_bytes(u16 s, u16 o) 219 x86emu_print_int_vect(u16 iv) 221 u16 seg, off; 231 X86EMU_dump_memory(u16 seg, u16 of [all...] |
H A D | ops.c | 195 u16 destval; 196 u16 *srcreg; 223 u16 destval; 224 u16 *srcreg; 251 u16 destval; 252 u16 *srcreg; 276 u16 *destreg, *srcreg; 375 u16 *destreg; 376 u16 srcval; 401 u16 *destre [all...] |
H A D | decode.c | 60 push_word((u16) M.x86.R_FLG); 201 u16 204 u16 fetched; 315 x86emu_check_data_access((u16) get_data_segment(), offset); 329 u16 334 x86emu_check_data_access((u16) get_data_segment(), offset); 353 x86emu_check_data_access((u16) get_data_segment(), offset); 388 u16 434 x86emu_check_data_access((u16) get_data_segment(), offset); 451 store_data_word(uint offset, u16 va [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_phy.c | 52 u16 IGC_UNUSEDARG data) 65 u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG *data) 100 u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG data) 137 u16 phy_id; 169 s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data) 215 *data = (u16) mdic; 228 s32 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data) 292 u16 mii_autoneg_adv_reg; 293 u16 mii_1000t_ctrl_reg = 0; 294 u16 aneg_multigbt_an_ctr [all...] |
H A D | igc_api.c | 352 s32 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex) 454 s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) 471 s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data) 667 s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) 685 s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *dat [all...] |
H A D | igc_i225.c | 19 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words, 20 u16 *data); 31 u16 size; 35 size = (u16)((eecd & IGC_EECD_SIZE_EX_MASK) >> 272 s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask) 322 void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask) 446 s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words, 447 u16 *dat [all...] |
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_tkip.c | 83 typedef uint16_t u16; typedef 90 u16 tx_ttak[5]; 93 u16 rx_ttak[5]; 518 static __inline u16 RotR1(u16 val) 523 static __inline u8 Lo8(u16 val) 528 static __inline u8 Hi8(u16 val) 533 static __inline u16 Lo16(u32 val) 538 static __inline u16 Hi16(u32 val) 543 static __inline u16 Mk1 [all...] |
/haiku/src/add-ons/kernel/network/ppp/modem/ |
H A D | fcs.h | 7 * u16 represents an unsigned 16-bit number. Adjust the typedef for 10 typedef uint16 u16; typedef 15 static u16 fcstab[256] = { 56 u16 pppfcs16(u16 fcs, const unsigned char *cp, int len)
|
/haiku/headers/libs/x86emu/x86emu/ |
H A D | regs.h | 70 u16 filler0, x_reg; 84 u16 x_reg; 116 u16 CS, DS, SS, ES, FS, GS; 281 u16 saved_ip; 282 u16 saved_cs;
|