Symbol: u16
lib/libc/citrus/modules/citrus_utf7.c
182
uint16_t * __restrict u16, const char ** __restrict s, size_t n,
lib/libc/citrus/modules/citrus_utf7.c
221
*u16 = (uint16_t)psenc->ch[i];
lib/libc/citrus/modules/citrus_utf7.c
228
*u16 = (uint16_t)BASE64_IN;
lib/libc/citrus/modules/citrus_utf7.c
241
*u16 = (uint16_t)psenc->ch[i];
lib/libc/citrus/modules/citrus_utf7.c
253
*u16 = (psenc->cache >> psenc->bits)
lib/libc/citrus/modules/citrus_utf7.c
267
*nresult = (size_t)((*u16 == 0) ? 0 : s0 - *s);
lib/libc/citrus/modules/citrus_utf7.c
347
char * __restrict s, size_t n, uint16_t u16,
lib/libc/citrus/modules/citrus_utf7.c
358
if (ISSAFE(ei, u16)) {
lib/libc/citrus/modules/citrus_utf7.c
368
if (u16 == BASE64_OUT || FINDLEN(ei, u16) >= 0) {
lib/libc/citrus/modules/citrus_utf7.c
378
psenc->ch[psenc->chlen++] = (char)u16;
lib/libc/citrus/modules/citrus_utf7.c
379
if (u16 == BASE64_IN) {
lib/libc/citrus/modules/citrus_utf7.c
391
psenc->cache = (psenc->cache << UTF16_BIT) | u16;
lib/libc/citrus/modules/citrus_utf7.c
416
uint16_t u16[2];
lib/libc/citrus/modules/citrus_utf7.c
429
u16[0] = (uint16_t)u32;
lib/libc/citrus/modules/citrus_utf7.c
433
u16[0] = (u32 >> 10) + HISRG_MIN;
lib/libc/citrus/modules/citrus_utf7.c
434
u16[1] = ((uint16_t)(u32 & UINT32_C(0x3ff))) + LOSRG_MIN;
lib/libc/citrus/modules/citrus_utf7.c
444
err = _citrus_UTF7_utf16tomb(ei, bufp, n, u16[i], psenc, &nr);
lib/libc/resolv/res_init.c
762
uint16_t u16;
lib/libc/resolv/res_init.c
772
u16 = getpid();
lib/libc/resolv/res_init.c
773
memcpy(rnd + 12, &u16, 2);
lib/libc/resolv/res_init.c
780
uint16_t u16;
lib/libc/resolv/res_init.c
785
u16 = (uint16_t) (now.tv_sec ^ now.tv_usec);
lib/libc/resolv/res_init.c
786
memcpy(rnd + 14, &u16, 2);
lib/libc/resolv/res_init.c
796
memcpy(&u16, rnd + 14, 2);
lib/libc/resolv/res_init.c
797
return ((u_int) u16);
sys/arch/arm/xilinx/zynq_xadc.c
253
uint16_t u16;
sys/arch/arm/xilinx/zynq_xadc.c
259
val.u16 = zynq_xadc_read(sc, zynq_xadc_sensors[edata->sensor].reg);
sys/arch/arm/xilinx/zynq_xadc.c
261
if (val.u16 == 0) {
sys/arch/arm/xilinx/zynq_xadc.c
264
temp = ((int64_t)(val.u16 >> 4) * 503975) / 4096;
sys/arch/arm/xilinx/zynq_xadc.c
269
val.u16 = zynq_xadc_read(sc, XADC_STATUS_FLAG);
sys/arch/arm/xilinx/zynq_xadc.c
270
if ((val.u16 & FLAG_OT) != 0) {
sys/arch/arm/xilinx/zynq_xadc.c
277
edata->value_cur = (((val.u16 >> 4) * 1000) / 4096) * 1000;
sys/arch/arm/xilinx/zynq_xadc.c
283
edata->value_cur = (((val.u16 >> 4) * 3000) / 4096) * 1000;
sys/arch/evbppc/nintendo/dev/gxreg.h
119
volatile uint16_t u16;
sys/arch/ews4800mips/stand/common/device_test.c
112
volatile uint16_t u16;
sys/arch/ews4800mips/stand/common/device_test.c
131
if ((u16 = *(volatile uint16_t *)(SCP_ADDR + 6)) == 0)
sys/arch/ews4800mips/stand/common/device_test.c
141
u16 = *(uint16_t *)(SCP_ADDR + 4);
sys/arch/ews4800mips/stand/common/device_test.c
142
printf("SCP_ADDR+4=0x%x\n", u16);
sys/arch/ews4800mips/stand/common/device_test.c
143
if ((u16 & 0x103c) != 0) {
sys/arch/powerpc/powerpc/fix_unaligned.c
369
#define SIGN_EXT(u16, algebra) \
sys/arch/powerpc/powerpc/fix_unaligned.c
370
((u16) | (((algebra) && (u16) >= 0x8000) ? 0xffff0000 : 0))
sys/arch/powerpc/powerpc/fix_unaligned.c
386
uint16_t u16;
sys/arch/powerpc/powerpc/fix_unaligned.c
393
ret = copyin(dear, &u16, sizeof(u16));
sys/arch/powerpc/powerpc/fix_unaligned.c
398
u16 = (uint16_t)tf->tf_fixreg[rs];
sys/arch/powerpc/powerpc/fix_unaligned.c
400
u16 = bswap16(u16);
sys/arch/powerpc/powerpc/fix_unaligned.c
401
ret = copyout(&u16, dear, sizeof(u16));
sys/arch/powerpc/powerpc/fix_unaligned.c
416
bswap16(u16) : SIGN_EXT(u16, algebra);
sys/dev/pci/cxgb/cxgb_common.h
407
u16 sport;
sys/dev/pci/cxgb/cxgb_common.h
408
u16 sport_mask;
sys/dev/pci/cxgb/cxgb_common.h
409
u16 dport;
sys/dev/pci/cxgb/cxgb_common.h
410
u16 dport_mask;
sys/dev/pci/cxgb/cxgb_common.h
683
const u16 *rspq);
sys/dev/pci/cxgb/cxgb_common.h
684
int t3_read_rss(adapter_t *adapter, u8 *lkup, u16 *map);
sys/dev/pci/cxgb/cxgb_ctl_defs.h
69
u16 vlan_tag;
sys/dev/pci/cxgb/cxgb_main.c
162
u16 sport;
sys/dev/pci/cxgb/cxgb_main.c
163
u16 dport;
sys/dev/pci/cxgb/cxgb_t3_hw.c
2298
const u16 *rspq)
sys/dev/pci/cxgb/cxgb_t3_hw.c
2333
int t3_read_rss(adapter_t *adapter, u8 *lkup, u16 *map)
sys/dev/pci/cxgb/cxgb_t3_hw.c
2356
*map++ = (u16)val;
sys/dev/pci/cxgb/cxgb_t3_hw.c
3371
static const u16 ack_lat[4][6] = {
sys/dev/pci/cxgb/cxgb_t3_hw.c
3377
static const u16 rpl_tmr[4][6] = {
sys/dev/pci/cxgb/cxgb_t3_hw.c
3384
u16 val;
sys/dev/pci/cxgb/cxgb_t3_hw.c
3514
u16 val;
sys/dev/pci/cxgb/cxgb_t3_hw.c
551
u16 val;
sys/dev/pci/cxgb/cxgb_t3_hw.c
558
t3_os_pci_write_config_2(adapter, base + PCI_VPD_ADDR, (u16)addr);
sys/dev/pci/cxgb/cxgb_t3_hw.c
584
u16 val;
sys/dev/pci/cxgb/cxgb_t3_hw.c
594
(u16)addr | PCI_VPD_ADDR_F);
sys/dev/pci/igc/igc_defines.h
1282
(u16)(((invm_dword) & 0xFFFF0000) >> 16)
sys/dev/pci/ixgbe/if_bypass.c
666
u16 day_mon[2][13] = {
sys/dev/pci/ixgbe/if_fdir.c
97
u16 etype;
sys/dev/pci/ixgbe/if_sriov.c
431
u16 *list = (u16*)&msg[1];
sys/dev/pci/ixgbe/if_sriov.c
674
ixgbe_init_iov(device_t dev, u16 num_vfs, const nvlist_t *config)
sys/dev/pci/ixgbe/if_sriov.c
883
ixgbe_add_vf(device_t dev, u16 vfnum, const nvlist_t *config)
sys/dev/pci/ixgbe/ix_txrx.c
1008
u16 vtag = 0, eh_type;
sys/dev/pci/ixgbe/ix_txrx.c
1119
u16 avail;
sys/dev/pci/ixgbe/ix_txrx.c
1837
u16 pkt_info;
sys/dev/pci/ixgbe/ix_txrx.c
1884
u16 len;
sys/dev/pci/ixgbe/ix_txrx.c
1885
u16 vtag = 0;
sys/dev/pci/ixgbe/ix_txrx.c
2227
u16 status = (u16)staterr;
sys/dev/pci/ixgbe/ix_txrx.c
845
u16 vtag = 0;
sys/dev/pci/ixgbe/ix_txrx.c
846
u16 etype;
sys/dev/pci/ixgbe/ixgbe.c
1336
u16 dev_caps = 0;
sys/dev/pci/ixgbe/ixgbe.c
230
static int ixgbe_register_vlan(struct ixgbe_softc *, u16);
sys/dev/pci/ixgbe/ixgbe.c
231
static int ixgbe_unregister_vlan(struct ixgbe_softc *, u16);
sys/dev/pci/ixgbe/ixgbe.c
2458
ixgbe_register_vlan(struct ixgbe_softc *sc, u16 vtag)
sys/dev/pci/ixgbe/ixgbe.c
2460
u16 index, bit;
sys/dev/pci/ixgbe/ixgbe.c
2485
ixgbe_unregister_vlan(struct ixgbe_softc *sc, u16 vtag)
sys/dev/pci/ixgbe/ixgbe.c
2487
u16 index, bit;
sys/dev/pci/ixgbe/ixgbe.c
2609
u16 link;
sys/dev/pci/ixgbe/ixgbe.c
5983
u16 reg;
sys/dev/pci/ixgbe/ixgbe.c
6028
u16 reg;
sys/dev/pci/ixgbe/ixgbe.c
799
u16 high, low, nvmreg, dev_caps;
sys/dev/pci/ixgbe/ixgbe.h
366
volatile u16 tx_avail;
sys/dev/pci/ixgbe/ixgbe.h
367
u16 next_avail_desc;
sys/dev/pci/ixgbe/ixgbe.h
368
u16 next_to_clean;
sys/dev/pci/ixgbe/ixgbe.h
369
u16 num_desc;
sys/dev/pci/ixgbe/ixgbe.h
381
u16 atr_sample;
sys/dev/pci/ixgbe/ixgbe.h
382
u16 atr_count;
sys/dev/pci/ixgbe/ixgbe.h
423
u16 next_to_refresh;
sys/dev/pci/ixgbe/ixgbe.h
424
u16 next_to_check;
sys/dev/pci/ixgbe/ixgbe.h
425
u16 num_desc;
sys/dev/pci/ixgbe/ixgbe.h
426
u16 mbuf_sz;
sys/dev/pci/ixgbe/ixgbe.h
507
u16 max_frame_size;
sys/dev/pci/ixgbe/ixgbe.h
508
u16 num_segs;
sys/dev/pci/ixgbe/ixgbe.h
513
u16 dmac;
sys/dev/pci/ixgbe/ixgbe.h
695
static __inline u16
sys/dev/pci/ixgbe/ixgbe_82598.c
1135
u16 sfp_addr = 0;
sys/dev/pci/ixgbe/ixgbe_82598.c
1136
u16 sfp_data = 0;
sys/dev/pci/ixgbe/ixgbe_82598.c
1137
u16 sfp_stat = 0;
sys/dev/pci/ixgbe/ixgbe_82598.c
1138
u16 gssr;
sys/dev/pci/ixgbe/ixgbe_82598.c
1238
u16 ext_ability = 0;
sys/dev/pci/ixgbe/ixgbe_82598.c
1339
u16 pci_gen = 0;
sys/dev/pci/ixgbe/ixgbe_82598.c
1340
u16 pci_ctrl2 = 0;
sys/dev/pci/ixgbe/ixgbe_82598.c
202
u16 list_offset, data_offset;
sys/dev/pci/ixgbe/ixgbe_82598.c
614
u16 an_reg;
sys/dev/pci/ixgbe/ixgbe_82598.c
654
u16 link_reg, adapt_comp_reg;
sys/dev/pci/ixgbe/ixgbe_82598.c
89
u16 pcie_devctl2;
sys/dev/pci/ixgbe/ixgbe_82599.c
1716
IXGBE_NTOHS(((u16)(_value) >> 8) | ((u16)(_value) << 8))
sys/dev/pci/ixgbe/ixgbe_82599.c
183
u16 list_offset, data_offset, data_value;
sys/dev/pci/ixgbe/ixgbe_82599.c
1897
u16 soft_id, u8 queue, bool cloud_mode)
sys/dev/pci/ixgbe/ixgbe_82599.c
1987
u16 soft_id)
sys/dev/pci/ixgbe/ixgbe_82599.c
2036
u16 soft_id, u8 queue, bool cloud_mode)
sys/dev/pci/ixgbe/ixgbe_82599.c
2214
u16 ext_ability = 0;
sys/dev/pci/ixgbe/ixgbe_82599.c
2331
u16 fw_offset, fw_ptp_cfg_offset;
sys/dev/pci/ixgbe/ixgbe_82599.c
2332
u16 fw_version;
sys/dev/pci/ixgbe/ixgbe_82599.c
2392
u16 fw_offset, fw_lesm_param_offset, fw_lesm_state;
sys/dev/pci/ixgbe/ixgbe_82599.c
2437
static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_82599.c
2438
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_82599.c
2472
u16 offset, u16 *data)
sys/dev/pci/ixgbe/ixgbe_82599.c
334
u16 i;
sys/dev/pci/ixgbe/ixgbe_82599.c
59
u16 offset, u16 *data);
sys/dev/pci/ixgbe/ixgbe_82599.c
60
static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_82599.c
602
u16 ee_ctrl_2 = 0;
sys/dev/pci/ixgbe/ixgbe_82599.c
61
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_api.c
1159
u8 ver, u16 len, char *driver_ver)
sys/dev/pci/ixgbe/ixgbe_api.c
1513
s32 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val)
sys/dev/pci/ixgbe/ixgbe_api.c
1528
s32 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val)
sys/dev/pci/ixgbe/ixgbe_api.c
1578
s32 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val)
sys/dev/pci/ixgbe/ixgbe_api.c
1593
s32 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val)
sys/dev/pci/ixgbe/ixgbe_api.c
361
s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps)
sys/dev/pci/ixgbe/ixgbe_api.c
376
s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/pci/ixgbe/ixgbe_api.c
377
u16 *wwpn_prefix)
sys/dev/pci/ixgbe/ixgbe_api.c
391
s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs)
sys/dev/pci/ixgbe/ixgbe_api.c
515
s32 ixgbe_get_phy_firmware_version(struct ixgbe_hw *hw, u16 *firmware_version)
sys/dev/pci/ixgbe/ixgbe_api.c
535
u16 *phy_data)
sys/dev/pci/ixgbe/ixgbe_api.c
554
u16 phy_data)
sys/dev/pci/ixgbe/ixgbe_api.c
812
s32 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/pci/ixgbe/ixgbe_api.c
829
s32 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words,
sys/dev/pci/ixgbe/ixgbe_api.c
830
u16 *data)
sys/dev/pci/ixgbe/ixgbe_api.c
845
s32 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/pci/ixgbe/ixgbe_api.c
860
s32 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_api.c
861
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_api.c
875
s32 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val)
sys/dev/pci/ixgbe/ixgbe_api.h
103
s32 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/pci/ixgbe/ixgbe_api.h
104
s32 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_api.h
105
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_api.h
106
s32 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/pci/ixgbe/ixgbe_api.h
107
s32 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_api.h
108
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_api.h
110
s32 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/pci/ixgbe/ixgbe_api.h
140
u8 ver, u16 len, char *driver_ver);
sys/dev/pci/ixgbe/ixgbe_api.h
143
u16 *firmware_version);
sys/dev/pci/ixgbe/ixgbe_api.h
165
u16 soft_id, u8 queue, bool cloud_mode);
sys/dev/pci/ixgbe/ixgbe_api.h
168
u16 soft_id);
sys/dev/pci/ixgbe/ixgbe_api.h
172
u16 soft_id,
sys/dev/pci/ixgbe/ixgbe_api.h
184
s32 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val);
sys/dev/pci/ixgbe/ixgbe_api.h
185
s32 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val);
sys/dev/pci/ixgbe/ixgbe_api.h
191
s32 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val);
sys/dev/pci/ixgbe/ixgbe_api.h
192
s32 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val);
sys/dev/pci/ixgbe/ixgbe_api.h
196
s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps);
sys/dev/pci/ixgbe/ixgbe_api.h
200
s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/pci/ixgbe/ixgbe_api.h
201
u16 *wwpn_prefix);
sys/dev/pci/ixgbe/ixgbe_api.h
202
s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs);
sys/dev/pci/ixgbe/ixgbe_api.h
73
u16 *phy_data);
sys/dev/pci/ixgbe/ixgbe_api.h
75
u16 phy_data);
sys/dev/pci/ixgbe/ixgbe_common.c
1011
void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status)
sys/dev/pci/ixgbe/ixgbe_common.c
1063
u16 link_status;
sys/dev/pci/ixgbe/ixgbe_common.c
1087
u16 ee_ctrl_4;
sys/dev/pci/ixgbe/ixgbe_common.c
1120
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
1280
u16 eeprom_size;
sys/dev/pci/ixgbe/ixgbe_common.c
1304
eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
sys/dev/pci/ixgbe/ixgbe_common.c
1331
s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1332
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1335
u16 i, count;
sys/dev/pci/ixgbe/ixgbe_common.c
1388
static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1389
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1392
u16 word;
sys/dev/pci/ixgbe/ixgbe_common.c
1393
u16 page_size;
sys/dev/pci/ixgbe/ixgbe_common.c
1394
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
1431
ixgbe_shift_out_eeprom_bits(hw, (u16)((offset + i) * 2),
sys/dev/pci/ixgbe/ixgbe_common.c
1470
s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/pci/ixgbe/ixgbe_common.c
1498
s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1499
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1502
u16 i, count;
sys/dev/pci/ixgbe/ixgbe_common.c
1547
static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1548
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1551
u16 word_in;
sys/dev/pci/ixgbe/ixgbe_common.c
1553
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
1581
ixgbe_shift_out_eeprom_bits(hw, (u16)((offset + i) * 2),
sys/dev/pci/ixgbe/ixgbe_common.c
1604
s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1605
u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1633
s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1634
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1685
u16 offset)
sys/dev/pci/ixgbe/ixgbe_common.c
1687
u16 data[IXGBE_EEPROM_PAGE_SIZE_MAX];
sys/dev/pci/ixgbe/ixgbe_common.c
1689
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
1727
s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1741
s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
1742
u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_common.c
1746
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
1796
s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/pci/ixgbe/ixgbe_common.c
2009
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
2072
static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
sys/dev/pci/ixgbe/ixgbe_common.c
2073
u16 count)
sys/dev/pci/ixgbe/ixgbe_common.c
2128
static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count)
sys/dev/pci/ixgbe/ixgbe_common.c
2132
u16 data = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2239
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.c
2240
u16 j;
sys/dev/pci/ixgbe/ixgbe_common.c
2241
u16 checksum = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2242
u16 length = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2243
u16 pointer = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2244
u16 word = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2285
checksum = (u16)IXGBE_EEPROM_SUM - checksum;
sys/dev/pci/ixgbe/ixgbe_common.c
2299
u16 *checksum_val)
sys/dev/pci/ixgbe/ixgbe_common.c
2302
u16 checksum;
sys/dev/pci/ixgbe/ixgbe_common.c
2303
u16 read_checksum = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2321
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_common.c
2349
u16 checksum;
sys/dev/pci/ixgbe/ixgbe_common.c
2367
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_common.c
241
u16 reg_cu = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
2685
vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4));
sys/dev/pci/ixgbe/ixgbe_common.c
2688
vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5));
sys/dev/pci/ixgbe/ixgbe_common.c
2691
vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6));
sys/dev/pci/ixgbe/ixgbe_common.c
2694
vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8));
sys/dev/pci/ixgbe/ixgbe_common.c
3106
u16 technology_ability_reg = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
3107
u16 lp_technology_ability_reg = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
3249
u16 value;
sys/dev/pci/ixgbe/ixgbe_common.c
3580
u16 *san_mac_offset)
sys/dev/pci/ixgbe/ixgbe_common.c
3613
u16 san_mac_data, san_mac_offset;
sys/dev/pci/ixgbe/ixgbe_common.c
3667
u16 san_mac_data, san_mac_offset;
sys/dev/pci/ixgbe/ixgbe_common.c
3684
san_mac_data = (u16)((u16)(san_mac_addr[i * 2 + 1]) << 8);
sys/dev/pci/ixgbe/ixgbe_common.c
3685
san_mac_data |= (u16)(san_mac_addr[i * 2]);
sys/dev/pci/ixgbe/ixgbe_common.c
3700
u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw)
sys/dev/pci/ixgbe/ixgbe_common.c
3702
u16 msix_count = 1;
sys/dev/pci/ixgbe/ixgbe_common.c
3703
u16 max_msix_count;
sys/dev/pci/ixgbe/ixgbe_common.c
3704
u16 pcie_offset;
sys/dev/pci/ixgbe/ixgbe_common.c
400
u16 device_caps;
sys/dev/pci/ixgbe/ixgbe_common.c
4359
s32 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/pci/ixgbe/ixgbe_common.c
4360
u16 *wwpn_prefix)
sys/dev/pci/ixgbe/ixgbe_common.c
4362
u16 offset, caps;
sys/dev/pci/ixgbe/ixgbe_common.c
4363
u16 alt_san_mac_blk_offset;
sys/dev/pci/ixgbe/ixgbe_common.c
4414
s32 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs)
sys/dev/pci/ixgbe/ixgbe_common.c
4416
u16 offset, caps, flags;
sys/dev/pci/ixgbe/ixgbe_common.c
4512
s32 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps)
sys/dev/pci/ixgbe/ixgbe_common.c
4590
u16 dword_len;
sys/dev/pci/ixgbe/ixgbe_common.c
4676
u16 buf_len;
sys/dev/pci/ixgbe/ixgbe_common.c
4721
buf_len = (((u16)(resp->cmd_or_resp.ret_status) << 3)
sys/dev/pci/ixgbe/ixgbe_common.c
4767
u8 build, u8 sub, u16 len,
sys/dev/pci/ixgbe/ixgbe_common.c
4881
u16 value;
sys/dev/pci/ixgbe/ixgbe_common.c
5188
u16 offset, eeprom_cfg_blkh, eeprom_cfg_blkl;
sys/dev/pci/ixgbe/ixgbe_common.c
52
static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
sys/dev/pci/ixgbe/ixgbe_common.c
5226
u16 rel_num, prod_ver, mod_len, cap, offset;
sys/dev/pci/ixgbe/ixgbe_common.c
5268
u16 etk_id_l, etk_id_h;
sys/dev/pci/ixgbe/ixgbe_common.c
53
u16 count);
sys/dev/pci/ixgbe/ixgbe_common.c
532
u16 i = 0;
sys/dev/pci/ixgbe/ixgbe_common.c
54
static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
sys/dev/pci/ixgbe/ixgbe_common.c
61
u16 *san_mac_offset);
sys/dev/pci/ixgbe/ixgbe_common.c
62
static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
63
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.c
64
static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.c
65
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.c
653
u16 data;
sys/dev/pci/ixgbe/ixgbe_common.c
654
u16 pba_ptr;
sys/dev/pci/ixgbe/ixgbe_common.c
655
u16 offset;
sys/dev/pci/ixgbe/ixgbe_common.c
656
u16 length;
sys/dev/pci/ixgbe/ixgbe_common.c
67
u16 offset);
sys/dev/pci/ixgbe/ixgbe_common.c
762
u16 data;
sys/dev/pci/ixgbe/ixgbe_common.c
798
s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/pci/ixgbe/ixgbe_common.c
799
u32 eeprom_buf_size, u16 max_pba_block_size,
sys/dev/pci/ixgbe/ixgbe_common.c
803
u16 pba_block_size;
sys/dev/pci/ixgbe/ixgbe_common.c
846
pba_block_size * sizeof(u16));
sys/dev/pci/ixgbe/ixgbe_common.c
867
s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/pci/ixgbe/ixgbe_common.c
904
pba->pba_block[0] * sizeof(u16));
sys/dev/pci/ixgbe/ixgbe_common.c
926
s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/pci/ixgbe/ixgbe_common.c
927
u32 eeprom_buf_size, u16 *pba_block_size)
sys/dev/pci/ixgbe/ixgbe_common.c
930
u16 pba_word[2];
sys/dev/pci/ixgbe/ixgbe_common.c
931
u16 length;
sys/dev/pci/ixgbe/ixgbe_common.c
988
u16 i;
sys/dev/pci/ixgbe/ixgbe_common.h
153
s32 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/pci/ixgbe/ixgbe_common.h
154
u16 *wwpn_prefix);
sys/dev/pci/ixgbe/ixgbe_common.h
156
s32 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs);
sys/dev/pci/ixgbe/ixgbe_common.h
159
s32 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps);
sys/dev/pci/ixgbe/ixgbe_common.h
164
u8 build, u8 ver, u16 len, const char *str);
sys/dev/pci/ixgbe/ixgbe_common.h
170
s32 ixgbe_fw_phy_activity(struct ixgbe_hw *, u16 activity,
sys/dev/pci/ixgbe/ixgbe_common.h
49
u16 word[2];
sys/dev/pci/ixgbe/ixgbe_common.h
50
u16 *pba_block;
sys/dev/pci/ixgbe/ixgbe_common.h
55
u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
sys/dev/pci/ixgbe/ixgbe_common.h
64
s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/pci/ixgbe/ixgbe_common.h
65
u32 eeprom_buf_size, u16 max_pba_block_size,
sys/dev/pci/ixgbe/ixgbe_common.h
67
s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/pci/ixgbe/ixgbe_common.h
69
s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/pci/ixgbe/ixgbe_common.h
70
u32 eeprom_buf_size, u16 *pba_block_size);
sys/dev/pci/ixgbe/ixgbe_common.h
73
void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status);
sys/dev/pci/ixgbe/ixgbe_common.h
82
s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/pci/ixgbe/ixgbe_common.h
83
s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.h
84
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.h
85
s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.h
86
s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.h
87
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.h
88
s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/pci/ixgbe/ixgbe_common.h
89
s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.h
90
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.h
91
s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.h
92
u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.h
93
s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_common.h
94
u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_common.h
97
u16 *checksum_val);
sys/dev/pci/ixgbe/ixgbe_dcb.c
104
u16 min_percent = 100;
sys/dev/pci/ixgbe/ixgbe_dcb.c
110
u16 link_percentage = 0;
sys/dev/pci/ixgbe/ixgbe_dcb.c
166
p->data_credits_refill = (u16)credit_refill;
sys/dev/pci/ixgbe/ixgbe_dcb.c
192
(u16)credit_max;
sys/dev/pci/ixgbe/ixgbe_dcb.c
195
p->data_credits_max = (u16)credit_max;
sys/dev/pci/ixgbe/ixgbe_dcb.c
229
u16 *refill)
sys/dev/pci/ixgbe/ixgbe_dcb.c
238
void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *cfg, u16 *max)
sys/dev/pci/ixgbe/ixgbe_dcb.c
466
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 };
sys/dev/pci/ixgbe/ixgbe_dcb.c
467
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 };
sys/dev/pci/ixgbe/ixgbe_dcb.c
506
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/pci/ixgbe/ixgbe_dcb.c
507
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/pci/ixgbe/ixgbe_dcb.c
547
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/pci/ixgbe/ixgbe_dcb.c
548
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/pci/ixgbe/ixgbe_dcb.c
56
s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max,
sys/dev/pci/ixgbe/ixgbe_dcb.c
652
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/pci/ixgbe/ixgbe_dcb.c
653
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/pci/ixgbe/ixgbe_dcb.c
716
s32 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
sys/dev/pci/ixgbe/ixgbe_dcb.c
79
refill[i] = (u16)val;
sys/dev/pci/ixgbe/ixgbe_dcb.h
107
u16 desc_credits_max; /* For Tx Descriptor arbitration */
sys/dev/pci/ixgbe/ixgbe_dcb.h
144
s32 ixgbe_dcb_calculate_tc_credits(u8 *, u16 *, u16 *, int);
sys/dev/pci/ixgbe/ixgbe_dcb.h
167
void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *, int, u16 *);
sys/dev/pci/ixgbe/ixgbe_dcb.h
168
void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *, u16 *);
sys/dev/pci/ixgbe/ixgbe_dcb.h
175
s32 ixgbe_dcb_hw_config(struct ixgbe_hw *, u16 *, u16 *, u8 *, u8 *, u8 *);
sys/dev/pci/ixgbe/ixgbe_dcb.h
89
u16 data_credits_refill; /* Credit refill amount in 64B granularity */
sys/dev/pci/ixgbe/ixgbe_dcb.h
90
u16 data_credits_max; /* Max credits for a configured packet buffer
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
116
s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
117
u16 *max, u8 *tsa)
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
175
u16 *refill, u16 *max, u8 *bwg_id,
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
222
u16 *refill, u16 *max, u8 *bwg_id,
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c
355
u16 *refill, u16 *max, u8 *bwg_id,
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h
102
s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *, int, u16 *, u16 *, u8 *, u8 *);
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h
95
s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h
97
s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h
99
s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *, u8 *);
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
125
s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
126
u16 *max, u8 *bwg_id, u8 *tsa,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
187
s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
188
u16 *max, u8 *bwg_id, u8 *tsa)
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
236
s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
237
u16 *max, u8 *bwg_id, u8 *tsa,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c
601
u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.h
143
s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.h
145
s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.h
147
s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *, u8 *,
sys/dev/pci/ixgbe/ixgbe_dcb_82599.h
154
s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *, int, u16 *, u16 *, u8 *,
sys/dev/pci/ixgbe/ixgbe_mbx.c
1015
static s32 ixgbe_read_mbx_pf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
1016
u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
1019
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
1052
static s32 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
1053
u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
1057
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
1090
static s32 ixgbe_clear_mbx_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
1092
u16 mbx_size = hw->mbx.size;
sys/dev/pci/ixgbe/ixgbe_mbx.c
1093
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
1112
void ixgbe_init_mbx_params_pf_id(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
1135
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
1176
void ixgbe_upgrade_mbx_params_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
123
s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
156
s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
176
s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
196
s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
216
s32 ixgbe_clear_mbx(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
236
static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
269
static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
369
static s32 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
389
static s32 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
411
static s32 ixgbe_check_for_rst_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
45
static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.c
46
static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.c
475
static void ixgbe_release_mbx_lock_dummy(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
487
static void ixgbe_release_mbx_lock_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
510
static s32 ixgbe_write_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
511
u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
514
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
552
static s32 ixgbe_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
553
u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
557
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
57
s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
602
static s32 ixgbe_read_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
603
u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
606
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
638
static s32 ixgbe_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
639
u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
643
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
727
static void ixgbe_clear_msg_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
742
static void ixgbe_clear_ack_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
774
static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
795
static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
820
static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
859
static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
86
s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
902
static void ixgbe_release_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
923
static s32 ixgbe_write_mbx_pf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
924
u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
927
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.c
964
static s32 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/pci/ixgbe/ixgbe_mbx.c
965
u16 vf_id)
sys/dev/pci/ixgbe/ixgbe_mbx.c
969
u16 i;
sys/dev/pci/ixgbe/ixgbe_mbx.h
198
s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
199
s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
200
s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
201
s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
202
s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
203
s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
204
s32 ixgbe_clear_mbx(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/pci/ixgbe/ixgbe_mbx.h
208
void ixgbe_init_mbx_params_pf_id(struct ixgbe_hw *hw, u16 vf_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
209
void ixgbe_upgrade_mbx_params_pf(struct ixgbe_hw *hw, u16 vf_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
45
void (*release)(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
46
s32 (*read)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
47
s32 (*write)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/pci/ixgbe/ixgbe_mbx.h
48
s32 (*check_for_msg)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/pci/ixgbe/ixgbe_mbx.h
49
s32 (*check_for_ack)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/pci/ixgbe/ixgbe_mbx.h
50
s32 (*check_for_rst)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/pci/ixgbe/ixgbe_mbx.h
51
s32 (*clear)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/pci/ixgbe/ixgbe_mbx.h
74
u16 size;
sys/dev/pci/ixgbe/ixgbe_osdep.c
49
u16
sys/dev/pci/ixgbe/ixgbe_osdep.c
68
ixgbe_write_pci_cfg(struct ixgbe_hw *hw, u32 reg, u16 value)
sys/dev/pci/ixgbe/ixgbe_osdep.h
191
extern u16 ixgbe_read_pci_cfg(struct ixgbe_hw *, u32);
sys/dev/pci/ixgbe/ixgbe_osdep.h
194
extern void ixgbe_write_pci_cfg(struct ixgbe_hw *, u32, u16);
sys/dev/pci/ixgbe/ixgbe_phy.c
101
u16 sum = add1 + add2;
sys/dev/pci/ixgbe/ixgbe_phy.c
1020
u16 phy_link = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
1021
u16 phy_speed = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
1022
u16 phy_data = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
1065
u16 autoneg_reg = IXGBE_MII_AUTONEG_REG;
sys/dev/pci/ixgbe/ixgbe_phy.c
1140
u16 *firmware_version)
sys/dev/pci/ixgbe/ixgbe_phy.c
1159
u16 *firmware_version)
sys/dev/pci/ixgbe/ixgbe_phy.c
117
s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg,
sys/dev/pci/ixgbe/ixgbe_phy.c
1178
u16 phy_offset, control, eword, edata, block_crc;
sys/dev/pci/ixgbe/ixgbe_phy.c
118
u16 *val, bool lock)
sys/dev/pci/ixgbe/ixgbe_phy.c
1180
u16 list_offset, data_offset;
sys/dev/pci/ixgbe/ixgbe_phy.c
1181
u16 phy_data = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
1373
u16 enforce_sfp = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
1721
u16 enforce_sfp = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
1908
u16 *list_offset,
sys/dev/pci/ixgbe/ixgbe_phy.c
1909
u16 *data_offset)
sys/dev/pci/ixgbe/ixgbe_phy.c
1911
u16 sfp_id;
sys/dev/pci/ixgbe/ixgbe_phy.c
1912
u16 sfp_type = hw->phy.sfp_type;
sys/dev/pci/ixgbe/ixgbe_phy.c
194
s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg,
sys/dev/pci/ixgbe/ixgbe_phy.c
195
u16 val, bool lock)
sys/dev/pci/ixgbe/ixgbe_phy.c
2720
u16 phy_data = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
2748
u16 reg;
sys/dev/pci/ixgbe/ixgbe_phy.c
294
static bool ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr)
sys/dev/pci/ixgbe/ixgbe_phy.c
296
u16 ext_ability = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
332
u16 phy_addr;
sys/dev/pci/ixgbe/ixgbe_phy.c
410
u16 phy_id = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
435
u16 phy_id_high = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
436
u16 phy_id_low = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
505
u16 ctrl = 0;
sys/dev/pci/ixgbe/ixgbe_phy.c
586
u16 *phy_data)
sys/dev/pci/ixgbe/ixgbe_phy.c
654
*phy_data = (u16)(data);
sys/dev/pci/ixgbe/ixgbe_phy.c
668
u32 device_type, u16 *phy_data)
sys/dev/pci/ixgbe/ixgbe_phy.c
694
u32 device_type, u16 phy_data)
sys/dev/pci/ixgbe/ixgbe_phy.c
768
u32 device_type, u16 phy_data)
sys/dev/pci/ixgbe/ixgbe_phy.c
795
u16 autoneg_reg = IXGBE_MII_AUTONEG_REG;
sys/dev/pci/ixgbe/ixgbe_phy.c
862
u16 ctrl;
sys/dev/pci/ixgbe/ixgbe_phy.c
952
u16 speed_ability;
sys/dev/pci/ixgbe/ixgbe_phy.h
169
u16 *phy_data);
sys/dev/pci/ixgbe/ixgbe_phy.h
171
u16 phy_data);
sys/dev/pci/ixgbe/ixgbe_phy.h
173
u32 device_type, u16 *phy_data);
sys/dev/pci/ixgbe/ixgbe_phy.h
175
u32 device_type, u16 phy_data);
sys/dev/pci/ixgbe/ixgbe_phy.h
191
u16 *firmware_version);
sys/dev/pci/ixgbe/ixgbe_phy.h
193
u16 *firmware_version);
sys/dev/pci/ixgbe/ixgbe_phy.h
203
u16 *list_offset,
sys/dev/pci/ixgbe/ixgbe_phy.h
204
u16 *data_offset);
sys/dev/pci/ixgbe/ixgbe_phy.h
219
s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/pci/ixgbe/ixgbe_phy.h
220
u16 *val, bool lock);
sys/dev/pci/ixgbe/ixgbe_phy.h
221
s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/pci/ixgbe/ixgbe_phy.h
222
u16 val, bool lock);
sys/dev/pci/ixgbe/ixgbe_sriov.h
70
int ixgbe_add_vf(device_t, u16, const nvlist_t *);
sys/dev/pci/ixgbe/ixgbe_sriov.h
71
int ixgbe_init_iov(device_t, u16, const nvlist_t *);
sys/dev/pci/ixgbe/ixgbe_type.h
3013
#define __le16 u16
sys/dev/pci/ixgbe/ixgbe_type.h
3024
#define __be16 u16
sys/dev/pci/ixgbe/ixgbe_type.h
3260
u16 pad2; /* end spacing to ensure length is mult. of dword2 */
sys/dev/pci/ixgbe/ixgbe_type.h
327
u16 nvm_minor;
sys/dev/pci/ixgbe/ixgbe_type.h
3277
u16 length;
sys/dev/pci/ixgbe/ixgbe_type.h
3278
u16 pad2;
sys/dev/pci/ixgbe/ixgbe_type.h
3279
u16 data;
sys/dev/pci/ixgbe/ixgbe_type.h
3280
u16 pad3;
sys/dev/pci/ixgbe/ixgbe_type.h
3286
u16 length;
sys/dev/pci/ixgbe/ixgbe_type.h
3287
u16 pad2;
sys/dev/pci/ixgbe/ixgbe_type.h
3288
u16 data;
sys/dev/pci/ixgbe/ixgbe_type.h
3289
u16 pad3;
sys/dev/pci/ixgbe/ixgbe_type.h
3296
u16 pad3;
sys/dev/pci/ixgbe/ixgbe_type.h
3303
u16 pad;
sys/dev/pci/ixgbe/ixgbe_type.h
3311
u16 rsv1;
sys/dev/pci/ixgbe/ixgbe_type.h
3313
u16 pad;
sys/dev/pci/ixgbe/ixgbe_type.h
333
u16 oem_release;
sys/dev/pci/ixgbe/ixgbe_type.h
337
u16 or_build;
sys/dev/pci/ixgbe/ixgbe_type.h
3878
u16 func;
sys/dev/pci/ixgbe/ixgbe_type.h
3880
u16 instance_id;
sys/dev/pci/ixgbe/ixgbe_type.h
3887
u16 pause_time; /* Flow Control Pause timer */
sys/dev/pci/ixgbe/ixgbe_type.h
4011
s32 (*read)(struct ixgbe_hw *, u16, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4012
s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4013
s32 (*write)(struct ixgbe_hw *, u16, u16);
sys/dev/pci/ixgbe/ixgbe_type.h
4014
s32 (*write_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4015
s32 (*validate_checksum)(struct ixgbe_hw *, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4031
s32 (*get_device_caps)(struct ixgbe_hw *, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4032
s32 (*get_wwn_prefix)(struct ixgbe_hw *, u16 *, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4033
s32 (*get_fcoe_boot_status)(struct ixgbe_hw *, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4092
s32 (*set_rlpml)(struct ixgbe_hw *, u16);
sys/dev/pci/ixgbe/ixgbe_type.h
4104
s32 (*set_fw_drv_ver)(struct ixgbe_hw *, u8, u8, u8, u8, u16,
sys/dev/pci/ixgbe/ixgbe_type.h
4134
s32 (*read_reg)(struct ixgbe_hw *, u32, u32, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4135
s32 (*write_reg)(struct ixgbe_hw *, u32, u32, u16);
sys/dev/pci/ixgbe/ixgbe_type.h
4136
s32 (*read_reg_mdi)(struct ixgbe_hw *, u32, u32, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4137
s32 (*write_reg_mdi)(struct ixgbe_hw *, u32, u32, u16);
sys/dev/pci/ixgbe/ixgbe_type.h
4142
s32 (*get_firmware_version)(struct ixgbe_hw *, u16 *);
sys/dev/pci/ixgbe/ixgbe_type.h
4160
s32 (*read_link)(struct ixgbe_hw *, u8 addr, u16 reg, u16 *val);
sys/dev/pci/ixgbe/ixgbe_type.h
4161
s32 (*read_link_unlocked)(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/pci/ixgbe/ixgbe_type.h
4162
u16 *val);
sys/dev/pci/ixgbe/ixgbe_type.h
4163
s32 (*write_link)(struct ixgbe_hw *, u8 addr, u16 reg, u16 val);
sys/dev/pci/ixgbe/ixgbe_type.h
4164
s32 (*write_link_unlocked)(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/pci/ixgbe/ixgbe_type.h
4165
u16 val);
sys/dev/pci/ixgbe/ixgbe_type.h
4177
u16 word_size;
sys/dev/pci/ixgbe/ixgbe_type.h
4178
u16 address_bits;
sys/dev/pci/ixgbe/ixgbe_type.h
4179
u16 word_page_size;
sys/dev/pci/ixgbe/ixgbe_type.h
4180
u16 ctrl_word_3;
sys/dev/pci/ixgbe/ixgbe_type.h
4193
u16 wwnn_prefix;
sys/dev/pci/ixgbe/ixgbe_type.h
4195
u16 wwpn_prefix;
sys/dev/pci/ixgbe/ixgbe_type.h
4210
u16 max_msix_vectors;
sys/dev/pci/ixgbe/ixgbe_type.h
4258
u16 device_id;
sys/dev/pci/ixgbe/ixgbe_type.h
4259
u16 vendor_id;
sys/dev/pci/ixgbe/ixgbe_type.h
4260
u16 subsystem_device_id;
sys/dev/pci/ixgbe/ixgbe_type.h
4261
u16 subsystem_vendor_id;
sys/dev/pci/ixgbe/ixgbe_type.h
729
u16 watchdog_timer; /* usec units */
sys/dev/pci/ixgbe/ixgbe_vf.c
266
u16 i;
sys/dev/pci/ixgbe/ixgbe_vf.c
318
vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4));
sys/dev/pci/ixgbe/ixgbe_vf.c
321
vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5));
sys/dev/pci/ixgbe/ixgbe_vf.c
324
vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6));
sys/dev/pci/ixgbe/ixgbe_vf.c
327
vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8));
sys/dev/pci/ixgbe/ixgbe_vf.c
341
u32 *retmsg, u16 size)
sys/dev/pci/ixgbe/ixgbe_vf.c
399
u16 *vector_list = (u16 *)&msgbuf[1];
sys/dev/pci/ixgbe/ixgbe_vf.c
432
vector_list[i] = (u16)vector;
sys/dev/pci/ixgbe/ixgbe_vf.c
63
u16 i;
sys/dev/pci/ixgbe/ixgbe_vf.c
753
s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size)
sys/dev/pci/ixgbe/ixgbe_vf.h
139
s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
sys/dev/pci/ixgbe/ixgbe_x540.c
346
u16 ext_ability = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
378
u16 eeprom_size;
sys/dev/pci/ixgbe/ixgbe_x540.c
387
eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
sys/dev/pci/ixgbe/ixgbe_x540.c
407
s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/pci/ixgbe/ixgbe_x540.c
433
u16 offset, u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_x540.c
458
s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/pci/ixgbe/ixgbe_x540.c
484
u16 offset, u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_x540.c
513
u16 i, j;
sys/dev/pci/ixgbe/ixgbe_x540.c
514
u16 checksum = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
515
u16 length = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
516
u16 pointer = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
517
u16 word = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
518
u16 ptr_start = IXGBE_PCIE_ANALOG_PTR;
sys/dev/pci/ixgbe/ixgbe_x540.c
574
checksum = (u16)IXGBE_EEPROM_SUM - checksum;
sys/dev/pci/ixgbe/ixgbe_x540.c
588
u16 *checksum_val)
sys/dev/pci/ixgbe/ixgbe_x540.c
591
u16 checksum;
sys/dev/pci/ixgbe/ixgbe_x540.c
592
u16 read_checksum = 0;
sys/dev/pci/ixgbe/ixgbe_x540.c
613
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x540.c
653
u16 checksum;
sys/dev/pci/ixgbe/ixgbe_x540.c
674
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x540.c
71
u16 i;
sys/dev/pci/ixgbe/ixgbe_x540.h
52
s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/pci/ixgbe/ixgbe_x540.h
53
s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
sys/dev/pci/ixgbe/ixgbe_x540.h
54
u16 *data);
sys/dev/pci/ixgbe/ixgbe_x540.h
55
s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/pci/ixgbe/ixgbe_x540.h
56
s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
sys/dev/pci/ixgbe/ixgbe_x540.h
57
u16 *data);
sys/dev/pci/ixgbe/ixgbe_x540.h
59
s32 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/pci/ixgbe/ixgbe_x550.c
1194
u16 eeprom_size;
sys/dev/pci/ixgbe/ixgbe_x550.c
1203
eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
sys/dev/pci/ixgbe/ixgbe_x550.c
123
static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value)
sys/dev/pci/ixgbe/ixgbe_x550.c
136
static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value)
sys/dev/pci/ixgbe/ixgbe_x550.c
190
u16 value;
sys/dev/pci/ixgbe/ixgbe_x550.c
2140
u16 reg;
sys/dev/pci/ixgbe/ixgbe_x550.c
2227
u16 reg;
sys/dev/pci/ixgbe/ixgbe_x550.c
263
u16 value = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
2745
u16 reg;
sys/dev/pci/ixgbe/ixgbe_x550.c
2810
u16 reg_slice, reg_val;
sys/dev/pci/ixgbe/ixgbe_x550.c
2907
u16 reg_phy_ext;
sys/dev/pci/ixgbe/ixgbe_x550.c
3138
u16 autoneg_status;
sys/dev/pci/ixgbe/ixgbe_x550.c
3177
u16 speed;
sys/dev/pci/ixgbe/ixgbe_x550.c
3305
s32 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/pci/ixgbe/ixgbe_x550.c
3320
buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
sys/dev/pci/ixgbe/ixgbe_x550.c
3332
*data = (u16)IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG,
sys/dev/pci/ixgbe/ixgbe_x550.c
3350
u16 offset, u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_x550.c
3355
u16 words_to_read;
sys/dev/pci/ixgbe/ixgbe_x550.c
3399
data[current_word] = (u16)(value & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x550.c
3404
data[current_word] = (u16)(value & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x550.c
3424
s32 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_x550.c
3425
u16 data)
sys/dev/pci/ixgbe/ixgbe_x550.c
3438
buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
sys/dev/pci/ixgbe/ixgbe_x550.c
3467
s32 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_x550.c
3468
u16 data)
sys/dev/pci/ixgbe/ixgbe_x550.c
3496
u16 offset, u16 words, u16 *data)
sys/dev/pci/ixgbe/ixgbe_x550.c
3537
static s32 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, u16 ptr,
sys/dev/pci/ixgbe/ixgbe_x550.c
3538
u16 size, u16 *csum, u16 *buffer,
sys/dev/pci/ixgbe/ixgbe_x550.c
3541
u16 buf[256];
sys/dev/pci/ixgbe/ixgbe_x550.c
3543
u16 length, bufsz, i, start;
sys/dev/pci/ixgbe/ixgbe_x550.c
3544
u16 *local_buffer;
sys/dev/pci/ixgbe/ixgbe_x550.c
357
u32 dev_type, u16 *phy_data)
sys/dev/pci/ixgbe/ixgbe_x550.c
3606
s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size)
sys/dev/pci/ixgbe/ixgbe_x550.c
3608
u16 eeprom_ptrs[IXGBE_EEPROM_LAST_WORD + 1];
sys/dev/pci/ixgbe/ixgbe_x550.c
3609
u16 *local_buffer;
sys/dev/pci/ixgbe/ixgbe_x550.c
3611
u16 checksum = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
3612
u16 pointer, i, size;
sys/dev/pci/ixgbe/ixgbe_x550.c
3676
checksum = (u16)IXGBE_EEPROM_SUM - checksum;
sys/dev/pci/ixgbe/ixgbe_x550.c
3700
s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val)
sys/dev/pci/ixgbe/ixgbe_x550.c
3703
u16 checksum;
sys/dev/pci/ixgbe/ixgbe_x550.c
3704
u16 read_checksum = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
3722
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x550.c
3756
u16 checksum = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
3774
checksum = (u16)(status & 0xffff);
sys/dev/pci/ixgbe/ixgbe_x550.c
3820
u16 ext_ability = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
391
*phy_data = (u16)data;
sys/dev/pci/ixgbe/ixgbe_x550.c
3958
u16 an_10g_cntl_reg, autoneg_reg, speed;
sys/dev/pci/ixgbe/ixgbe_x550.c
404
u32 dev_type, u16 phy_data)
sys/dev/pci/ixgbe/ixgbe_x550.c
4065
u16 an_lp_status;
sys/dev/pci/ixgbe/ixgbe_x550.c
4067
u16 word = hw->eeprom.ctrl_word_3;
sys/dev/pci/ixgbe/ixgbe_x550.c
4558
u32 device_type, u16 *phy_data)
sys/dev/pci/ixgbe/ixgbe_x550.c
4586
u32 device_type, u16 phy_data)
sys/dev/pci/ixgbe/ixgbe_x550.c
4685
u16 i, autoneg_status = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
4742
u16 phy_data;
sys/dev/pci/ixgbe/ixgbe_x550.c
4767
u16 phy_data;
sys/dev/pci/ixgbe/ixgbe_x550.c
4801
u8 build, u8 sub, u16 len, const char *driver_ver)
sys/dev/pci/ixgbe/ixgbe_x550.c
501
s32 ixgbe_fw_phy_activity(struct ixgbe_hw *hw, u16 activity,
sys/dev/pci/ixgbe/ixgbe_x550.c
508
u16 retries = FW_PHY_ACT_RETRIES;
sys/dev/pci/ixgbe/ixgbe_x550.c
510
u16 i;
sys/dev/pci/ixgbe/ixgbe_x550.c
542
u16 fw_speed;
sys/dev/pci/ixgbe/ixgbe_x550.c
562
u16 phy_speeds;
sys/dev/pci/ixgbe/ixgbe_x550.c
563
u16 phy_id_lo;
sys/dev/pci/ixgbe/ixgbe_x550.c
565
u16 i;
sys/dev/pci/ixgbe/ixgbe_x550.c
630
u32 device_type, u16 *phy_data)
sys/dev/pci/ixgbe/ixgbe_x550.c
637
u32 device_type, u16 phy_data)
sys/dev/pci/ixgbe/ixgbe_x550.c
653
u16 reg, u16 *val)
sys/dev/pci/ixgbe/ixgbe_x550.c
669
u16 reg, u16 *val)
sys/dev/pci/ixgbe/ixgbe_x550.c
684
u8 addr, u16 reg, u16 val)
sys/dev/pci/ixgbe/ixgbe_x550.c
700
u8 addr, u16 reg, u16 val)
sys/dev/pci/ixgbe/ixgbe_x550.c
814
u16 phydata;
sys/dev/pci/ixgbe/ixgbe_x550.c
816
u16 i;
sys/dev/pci/ixgbe/ixgbe_x550.h
104
u32 device_type, u16 *phy_data);
sys/dev/pci/ixgbe/ixgbe_x550.h
106
u32 device_type, u16 phy_data);
sys/dev/pci/ixgbe/ixgbe_x550.h
49
s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size);
sys/dev/pci/ixgbe/ixgbe_x550.h
50
s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/pci/ixgbe/ixgbe_x550.h
53
u16 offset, u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_x550.h
54
s32 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_x550.h
55
u16 data);
sys/dev/pci/ixgbe/ixgbe_x550.h
57
u16 offset, u16 words, u16 *data);
sys/dev/pci/ixgbe/ixgbe_x550.h
58
s32 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_x550.h
59
u16 *data);
sys/dev/pci/ixgbe/ixgbe_x550.h
60
s32 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/pci/ixgbe/ixgbe_x550.h
61
u16 data);
sys/dev/pci/ixgbe/ixgbe_x550.h
71
u8 build, u8 ver, u16 len, const char *str);
sys/dev/pci/ixgbe/ixv.c
129
static int ixv_register_vlan(struct ixgbe_softc *, u16);
sys/dev/pci/ixgbe/ixv.c
130
static int ixv_unregister_vlan(struct ixgbe_softc *, u16);
sys/dev/pci/ixgbe/ixv.c
2260
ixv_register_vlan(struct ixgbe_softc *sc, u16 vtag)
sys/dev/pci/ixgbe/ixv.c
2263
u16 index, bit;
sys/dev/pci/ixgbe/ixv.c
2289
ixv_unregister_vlan(struct ixgbe_softc *sc, u16 vtag)
sys/dev/pci/ixgbe/ixv.c
2292
u16 index, bit;
sys/dev/pci/xmm7360.c
378
u16 len;
sys/dev/pci/xmm7360.c
396
u16 length;
sys/dev/pci/xmm7360.c
397
u16 flags;
sys/dev/pci/xmm7360.c
411
u16 c_ring_size;
sys/dev/pci/xmm7360.c
412
u16 unk;
sys/dev/pci/xmm7360.c
466
u16 page_size;
sys/dev/pci/xmm7360.c
481
u16 page_size;
sys/dev/pci/xmm7360.c
618
static int xmm7360_cmd_ring_execute(struct xmm_dev *xmm, u8 cmd, u8 parm, u16 len, dma_addr_t ptr, u32 extra)
sys/dev/pci/xmm7360.c
710
static void xmm7360_td_ring_create(struct xmm_dev *xmm, u8 ring_id, u8 depth, u16 page_size)
sys/dev/pci/xmm7360.c
819
static struct queue_pair * xmm7360_init_qp(struct xmm_dev *xmm, int num, u8 depth, u16 page_size)
sys/net80211/ieee80211_crypto_tkip.c
102
u16 rx_ttak[5];
sys/net80211/ieee80211_crypto_tkip.c
428
static __inline u16 RotR1(u16 val)
sys/net80211/ieee80211_crypto_tkip.c
433
static __inline u8 Lo8(u16 val)
sys/net80211/ieee80211_crypto_tkip.c
438
static __inline u8 Hi8(u16 val)
sys/net80211/ieee80211_crypto_tkip.c
443
static __inline u16 Lo16(u32 val)
sys/net80211/ieee80211_crypto_tkip.c
448
static __inline u16 Hi16(u32 val)
sys/net80211/ieee80211_crypto_tkip.c
453
static __inline u16 Mk16(u8 hi, u8 lo)
sys/net80211/ieee80211_crypto_tkip.c
455
return lo | (((u16) hi) << 8);
sys/net80211/ieee80211_crypto_tkip.c
458
static __inline u16 Mk16_le(const u16 *v)
sys/net80211/ieee80211_crypto_tkip.c
463
static const u16 Sbox[256] = {
sys/net80211/ieee80211_crypto_tkip.c
498
static __inline u16 _S_(u16 v)
sys/net80211/ieee80211_crypto_tkip.c
500
u16 t = Sbox[Hi8(v)];
sys/net80211/ieee80211_crypto_tkip.c
506
static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32)
sys/net80211/ieee80211_crypto_tkip.c
531
static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK,
sys/net80211/ieee80211_crypto_tkip.c
532
u16 IV16)
sys/net80211/ieee80211_crypto_tkip.c
536
u16 *PPK = (u16 *) &WEPSeed[4];
sys/net80211/ieee80211_crypto_tkip.c
547
PPK[0] += _S_(PPK[5] ^ Mk16_le((const u16 *) &TK[0]));
sys/net80211/ieee80211_crypto_tkip.c
548
PPK[1] += _S_(PPK[0] ^ Mk16_le((const u16 *) &TK[2]));
sys/net80211/ieee80211_crypto_tkip.c
549
PPK[2] += _S_(PPK[1] ^ Mk16_le((const u16 *) &TK[4]));
sys/net80211/ieee80211_crypto_tkip.c
550
PPK[3] += _S_(PPK[2] ^ Mk16_le((const u16 *) &TK[6]));
sys/net80211/ieee80211_crypto_tkip.c
551
PPK[4] += _S_(PPK[3] ^ Mk16_le((const u16 *) &TK[8]));
sys/net80211/ieee80211_crypto_tkip.c
552
PPK[5] += _S_(PPK[4] ^ Mk16_le((const u16 *) &TK[10]));
sys/net80211/ieee80211_crypto_tkip.c
554
PPK[0] += RotR1(PPK[5] ^ Mk16_le((const u16 *) &TK[12]));
sys/net80211/ieee80211_crypto_tkip.c
555
PPK[1] += RotR1(PPK[0] ^ Mk16_le((const u16 *) &TK[14]));
sys/net80211/ieee80211_crypto_tkip.c
566
WEPSeed[3] = Lo8((PPK[5] ^ Mk16_le((const u16 *) &TK[0])) >> 1);
sys/net80211/ieee80211_crypto_tkip.c
890
(u16)key->wk_keytsc);
sys/net80211/ieee80211_crypto_tkip.c
902
if ((u16)(key->wk_keytsc) == 0)
sys/net80211/ieee80211_crypto_tkip.c
914
u16 iv16;
sys/net80211/ieee80211_crypto_tkip.c
920
iv16 = (u16) ctx->rx_rsc;
sys/net80211/ieee80211_crypto_tkip.c
98
u16 tx_ttak[5];
tests/lib/libbluetooth/t_sdp_get.c
153
uuid_t u16 = {
tests/lib/libbluetooth/t_sdp_get.c
185
ATF_CHECK(uuid_equal(&value, &u16, NULL));
tests/lib/libbluetooth/t_sdp_put.c
116
const uuid_t u16 = {
tests/lib/libbluetooth/t_sdp_put.c
141
ATF_REQUIRE(sdp_put_uuid(&test, &u16));
tests/usr.bin/xlint/lint1/msg_117.c
11
unsigned short u16;
tests/usr.bin/xlint/lint1/msg_132.c
101
s32 = u16;
tests/usr.bin/xlint/lint1/msg_132.c
106
s64 = u16;
tests/usr.bin/xlint/lint1/msg_132.c
120
u16 = s8;
tests/usr.bin/xlint/lint1/msg_132.c
122
u16 = s32;
tests/usr.bin/xlint/lint1/msg_132.c
124
u16 = s64;
tests/usr.bin/xlint/lint1/msg_132.c
217
u16 = (u16_t)u8 << 8 | u8;
tests/usr.bin/xlint/lint1/msg_132.c
238
u16 = u8 * u8;
tests/usr.bin/xlint/lint1/msg_132.c
240
u16 = u16 * u8;
tests/usr.bin/xlint/lint1/msg_132.c
241
u32 = u16 * u16;
tests/usr.bin/xlint/lint1/msg_132.c
243
u32 = u16 * 65537ULL;
tests/usr.bin/xlint/lint1/msg_132.c
245
u32 = u16 * 65538ULL;
tests/usr.bin/xlint/lint1/msg_132.c
247
u16 = 0 * u16;
tests/usr.bin/xlint/lint1/msg_132.c
248
u16 = 1 * u16;
tests/usr.bin/xlint/lint1/msg_132.c
250
u16 = 2 * u16;
tests/usr.bin/xlint/lint1/msg_132.c
253
u32 = (u16 & 1023ULL) / 1ULL * 1024ULL | (u16 & 1023ULL) / 1ULL * 1ULL;
tests/usr.bin/xlint/lint1/msg_132.c
284
u8 = u16 / u8;
tests/usr.bin/xlint/lint1/msg_132.c
285
u16 = u8 / u8;
tests/usr.bin/xlint/lint1/msg_132.c
286
u16 = u32 / 65536;
tests/usr.bin/xlint/lint1/msg_132.c
288
u16 = u32 / 65535;
tests/usr.bin/xlint/lint1/msg_132.c
30
u16_t u16;
tests/usr.bin/xlint/lint1/msg_132.c
324
u16 = u64 % 1000;
tests/usr.bin/xlint/lint1/msg_132.c
364
u16 = s16 + 0x8000;
tests/usr.bin/xlint/lint1/msg_132.c
384
u16 = u32 % 0x00010000 + 0x80000000 + 0x80000000;
tests/usr.bin/xlint/lint1/msg_132.c
387
u16 = u32 % 0x00010000 + 0xffff8000;
tests/usr.bin/xlint/lint1/msg_132.c
392
u16 = s64 % 0x00010000 + 0xffffffffLL + -0xffffffffLL;
tests/usr.bin/xlint/lint1/msg_132.c
394
u16 = s32 % 0x00010000 + 0x7fff0000 + -0x7fff0000;
tests/usr.bin/xlint/lint1/msg_132.c
396
u16 = u32 % 0x00010000 + 0xffff0000 + 0x00010000;
tests/usr.bin/xlint/lint1/msg_132.c
422
u16 = s16 - -0x8000;
tests/usr.bin/xlint/lint1/msg_132.c
436
u16 = u8 << 8;
tests/usr.bin/xlint/lint1/msg_132.c
438
u16 = u8 << 9;
tests/usr.bin/xlint/lint1/msg_132.c
440
u32 = u16 << 16;
tests/usr.bin/xlint/lint1/msg_132.c
442
u32 = u16 << 17;
tests/usr.bin/xlint/lint1/msg_132.c
449
u64 = u16 << 48;
tests/usr.bin/xlint/lint1/msg_132.c
450
u64 = (u64_t)u16 << 48;
tests/usr.bin/xlint/lint1/msg_132.c
452
u64 = (u64_t)u16 << 49;
tests/usr.bin/xlint/lint1/msg_132.c
469
u16 = u64 >> 48;
tests/usr.bin/xlint/lint1/msg_132.c
470
u16 = u32 >> 16;
tests/usr.bin/xlint/lint1/msg_132.c
473
u8 = u16 >> 8;
tests/usr.bin/xlint/lint1/msg_132.c
486
u8 = u8 & u16;
tests/usr.bin/xlint/lint1/msg_132.c
489
u8 = u16 & u32;
tests/usr.bin/xlint/lint1/msg_132.c
496
u8 = u8 ^ u16;
tests/usr.bin/xlint/lint1/msg_132.c
497
u16 = u8 ^ u16;
tests/usr.bin/xlint/lint1/msg_132.c
501
s16 = (u16 ^ 0x8000) - 0x8000;
tests/usr.bin/xlint/lint1/msg_132.c
510
u8 = u8 | u16;
tests/usr.bin/xlint/lint1/msg_132.c
511
u16 = u8 | u16;
tests/usr.bin/xlint/lint1/msg_132.c
513
u16 = u8 | u32;
tests/usr.bin/xlint/lint1/msg_132.c
564
u16 = (u32 & 0x0000ff00);
tests/usr.bin/xlint/lint1/msg_132.c
565
u16 = (u32_t)(u32 & 0x0000ff00);
tests/usr.bin/xlint/lint1/msg_132.c
566
u16 = (u16_t)u32;
tests/usr.bin/xlint/lint1/msg_132.c
567
u16 = (u8_t)(u32 & 0xffff) << 8;
tests/usr.bin/xlint/lint1/msg_132.c
568
u16 = (int)3.0;
tests/usr.bin/xlint/lint1/msg_132.c
595
unsigned short u16:15;
tests/usr.bin/xlint/lint1/msg_132.c
606
b = s.u16 == 0;
tests/usr.bin/xlint/lint1/msg_132.c
62
u8 = u16;
tests/usr.bin/xlint/lint1/msg_132.c
68
u16 = u8;
tests/usr.bin/xlint/lint1/msg_132.c
70
u16 = u32;
tests/usr.bin/xlint/lint1/msg_132.c
72
u16 = u64;
tests/usr.bin/xlint/lint1/msg_132.c
75
u32 = u16;
tests/usr.bin/xlint/lint1/msg_132.c
80
u64 = u16;
tests/usr.bin/xlint/lint1/msg_132.c
88
s8 = u16;
tests/usr.bin/xlint/lint1/msg_309.c
14
u16_t u16;
tests/usr.bin/xlint/lint1/msg_309.c
82
u16 &= (u16_t)~0x0600;
tests/usr.bin/xlint/lint1/msg_309.c
84
u16 = u16 & (u16_t)~0x0600;
tests/usr.bin/xlint/lint1/msg_309.c
86
u16 = (u16_t)(u16 & (u16_t)~0x0600);
tests/usr.bin/xlint/lint1/queries.c
107
u16 += u8;
tests/usr.bin/xlint/lint1/queries.c
110
u32 += u16;
tests/usr.bin/xlint/lint1/queries.c
194
u8 = (u8_t)u16;
tests/usr.bin/xlint/lint1/queries.c
197
u8 = (u16_t)u16;
tests/usr.bin/xlint/lint1/queries.c
199
u16 = (u8_t)u8;
tests/usr.bin/xlint/lint1/queries.c
200
u16 = (u8_t)u16;
tests/usr.bin/xlint/lint1/queries.c
202
u16 = (u16_t)u8;
tests/usr.bin/xlint/lint1/queries.c
205
u16 = (u16_t)u16;
tests/usr.bin/xlint/lint1/queries.c
332
u16 = 0;
tests/usr.bin/xlint/lint1/queries.c
334
u16 = 000000;
tests/usr.bin/xlint/lint1/queries.c
336
u16 = 0123ULL;
tests/usr.bin/xlint/lint1/queries.c
337
u16 = 1;
tests/usr.bin/xlint/lint1/queries.c
338
u16 = 10;
tests/usr.bin/xlint/lint1/queries.c
340
u16 = 0644;
tests/usr.bin/xlint/lint1/queries.c
342
u16 = 0000644;
tests/usr.bin/xlint/lint1/queries.c
429
u16 += u8, u32 += u16;
tests/usr.bin/xlint/lint1/queries.c
45
u16_t u16;
tests/usr.bin/xlint/lint1/queries.c
587
u16 = -u16;