/illumos-gate/usr/src/uts/common/sys/ |
H A D | pcie_impl.h | 191 uint16_t pci_bdg_ctrl; /* PCI bridge control reg */ 195 uint16_t pci_err_status; /* pci status register */ 196 uint16_t pci_cfg_comm; /* pci command register */ 208 uint16_t pcix_command; /* pcix command register */ 377 uint16_t pfd_mps_found; 378 uint16_t pfd_mps_act; 410 uint16_t bus_pcie_off; /* PCIe Capability Offset */ 415 uint16_t bus_ecc_ver; /* PCIX ecc version */ 485 uint16_t pe_affected_flags; 728 extern int pf_pci_decode(pf_data_t *, uint16_t *); [all …]
|
H A D | bitext.h | 33 extern uint16_t bitx16(uint16_t, uint_t, uint_t); 38 extern uint16_t bitset16(uint16_t, uint_t, uint_t, uint16_t);
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.h | 64 uint16_t pci_config_rd16(ddi_acc_impl_t *hdlp, uint16_t *addr); 70 void pci_config_wr16(ddi_acc_impl_t *hdlp, uint16_t *addr, 71 uint16_t value); 79 void pci_config_rep_rd16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 80 uint16_t *dev_addr, size_t repcount, uint_t flags); 88 void pci_config_rep_wr16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 89 uint16_t *dev_addr, size_t repcount, uint_t flags);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | udp.h | 14 uint16_t len; 17 uint16_t src; 18 uint16_t dest; 19 uint16_t len; 20 uint16_t chksum;
|
H A D | i386_byteswap.h | 5 static inline uint16_t __i386_bswap_16(uint16_t x) in __i386_bswap_16() 25 ((uint16_t)((((uint16_t)(x) & 0x00ff) << 8) | \ 26 (((uint16_t)(x) & 0xff00) >> 8)))
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | aso.h | 112 extern uint16_t asocas16(uint16_t volatile*, uint16_t, uint16_t); 113 extern uint16_t asoget16(uint16_t volatile*); 114 extern uint16_t asoinc16(uint16_t volatile*); 115 extern uint16_t asodec16(uint16_t volatile*);
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/smrt/ |
H A D | smrt_scsi.h | 275 uint16_t sipd_lblk_size; 301 uint16_t sipd_phy_count; 304 uint16_t sipd_phy_to_attached_dev[256]; 307 uint16_t sipd_extra_flags; 352 uint16_t sen_class; 353 uint16_t sen_subclass; 354 uint16_t sen_detail; 358 uint16_t sen_date; 359 uint16_t sen_year; 361 uint16_t sen_pre_power_time;
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_regd.h | 162 uint16_t regDmnEnum; 163 uint16_t regDmn5GHz; 164 uint16_t regDmn2GHz; 168 uint16_t singleCC; 173 uint16_t countryCode; 177 uint16_t countryCode; 178 uint16_t regDmnEnum; 192 uint16_t lowChannel; 204 uint16_t regDmnEnum; 231 uint16_t lchan; [all …]
|
/illumos-gate/usr/src/uts/common/io/igc/ |
H A D | igc.h | 299 uint16_t itc_l3proto; 463 uint16_t igc_nucast; 464 uint16_t igc_nmcast; 470 uint16_t igc_link_speed; 503 uint16_t igc_phy_ctrl; 504 uint16_t igc_phy_status; 505 uint16_t igc_phy_an_adv; 506 uint16_t igc_phy_an_exp; 507 uint16_t igc_phy_lp; 511 uint16_t igc_phy_mmd_ctrl; [all …]
|
/illumos-gate/usr/src/uts/common/sys/nvme/ |
H A D | wdc_sn840.h | 89 uint16_t eol_cust_sts; 90 uint16_t eol_sys_sts; 174 uint16_t fah_result; 195 uint16_t cbi_vers_id; 196 uint16_t cbi_rev_id; 200 uint16_t cbi_nand_vers_id; 201 uint16_t cbi_nand_rev_id;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zap_leaf.c | 44 static uint16_t *zap_leaf_rehash_entry(zap_leaf_t *l, uint16_t entry); 78 *(uint16_t *)addr = value; in stv() 185 static uint16_t 222 static uint16_t 226 uint16_t chunk_head; in zap_leaf_array_create() 264 uint16_t chunk = *chunkp; in zap_leaf_array_free() 560 uint16_t chunk; in zap_entry_create() 690 static uint16_t * 695 uint16_t *chunkp; in zap_leaf_rehash_entry() 714 static uint16_t [all …]
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100_impl.h | 155 uint16_t sc_chmask; 354 uint16_t code; 382 uint16_t fragsz; 459 uint16_t version; 500 uint16_t reserved_2; 501 uint16_t capinfo; 502 uint16_t reserved_3; 503 uint16_t intval; 506 uint16_t reserved_5; 555 uint16_t *buf, size_t cnt); [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | qemu_fwcfg.c | 67 uint16_t index : 14; 68 uint16_t writeable : 1; 69 uint16_t architecture : 1; 71 uint16_t bits; 86 uint16_t be_selector; 87 uint16_t reserved; 124 if (bytes != sizeof(uint16_t)) { in qemu_fwcfg_selector_port_handler() 188 qemu_fwcfg_add_item(const uint16_t architecture, const uint16_t index, in qemu_fwcfg_add_item() 193 const uint16_t idx = index & QEMU_FWCFG_INDEX_MASK; in qemu_fwcfg_add_item() 259 uint16_t *fwcfg_max_cpus = calloc(1, sizeof(uint16_t)); in qemu_fwcfg_add_item_max_cpus() [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | iommutsb.c | 94 static uint16_t iommu_tsb_avail[MAX_TSB_ALLOC]; 193 uint16_t 194 iommu_tsb_alloc(uint16_t id) in iommu_tsb_alloc() 196 uint16_t tsbc; in iommu_tsb_alloc() 204 tsbc = (uint16_t)i; in iommu_tsb_alloc() 217 iommu_tsb_free(uint16_t tsbc) in iommu_tsb_free() 235 iommu_tsb_cookie_to_size(uint16_t tsbc) in iommu_tsb_cookie_to_size() 244 iommu_tsb_cookie_to_va(uint16_t tsbc) in iommu_tsb_cookie_to_va()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfclib.h | 413 uint16_t rsvd1; 426 uint16_t rsvd1; 772 uint16_t rsvd; 856 uint16_t a_flag; 877 uint16_t a_flag; 878 uint16_t a_state; 1643 uint16_t length; 1647 uint16_t type; 1855 uint16_t VLanId; 1860 uint16_t flags; [all …]
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | endian.h | 42 typedef __uint16_t uint16_t; typedef 71 #define htole16(x) ((uint16_t)(x)) 78 #define le16toh(x) ((uint16_t)(x)) 82 #define htobe16(x) ((uint16_t)(x)) 89 #define be16toh(x) ((uint16_t)(x)) 99 static __inline uint16_t 123 static __inline uint16_t 148 be16enc(void *pp, uint16_t u) in be16enc() 177 le16enc(void *pp, uint16_t u) in le16enc()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/firmware/ |
H A D | myri10ge_mcp.h | 40 typedef unsigned short uint16_t; typedef 55 uint16_t checksum; 56 uint16_t length; 67 uint16_t checksum; 68 uint16_t length; 132 uint16_t pseudo_hdr_offset; 133 uint16_t cum_len; 144 uint16_t pseudo_hdr_offset; 145 uint16_t length;
|
/illumos-gate/usr/src/uts/common/io/ath/ |
H A D | ath_hal.h | 537 uint16_t channel; /* setting in Mhz */ 664 uint16_t kv_len; /* length in bits */ 788 uint16_t rs_datalen; /* rx frame length */ 858 uint16_t ah_devid; /* PCI device ID */ 866 uint16_t ah_macRev; /* MAC revision */ 867 uint16_t ah_phyRev; /* PHY revision */ 967 uint16_t, HAL_STATUS *); 1004 uint16_t, const HAL_KEYVAL *, 1007 uint16_t, const uint8_t *); 1037 extern const char *ath_hal_probe(uint16_t vendorid, uint16_t devid); [all …]
|
/illumos-gate/usr/src/head/protocols/ |
H A D | routed.h | 74 uint16_t n_family; 78 uint16_t n_tag; /* optional in RIPv2 */ 89 uint16_t a_family; /* always RIP_AF_AUTH */ 90 uint16_t a_type; 110 uint16_t rip_metric; 111 uint16_t rip_mask; 124 uint16_t rip_res1; /* pad to 32-bit boundary */
|
/illumos-gate/usr/src/uts/common/sys/fcoe/ |
H A D | fcoeio.h | 83 uint16_t fcoeio_xfer; /* direction */ 84 uint16_t fcoeio_cmd; /* sub command */ 85 uint16_t fcoeio_flags; /* flags */ 86 uint16_t fcoeio_cmd_flags; /* command specific flags */ 132 uint16_t fpi_mac_promisc; 134 uint16_t fpi_rsvd1;
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sadb.h | 521 uint16_t ipsacq_srcport; 522 uint16_t ipsacq_dstport; 853 uint16_t *alg_params; 855 uint16_t alg_ivlen; 856 uint16_t alg_icvlen; 859 uint16_t alg_nparams; 860 uint16_t alg_minbits; 861 uint16_t alg_maxbits; 862 uint16_t alg_datalen; 867 uint16_t alg_increment; [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_cfgacc_x86.c | 40 #define PCI_BDF_BUS(bdf) ((((uint16_t)bdf) & 0xff00) >> 8) 41 #define PCI_BDF_DEV(bdf) ((((uint16_t)bdf) & 0xf8) >> 3) 42 #define PCI_BDF_FUNC(bdf) (((uint16_t)bdf) & 0x7) 51 boolean_t pci_cfgacc_find_workaround(uint16_t); 108 uint16_t ioacc_offset; /* 4K config access with IO ECS */ in pci_cfgacc_io() 177 *((uint16_t *)vaddr) = VAL16(req); in pci_cfgacc_mmio() 179 VAL16(req) = *((uint16_t *)vaddr); in pci_cfgacc_mmio() 199 pci_cfgacc_valid(pci_cfgacc_req_t *req, uint16_t cfgspc_size) in pci_cfgacc_valid() 245 uint16_t bdf; 264 pci_cfgacc_add_workaround(uint16_t bdf, uchar_t secbus, uchar_t subbus) in pci_cfgacc_add_workaround() [all …]
|
/illumos-gate/usr/src/uts/common/xen/public/arch-x86/ |
H A D | xen-x86_32.h | 150 uint16_t error_code; /* private */ 151 uint16_t entry_vector; /* private */ 153 uint16_t cs; 158 uint16_t ss, _pad1; 159 uint16_t es, _pad2; 160 uint16_t ds, _pad3; 161 uint16_t fs, _pad4; 162 uint16_t gs, _pad5;
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.h | 56 uint16_t mb[MAX_MBOX_COUNT]; 81 uint16_t command_response_code; 82 uint16_t max_residual_size; 148 uint16_t flash_version; 149 uint16_t flash_len; 150 uint16_t flash_checksum; 151 uint16_t flash_unused; 153 uint16_t flash_manuf; 154 uint16_t flash_id; 171 uint16_t read_timeout; [all …]
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct_impl.h | 127 uint16_t irp_sa_elses_count; 128 uint16_t irp_nsa_elses_count; 129 uint16_t irp_fcp_xchg_count; 130 uint16_t irp_nonfcp_xchg_count; 179 uint16_t slot_no; 180 uint16_t slot_next; 205 uint16_t iport_link_state; 243 uint16_t iport_task_green_limit; 244 uint16_t iport_task_yellow_limit; 245 uint16_t iport_task_red_limit; [all …]
|