Searched refs:u16 (Results 1 - 25 of 89) sorted by last modified time

1234

/haiku/headers/os/drivers/pcmcia/
H A Dk_compat.h32 #define u16 uint16 macro
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c694 uint16_t u16; local
704 u16 = getpid();
705 memcpy(rnd + 12, &u16, 2);
712 uint16_t u16; local
717 u16 = (uint16_t) (now.tv_sec ^ now.tv_usec);
718 memcpy(rnd + 14, &u16, 2);
728 memcpy(&u16, rnd + 14, 2);
729 return ((u_int) u16);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Drunlist.c793 u16 rlpos; /* Current runlist position in units of
H A Dvolume.c1228 u16 uc = le16_to_cpu(vname[j]);
1230 uc = (u16)'_';
H A Dmft.c1969 u16 seq_no;
2041 u16 usn;
H A Dattrib.c994 u16 efs_padding_length;
H A Dlogfile.c60 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)) {
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_phy.h13 s32 igc_null_read_reg(struct igc_hw *hw, u32 offset, u16 *data);
16 s32 igc_null_write_reg(struct igc_hw *hw, u32 offset, u16 data);
17 s32 igc_null_set_page(struct igc_hw *hw, u16 data);
21 void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl);
30 s32 igc_enable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
31 s32 igc_disable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
34 s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data);
35 s32 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data);
37 s32 igc_read_xmdio_reg(struct igc_hw *hw, u16 addr, u8 dev_addr,
38 u16 *dat
[all...]
H A Digc_phy.c52 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 Digc_i225.c19 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...]
H A Digc_hw.h123 #define __le16 u16
353 s32 (*get_link_up_info)(struct igc_hw *, u16 *, u16 *);
364 s32 (*acquire_swfw_sync)(struct igc_hw *, u16);
365 void (*release_swfw_sync)(struct igc_hw *, u16);
388 s32 (*set_page)(struct igc_hw *, u16);
389 s32 (*read_reg)(struct igc_hw *, u32, u16 *);
390 s32 (*read_reg_locked)(struct igc_hw *, u32, u16 *);
391 s32 (*read_reg_page)(struct igc_hw *, u32, u16 *);
396 s32 (*write_reg)(struct igc_hw *, u32, u16);
[all...]
H A Digc_api.h29 s32 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex);
39 s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data);
40 s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data);
52 s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
53 s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *dat
[all...]
H A Digc_api.c352 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 Dif_igc.h384 u16 link_active;
385 u16 fc;
386 u16 link_speed;
387 u16 link_duplex;
407 u16 vf_ifp;
H A Dif_igc.c1506 u16 hwm;
1507 u16 max_frame_size;
2236 u16 eeprom_data = 0, apme_mask;
2257 u16 status;
2723 u16 eeprom_data;
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dif_em.h480 u16 num_vlans;
504 u16 link_active;
505 u16 fc;
506 u16 link_speed;
507 u16 link_duplex;
530 u16 vf_ifp;
H A Dif_em.c273 static void em_if_vlan_register(if_ctx_t, u16);
274 static void em_if_vlan_unregister(if_ctx_t, u16);
2310 u16 phy_tmp;
2373 u16 hwm;
2374 u16 max_frame_size;
2484 u16 rx_buffer_size;
2494 u16 phy_tmp = 0;
3425 em_if_vlan_register(if_ctx_t ctx, u16 vtag)
3438 em_if_vlan_unregister(if_ctx_t ctx, u16 vtag)
3747 u16 eeprom_dat
[all...]
H A Dem_txrx.c608 u16 len;
670 u16 len;
H A De1000_vf.h96 u16 pkt_info;
98 u16 hdr_info;
104 u16 ip_id; /* IP id */
105 u16 csum; /* Packet Checksum */
111 u16 length; /* Packet length */
112 u16 vlan; /* VLAN tag */
206 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
223 u16 mta_reg_count;
224 u16 rar_entry_coun
[all...]
H A De1000_vf.c48 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 De1000_phy.h40 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data);
43 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data);
44 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data);
71 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
74 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data);
75 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data);
76 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page);
77 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data);
78 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data);
79 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *dat
[all...]
H A De1000_phy.c40 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 De1000_osdep.h128 typedef uint16_t u16; typedef
135 #define __le16 u16
H A De1000_osdep.c45 e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
51 e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
74 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
88 e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
H A De1000_nvm.c71 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b,
72 u16 E1000_UNUSEDARG *c)
94 u16 E1000_UNUSEDARG *data)
108 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b,
109 u16 E1000_UNUSEDARG *c)
155 static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count)
202 static u16 e1000_shift_in_eec_bit
[all...]

Completed in 343 milliseconds

1234