/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-mdio.h | 45 uint16_t u16; 47 uint16_t reset:1; 48 uint16_t loopback:1; 49 uint16_t speed_lsb:1; 50 uint16_t autoneg_enable:1; 51 uint16_t power_down:1; 52 uint16_t isolate:1; 53 uint16_t restart_autoneg:1; 54 uint16_t duplex:1; 55 uint16_t collision_test:1; 56 uint16_t speed_msb:1; 57 uint16_t unidirectional_enable:1; 58 uint16_t reserved_0_4:5; 67 uint16_t u16; 69 uint16_t capable_100base_t4:1; 70 uint16_t capable_100base_x_full:1; 71 uint16_t capable_100base_x_half:1; 72 uint16_t capable_10_full:1; 73 uint16_t capable_10_half:1; 74 uint16_t capable_100base_t2_full:1; 75 uint16_t capable_100base_t2_half:1; 76 uint16_t capable_extended_status:1; 77 uint16_t capable_unidirectional:1; 78 uint16_t capable_mf_preamble_suppression:1; 79 uint16_t autoneg_complete:1; 80 uint16_t remote_fault:1; 81 uint16_t capable_autoneg:1; 82 uint16_t link_status:1; 83 uint16_t jabber_detect:1; 84 uint16_t capable_extended_registers:1; 94 uint16_t u16; 96 uint16_t oui_bits_3_18; 105 uint16_t u16; 107 uint16_t oui_bits_19_24:6; 108 uint16_t model:6; 109 uint16_t revision:4; 118 uint16_t u16; 120 uint16_t next_page:1; 121 uint16_t reserved_14:1; 122 uint16_t remote_fault:1; 123 uint16_t reserved_12:1; 124 uint16_t asymmetric_pause:1; 125 uint16_t pause:1; 126 uint16_t advert_100base_t4:1; 127 uint16_t advert_100base_tx_full:1; 128 uint16_t advert_100base_tx_half:1; 129 uint16_t advert_10base_tx_full:1; 130 uint16_t advert_10base_tx_half:1; 131 uint16_t selector:5; 140 uint16_t u16; 142 uint16_t next_page:1; 143 uint16_t ack:1; 144 uint16_t remote_fault:1; 145 uint16_t reserved_12:1; 146 uint16_t asymmetric_pause:1; 147 uint16_t pause:1; 148 uint16_t advert_100base_t4:1; 149 uint16_t advert_100base_tx_full:1; 150 uint16_t advert_100base_tx_half:1; 151 uint16_t advert_10base_tx_full:1; 152 uint16_t advert_10base_tx_half:1; 153 uint16_t selector:5; 162 uint16_t u16; 164 uint16_t reserved_5_15:11; 165 uint16_t parallel_detection_fault:1; 166 uint16_t link_partner_next_page_capable:1; 167 uint16_t local_next_page_capable:1; 168 uint16_t page_received:1; 169 uint16_t link_partner_autoneg_capable:1; 179 uint16_t u16; 181 uint16_t test_mode:3; 182 uint16_t manual_master_slave:1; 183 uint16_t master:1; 184 uint16_t port_type:1; 185 uint16_t advert_1000base_t_full:1; 186 uint16_t advert_1000base_t_half:1; 187 uint16_t reserved_0_7:8; 196 uint16_t u16; 198 uint16_t master_slave_fault:1; 199 uint16_t is_master:1; 200 uint16_t local_receiver_ok:1; 201 uint16_t remote_receiver_ok:1; 202 uint16_t remote_capable_1000base_t_full:1; 203 uint16_t remote_capable_1000base_t_half:1; 204 uint16_t reserved_8_9:2; 205 uint16_t idle_error_count:8; 214 uint16_t u16; 216 uint16_t capable_1000base_x_full:1; 217 uint16_t capable_1000base_x_half:1; 218 uint16_t capable_1000base_t_full:1; 219 uint16_t capable_1000base_t_half:1; 220 uint16_t reserved_0_11:12; 229 uint16_t u16; 231 uint16_t function:2; 232 uint16_t reserved_5_13:9; 233 uint16_t devad:5; 242 uint16_t u16; 244 uint16_t address_data:16;
|
H A D | cvmx-scratch.h | 63 static inline uint16_t cvmx_scratch_read16(uint64_t address) cvmx_scratch_read16() 65 return *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address); cvmx_scratch_read16() 112 *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address) = cvmx_scratch_write16() 113 (uint16_t) value; cvmx_scratch_write16()
|
H A D | cvmx-bootinfo.h | 83 uint16_t board_type; 86 uint16_t reserved1; 158 uint16_t reserved1; 161 uint16_t board_type;
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_fw.h | 32 uint16_t flags; 57 uint16_t port_timer; 59 uint16_t nport_handle; /* N_PORT handle. */ 61 uint16_t receive_data_size; 62 uint16_t reserved_2; 76 uint16_t vp_status; 81 uint16_t port_id_low; 82 uint16_t port_id_high; 88 uint16_t nvram_version; 89 uint16_t reserved_0; 92 uint16_t version; 93 uint16_t reserved_1; 95 uint16_t execution_throttle; 96 uint16_t exchange_count; 97 uint16_t hard_address; 102 uint16_t login_retry_count; 103 uint16_t link_down_on_nos; 104 uint16_t interrupt_delay_timer; 105 uint16_t login_timeout; 132 uint16_t seriallink_options[4]; 134 uint16_t reserved_2[16]; 137 uint16_t reserved_3[16]; 140 uint16_t reserved_4[16]; 143 uint16_t reserved_5[16]; 146 uint16_t reserved_6[16]; 149 uint16_t reserved_7[16]; 178 uint16_t boot_lun_number; 179 uint16_t reserved_8; 182 uint16_t alt1_boot_lun_number; 183 uint16_t reserved_9; 186 uint16_t alt2_boot_lun_number; 187 uint16_t reserved_10; 190 uint16_t alt3_boot_lun_number; 191 uint16_t reserved_11; 207 uint16_t reserved_13; 209 uint16_t boot_id_number; 210 uint16_t reserved_14; 212 uint16_t max_luns_per_target; 213 uint16_t reserved_15; 215 uint16_t port_down_retry_count; 216 uint16_t link_down_timeout; 219 uint16_t fcode_parameter; 221 uint16_t reserved_16[3]; 229 uint16_t prev_bios_ver_major; 230 uint16_t prev_bios_ver_minor; 232 uint16_t prev_efi_ver_major; 233 uint16_t prev_efi_ver_minor; 235 uint16_t prev_fw_ver_major; 239 uint16_t reserved_17[8]; 242 uint16_t reserved_18[16]; 245 uint16_t reserved_19[16]; 248 uint16_t reserved_20[16]; 253 uint16_t reserved_21[2]; 257 uint16_t pcie_table_sig; 258 uint16_t pcie_table_offset; 260 uint16_t subsystem_vendor_id; 261 uint16_t subsystem_device_id; 272 uint16_t version; 273 uint16_t reserved_1; 275 uint16_t frame_payload_size; 276 uint16_t execution_throttle; 277 uint16_t exchange_count; 279 uint16_t hard_address; 284 uint16_t response_q_inpointer; 285 uint16_t request_q_outpointer; 287 uint16_t login_retry_count; 289 uint16_t prio_request_q_outpointer; 291 uint16_t response_q_length; 292 uint16_t request_q_length; 294 uint16_t link_down_on_nos; /* Milliseconds. */ 296 uint16_t prio_request_q_length; 302 uint16_t msix; 303 uint16_t msix_atio; 306 uint16_t atio_q_inpointer; 307 uint16_t atio_q_length; 310 uint16_t interrupt_delay_timer; /* 100us increments. */ 311 uint16_t login_timeout; 380 uint16_t qos; 381 uint16_t rid; 397 uint16_t nport_handle; /* N_PORT hanlde. */ 399 uint16_t timeout; /* Commnad timeout. */ 401 uint16_t wr_dseg_count; /* Write Data segment count. */ 402 uint16_t rd_dseg_count; /* Read Data segment count. */ 406 uint16_t control_flags; /* Control flags. */ 411 uint16_t fcp_cmnd_dseg_len; /* Data segment length. */ 414 uint16_t reserved[2]; /* Reserved */ 423 uint16_t fcp_data_dseg_len; /* Data segment length. */ 435 uint16_t nport_handle; /* N_PORT handle. */ 436 uint16_t timeout; /* Command timeout. */ 438 uint16_t dseg_count; /* Data segment count. */ 440 uint16_t fcp_rsp_dsd_len; /* FCP_RSP DSD length. */ 444 uint16_t control_flags; /* Control flags. */ 450 uint16_t fcp_cmnd_dseg_len; /* Data segment length. */ 473 uint16_t nport_handle; /* N_PORT handle. */ 474 uint16_t timeout; /* Command timeout. */ 477 uint16_t dseg_count; /* Data segment count. */ 478 uint16_t reserved_1; 482 uint16_t task_mgmt_flags; /* Task management flags. */ 521 uint16_t nport_handle; /* N_PORT handle. */ 522 uint16_t timeout; /* Command timeout. */ 524 uint16_t dseg_count; /* Data segment count. */ 526 uint16_t fcp_rsp_dseg_len; /* FCP_RSP DSD length. */ 530 uint16_t control_flags; /* Control flags. */ 532 uint16_t fcp_cmnd_dseg_len; /* Data segment length. */ 543 uint16_t crc_context_len; /* Data segment length. */ 544 uint16_t reserved_1; /* MUST be set to 0. */ 560 uint16_t comp_status; /* Completion status. */ 561 uint16_t ox_id; /* OX_ID used by the firmware. */ 565 uint16_t reserved_1; 566 uint16_t state_flags; /* State flags. */ 570 uint16_t retry_delay; 571 uint16_t scsi_status; /* SCSI status. */ 615 uint16_t nport_handle; /* N_PORT handle. */ 626 uint16_t reserved_3; 644 uint16_t comp_status; /* Completion status. */ 646 uint16_t nport_handle; /* N_PORT handle. */ 648 uint16_t cmd_dsd_count; 653 uint16_t timeout; /* Command timeout. */ 654 uint16_t reserved_2; 656 uint16_t rsp_dsd_count; 681 uint16_t reserved_1; 683 uint16_t nport_handle; /* N_PORT handle. */ 685 uint16_t tx_dsd_count; 693 uint16_t rx_dsd_count; 701 uint16_t reserved_4; 703 uint16_t control_flags; /* Control flags. */ 729 uint16_t comp_status; 731 uint16_t nport_handle; /* N_PORT handle. */ 733 uint16_t reserved_1; 739 uint16_t reserved_2; 747 uint16_t reserved_5; 749 uint16_t control_flags; /* Control flags. */ 766 uint16_t mbx[28]; 779 uint16_t comp_status; /* Completion status. */ 782 uint16_t nport_handle; /* N_PORT handle. */ 784 uint16_t control_flags; /* Control flags. */ 840 uint16_t nport_handle; /* N_PORT handle. */ 842 uint16_t reserved_1; 844 uint16_t delay; /* Activity delay in seconds. */ 846 uint16_t timeout; /* Command timeout. */ 875 uint16_t nport_handle; /* N_PORT handle. */ 878 uint16_t options; /* Options. */ 883 uint16_t req_que_no; 1056 uint16_t mailbox0; 1057 uint16_t mailbox1; 1058 uint16_t mailbox2; 1059 uint16_t mailbox3; 1060 uint16_t mailbox4; 1061 uint16_t mailbox5; 1062 uint16_t mailbox6; 1063 uint16_t mailbox7; 1064 uint16_t mailbox8; 1065 uint16_t mailbox9; 1066 uint16_t mailbox10; 1067 uint16_t mailbox11; 1068 uint16_t mailbox12; 1069 uint16_t mailbox13; 1070 uint16_t mailbox14; 1071 uint16_t mailbox15; 1072 uint16_t mailbox16; 1073 uint16_t mailbox17; 1074 uint16_t mailbox18; 1075 uint16_t mailbox19; 1076 uint16_t mailbox20; 1077 uint16_t mailbox21; 1078 uint16_t mailbox22; 1079 uint16_t mailbox23; 1080 uint16_t mailbox24; 1081 uint16_t mailbox25; 1082 uint16_t mailbox26; 1083 uint16_t mailbox27; 1084 uint16_t mailbox28; 1085 uint16_t mailbox29; 1086 uint16_t mailbox30; 1087 uint16_t mailbox31; 1141 uint16_t reserved_1; 1163 uint16_t count; 1164 uint16_t options; 1171 uint16_t status; 1198 uint16_t vp_idx_failed; 1200 uint16_t comp_status; /* Completion status. */ 1205 uint16_t command; 1212 uint16_t vp_count; 1215 uint16_t flags; 1216 uint16_t id; 1217 uint16_t reserved_4; 1218 uint16_t hopct; 1234 uint16_t flags; 1239 uint16_t comp_status; /* Completion status. */ 1257 uint16_t reserved_vp1; 1263 uint16_t reserved_vp2; 1266 uint16_t id; 1267 uint16_t reserved_4; 1268 uint16_t hopct; 1281 uint16_t vp_count; /* Format 0 -- | VP setup | VP acq |. */ 1283 uint16_t vp_idx; /* Format 0 -- Reserved. */ 1302 uint16_t comp_status; /* Completion status. */ 1303 uint16_t timeout; /* timeout */ 1304 uint16_t adim_tagging_mode; 1306 uint16_t vfport_id; 1309 uint16_t nport_handle; /* N_PORT handle. */ 1310 uint16_t control_flags; 1325 uint16_t version; 1326 uint16_t len; 1327 uint16_t checksum; 1330 uint16_t man_id; 1331 uint16_t id; 1348 uint16_t read_timeout; 1357 uint16_t start_lo; 1358 uint16_t start_hi; 1361 uint16_t checksum; 1365 uint16_t version; 1366 uint16_t length; 1367 uint16_t checksum; 1368 uint16_t unused; 1407 uint16_t version; 1408 uint16_t entries; 1409 uint16_t unused[4]; 1410 uint16_t checksum; 1414 uint16_t flags; 1415 uint16_t vf_id; 1418 uint16_t unused1; 1448 uint16_t options; 1456 uint16_t reserved_1; 1458 uint16_t data_seg_cnt; 1459 uint16_t reserved_2[3]; 1481 uint16_t comp_status; 1486 uint16_t failure_code; 1491 uint16_t reserved_1[4]; 1508 uint16_t options; 1514 uint16_t reserved1; 1516 uint16_t dseg_count; 1517 uint16_t reserved2[3]; 1539 uint16_t comp_status; 1540 uint16_t failure_code; 1586 uint16_t nvram_version; 1587 uint16_t reserved_0; 1590 uint16_t version; 1591 uint16_t reserved_1; 1592 uint16_t frame_payload_size; 1593 uint16_t execution_throttle; 1594 uint16_t exchange_count; 1595 uint16_t reserved_2; 1600 uint16_t login_retry_count; 1601 uint16_t reserved_3; 1602 uint16_t interrupt_delay_timer; 1603 uint16_t login_timeout; 1609 uint16_t reserved_4[4]; 1613 uint16_t reserved_5[5]; 1616 uint16_t reserved_6[24]; 1619 uint16_t ex_version; 1622 uint16_t pri_fcf_vlan_id; 1624 uint16_t reserved_6_2[7]; 1626 uint16_t reserved_6_3[14]; 1629 uint16_t reserved_7[32]; 1668 uint16_t boot_lun_number; 1669 uint16_t reserved_8; 1672 uint16_t alt1_boot_lun_number; 1673 uint16_t reserved_9; 1676 uint16_t alt2_boot_lun_number; 1677 uint16_t reserved_10; 1680 uint16_t alt3_boot_lun_number; 1681 uint16_t reserved_11; 1697 uint16_t reserved_13; 1699 uint16_t boot_id_number; 1700 uint16_t reserved_14; 1702 uint16_t max_luns_per_target; 1703 uint16_t reserved_15; 1705 uint16_t port_down_retry_count; 1706 uint16_t link_down_timeout; 1709 uint16_t fcode_parameter; 1711 uint16_t reserved_16[3]; 1715 uint16_t reserved_18[5]; 1717 uint16_t reserved_20[8]; 1721 uint16_t reserved_22[3]; 1733 uint16_t reserved_24[4]; 1736 uint16_t reserved_25[32]; 1742 uint16_t feature_mask_l; 1743 uint16_t feature_mask_h; 1744 uint16_t reserved_26[2]; 1746 uint16_t subsystem_vendor_id; 1747 uint16_t subsystem_device_id; 1758 uint16_t version; 1759 uint16_t reserved_1; 1761 uint16_t frame_payload_size; 1762 uint16_t execution_throttle; 1763 uint16_t exchange_count; 1765 uint16_t reserved_2; 1770 uint16_t response_q_inpointer; 1771 uint16_t request_q_outpointer; 1773 uint16_t login_retry_count; 1775 uint16_t prio_request_q_outpointer; 1777 uint16_t response_q_length; 1778 uint16_t request_q_length; 1780 uint16_t reserved_3; 1782 uint16_t prio_request_q_length; 1790 uint16_t atio_q_inpointer; 1791 uint16_t atio_q_length; 1794 uint16_t interrupt_delay_timer; /* 100us increments. */ 1795 uint16_t login_timeout; 1859 uint16_t count; 1860 uint16_t options; 1866 uint16_t ex_version; 1869 uint16_t pri_fcf_vlan_id; 1871 uint16_t reserved_2[7]; 1873 uint16_t reserved_3[14]; 1887 uint16_t flags; /* Describes parameter(s) in FCP */ 1903 uint16_t lun_beg; /* 1st lun num of lun range. */ 1905 uint16_t lun_end; /* 2nd lun num of lun range. */ 1913 uint16_t version; /* 1: Initial version */ 1914 uint16_t length; /* config data size in num bytes */ 1915 uint16_t checksum; /* config data bytes checksum */ 1916 uint16_t num_entries; /* Number of entries */ 1917 uint16_t size_of_entry; /* Size of each entry in num bytes */
|
H A D | qla_gbl.h | 44 extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); 58 extern int qla2x00_get_thermal_temp(scsi_qla_host_t *, uint16_t *); 63 uint16_t *); 66 uint16_t *); 69 uint16_t *); 71 uint16_t *); 73 uint16_t *); 125 extern int qla2x00_post_idc_ack_work(struct scsi_qla_host *, uint16_t *); 127 uint16_t *); 129 fc_port_t *, uint16_t *); 131 uint16_t *); 133 fc_port_t *, uint16_t *); 135 uint16_t *); 137 fc_port_t *, uint16_t *); 154 extern void qla83xx_idc_lock(scsi_qla_host_t *, uint16_t); 155 extern void qla83xx_idc_unlock(scsi_qla_host_t *, uint16_t); 178 extern int qla2x00_send_change_request(scsi_qla_host_t *, uint16_t, uint16_t); 200 extern void qla2x00_alert_all_vps(struct rsp_que *, uint16_t *); 202 uint16_t *); 209 extern uint16_t qla2x00_calc_iocbs_32(uint16_t); 210 extern uint16_t qla2x00_calc_iocbs_64(uint16_t); 211 extern void qla2x00_build_scsi_iocbs_32(srb_t *, cmd_entry_t *, uint16_t); 212 extern void qla2x00_build_scsi_iocbs_64(srb_t *, cmd_entry_t *, uint16_t); 216 uint16_t, uint64_t, uint8_t); 225 uint32_t *, uint16_t, struct qla_tgt_cmd *); 227 uint32_t *, uint16_t, struct qla_tgt_cmd *); 229 uint32_t *, uint16_t, struct qla_tgt_cmd *); 248 qla2x00_get_fw_options(scsi_qla_host_t *, uint16_t *); 251 qla2x00_set_fw_options(scsi_qla_host_t *, uint16_t *); 272 qla2x00_get_adapter_id(scsi_qla_host_t *, uint16_t *, uint8_t *, uint8_t *, 273 uint8_t *, uint16_t *, uint16_t *); 276 qla2x00_get_retry_cnt(scsi_qla_host_t *, uint8_t *, uint8_t *, uint16_t *); 279 qla2x00_init_firmware(scsi_qla_host_t *, uint16_t); 288 qla2x00_get_firmware_state(scsi_qla_host_t *, uint16_t *); 291 qla2x00_get_port_name(scsi_qla_host_t *, uint16_t, uint8_t *, uint8_t); 300 qla2x00_send_sns(scsi_qla_host_t *, dma_addr_t, uint16_t, size_t); 303 qla2x00_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, 304 uint16_t *, uint8_t); 306 qla24xx_login_fabric(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t, 307 uint16_t *, uint8_t); 310 qla2x00_login_local_device(scsi_qla_host_t *, fc_port_t *, uint16_t *, 314 qla2x00_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t); 317 qla24xx_fabric_logout(scsi_qla_host_t *, uint16_t, uint8_t, uint8_t, uint8_t); 323 qla2x00_get_id_list(scsi_qla_host_t *, void *, dma_addr_t, uint16_t *); 326 qla2x00_get_resource_cnts(scsi_qla_host_t *, uint16_t *, uint16_t *, 327 uint16_t *, uint16_t *, uint16_t *, uint16_t *); 333 qla2x00_get_link_status(scsi_qla_host_t *, uint16_t, struct link_statistics *, 353 qla2x00_write_serdes_word(scsi_qla_host_t *, uint16_t, uint16_t); 355 qla2x00_read_serdes_word(scsi_qla_host_t *, uint16_t, uint16_t *); 363 qla2x00_set_serdes_params(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t); 369 qla2x00_enable_eft_trace(scsi_qla_host_t *, dma_addr_t, uint16_t); 374 qla2x00_enable_fce_trace(scsi_qla_host_t *, dma_addr_t, uint16_t , uint16_t *, 388 uint16_t, uint16_t, uint16_t, uint16_t); 392 uint16_t, uint16_t, uint16_t, uint16_t); 395 qla2x00_set_idma_speed(scsi_qla_host_t *, uint16_t, uint16_t, uint16_t *); 397 extern int qla84xx_verify_chip(struct scsi_qla_host *, uint16_t *); 399 extern int qla81xx_idc_ack(scsi_qla_host_t *, uint16_t *); 411 qla2x00_get_xgmac_stats(scsi_qla_host_t *, dma_addr_t, uint16_t, uint16_t *); 414 qla2x00_get_dcbx_params(scsi_qla_host_t *, dma_addr_t, uint16_t); 423 qla81xx_write_mpi_register(scsi_qla_host_t *, uint16_t *); 425 extern int qla24xx_set_fcp_prio(scsi_qla_host_t *, uint16_t, uint16_t, 426 uint16_t *); 428 qla81xx_get_port_config(scsi_qla_host_t *, uint16_t *); 431 qla81xx_set_port_config(scsi_qla_host_t *, uint16_t *); 452 extern const char *qla2x00_get_link_speed_str(struct qla_hw_data *, uint16_t); 480 bool qla2x00_check_reg16_for_disconnect(scsi_qla_host_t *, uint16_t); 494 extern int qla83xx_access_control(scsi_qla_host_t *, uint16_t, uint32_t, 495 uint32_t, uint16_t *); 580 extern int qla2x00_loopback_test(scsi_qla_host_t *, struct msg_echo_lb *, uint16_t *); 582 struct msg_echo_lb *, uint16_t *); 597 extern int qla25xx_create_req_que(struct qla_hw_data *, uint16_t, uint8_t, 598 uint16_t, int, uint8_t); 599 extern int qla25xx_create_rsp_que(struct qla_hw_data *, uint16_t, uint8_t, 600 uint16_t, int); 604 extern uint16_t qla24xx_rd_req_reg(struct qla_hw_data *, uint16_t); 605 extern uint16_t qla25xx_rd_req_reg(struct qla_hw_data *, uint16_t); 606 extern void qla24xx_wrt_req_reg(struct qla_hw_data *, uint16_t, uint16_t); 607 extern void qla25xx_wrt_req_reg(struct qla_hw_data *, uint16_t, uint16_t); 608 extern void qla25xx_wrt_rsp_reg(struct qla_hw_data *, uint16_t, uint16_t); 609 extern void qla24xx_wrt_rsp_reg(struct qla_hw_data *, uint16_t, uint16_t); 627 extern int qlafx00_init_firmware(scsi_qla_host_t *, uint16_t); 632 extern int qlafx00_fx_disc(scsi_qla_host_t *, fc_port_t *, uint16_t); 715 extern int qla81xx_set_led_config(scsi_qla_host_t *, uint16_t *); 716 extern int qla81xx_get_led_config(scsi_qla_host_t *, uint16_t *); 726 extern int qla84xx_reset_chip(scsi_qla_host_t *, uint16_t); 729 extern int qla2x00_get_idma_speed(scsi_qla_host_t *, uint16_t, 730 uint16_t *, uint16_t *); 764 extern void qla82xx_mbx_completion(scsi_qla_host_t *, uint16_t);
|
H A D | qla_dbg.h | 15 uint16_t hccr; 16 uint16_t pbiu_reg[8]; 17 uint16_t risc_host_reg[8]; 18 uint16_t mailbox_reg[32]; 19 uint16_t resp_dma_reg[32]; 20 uint16_t dma_reg[48]; 21 uint16_t risc_hdw_reg[16]; 22 uint16_t risc_gp0_reg[16]; 23 uint16_t risc_gp1_reg[16]; 24 uint16_t risc_gp2_reg[16]; 25 uint16_t risc_gp3_reg[16]; 26 uint16_t risc_gp4_reg[16]; 27 uint16_t risc_gp5_reg[16]; 28 uint16_t risc_gp6_reg[16]; 29 uint16_t risc_gp7_reg[16]; 30 uint16_t frame_buf_hdw_reg[64]; 31 uint16_t fpm_b0_reg[64]; 32 uint16_t fpm_b1_reg[64]; 33 uint16_t risc_ram[0xf800]; 34 uint16_t stack_ram[0x1000]; 35 uint16_t data_ram[1]; 39 uint16_t hccr; 40 uint16_t pbiu_reg[8]; 41 uint16_t mailbox_reg[32]; 42 uint16_t dma_reg[48]; 43 uint16_t risc_hdw_reg[16]; 44 uint16_t risc_gp0_reg[16]; 45 uint16_t risc_gp1_reg[16]; 46 uint16_t risc_gp2_reg[16]; 47 uint16_t risc_gp3_reg[16]; 48 uint16_t risc_gp4_reg[16]; 49 uint16_t risc_gp5_reg[16]; 50 uint16_t risc_gp6_reg[16]; 51 uint16_t risc_gp7_reg[16]; 52 uint16_t frame_buf_hdw_reg[16]; 53 uint16_t fpm_b0_reg[64]; 54 uint16_t fpm_b1_reg[64]; 55 uint16_t risc_ram[0xf000]; 62 uint16_t mailbox_reg[32]; 97 uint16_t mailbox_reg[32]; 136 uint16_t mailbox_reg[32]; 175 uint16_t mailbox_reg[32];
|
H A D | qla_bsg.h | 139 uint16_t cmd; 144 uint16_t rsrvd; 155 uint16_t bus; 156 uint16_t target; 166 uint16_t dest_type; 168 uint16_t lun; 169 uint16_t padding[2]; 174 uint16_t mode; 175 uint16_t speed; 184 uint16_t offset; 185 uint16_t device; 186 uint16_t option; 210 uint16_t device; 211 uint16_t offset; 212 uint16_t option; 213 uint16_t length; 224 uint16_t cmd; 225 uint16_t addr; 226 uint16_t val; 230 uint16_t cmd;
|
H A D | qla_def.h | 95 #define MSB(x) ((uint8_t)((uint16_t)(x) >> 8)) 97 #define LSW(x) ((uint16_t)(x)) 98 #define MSW(x) ((uint16_t)((uint32_t)(x) >> 16)) 318 uint16_t flags; 322 uint16_t data[2]; 391 uint16_t flags; 392 uint16_t type; 424 uint16_t req_sg_cnt; 425 uint16_t rsp_sg_cnt; 426 uint16_t options; 435 uint16_t flash_address; /* Flash BIOS address */ 436 uint16_t flash_data; /* Flash BIOS data */ 437 uint16_t unused_1[1]; /* Gap */ 438 uint16_t ctrl_status; /* Control/Status */ 443 uint16_t ictrl; /* Interrupt control */ 447 uint16_t istatus; /* Interrupt status */ 450 uint16_t semaphore; /* Semaphore */ 451 uint16_t nvram; /* NVRAM register. */ 465 uint16_t mailbox0; 466 uint16_t mailbox1; 467 uint16_t mailbox2; 468 uint16_t mailbox3; 469 uint16_t mailbox4; 470 uint16_t mailbox5; 471 uint16_t mailbox6; 472 uint16_t mailbox7; 473 uint16_t unused_2[59]; /* Gap */ 477 uint16_t req_q_in; /* In-Pointer */ 478 uint16_t req_q_out; /* Out-Pointer */ 480 uint16_t rsp_q_in; /* In-Pointer */ 481 uint16_t rsp_q_out; /* Out-Pointer */ 489 uint16_t host_semaphore; 490 uint16_t unused_3[17]; /* Gap */ 491 uint16_t mailbox0; 492 uint16_t mailbox1; 493 uint16_t mailbox2; 494 uint16_t mailbox3; 495 uint16_t mailbox4; 496 uint16_t mailbox5; 497 uint16_t mailbox6; 498 uint16_t mailbox7; 499 uint16_t mailbox8; 500 uint16_t mailbox9; 501 uint16_t mailbox10; 502 uint16_t mailbox11; 503 uint16_t mailbox12; 504 uint16_t mailbox13; 505 uint16_t mailbox14; 506 uint16_t mailbox15; 507 uint16_t mailbox16; 508 uint16_t mailbox17; 509 uint16_t mailbox18; 510 uint16_t mailbox19; 511 uint16_t mailbox20; 512 uint16_t mailbox21; 513 uint16_t mailbox22; 514 uint16_t mailbox23; 515 uint16_t mailbox24; 516 uint16_t mailbox25; 517 uint16_t mailbox26; 518 uint16_t mailbox27; 519 uint16_t mailbox28; 520 uint16_t mailbox29; 521 uint16_t mailbox30; 522 uint16_t mailbox31; 523 uint16_t fb_cmd; 524 uint16_t unused_4[10]; /* Gap */ 528 uint16_t fpm_diag_config; 529 uint16_t unused_5[0x4]; /* Gap */ 530 uint16_t risc_hw; 531 uint16_t unused_5_1; /* Gap */ 532 uint16_t pcr; /* Processor Control Register. */ 533 uint16_t unused_6[0x5]; /* Gap */ 534 uint16_t mctr; /* Memory Configuration and Timing. */ 535 uint16_t unused_7[0x3]; /* Gap */ 536 uint16_t fb_cmd_2100; /* Unused on 23XX */ 537 uint16_t unused_8[0x3]; /* Gap */ 538 uint16_t hccr; /* Host command & control register. */ 551 uint16_t unused_9[5]; /* Gap */ 552 uint16_t gpiod; /* GPIO Data register. */ 553 uint16_t gpioe; /* GPIO Enable register. */ 565 uint16_t unused_10[8]; /* Gap */ 566 uint16_t mailbox8; 567 uint16_t mailbox9; 568 uint16_t mailbox10; 569 uint16_t mailbox11; 570 uint16_t mailbox12; 571 uint16_t mailbox13; 572 uint16_t mailbox14; 573 uint16_t mailbox15; 574 uint16_t mailbox16; 575 uint16_t mailbox17; 576 uint16_t mailbox18; 577 uint16_t mailbox19; 578 uint16_t mailbox20; 579 uint16_t mailbox21; 580 uint16_t mailbox22; 581 uint16_t mailbox23; /* Also probe reg. */ 709 uint16_t mb[MAILBOX_REGISTER_COUNT]; 1059 uint16_t execution_throttle; 1060 uint16_t execution_count; 1063 uint16_t resource_allocation; 1064 uint16_t current_allocation; 1065 uint16_t queue_head; 1066 uint16_t queue_tail; 1067 uint16_t transmit_execution_list_next; 1068 uint16_t transmit_execution_list_previous; 1069 uint16_t common_features; 1070 uint16_t total_concurrent_sequences; 1071 uint16_t RO_by_information_category; 1074 uint16_t receive_data_size; 1075 uint16_t concurrent_sequences; 1076 uint16_t open_sequences_per_exchange; 1077 uint16_t lun_abort_flags; 1078 uint16_t lun_stop_flags; 1079 uint16_t stop_queue_head; 1080 uint16_t stop_queue_tail; 1081 uint16_t port_retry_timer; 1082 uint16_t next_sequence_id; 1083 uint16_t frame_count; 1084 uint16_t PRLI_payload_length; 1089 uint16_t loop_id; 1090 uint16_t extended_lun_info_list_pointer; 1091 uint16_t extended_lun_stop_list_pointer; 1145 uint16_t frame_payload_size; 1146 uint16_t max_iocb_allocation; 1147 uint16_t execution_throttle; 1151 uint16_t hard_address; 1156 uint16_t request_q_outpointer; 1157 uint16_t response_q_inpointer; 1158 uint16_t request_q_length; 1159 uint16_t response_q_length; 1163 uint16_t lun_enables; 1166 uint16_t timeout; 1288 uint16_t frame_payload_size; 1289 uint16_t max_iocb_allocation; 1290 uint16_t execution_throttle; 1294 uint16_t hard_address; 1414 uint16_t max_luns_per_target; 1436 uint16_t alt1_boot_lun_number; 1438 uint16_t alt2_boot_lun_number; 1440 uint16_t alt3_boot_lun_number; 1442 uint16_t alt4_boot_lun_number; 1444 uint16_t alt5_boot_lun_number; 1446 uint16_t alt6_boot_lun_number; 1448 uint16_t alt7_boot_lun_number; 1484 uint16_t subsystem_vendor_id_2200; 1487 uint16_t subsystem_device_id_2200; 1519 uint16_t extended; 1545 uint16_t lun; /* SCSI LUN */ 1546 uint16_t control_flags; /* Control flags. */ 1552 uint16_t reserved_1; 1553 uint16_t timeout; /* Command timeout. */ 1554 uint16_t dseg_count; /* Data segment count. */ 1576 uint16_t lun; /* SCSI LUN */ 1577 uint16_t control_flags; /* Control flags. */ 1578 uint16_t reserved_1; 1579 uint16_t timeout; /* Command timeout. */ 1580 uint16_t dseg_count; /* Data segment count. */ 1667 uint16_t runt_blk_guard; /* Guard value for runt block (tape 1674 uint16_t reserved_2; 1675 uint16_t reserved_3; 1685 uint16_t reserved_1; 1717 uint16_t scsi_status; /* SCSI status. */ 1718 uint16_t comp_status; /* Completion status. */ 1719 uint16_t state_flags; /* State flags. */ 1720 uint16_t status_flags; /* Status flags. */ 1721 uint16_t rsp_info_len; /* Response Info Length. */ 1722 uint16_t req_sense_length; /* Request sense data length. */ 1832 uint16_t handle[30]; /* System handles. */ 1854 uint16_t sequence_number; /* Sequence number of event */ 1855 uint16_t lun; /* SCSI LUN */ 1870 uint16_t status; 1871 uint16_t control_flags; /* Control flags. */ 1872 uint16_t reserved2; 1873 uint16_t timeout; 1874 uint16_t cmd_dsd_count; 1875 uint16_t total_dsd_count; 1878 uint16_t rx_id; 1879 uint16_t reserved3; 1912 uint16_t status; 1913 uint16_t state_flags; 1914 uint16_t status_flags; 1918 uint16_t mb0; 1919 uint16_t mb1; 1920 uint16_t mb2; 1921 uint16_t mb3; 1922 uint16_t mb6; 1923 uint16_t mb7; 1924 uint16_t mb9; 1925 uint16_t mb10; 1969 uint16_t fp_speed; 2000 uint16_t loop_id; 2001 uint16_t old_loop_id; 2003 uint16_t tgt_id; 2004 uint16_t old_tgt_id; 2009 uint16_t fp_speed; 2027 uint16_t port_id; 2162 uint16_t type; 2163 uint16_t len; 2185 uint16_t type; 2186 uint16_t len; 2249 uint16_t type; 2250 uint16_t len; 2280 uint16_t type; 2281 uint16_t len; 2333 uint16_t command; 2334 uint16_t max_rsp_size; 2361 uint16_t reserved2; 2441 uint16_t response; 2442 uint16_t residual; 2506 uint16_t speeds; 2507 uint16_t speed; 2558 uint16_t buffer_length; 2559 uint16_t reserved_1; 2561 uint16_t subcommand_length; 2562 uint16_t reserved_2; 2563 uint16_t subcommand; 2564 uint16_t size; 2590 uint16_t loop_id; /* ISP23XX -- 6 bytes. */ 2591 uint16_t reserved_1; /* ISP24XX -- 8 bytes. */ 2599 uint16_t loop_id; 2648 int (*fabric_login) (struct scsi_qla_host *, uint16_t, uint8_t, 2649 uint8_t, uint8_t, uint16_t *, uint8_t); 2650 int (*fabric_logout) (struct scsi_qla_host *, uint16_t, uint8_t, 2653 uint16_t (*calc_req_entries) (uint16_t); 2654 void (*build_iocbs) (srb_t *, cmd_entry_t *, uint16_t); 2701 uint16_t entry; 2735 uint16_t mb[QLA_IDC_ACK_REGS]; 2813 uint16_t ring_index; 2814 uint16_t out_ptr; 2815 uint16_t *in_ptr; /* queue shadow in index */ 2816 uint16_t length; 2817 uint16_t options; 2818 uint16_t rid; 2819 uint16_t id; 2820 uint16_t vp_idx; 2829 uint16_t length_fx00; 2840 uint16_t ring_index; 2841 uint16_t in_ptr; 2842 uint16_t *out_ptr; /* queue shadow out index */ 2843 uint16_t cnt; 2844 uint16_t length; 2845 uint16_t options; 2846 uint16_t rid; 2847 uint16_t id; 2848 uint16_t qos; 2849 uint16_t vp_idx; 2853 uint16_t num_outstanding_cmds; 2858 uint16_t length_fx00; 2886 uint16_t atio_ring_index; /* Current index. */ 2887 uint16_t atio_q_length; 2893 uint16_t current_handle; 2898 uint16_t saved_exchange_count; 3003 uint16_t msix_count; 3012 uint16_t nvram_npiv_size; 3014 uint16_t switch_cap; 3026 uint16_t max_loop_id; 3027 uint16_t max_fibre_devices; /* Maximum number of targets */ 3029 uint16_t fb_rev; 3030 uint16_t min_external_loopid; /* First external loop Id */ 3040 uint16_t link_data_rate; /* F/W operating speed */ 3178 uint16_t nvram_size; 3179 uint16_t nvram_base; 3181 uint16_t vpd_size; 3182 uint16_t vpd_base; 3185 uint16_t loop_reset_delay; 3188 uint16_t r_a_tov; 3239 uint16_t mailbox_out[MAILBOX_REGISTER_COUNT]; 3266 uint16_t fw_major_version; 3267 uint16_t fw_minor_version; 3268 uint16_t fw_subminor_version; 3269 uint16_t fw_attributes; 3270 uint16_t fw_attributes_h; 3271 uint16_t fw_attributes_ext[2]; 3278 uint16_t fw_xcb_count; 3279 uint16_t fw_iocb_count; 3284 uint16_t fw_options[16]; /* slots: 1,2,3,10,11 */ 3286 uint16_t fw_seriallink_options24[4]; 3324 uint16_t fce_mb[8]; 3329 uint16_t chip_revision; 3331 uint16_t product_id[4]; 3387 uint16_t beacon_blink_led; 3394 uint16_t zio_mode; 3395 uint16_t zio_timer; 3402 uint16_t num_vhosts; /* number of vports created */ 3403 uint16_t num_vsans; /* number of vsan created */ 3404 uint16_t max_npiv_vports; /* 63 or 125 per topoloty */ 3436 uint16_t portnum; /* port number */ 3441 uint16_t gbl_dsd_inuse; 3442 uint16_t gbl_dsd_avail; 3553 uint16_t loop_id; /* Host adapter loop id */ 3554 uint16_t self_login_loop_id; /* host adapter loop id 3564 uint16_t mgmt_svr_loop_id; 3580 uint16_t fcoe_vlan_id; 3581 uint16_t fcoe_fcf_idx; 3597 uint16_t vp_idx; /* vport ID */ 3611 uint16_t vp_err_state; 3612 uint16_t vp_prev_err_state;
|
H A D | qla_target.h | 119 : (uint16_t)(iocb)->u.isp2x.target.id.standard) 139 uint16_t lun; 142 uint16_t status_modifier; 143 uint16_t status; 144 uint16_t task_flags; 145 uint16_t seq_id; 146 uint16_t srr_rx_id; 148 uint16_t srr_ui; 152 uint16_t srr_ox_id; 157 uint16_t nport_handle; 158 uint16_t reserved_2; 159 uint16_t flags; 162 uint16_t srr_rx_id; 163 uint16_t status; 168 uint16_t srr_ui; 169 uint16_t srr_ox_id; 176 uint16_t wd3_lo; 182 uint16_t nport_handle; 183 uint16_t resv2; 194 uint16_t reserved_7; 195 uint16_t ox_id; 216 uint16_t flags; 217 uint16_t resp_code; 218 uint16_t status; 219 uint16_t task_flags; 220 uint16_t seq_id; 221 uint16_t srr_rx_id; 223 uint16_t srr_ui; 224 uint16_t srr_flags; 225 uint16_t srr_reject_code; 232 uint16_t nport_handle; 233 uint16_t reserved_1; 234 uint16_t flags; 235 uint16_t srr_rx_id; 236 uint16_t status; 241 uint16_t srr_ui; 242 uint16_t srr_flags; 252 uint16_t ox_id; 283 uint16_t rx_id; 284 uint16_t flags; 285 uint16_t status; 286 uint16_t timeout; /* 0 = 30 seconds, 0xFFFF = disable */ 287 uint16_t dseg_count; /* Data segment count. */ 290 uint16_t reserved_1[3]; 291 uint16_t scsi_status; 336 uint16_t seq_cnt; 338 uint16_t rx_id; 349 uint16_t seq_cnt; 352 uint16_t rx_id; 353 uint16_t ox_id; 398 uint16_t entry_hdr; 403 uint16_t rx_id; 404 uint16_t flags; 405 uint16_t status; 412 uint16_t lun; 414 uint16_t reserved_32[6]; 415 uint16_t ox_id; 418 uint16_t entry_hdr; 450 uint16_t nport_handle; 452 uint16_t timeout; 453 uint16_t dseg_count; /* Data segment count. */ 461 uint16_t reserved1; 465 uint16_t scsi_status; 476 uint16_t sense_length; 477 uint16_t flags; 480 uint16_t scsi_status; 481 uint16_t response_len; 482 uint16_t reserved; 498 uint16_t status; 499 uint16_t timeout; 500 uint16_t dseg_count; /* Data segment count. */ 504 uint16_t reserved2; 505 uint16_t flags; 507 uint16_t ox_id; 508 uint16_t reserved3; 547 uint16_t nport_handle; /* N_PORT handle. */ 550 uint16_t dseg_count; /* Data segment count. */ 558 uint16_t reserved2; 562 uint16_t scsi_status; 568 uint16_t crc_context_len; /* Data segment length. */ 569 uint16_t reserved_1; /* MUST be set to 0. */ 580 uint16_t status; 581 uint16_t timeout; /* Command timeout. */ 582 uint16_t dseg_count; /* Data segment count. */ 584 uint16_t state_flags; 588 uint16_t reserved2; 589 uint16_t flags; 591 uint16_t ox_id; 593 uint16_t runt_guard; /* reported runt blk guard */ 616 uint16_t nport_handle; 630 uint16_t reserved; 635 uint16_t rx_id; 636 uint16_t ox_id; 637 uint16_t high_seq_cnt; 638 uint16_t low_seq_cnt; 662 uint16_t reserved_1; 663 uint16_t nport_handle; 664 uint16_t control_flags; 692 uint16_t compl_status; 695 uint16_t nport_handle; 696 uint16_t reserved_1; 734 void *, uint8_t *, uint16_t); 735 void (*update_sess)(struct qla_tgt_sess *, port_id_t, uint16_t, bool); 737 const uint16_t); 824 uint16_t loop_id; 825 uint16_t reserved; 903 uint16_t loop_id; 962 uint16_t loop_id; /* to save extra sess dereferences */ 1037 uint16_t rq_result; 1038 uint16_t scsi_status; 1044 uint16_t prot_seg_cnt; 1045 uint16_t tot_dsds; 1131 extern void qlt_async_event(uint16_t, struct scsi_qla_host *, uint16_t *);
|
H A D | qla_nx2.h | 222 uint16_t version; 223 uint16_t signature; 224 uint16_t size; 225 uint16_t entries; 226 uint16_t hdr_size; 227 uint16_t checksum; 228 uint16_t init_seq_offset; 229 uint16_t start_seq_offset; 234 uint16_t cmd; 235 uint16_t size; 236 uint16_t count; 237 uint16_t delay; 307 uint16_t poll_timeout; 328 uint16_t tag_value_stride; 329 uint16_t init_tag_value; 335 uint16_t write_value; 343 uint16_t rsvd_1; 372 uint16_t dma_desc_cmd; 406 uint16_t queue_id_stride; 407 uint16_t rsvd_0; 417 uint16_t rsvd_3; 427 uint16_t select_value_stride; 428 uint16_t op_count; 441 uint16_t count; 458 uint16_t count; 592 uint16_t dma_desc_cmd;
|
H A D | qla_mr.h | 27 uint16_t reserved_1; 30 uint16_t timeout; /* Command timeout. */ 64 uint16_t reserved_0; /* OX_ID used by the firmware. */ 68 uint16_t reserved_1; 69 uint16_t state_flags; /* State flags. */ 71 uint16_t reserved_2; 104 uint16_t reserved_1; 105 uint16_t reserved_3; 106 uint16_t reserved_4; 146 uint16_t comp_func_num; 211 uint16_t port_identifier; 215 uint16_t host_option; 218 uint16_t max_luns2tgt; 221 uint16_t risc_option; 222 uint16_t max_frame_len; 223 uint16_t max_iocb_alloc; 224 uint16_t exec_throttle; 232 uint16_t adap_haddr; 236 uint16_t erisc_opt1; 429 uint16_t func_type; 483 uint16_t fw_reset_timer_tick; 485 uint16_t fw_critemp_timer_tick;
|
H A D | qla_inline.h | 17 static inline uint16_t qla24xx_calc_iocbs() 18 qla24xx_calc_iocbs(scsi_qla_host_t *vha, uint16_t dsds) qla24xx_calc_iocbs() 20 uint16_t iocbs; qla24xx_calc_iocbs() 41 static __inline__ uint16_t qla2x00_debounce_register() 42 qla2x00_debounce_register(volatile uint16_t __iomem *addr) qla2x00_debounce_register() 44 volatile uint16_t first; qla2x00_debounce_register() 45 volatile uint16_t second; qla2x00_debounce_register() 109 qla2x00_is_reserved_id(scsi_qla_host_t *vha, uint16_t loop_id) qla2x00_is_reserved_id() 284 qla2x00_set_retry_delay_timestamp(fc_port_t *fcport, uint16_t retry_delay) qla2x00_set_retry_delay_timestamp()
|
H A D | qla_iocb.c | 22 static inline uint16_t qla2x00_get_cmd_direction() 25 uint16_t cflags; qla2x00_get_cmd_direction() 52 uint16_t qla2x00_calc_iocbs_32() 53 qla2x00_calc_iocbs_32(uint16_t dsds) qla2x00_calc_iocbs_32() 55 uint16_t iocbs; qla2x00_calc_iocbs_32() 74 uint16_t qla2x00_calc_iocbs_64() 75 qla2x00_calc_iocbs_64(uint16_t dsds) qla2x00_calc_iocbs_64() 77 uint16_t iocbs; qla2x00_calc_iocbs_64() 148 qla24xx_configure_prot_mode(srb_t *sp, uint16_t *fw_prot_opts) qla24xx_configure_prot_mode() 194 uint16_t tot_dsds) qla2x00_build_scsi_iocbs_32() 196 uint16_t avail_dsds; qla2x00_build_scsi_iocbs_32() 252 uint16_t tot_dsds) qla2x00_build_scsi_iocbs_64() 254 uint16_t avail_dsds; qla2x00_build_scsi_iocbs_64() 321 uint16_t cnt; qla2x00_start_scsi() 322 uint16_t req_cnt; qla2x00_start_scsi() 323 uint16_t tot_dsds; qla2x00_start_scsi() 502 struct rsp_que *rsp, uint16_t loop_id, __qla2x00_marker() 532 mrk->lun = cpu_to_le16((uint16_t)lun); __qla2x00_marker() 544 struct rsp_que *rsp, uint16_t loop_id, uint64_t lun, qla2x00_marker() 582 uint16_t tot_dsds) qla24xx_build_scsi_type_6_iocbs() 683 inline uint16_t qla24xx_calc_dsd_lists() 684 qla24xx_calc_dsd_lists(uint16_t dsds) qla24xx_calc_dsd_lists() 686 uint16_t dsd_lists = 0; qla24xx_calc_dsd_lists() 705 uint16_t tot_dsds) qla24xx_build_scsi_iocbs() 707 uint16_t avail_dsds; qla24xx_build_scsi_iocbs() 774 uint16_t app_tag; 920 uint32_t *dsd, uint16_t tot_dsds, struct qla_tgt_cmd *tc) qla24xx_walk_and_build_sglist_no_difb() 928 uint16_t used_dsds = tot_dsds; qla24xx_walk_and_build_sglist_no_difb() 1039 uint16_t tot_dsds, struct qla_tgt_cmd *tc) qla24xx_walk_and_build_sglist() 1048 uint16_t used_dsds = tot_dsds; qla24xx_walk_and_build_sglist() 1129 uint32_t *dsd, uint16_t tot_dsds, struct qla_tgt_cmd *tc) qla24xx_walk_and_build_prot_sglist() 1139 uint16_t used_dsds = tot_dsds; qla24xx_walk_and_build_prot_sglist() 1229 uint16_t tot_dsds, uint16_t tot_prot_dsds, uint16_t fw_prot_opts) qla24xx_build_scsi_crc_2_iocbs() 1239 uint16_t blk_size; qla24xx_build_scsi_crc_2_iocbs() 1244 uint16_t fcp_cmnd_len; qla24xx_build_scsi_crc_2_iocbs() 1451 uint16_t cnt; qla24xx_start_scsi() 1452 uint16_t req_cnt; qla24xx_start_scsi() 1453 uint16_t tot_dsds; qla24xx_start_scsi() 1602 uint16_t cnt; qla24xx_dif_start_scsi() 1603 uint16_t req_cnt = 0; qla24xx_dif_start_scsi() 1604 uint16_t tot_dsds; qla24xx_dif_start_scsi() 1605 uint16_t tot_prot_dsds; qla24xx_dif_start_scsi() 1606 uint16_t fw_prot_opts = 0; qla24xx_dif_start_scsi() 1825 uint16_t cnt, req_cnt; qla2x00_alloc_iocbs() 1921 uint16_t opts; qla2x00_login_iocb() 2085 uint16_t avail_dsds; qla2x00_ct_iocb() 2089 uint16_t tot_dsds; qla2x00_ct_iocb() 2164 uint16_t avail_dsds; qla24xx_ct_iocb() 2168 uint16_t tot_dsds; qla24xx_ct_iocb() 2249 uint16_t cnt; qla82xx_start_scsi() 2250 uint16_t req_cnt; qla82xx_start_scsi() 2251 uint16_t tot_dsds; qla82xx_start_scsi() 2313 uint16_t more_dsd_lists = 0; qla82xx_start_scsi() 2315 uint16_t i; qla82xx_start_scsi() 2357 cnt = (uint16_t)RD_REG_DWORD_RELAXED( qla82xx_start_scsi() 2468 cnt = (uint16_t)RD_REG_DWORD_RELAXED( qla82xx_start_scsi() 2674 uint16_t avail_dsds; qla25xx_build_bidir_iocb() 2775 uint16_t req_cnt; qla2x00_start_bidir() 2776 uint16_t cnt; qla2x00_start_bidir()
|
H A D | qla_mbx.c | 41 uint16_t command = 0; qla2x00_mailbox_command() 42 uint16_t *iptr; qla2x00_mailbox_command() 43 uint16_t __iomem *optr; qla2x00_mailbox_command() 46 uint16_t __iomem *mbx_reg; qla2x00_mailbox_command() 112 optr = (uint16_t __iomem *)®->isp82.mailbox_in[0]; qla2x00_mailbox_command() 114 optr = (uint16_t __iomem *)®->isp24.mailbox0; qla2x00_mailbox_command() 116 optr = (uint16_t __iomem *)MAILBOX_REG(ha, ®->isp, 0); qla2x00_mailbox_command() 127 (uint16_t __iomem *)MAILBOX_REG(ha, ®->isp, 8); qla2x00_mailbox_command() 224 uint16_t *iptr2; qla2x00_mailbox_command() 249 iptr = (uint16_t *)&ha->mailbox_out[0]; qla2x00_mailbox_command() 267 uint16_t mb0; qla2x00_mailbox_command() 626 qla2x00_get_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) qla2x00_get_fw_options() 674 qla2x00_set_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) qla2x00_set_fw_options() 944 mcp->mb[2] = (uint16_t)handle; qla2x00_abort_command() 945 mcp->mb[3] = (uint16_t)(handle >> 16); qla2x00_abort_command() 946 mcp->mb[6] = (uint16_t)cmd->device->lun; qla2x00_abort_command() 1086 qla2x00_get_adapter_id(scsi_qla_host_t *vha, uint16_t *id, uint8_t *al_pa, qla2x00_get_adapter_id() 1087 uint8_t *area, uint8_t *domain, uint16_t *top, uint16_t *sw_cap) qla2x00_get_adapter_id() 1175 uint16_t *r_a_tov) qla2x00_get_retry_cnt() 1178 uint16_t ratov; qla2x00_get_retry_cnt() 1231 qla2x00_init_firmware(scsi_qla_host_t *vha, uint16_t size) qla2x00_init_firmware() 1569 qla2x00_get_firmware_state(scsi_qla_host_t *vha, uint16_t *states) qla2x00_get_firmware_state() 1629 qla2x00_get_port_name(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t *name, qla2x00_get_port_name() 1817 uint16_t cmd_size, size_t buf_size) qla2x00_send_sns() 1858 qla24xx_login_fabric(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain, qla24xx_login_fabric() 1859 uint8_t area, uint8_t al_pa, uint16_t *mb, uint8_t opt) qla24xx_login_fabric() 1997 qla2x00_login_fabric(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain, qla2x00_login_fabric() 1998 uint8_t area, uint8_t al_pa, uint16_t *mb, uint8_t opt) qla2x00_login_fabric() 2079 uint16_t *mb_ret, uint8_t opt) qla2x00_login_local_device() 2137 qla24xx_fabric_logout(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain, qla24xx_fabric_logout() 2218 qla2x00_fabric_logout(scsi_qla_host_t *vha, uint16_t loop_id, uint8_t domain, qla2x00_fabric_logout() 2317 uint16_t *entries) qla2x00_get_id_list() 2377 qla2x00_get_resource_cnts(scsi_qla_host_t *vha, uint16_t *cur_xchg_cnt, qla2x00_get_resource_cnts() 2378 uint16_t *orig_xchg_cnt, uint16_t *cur_iocb_cnt, qla2x00_get_resource_cnts() 2379 uint16_t *orig_iocb_cnt, uint16_t *max_npiv_vports, uint16_t *max_fcfs) qla2x00_get_resource_cnts() 2508 qla2x00_get_link_status(scsi_qla_host_t *vha, uint16_t loop_id, qla2x00_get_link_status() 2849 qla2x00_write_serdes_word(scsi_qla_host_t *vha, uint16_t addr, uint16_t data) qla2x00_write_serdes_word() 2887 qla2x00_read_serdes_word(scsi_qla_host_t *vha, uint16_t addr, uint16_t *data) qla2x00_read_serdes_word() 3003 qla2x00_set_serdes_params(scsi_qla_host_t *vha, uint16_t sw_em_1g, qla2x00_set_serdes_params() 3004 uint16_t sw_em_2g, uint16_t sw_em_4g) qla2x00_set_serdes_params() 3072 uint16_t buffers) qla2x00_enable_eft_trace() 3149 uint16_t buffers, uint16_t *mb, uint32_t *dwords) qla2x00_enable_fce_trace() 3248 qla2x00_get_idma_speed(scsi_qla_host_t *vha, uint16_t loop_id, qla2x00_get_idma_speed() 3249 uint16_t *port_speed, uint16_t *mb) qla2x00_get_idma_speed() 3291 qla2x00_set_idma_speed(scsi_qla_host_t *vha, uint16_t loop_id, qla2x00_set_idma_speed() 3292 uint16_t port_speed, uint16_t *mb) qla2x00_set_idma_speed() 3341 uint16_t stat = le16_to_cpu(rptid_entry->vp_idx); qla24xx_report_id_acquisition() 3601 qla2x00_send_change_request(scsi_qla_host_t *vha, uint16_t format, qla2x00_send_change_request() 3602 uint16_t vp_idx) qla2x00_send_change_request() 3689 qla84xx_verify_chip(struct scsi_qla_host *vha, uint16_t *status) qla84xx_verify_chip() 3694 uint16_t options; qla84xx_verify_chip() 3920 qla81xx_idc_ack(scsi_qla_host_t *vha, uint16_t *mb) qla81xx_idc_ack() 3930 memcpy(&mcp->mb[1], mb, QLA_IDC_ACK_REGS * sizeof(uint16_t)); qla81xx_idc_ack() 4093 uint16_t *str; qla82xx_set_driver_version() 4139 uint16_t dwlen; qla25xx_set_driver_version() 4192 qla2x00_read_asic_temperature(scsi_qla_host_t *vha, uint16_t *temp) qla2x00_read_asic_temperature() 4226 uint16_t dev, uint16_t off, uint16_t len, uint16_t opt) qla2x00_read_sfp() 4273 uint16_t dev, uint16_t off, uint16_t len, uint16_t opt) qla2x00_write_sfp() 4320 uint16_t size_in_bytes, uint16_t *actual_size) qla2x00_get_xgmac_stats() 4361 uint16_t size) qla2x00_get_dcbx_params() 4433 uint16_t *mresp) qla2x00_loopback_test() 4495 uint16_t *mresp) qla2x00_echo_test() 4557 qla84xx_reset_chip(scsi_qla_host_t *vha, uint16_t enable_diagnostic) qla84xx_reset_chip() 4618 qla81xx_write_mpi_register(scsi_qla_host_t *vha, uint16_t *mb) qla81xx_write_mpi_register() 4622 uint16_t mb0 = 0; qla81xx_write_mpi_register() 4716 qla81xx_get_port_config(scsi_qla_host_t *vha, uint16_t *mb) qla81xx_get_port_config() 4742 memcpy(mb, &mcp->mb[1], sizeof(uint16_t) * 4); qla81xx_get_port_config() 4751 qla81xx_set_port_config(scsi_qla_host_t *vha, uint16_t *mb) qla81xx_set_port_config() 4762 memcpy(&mcp->mb[1], mb, sizeof(uint16_t) * 4); qla81xx_set_port_config() 4781 qla24xx_set_fcp_prio(scsi_qla_host_t *vha, uint16_t loop_id, uint16_t priority, qla24xx_set_fcp_prio() 4782 uint16_t *mb) qla24xx_set_fcp_prio() 4826 qla2x00_get_thermal_temp(scsi_qla_host_t *vha, uint16_t *temp) qla2x00_get_thermal_temp() 5090 qla81xx_set_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) qla81xx_set_led_config() 5134 qla81xx_get_led_config(scsi_qla_host_t *vha, uint16_t *led_cfg) qla81xx_get_led_config() 5373 qla83xx_access_control(scsi_qla_host_t *vha, uint16_t options, qla83xx_access_control() 5374 uint32_t start_addr, uint32_t end_addr, uint16_t *sector_size) qla83xx_access_control()
|
H A D | qla_isr.c | 16 static void qla2x00_mbx_completion(scsi_qla_host_t *, uint16_t); 39 uint16_t hccr; qla2100_intr_handler() 40 uint16_t mb[4]; qla2100_intr_handler() 136 qla2x00_check_reg16_for_disconnect(scsi_qla_host_t *vha, uint16_t reg) qla2x00_check_reg16_for_disconnect() 158 uint16_t hccr; qla2300_intr_handler() 159 uint16_t mb[4]; qla2300_intr_handler() 262 qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) qla2x00_mbx_completion() 264 uint16_t cnt; qla2x00_mbx_completion() 266 uint16_t __iomem *wptr; qla2x00_mbx_completion() 281 wptr = (uint16_t __iomem *)MAILBOX_REG(ha, reg, 1); qla2x00_mbx_completion() 285 wptr = (uint16_t __iomem *)MAILBOX_REG(ha, reg, 8); qla2x00_mbx_completion() 297 qla81xx_idc_event(scsi_qla_host_t *vha, uint16_t aen, uint16_t descr) qla81xx_idc_event() 304 uint16_t __iomem *wptr; qla81xx_idc_event() 305 uint16_t cnt, timeout, mb[QLA_IDC_ACK_REGS]; qla81xx_idc_event() 309 wptr = (uint16_t __iomem *)®24->mailbox1; qla81xx_idc_event() 311 wptr = (uint16_t __iomem *)®82->mailbox_out[1]; qla81xx_idc_event() 359 qla2x00_get_link_speed_str(struct qla_hw_data *ha, uint16_t speed) qla2x00_get_link_speed_str() 377 qla83xx_handle_8200_aen(scsi_qla_host_t *vha, uint16_t *mb) qla83xx_handle_8200_aen() 451 uint16_t peg_fw_state, nw_interface_link_up; qla83xx_handle_8200_aen() 452 uint16_t nw_interface_signal_detect, sfp_status; qla83xx_handle_8200_aen() 453 uint16_t htbt_counter, htbt_monitor_enable; qla83xx_handle_8200_aen() 454 uint16_t sfp_additonal_info, sfp_multirate; qla83xx_handle_8200_aen() 455 uint16_t sfp_tx_fault, link_speed, dcbx_status; qla83xx_handle_8200_aen() 569 qla2x00_async_event(scsi_qla_host_t *vha, struct rsp_que *rsp, uint16_t *mb) qla2x00_async_event() 571 uint16_t handle_cnt; qla2x00_async_event() 572 uint16_t cnt, mbx; qla2x00_async_event() 1193 uint16_t index; qla2x00_get_sp_from_handle() 1232 uint16_t *data; qla2x00_mbx_iocb_entry() 1233 uint16_t status; qla2x00_mbx_iocb_entry() 1317 uint16_t comp_status; qla2x00_ct_entry() 1374 uint16_t comp_status; qla24xx_els_ct_entry() 1459 uint16_t *data; qla24xx_logio_entry() 1605 uint16_t handle_cnt; qla2x00_process_response_queue() 1606 uint16_t cnt; qla2x00_process_response_queue() 1734 uint16_t e_app_tag, a_app_tag; qla2x00_handle_dif_error() 1735 uint16_t e_guard, a_guard; qla2x00_handle_dif_error() 1741 a_guard = le16_to_cpu(*(uint16_t *)(ap + 2)); qla2x00_handle_dif_error() 1742 a_app_tag = le16_to_cpu(*(uint16_t *)(ap + 0)); qla2x00_handle_dif_error() 1744 e_guard = le16_to_cpu(*(uint16_t *)(ep + 2)); qla2x00_handle_dif_error() 1745 e_app_tag = le16_to_cpu(*(uint16_t *)(ep + 0)); qla2x00_handle_dif_error() 1854 uint16_t comp_status; qla25xx_process_bidir_status_iocb() 1855 uint16_t scsi_status; qla25xx_process_bidir_status_iocb() 1856 uint16_t thread_id; qla25xx_process_bidir_status_iocb() 2007 uint16_t comp_status; qla2x00_status_entry() 2008 uint16_t scsi_status; qla2x00_status_entry() 2009 uint16_t ox_id; qla2x00_status_entry() 2017 uint16_t que; qla2x00_status_entry() 2021 uint16_t state_flags = 0; qla2x00_status_entry() 2022 uint16_t retry_delay = 0; qla2x00_status_entry() 2422 uint16_t que = MSW(pkt->handle); qla2x00_error_entry() 2459 qla24xx_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) qla24xx_mbx_completion() 2461 uint16_t cnt; qla24xx_mbx_completion() 2463 uint16_t __iomem *wptr; qla24xx_mbx_completion() 2478 wptr = (uint16_t __iomem *)®->mailbox1; qla24xx_mbx_completion() 2670 uint16_t mb[8]; qla24xx_intr_handler() 2840 uint16_t mb[8]; qla24xx_msix_default()
|
H A D | qla_sup.c | 25 uint16_t data; qla2x00_lock_nvram_access() 72 qla2x00_nv_write(struct qla_hw_data *ha, uint16_t data) qla2x00_nv_write() 103 static uint16_t qla2x00_nvram_request() 108 uint16_t data = 0; qla2x00_nvram_request() 109 uint16_t reg_data; qla2x00_nvram_request() 152 static uint16_t qla2x00_get_nvram_word() 155 uint16_t data; qla2x00_get_nvram_word() 186 qla2x00_write_nvram_word(struct qla_hw_data *ha, uint32_t addr, uint16_t data) qla2x00_write_nvram_word() 189 uint16_t word; qla2x00_write_nvram_word() 244 uint16_t data, uint32_t tmo) qla2x00_write_nvram_word_tmo() 247 uint16_t word; qla2x00_write_nvram_word_tmo() 311 uint16_t wprot, wprot_old; qla2x00_clear_nvram_protection() 550 uint16_t cnt, chksum, *wptr; qla2xxx_find_flt_start() 611 wptr = (uint16_t *)req->ring; qla2xxx_find_flt_start() 668 uint16_t *wptr; qla2xxx_get_flt_info() 669 uint16_t cnt, chksum; qla2xxx_get_flt_info() 689 wptr = (uint16_t *)req->ring; qla2xxx_get_flt_info() 883 uint16_t cnt, chksum; qla2xxx_get_fdt_info() 884 uint16_t *wptr; qla2xxx_get_fdt_info() 887 uint16_t mid = 0, fid = 0; qla2xxx_get_fdt_info() 891 wptr = (uint16_t *)req->ring; qla2xxx_get_fdt_info() 1035 uint16_t *wptr; qla2xxx_flash_npiv_conf() 1036 uint16_t cnt, chksum; qla2xxx_flash_npiv_conf() 1091 uint16_t flags; qla2xxx_flash_npiv_conf() 1325 uint16_t *wptr; qla2x00_read_nvram_data() 1329 wptr = (uint16_t *)buf; qla2x00_read_nvram_data() 1365 uint16_t *wptr; qla2x00_write_nvram_data() 1377 wptr = (uint16_t *)buf; qla2x00_write_nvram_data() 1480 qla2x00_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) qla2x00_flip_colors() 1512 uint16_t gpio_enable; qla2x00_beacon_blink() 1513 uint16_t gpio_data; qla2x00_beacon_blink() 1514 uint16_t led_color = 0; qla2x00_beacon_blink() 1565 uint16_t gpio_enable; qla2x00_beacon_on() 1566 uint16_t gpio_data; qla2x00_beacon_on() 1647 qla24xx_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) qla24xx_flip_colors() 1664 uint16_t led_color = 0; qla24xx_beacon_blink() 1717 uint16_t led_cfg[6]; qla83xx_beacon_blink() 1718 uint16_t orig_led_cfg[6]; qla83xx_beacon_blink() 1904 uint16_t data; qla2x00_flash_enable() 1920 uint16_t data; qla2x00_flash_disable() 1941 uint16_t data; qla2x00_read_flash_byte() 1942 uint16_t bank_select; qla2x00_read_flash_byte() 1956 WRT_REG_WORD(®->flash_address, (uint16_t)addr); qla2x00_read_flash_byte() 1976 uint16_t data2; qla2x00_read_flash_byte() 1978 WRT_REG_WORD_PIO(PIO_REG(ha, flash_address), (uint16_t)addr); qla2x00_read_flash_byte() 1986 WRT_REG_WORD(®->flash_address, (uint16_t)addr); qla2x00_read_flash_byte() 2002 uint16_t bank_select; qla2x00_write_flash_byte() 2015 WRT_REG_WORD(®->flash_address, (uint16_t)addr); qla2x00_write_flash_byte() 2017 WRT_REG_WORD(®->flash_data, (uint16_t)data); qla2x00_write_flash_byte() 2037 WRT_REG_WORD_PIO(PIO_REG(ha, flash_address), (uint16_t)addr); qla2x00_write_flash_byte() 2038 WRT_REG_WORD_PIO(PIO_REG(ha, flash_data), (uint16_t)data); qla2x00_write_flash_byte() 2040 WRT_REG_WORD(®->flash_address, (uint16_t)addr); qla2x00_write_flash_byte() 2042 WRT_REG_WORD(®->flash_data, (uint16_t)data); qla2x00_write_flash_byte() 2323 uint16_t wd; qla2x00_write_optrom_data() 2742 uint16_t *dcode; qla2x00_get_flash_version() 2833 dcode = (uint16_t *)dbyte; qla2x00_get_flash_version()
|
H A D | qla_nx.h | 849 uint16_t mailbox_in[32]; /* Mail box In registers */ 850 uint16_t unused_1[32]; 853 uint16_t unused_2[62]; 854 uint16_t mailbox_out[32]; /* Mail box Out registers */ 882 uint16_t fcp_cmnd_len; 1048 uint16_t poll_timeout; 1074 uint16_t tag_value_stride; 1075 uint16_t init_tag_value; 1083 uint16_t write_value; 1092 uint16_t rsvd_1; 1153 uint16_t queue_id_stride; 1154 uint16_t rsvd_0; 1166 uint16_t rsvd_3;
|
H A D | qla_tmpl.h | 83 uint16_t reg_count; 97 uint16_t reg_count;
|
H A D | qla_mr.c | 46 uint16_t command = 0; qlafx00_mailbox_command() 391 qlafx00_init_firmware(scsi_qla_host_t *vha, uint16_t size) qlafx00_init_firmware() 498 uint16_t w; qlafx00_pci_config() 902 uint16_t wait_time; /* Wait time */ qlafx00_init_fw_ready() 1066 uint16_t wait_time; /* Wait time if loop is coming ready */ qlafx00_fw_ready() 1120 uint16_t tgt_id; qlafx00_find_all_targets() 1419 uint16_t cnt; qlafx00_init_response_q_entries() 1784 vha->hw->link_data_rate = (uint16_t)pinfo->link_config; qlafx00_update_host_attr() 1806 qlafx00_fx_disc(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t fx_type) qlafx00_fx_disc() 2180 if (cpstatus != cpu_to_le16((uint16_t)CS_COMPLETE) || qlafx00_tm_iocb_entry() 2181 (sstatus & cpu_to_le16((uint16_t)SS_RESPONSE_INFO_LEN_VALID))) qlafx00_tm_iocb_entry() 2182 cpstatus = cpu_to_le16((uint16_t)CS_INCOMPLETE); qlafx00_tm_iocb_entry() 2282 uint16_t ox_id; qlafx00_status_entry() 2290 uint16_t que; qlafx00_status_entry() 2298 scsi_status = sts->scsi_status & cpu_to_le16((uint16_t)SS_MASK); qlafx00_status_entry() 2343 lscsi_status = scsi_status & cpu_to_le16((uint16_t)STATUS_MASK); qlafx00_status_entry() 2350 if (scsi_status & cpu_to_le16((uint16_t)SS_SENSE_LEN_VALID)) qlafx00_status_entry() 2352 if (scsi_status & cpu_to_le16(((uint16_t)SS_RESIDUAL_UNDER qlafx00_status_entry() 2353 | (uint16_t)SS_RESIDUAL_OVER))) qlafx00_status_entry() 2355 if (comp_status == cpu_to_le16((uint16_t)CS_DATA_UNDERRUN)) qlafx00_status_entry() 2362 scsi_status & cpu_to_le16((uint16_t)SS_RESIDUAL_OVER)) qlafx00_status_entry() 2363 comp_status = cpu_to_le16((uint16_t)CS_DATA_OVERRUN); qlafx00_status_entry() 2375 if (scsi_status & cpu_to_le16(((uint16_t)SS_RESIDUAL_UNDER qlafx00_status_entry() 2376 | (uint16_t)SS_RESIDUAL_OVER))) { qlafx00_status_entry() 2395 cpu_to_le16((uint16_t)SAM_STAT_TASK_SET_FULL)) { qlafx00_status_entry() 2401 if (lscsi_status != cpu_to_le16((uint16_t)SS_CHECK_CONDITION)) qlafx00_status_entry() 2405 if (!(scsi_status & cpu_to_le16((uint16_t)SS_SENSE_LEN_VALID))) qlafx00_status_entry() 2419 if (scsi_status & cpu_to_le16((uint16_t)SS_RESIDUAL_UNDER)) { qlafx00_status_entry() 2445 cpu_to_le16((uint16_t)SAM_STAT_TASK_SET_FULL) && qlafx00_status_entry() 2446 lscsi_status != cpu_to_le16((uint16_t)SAM_STAT_BUSY)) { qlafx00_status_entry() 2475 cpu_to_le16((uint16_t)SAM_STAT_TASK_SET_FULL)) { qlafx00_status_entry() 2482 cpu_to_le16((uint16_t)SS_CHECK_CONDITION)) qlafx00_status_entry() 2487 cpu_to_le16((uint16_t)SS_SENSE_LEN_VALID))) qlafx00_status_entry() 2633 uint16_t que; qlafx00_multistatus_entry() 2687 uint16_t que = 0; qlafx00_error_entry() 2716 uint16_t lreq_q_in = 0; qlafx00_process_response_queue() 2717 uint16_t lreq_q_out = 0; qlafx00_process_response_queue() 2868 uint16_t cnt; qlafx00_mbx_completion() 2988 uint16_t tot_dsds, struct cmd_type_7_fx00 *lcmd_pkt) qlafx00_build_scsi_iocbs() 2990 uint16_t avail_dsds; qlafx00_build_scsi_iocbs() 3078 uint16_t cnt; qlafx00_start_scsi() 3079 uint16_t req_cnt; qlafx00_start_scsi() 3080 uint16_t tot_dsds; qlafx00_start_scsi()
|
H A D | qla_mid.c | 65 uint16_t vp_id; qla24xx_deallocate_vp_id() 241 qla2x00_alert_all_vps(struct rsp_que *rsp, uint16_t *mb) qla2x00_alert_all_vps() 520 uint16_t que_id = req->id; qla25xx_free_req_que() 541 uint16_t que_id = rsp->id; qla25xx_free_rsp_que() 632 qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options, qla25xx_create_req_que() 633 uint8_t vp_idx, uint16_t rid, int rsp_que, uint8_t qos) qla25xx_create_req_que() 638 uint16_t que_id = 0; qla25xx_create_req_que() 757 qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options, qla25xx_create_rsp_que() 758 uint8_t vp_idx, uint16_t rid, int req) qla25xx_create_rsp_que() 763 uint16_t que_id = 0; qla25xx_create_rsp_que()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mddi_hw.h | 133 uint16_t length; 134 uint16_t type; 135 uint16_t client_id; 139 uint16_t length; 140 uint16_t type; 141 uint16_t client_id; 142 uint16_t reverse_link_request; /* bytes needed in rev encap message */ 145 uint16_t graphics_busy_flags; 146 uint16_t crc16; 150 uint16_t length; /* length, exclusive of this field */ 151 uint16_t type; /* 66 */ 152 uint16_t client_id; 154 uint16_t Protocol_Version; 155 uint16_t Minimum_Protocol_Version; 156 uint16_t Data_Rate_Capability; 159 uint16_t PostCal_Data_Rate; 160 uint16_t Bitmap_Width; 161 uint16_t Bitmap_Height; 162 uint16_t Display_Window_Width; 163 uint16_t Display_Window_Height; 165 uint16_t Color_Map_RGB_Width; 166 uint16_t RGB_Capability; 169 uint16_t Y_Cb_Cr_Capability; 170 uint16_t Bayer_Capability; 171 uint16_t Alpha_Cursor_Image_Planes; 175 uint16_t Minimum_Sub_frame_Rate; 176 uint16_t Audio_Buffer_Depth; 177 uint16_t Audio_Channel_Capability; 178 uint16_t Audio_Sample_Rate_Capability; 181 uint16_t Mic_Sample_Rate_Capability; 184 uint16_t content_protection_type; 185 uint16_t Mfr_Name; 186 uint16_t Product_Code; 187 uint16_t Reserved_3; 192 uint16_t crc16; 197 uint16_t length; 198 uint16_t type; /* 16 */ 199 uint16_t client_id; /* 0 */ 201 uint16_t video_data_format_descriptor; 211 uint16_t pixel_data_attributes; 236 uint16_t x_left_edge; 237 uint16_t y_top_edge; 240 uint16_t x_right_edge; 241 uint16_t y_bottom_edge; 245 uint16_t x_start; 246 uint16_t y_start; 250 uint16_t pixel_count; 253 uint16_t parameter_CRC; 256 uint16_t reserved; 266 uint16_t length; 267 uint16_t type; /* 146 */ 268 uint16_t client_id; 270 uint16_t read_write_info; 285 uint16_t crc16; 292 uint16_t flags; 293 uint16_t header_count; 294 uint16_t data_count; 297 uint16_t reserved;
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | ppsmc.h | 113 #define PPSMC_MSG_UVDDPM_SetEnabledMask ((uint16_t) 0x12D) 114 #define PPSMC_MSG_VCEDPM_SetEnabledMask ((uint16_t) 0x12E) 115 #define PPSMC_MSG_ACPDPM_SetEnabledMask ((uint16_t) 0x12F) 116 #define PPSMC_MSG_SAMUDPM_SetEnabledMask ((uint16_t) 0x130) 117 #define PPSMC_MSG_MCLKDPM_ForceState ((uint16_t) 0x131) 118 #define PPSMC_MSG_MCLKDPM_NoForcedLevel ((uint16_t) 0x132) 119 #define PPSMC_MSG_Thermal_Cntl_Disable ((uint16_t) 0x133) 120 #define PPSMC_MSG_Voltage_Cntl_Disable ((uint16_t) 0x135) 121 #define PPSMC_MSG_PCIeDPM_Enable ((uint16_t) 0x136) 122 #define PPSMC_MSG_PCIeDPM_Disable ((uint16_t) 0x13d) 123 #define PPSMC_MSG_ACPPowerOFF ((uint16_t) 0x137) 124 #define PPSMC_MSG_ACPPowerON ((uint16_t) 0x138) 125 #define PPSMC_MSG_SAMPowerOFF ((uint16_t) 0x139) 126 #define PPSMC_MSG_SAMPowerON ((uint16_t) 0x13a) 127 #define PPSMC_MSG_PCIeDPM_Disable ((uint16_t) 0x13d) 128 #define PPSMC_MSG_NBDPM_Enable ((uint16_t) 0x140) 129 #define PPSMC_MSG_NBDPM_Disable ((uint16_t) 0x141) 130 #define PPSMC_MSG_SCLKDPM_SetEnabledMask ((uint16_t) 0x145) 131 #define PPSMC_MSG_MCLKDPM_SetEnabledMask ((uint16_t) 0x146) 132 #define PPSMC_MSG_PCIeDPM_ForceLevel ((uint16_t) 0x147) 133 #define PPSMC_MSG_PCIeDPM_UnForceLevel ((uint16_t) 0x148) 134 #define PPSMC_MSG_EnableVRHotGPIOInterrupt ((uint16_t) 0x14a) 135 #define PPSMC_MSG_DPM_Enable ((uint16_t) 0x14e) 136 #define PPSMC_MSG_DPM_Disable ((uint16_t) 0x14f) 137 #define PPSMC_MSG_MCLKDPM_Enable ((uint16_t) 0x150) 138 #define PPSMC_MSG_MCLKDPM_Disable ((uint16_t) 0x151) 139 #define PPSMC_MSG_UVDDPM_Enable ((uint16_t) 0x154) 140 #define PPSMC_MSG_UVDDPM_Disable ((uint16_t) 0x155) 141 #define PPSMC_MSG_SAMUDPM_Enable ((uint16_t) 0x156) 142 #define PPSMC_MSG_SAMUDPM_Disable ((uint16_t) 0x157) 143 #define PPSMC_MSG_ACPDPM_Enable ((uint16_t) 0x158) 144 #define PPSMC_MSG_ACPDPM_Disable ((uint16_t) 0x159) 145 #define PPSMC_MSG_VCEDPM_Enable ((uint16_t) 0x15a) 146 #define PPSMC_MSG_VCEDPM_Disable ((uint16_t) 0x15b) 147 #define PPSMC_MSG_VddC_Request ((uint16_t) 0x15f) 148 #define PPSMC_MSG_SCLKDPM_GetEnabledMask ((uint16_t) 0x162) 149 #define PPSMC_MSG_PCIeDPM_SetEnabledMask ((uint16_t) 0x167) 150 #define PPSMC_MSG_TDCLimitEnable ((uint16_t) 0x169) 151 #define PPSMC_MSG_TDCLimitDisable ((uint16_t) 0x16a) 152 #define PPSMC_MSG_PkgPwrLimitEnable ((uint16_t) 0x185) 153 #define PPSMC_MSG_PkgPwrLimitDisable ((uint16_t) 0x186) 154 #define PPSMC_MSG_PkgPwrSetLimit ((uint16_t) 0x187) 155 #define PPSMC_MSG_OverDriveSetTargetTdp ((uint16_t) 0x188) 156 #define PPSMC_MSG_SCLKDPM_FreezeLevel ((uint16_t) 0x189) 157 #define PPSMC_MSG_SCLKDPM_UnfreezeLevel ((uint16_t) 0x18A) 158 #define PPSMC_MSG_MCLKDPM_FreezeLevel ((uint16_t) 0x18B) 159 #define PPSMC_MSG_MCLKDPM_UnfreezeLevel ((uint16_t) 0x18C) 160 #define PPSMC_MSG_MASTER_DeepSleep_ON ((uint16_t) 0x18F) 161 #define PPSMC_MSG_MASTER_DeepSleep_OFF ((uint16_t) 0x190) 162 #define PPSMC_MSG_Remove_DC_Clamp ((uint16_t) 0x191) 163 #define PPSMC_MSG_SetFanPwmMax ((uint16_t) 0x19A) 165 #define PPSMC_MSG_ENABLE_THERMAL_DPM ((uint16_t) 0x19C) 166 #define PPSMC_MSG_DISABLE_THERMAL_DPM ((uint16_t) 0x19D) 168 #define PPSMC_MSG_API_GetSclkFrequency ((uint16_t) 0x200) 169 #define PPSMC_MSG_API_GetMclkFrequency ((uint16_t) 0x201) 187 typedef uint16_t PPSMC_Msg;
|
H A D | smu7_discrete.h | 94 uint16_t Voltage; 95 uint16_t StdVoltageHiSidd; 96 uint16_t StdVoltageLoSidd; 112 uint16_t ActivityLevel; 160 uint16_t VddcOffset; 192 uint16_t ActivityLevel; 244 uint16_t MinVddc; 256 uint16_t MinVoltage; 272 uint16_t MvddVoltage; 273 uint16_t padding16; 353 uint16_t TemperatureLimitHigh; 355 uint16_t TemperatureLimitLow; 361 uint16_t VddcVddciDelta; 363 uint16_t VoltageResponseTime; 364 uint16_t PhaseResponseTime; 376 uint16_t PPM_PkgPwrLimit; 377 uint16_t PPM_TemperatureLimit; 379 uint16_t DefaultTdp; 380 uint16_t TargetTdp; 382 uint16_t FpsHighT; 383 uint16_t FpsLowT; 385 uint16_t BAPMTI_R [SMU7_DTE_ITERATIONS][SMU7_DTE_SOURCES][SMU7_DTE_SINKS]; 386 uint16_t BAPMTI_RC [SMU7_DTE_ITERATIONS][SMU7_DTE_SOURCES][SMU7_DTE_SINKS]; 393 uint16_t BootVddc; 394 uint16_t BootVddci; 396 uint16_t BootMVdd; 397 uint16_t padding; 411 uint16_t s0; 412 uint16_t s1; 436 uint16_t FdoMode; 476 uint16_t TDC_VDDC_PkgLimit; 493 uint16_t CalcMeasPowerBlend; 504 uint16_t BapmVddCBaseLeakageHiSidd; 505 uint16_t BapmVddCBaseLeakageLoSidd;
|
H A D | radeon_ucode.c | 48 uint16_t version_major = le16_to_cpu(hdr->header_version_major); radeon_ucode_print_mc_hdr() 49 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); radeon_ucode_print_mc_hdr() 69 uint16_t version_major = le16_to_cpu(hdr->header_version_major); radeon_ucode_print_smc_hdr() 70 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); radeon_ucode_print_smc_hdr() 87 uint16_t version_major = le16_to_cpu(hdr->header_version_major); radeon_ucode_print_gfx_hdr() 88 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); radeon_ucode_print_gfx_hdr() 108 uint16_t version_major = le16_to_cpu(hdr->header_version_major); radeon_ucode_print_rlc_hdr() 109 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); radeon_ucode_print_rlc_hdr() 135 uint16_t version_major = le16_to_cpu(hdr->header_version_major); radeon_ucode_print_sdma_hdr() 136 uint16_t version_minor = le16_to_cpu(hdr->header_version_minor); radeon_ucode_print_sdma_hdr()
|
H A D | smu7_fusion.h | 91 uint16_t AT; 123 uint16_t ResidencyCounter; 144 uint16_t MinVddNb; 161 uint16_t MinVoltage; 231 uint16_t FpsHighT; 256 uint16_t FpsLowT; 289 uint16_t TemperatureLimitHigh; 290 uint16_t TemperatureLimitLow;
|
H A D | atom.h | 131 uint16_t *iio; 133 uint16_t data_block; 136 uint16_t io_attr; 137 uint16_t reg_block; 152 bool atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, 153 uint8_t *frev, uint8_t *crev, uint16_t *data_start);
|
H A D | radeon_legacy_tv.c | 69 uint16_t hor_resolution; 70 uint16_t ver_resolution; 72 uint16_t hor_total; 73 uint16_t ver_total; 74 uint16_t hor_start; 75 uint16_t hor_syncstart; 76 uint16_t ver_syncstart; 78 uint16_t crtcPLL_N; 84 static const uint16_t hor_timing_NTSC[MAX_H_CODE_TIMING_LEN] = { 105 static const uint16_t vert_timing_NTSC[MAX_V_CODE_TIMING_LEN] = { 122 static const uint16_t hor_timing_PAL[MAX_H_CODE_TIMING_LEN] = { 143 static const uint16_t vert_timing_PAL[MAX_V_CODE_TIMING_LEN] = { 235 uint16_t *pll_ref_freq) radeon_legacy_tv_get_std_mode() 299 uint16_t addr, uint32_t value) radeon_legacy_tv_write_fifo() 321 static uint32_t radeon_legacy_tv_read_fifo(struct radeon_encoder *radeon_encoder, uint16_t addr) 342 static uint16_t radeon_get_htiming_tables_addr(uint32_t tv_uv_adr) radeon_get_htiming_tables_addr() 344 uint16_t h_table; radeon_get_htiming_tables_addr() 363 static uint16_t radeon_get_vtiming_tables_addr(uint32_t tv_uv_adr) radeon_get_vtiming_tables_addr() 365 uint16_t v_table; radeon_get_vtiming_tables_addr() 389 uint16_t h_table, v_table; radeon_restore_tv_timing_tables() 542 uint16_t pll_ref_freq; radeon_legacy_tv_mode_set() 550 const uint16_t *hor_timing; radeon_legacy_tv_mode_set() 551 const uint16_t *vert_timing; radeon_legacy_tv_mode_set()
|
H A D | evergreen_smc.h | 34 uint16_t s0; 35 uint16_t s1;
|
H A D | radeon_ucode.h | 159 uint16_t header_version_major; /* header version */ 160 uint16_t header_version_minor; /* header version */ 161 uint16_t ip_version_major; /* IP version */ 162 uint16_t ip_version_minor; /* IP version */
|
H A D | atom-bits.h | 34 static inline uint16_t get_u16(void *bios, int ptr) get_u16() 36 return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); get_u16()
|
H A D | sislands_smc.h | 44 uint16_t PwrEfficiencyRatio; 134 uint16_t value; 281 uint16_t cac_lkge_lut[SMC_SISLANDS_LKGE_LUT_NUM_OF_TEMP_ENTRIES][SMC_SISLANDS_LKGE_LUT_NUM_OF_VOLT_ENTRIES]; 304 uint16_t s0; 305 uint16_t s1;
|
H A D | atom-types.h | 30 typedef uint16_t USHORT;
|
H A D | radeon_mode.h | 304 uint16_t h_code_timing[MAX_H_CODE_TIMING_LEN]; 305 uint16_t v_code_timing[MAX_V_CODE_TIMING_LEN]; 309 uint16_t percentage; 310 uint16_t percentage_divider; 312 uint16_t step; 317 uint16_t rate; 318 uint16_t amount; 381 uint16_t panel_vcc_delay; 385 uint16_t panel_ref_divider; 387 uint16_t panel_fb_divider; 432 uint16_t panel_pwr_delay; 538 uint16_t fe; 539 uint16_t slots; 556 uint16_t connector_object_id; 697 uint16_t connector_object_id, 706 uint16_t connector_object_id,
|
/linux-4.1.27/lib/reed_solomon/ |
H A D | encode_rs.c | 24 uint16_t *alpha_to = rs->alpha_to; 25 uint16_t *index_of = rs->index_of; 26 uint16_t *genpoly = rs->genpoly; 27 uint16_t fb; 28 uint16_t msk = (uint16_t) rs->nn; 36 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]]; 45 memmove(&par[0], &par[1], sizeof(uint16_t) * (nroots - 1));
|
H A D | decode_rs.c | 27 uint16_t *alpha_to = rs->alpha_to; 28 uint16_t *index_of = rs->index_of; 29 uint16_t u, q, tmp, num1, num2, den, discr_r, syn_error; 34 uint16_t lambda[nroots + 1], syn[nroots]; 35 uint16_t b[nroots + 1], t[nroots + 1], omega[nroots + 1]; 36 uint16_t root[nroots], reg[nroots + 1], loc[nroots]; 38 uint16_t msk = (uint16_t) rs->nn; 51 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk; 56 syn[i] = (((uint16_t) data[j]) ^ 59 syn[i] = ((((uint16_t) data[j]) ^ 70 syn[i] = ((uint16_t) par[j]) & msk; 72 syn[i] = (((uint16_t) par[j]) & msk) ^ 247 uint16_t cor = alpha_to[rs_modnn(rs,index_of[num1] +
|
H A D | reed_solomon.c | 88 rs->alpha_to = kmalloc(sizeof(uint16_t) * (rs->nn + 1), GFP_KERNEL); rs_init() 92 rs->index_of = kmalloc(sizeof(uint16_t) * (rs->nn + 1), GFP_KERNEL); rs_init() 96 rs->genpoly = kmalloc(sizeof(uint16_t) * (rs->nroots + 1), GFP_KERNEL); rs_init() 294 * The parity uses a uint16_t data type to enable 298 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, encode_rs8() 299 uint16_t invmsk) encode_rs8() 319 * The syndrome and parity uses a uint16_t data type to enable 324 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len, decode_rs8() 325 uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, decode_rs8() 326 uint16_t *corr) decode_rs8() 344 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, encode_rs16() 345 uint16_t invmsk) encode_rs16() 368 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len, decode_rs16() 369 uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, decode_rs16() 370 uint16_t *corr) decode_rs16()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | smiapp-pll.h | 31 uint16_t sys_clk_div; 32 uint16_t pix_clk_div; 58 uint16_t pre_pll_clk_div; 59 uint16_t pll_multiplier; 70 uint16_t min_sys_clk_div; 71 uint16_t max_sys_clk_div; 74 uint16_t min_pix_clk_div; 75 uint16_t max_pix_clk_div; 84 uint16_t min_pre_pll_clk_div; 85 uint16_t max_pre_pll_clk_div; 88 uint16_t min_pll_multiplier; 89 uint16_t max_pll_multiplier;
|
/linux-4.1.27/include/linux/ |
H A D | rslib.h | 44 uint16_t *alpha_to; 45 uint16_t *index_of; 46 uint16_t *genpoly; 59 int encode_rs8(struct rs_control *rs, uint8_t *data, int len, uint16_t *par, 60 uint16_t invmsk); 63 int decode_rs8(struct rs_control *rs, uint8_t *data, uint16_t *par, int len, 64 uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, 65 uint16_t *corr); 70 int encode_rs16(struct rs_control *rs, uint16_t *data, int len, uint16_t *par, 71 uint16_t invmsk); 74 int decode_rs16(struct rs_control *rs, uint16_t *data, uint16_t *par, int len, 75 uint16_t *s, int no_eras, int *eras_pos, uint16_t invmsk, 76 uint16_t *corr);
|
H A D | pe.h | 27 uint16_t magic; /* MZ_MAGIC */ 28 uint16_t lbsize; /* size of last used block */ 29 uint16_t blocks; /* pages in file, 0x3 */ 30 uint16_t relocs; /* relocations */ 31 uint16_t hdrsize; /* header size in "paragraphs" */ 32 uint16_t min_extra_pps; /* .bss */ 33 uint16_t max_extra_pps; /* runtime limit for the arena size */ 34 uint16_t ss; /* relative stack segment */ 35 uint16_t sp; /* initial %sp register */ 36 uint16_t checksum; /* word checksum */ 37 uint16_t ip; /* initial %ip register */ 38 uint16_t cs; /* initial %cs relative to load segment */ 39 uint16_t reloc_table_offset; /* offset of the first relocation */ 40 uint16_t overlay_num; /* overlay number. set to 0. */ 41 uint16_t reserved0[4]; /* reserved */ 42 uint16_t oem_id; /* oem identifier */ 43 uint16_t oem_info; /* oem specific */ 44 uint16_t reserved1[10]; /* reserved */ 50 uint16_t offset; 51 uint16_t segment; 103 uint16_t machine; /* machine type */ 104 uint16_t sections; /* number of sections */ 108 uint16_t opt_hdr_size; /* size of optional header */ 109 uint16_t flags; /* flags */ 141 uint16_t magic; /* file type */ 154 uint16_t os_major; /* major OS version */ 155 uint16_t os_minor; /* minor OS version */ 156 uint16_t image_major; /* major image version */ 157 uint16_t image_minor; /* minor image version */ 158 uint16_t subsys_major; /* major subsystem version */ 159 uint16_t subsys_minor; /* minor subsystem version */ 165 uint16_t subsys; /* subsystem */ 166 uint16_t dll_flags; /* more flags! */ 176 uint16_t magic; /* file type */ 188 uint16_t os_major; /* major OS version */ 189 uint16_t os_minor; /* minor OS version */ 190 uint16_t image_major; /* major image version */ 191 uint16_t image_minor; /* minor image version */ 192 uint16_t subsys_major; /* major subsystem version */ 193 uint16_t subsys_minor; /* minor subsystem version */ 199 uint16_t subsys; /* subsystem */ 200 uint16_t dll_flags; /* more flags! */ 241 uint16_t num_relocs; /* number of relocations */ 242 uint16_t num_lin_numbers; /* srsly. */ 428 uint16_t data; 444 uint16_t revision; 445 uint16_t cert_type;
|
H A D | tca6416_keypad.h | 29 uint16_t pinmask; 30 uint16_t invert;
|
H A D | consolemap.h | 26 #define inverse_translate(conp, glyph, uni) ((uint16_t)glyph)
|
H A D | cs5535.h | 129 uint16_t val; cs5535_has_vsa2() 214 extern uint16_t cs5535_mfgpt_read(struct cs5535_mfgpt_timer *timer, 215 uint16_t reg); 216 extern void cs5535_mfgpt_write(struct cs5535_mfgpt_timer *timer, uint16_t reg, 217 uint16_t value);
|
H A D | bch.h | 56 uint16_t *a_pow_tab; 57 uint16_t *a_log_tab;
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | request.h | 11 uint16_t write_point; 12 uint16_t write_prio; 16 uint16_t flags;
|
/linux-4.1.27/include/linux/mtd/ |
H A D | qinfo.h | 21 uint16_t ManufactId; 22 uint16_t DevId; 57 uint16_t DevSizeShift; 58 uint16_t BufSizeShift; 60 uint16_t TotalBlocksNum; 61 uint16_t UniformBlockSizeShift; 63 uint16_t HWPartsNum; 65 uint16_t SuspEraseSupp; 67 uint16_t SingleWordProgTime; 68 uint16_t ProgBufferTime; 69 uint16_t BlockEraseTime;
|
H A D | ftl.h | 39 uint16_t LogicalEUN; 42 uint16_t FirstPhysicalEUN; 43 uint16_t NumEraseUnits; 46 uint16_t NumVMPages;
|
H A D | cfi.h | 135 uint16_t P_ID; 136 uint16_t P_ADR; 137 uint16_t A_ID; 138 uint16_t A_ADR; 152 uint16_t InterfaceDesc; 153 uint16_t MaxBufWriteSize; 175 uint16_t BlkStatusRegMask; 179 uint16_t ProtRegAddr; 187 uint16_t FactGroups; 189 uint16_t UserGroups; 194 uint16_t NumIdentBlocks; 195 uint16_t BlockSize; 196 uint16_t MinBlockEraseCycles; 202 uint16_t NumIdentPartitions; 281 uint16_t cmdset; 493 static inline uint16_t cfi_read_query16(struct map_info *map, uint32_t addr) cfi_read_query16() 526 struct cfi_extquery *cfi_read_pri(struct map_info *map, uint16_t adr, uint16_t size, 529 uint16_t mfr; 530 uint16_t id;
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_fw.h | 297 uint16_t version; 298 uint16_t len; 299 uint16_t checksum; 302 uint16_t man_id; 303 uint16_t id; 320 uint16_t read_timeout; 329 uint16_t start_lo; 330 uint16_t start_hi; 333 uint16_t checksum; 337 uint16_t version; 338 uint16_t length; 339 uint16_t checksum; 340 uint16_t unused; 563 uint16_t fw_options; /* 02-03 */ 570 uint16_t exec_throttle; /* 04-05 */ 573 uint16_t eth_mtu_size; /* 08-09 */ 574 uint16_t add_fw_options; /* 0A-0B */ 580 uint16_t res1; /* 0E-0F */ 581 uint16_t rqq_consumer_idx; /* 10-11 */ 582 uint16_t compq_producer_idx; /* 12-13 */ 583 uint16_t rqq_len; /* 14-15 */ 584 uint16_t compq_len; /* 16-17 */ 592 uint16_t iscsi_opts; /* 30-31 */ 606 uint16_t ipv4_tcp_opts; /* 32-33 */ 615 uint16_t ipv4_ip_opts; /* 34-35 */ 628 uint16_t iscsi_max_pdu_size; /* 36-37 */ 637 uint16_t def_timeout; /* 3C-3D */ 638 uint16_t iscsi_fburst_len; /* 3E-3F */ 639 uint16_t iscsi_def_time2wait; /* 40-41 */ 640 uint16_t iscsi_def_time2retain; /* 42-43 */ 641 uint16_t iscsi_max_outstnd_r2t; /* 44-45 */ 642 uint16_t conn_ka_timeout; /* 46-47 */ 643 uint16_t ipv4_port; /* 48-49 */ 644 uint16_t iscsi_max_burst_len; /* 4A-4B */ 647 uint16_t ipv4_vlan_tag; /* 54-55 */ 657 uint16_t min_eph_port; /* 88-89 */ 658 uint16_t max_eph_port; /* 8A-8B */ 662 uint16_t tgt_portal_grp;/* C6-C7 */ 675 uint16_t ipv6_port; /* 204-205 */ 676 uint16_t ipv6_opts; /* 206-207 */ 682 uint16_t ipv6_addtl_opts; /* 208-209 */ 689 uint16_t ipv6_tcp_opts; /* 20A-20B */ 696 uint16_t ipv6_flow_lbl; /* 20D-20F */ 698 uint16_t ipv6_vlan_tag; /* 220-221 */ 744 uint16_t iscsi_opts; /* 30-31 */ 745 uint16_t ipv4_tcp_opts; /* 32-33 */ 746 uint16_t ipv4_ip_opts; /* 34-35 */ 747 uint16_t iscsi_max_pdu_size; /* 36-37 */ 751 uint16_t def_timeout; /* 3C-3D */ 752 uint16_t iscsi_fburst_len; /* 3E-3F */ 754 uint16_t iscsi_max_outstnd_r2t; /* 44-45 */ 756 uint16_t ipv4_port; /* 48-49 */ 757 uint16_t iscsi_max_burst_len; /* 4A-4B */ 760 uint16_t ipv4_vlan_tag; /* 54-55 */ 779 uint16_t ipv6_port; /* 204-205 */ 780 uint16_t ipv6_opts; /* 206-207 */ 781 uint16_t ipv6_addtl_opts; /* 208-209 */ 782 uint16_t ipv6_tcp_opts; /* 20A-20B */ 784 uint16_t ipv6_flow_lbl; /* 20D-20F */ 786 uint16_t ipv6_vlan_tag; /* 220-221 */ 814 uint16_t link; 822 uint16_t reserved; 825 uint16_t cookie; 829 uint16_t options; /* 00-01 */ 842 uint16_t exec_throttle; /* 02-03 */ 843 uint16_t exec_count; /* 04-05 */ 844 uint16_t res0; /* 06-07 */ 845 uint16_t iscsi_options; /* 08-09 */ 860 uint16_t tcp_options; /* 0A-0B */ 869 uint16_t ip_options; /* 0C-0D */ 872 uint16_t iscsi_max_rcv_data_seg_len; /* 0E-0F */ 875 uint16_t iscsi_max_snd_data_seg_len; /* 14-15 */ 876 uint16_t iscsi_first_burst_len; /* 16-17 */ 877 uint16_t iscsi_def_time2wait; /* 18-19 */ 878 uint16_t iscsi_def_time2retain; /* 1A-1B */ 879 uint16_t iscsi_max_outsnd_r2t; /* 1C-1D */ 880 uint16_t ka_timeout; /* 1E-1F */ 883 uint16_t tsid; /* 26-27 */ 884 uint16_t port; /* 28-29 */ 885 uint16_t iscsi_max_burst_len; /* 2A-2B */ 886 uint16_t def_timeout; /* 2C-2D */ 887 uint16_t res2; /* 2E-2F */ 891 uint16_t mss; /* 80-81 */ 892 uint16_t res3; /* 82-83 */ 893 uint16_t lcl_port; /* 84-85 */ 895 uint16_t ipv6_flow_lbl; /* 87-89 */ 905 uint16_t ddb_link; /* 1C0-1C1 */ 906 uint16_t chap_tbl_idx; /* 1C2-1C3 */ 907 uint16_t tgt_portal_grp; /* 1C4-1C5 */ 914 uint16_t cookie; /* 1FC-1FD */ 915 uint16_t len; /* 1FE-1FF */ 975 uint16_t board_id; /* 10-11 board ID code */ 976 uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ 977 uint16_t port_num; /* 14-15 network port for this PCI function */ 987 uint16_t fw_major; /* 00 - 01 */ 988 uint16_t fw_minor; /* 02 - 03 */ 989 uint16_t fw_patch; /* 04 - 05 */ 990 uint16_t fw_build; /* 06 - 07 */ 994 uint16_t fw_load_source; /* 38 - 39 */ 1000 uint16_t iscsi_major; /* 40 - 41 */ 1001 uint16_t iscsi_minor; /* 42 - 43 */ 1002 uint16_t bootload_major; /* 44 - 45 */ 1003 uint16_t bootload_minor; /* 46 - 47 */ 1004 uint16_t bootload_patch; /* 48 - 49 */ 1005 uint16_t bootload_build; /* 4A - 4B */ 1010 uint16_t fw_major_version; /* 00 - 01 */ 1011 uint16_t fw_minor_version; /* 02 - 03 */ 1012 uint16_t fw_patch_version; /* 04 - 05 */ 1013 uint16_t fw_build_version; /* 06 - 07 */ 1023 uint16_t out_RISC_sd_num_frames; /* 50 - 51 */ 1024 uint16_t OAP_sd_num_words; /* 52 - 53 */ 1025 uint16_t IAP_sd_num_frames; /* 54 - 55 */ 1026 uint16_t in_RISC_sd_num_words; /* 56 - 57 */ 1039 uint16_t device_index; /* 08 - 09 */ 1040 uint16_t fw_conn_state; /* 0A - 0B */ 1043 uint16_t error_code_detail; /* 0E - 0F */ 1109 uint16_t target; /* 08-09 */ 1110 uint16_t connection_id; /* 0A-0B */ 1135 uint16_t timeout; /* 2C-2D */ 1136 uint16_t dataSegCnt; /* 2E-2F */ 1163 uint16_t target; /* 08-09 */ 1164 uint16_t modifier; /* 0A-0B */ 1168 uint16_t flags; /* 0C-0D */ 1169 uint16_t reserved1; /* 0E-0F */ 1211 uint16_t senseDataByteCnt; /* 0E-0F */ 1229 uint16_t target; /* 08-09 */ 1230 uint16_t connection_id; /* 0A-0B */ 1231 #define ISNS_DEFAULT_SERVER_CONN_ID ((uint16_t)0x8000) 1233 uint16_t control_flags; /* 0C-0D */ 1240 uint16_t timeout; /* 0E-0F */ 1252 uint16_t target; /* 08-09 */ 1253 uint16_t connectionID; /* 0A-0B */ 1260 uint16_t timeout; /* 0E-0F */ 1261 uint16_t portNumber; /* 10-11 */
|
H A D | ql4_def.h | 227 uint16_t flags; /* (1) Status flags. */ 248 uint16_t reserved; 249 uint16_t iocb_tov; 250 uint16_t iocb_cnt; /* Number of used iocbs */ 251 uint16_t cc_stat; 255 uint16_t req_sense_len; 256 uint16_t reserved2; 264 uint16_t iocb_cnt; /* Number of used iocbs */ 288 uint16_t fw_ddb_index; /* DDB firmware index */ 290 uint16_t ddb_type; 302 uint16_t default_relogin_timeout; /* Max time to wait for 312 uint16_t chap_tbl_idx; 317 uint16_t fw_ddb_idx; 318 uint16_t flash_ddb_idx; 330 uint16_t options; 420 uint16_t msix_vector; 421 uint16_t msix_entry; 441 uint16_t (*rd_shdw_req_q_out) (struct scsi_qla_host *); 442 uint16_t (*rd_shdw_rsp_q_in) (struct scsi_qla_host *); 467 uint16_t ipv4_options; 468 uint16_t tcp_options; 469 uint16_t ipv4_vlan_tag; 480 uint16_t ipv6_vlan_tag; 485 uint16_t eth_mtu_size; 486 uint16_t ipv4_port; 487 uint16_t ipv6_port; 489 uint16_t ipv6_tcp_options; 500 uint16_t ipv6_flow_lbl; 508 uint16_t def_timeout; 510 uint16_t iscsi_options; 511 uint16_t iscsi_max_pdu_size; 512 uint16_t iscsi_first_burst_len; 513 uint16_t iscsi_max_outstnd_r2t; 514 uint16_t iscsi_max_burst_len; 609 uint16_t iocb_cnt; 610 uint16_t iocb_hiwat; 624 uint16_t req_q_count; 659 uint16_t firmware_options; 667 uint16_t port_num; 687 uint16_t free_srb_q_count; 688 uint16_t num_srbs_allocated; 707 uint16_t request_in; /* Current indexes. */ 708 uint16_t request_out; 709 uint16_t response_in; 710 uint16_t response_out; 713 uint16_t aen_q_count; /* Number of available aen_q entries */ 714 uint16_t aen_in; /* Current indexes */ 715 uint16_t aen_out; 752 uint16_t func_num; 786 uint16_t def_timeout; /* Default login timeout */ 802 uint16_t phy_port_num; 803 uint16_t phy_port_cnt; 804 uint16_t iscsi_pci_func_cnt; 809 uint16_t pri_ddb_idx; 810 uint16_t sec_ddb_idx; 812 uint16_t temperature;
|
H A D | ql4_glbl.h | 38 uint16_t fw_ddb_index, 45 uint16_t *tcp_source_port_num, 46 uint16_t *connection_id); 48 int qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index, 53 uint16_t fw_ddb_index, 54 uint16_t connection_id, 55 uint16_t option); 79 struct ddb_entry *ddb_entry, uint64_t lun, uint16_t mrkr_mod); 85 char *password, int bidi, uint16_t *chap_index); 87 uint16_t idx, int bidi); 96 uint16_t qla4xxx_rd_shdw_req_q_out(struct scsi_qla_host *ha); 97 uint16_t qla4xxx_rd_shdw_rsp_q_in(struct scsi_qla_host *ha); 128 uint16_t qla4_82xx_rd_shdw_req_q_out(struct scsi_qla_host *ha); 129 uint16_t qla4_82xx_rd_shdw_rsp_q_in(struct scsi_qla_host *ha); 149 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index); 161 int qla4xxx_get_mgmt_data(struct scsi_qla_host *ha, uint16_t fw_ddb_index, 162 uint16_t stats_size, dma_addr_t stats_dma); 169 dma_addr_t fw_ddb_entry_dma, uint16_t ddb_index); 171 char *password, uint16_t idx); 179 int qla4xxx_get_ddb_index(struct scsi_qla_host *ha, uint16_t *ddb_index); 198 dma_addr_t fw_ddb_entry_dma, uint16_t ddb_index); 270 char *password, uint16_t chap_index);
|
H A D | ql4_nvram.h | 69 uint16_t SpinUpDelay:1; 70 uint16_t BIOSDisable:1; 71 uint16_t MMAPEnable:1; 72 uint16_t BootEnable:1; 73 uint16_t Reserved0:12; 80 uint16_t MaxLunsPerTarget;
|
H A D | ql4_iocb.c | 16 qla4xxx_space_in_req_ring(struct scsi_qla_host *ha, uint16_t req_cnt) qla4xxx_space_in_req_ring() 18 uint16_t cnt; qla4xxx_space_in_req_ring() 22 cnt = (uint16_t) ha->isp_ops->rd_shdw_req_q_out(ha); qla4xxx_space_in_req_ring() 62 uint16_t req_cnt = 1; qla4xxx_get_req_pkt() 86 struct ddb_entry *ddb_entry, uint64_t lun, uint16_t mrkr_mod) qla4xxx_send_marker_iocb() 135 static uint16_t qla4xxx_calc_request_entries(uint16_t dsds) qla4xxx_calc_request_entries() 137 uint16_t iocbs; qla4xxx_calc_request_entries() 150 uint16_t tot_dsds) qla4xxx_build_scsi_iocbs() 153 uint16_t avail_dsds; qla4xxx_build_scsi_iocbs() 279 uint16_t tot_dsds; qla4xxx_send_command_to_isp() 280 uint16_t req_cnt; qla4xxx_send_command_to_isp() 391 uint16_t ctrl_flags = 0; qla4xxx_send_passthru0()
|
H A D | ql4_83xx.h | 249 uint16_t select_value_stride; 250 uint16_t op_count; 263 uint16_t count; 280 uint16_t count; 351 uint16_t dma_desc_cmd; 363 uint16_t dma_desc_cmd;
|
/linux-4.1.27/fs/afs/ |
H A D | cache.c | 15 static uint16_t afs_cell_cache_get_key(const void *cookie_netfs_data, 16 void *buffer, uint16_t buflen); 17 static uint16_t afs_cell_cache_get_aux(const void *cookie_netfs_data, 18 void *buffer, uint16_t buflen); 21 uint16_t buflen); 23 static uint16_t afs_vlocation_cache_get_key(const void *cookie_netfs_data, 24 void *buffer, uint16_t buflen); 25 static uint16_t afs_vlocation_cache_get_aux(const void *cookie_netfs_data, 26 void *buffer, uint16_t buflen); 28 void *cookie_netfs_data, const void *buffer, uint16_t buflen); 30 static uint16_t afs_volume_cache_get_key(const void *cookie_netfs_data, 31 void *buffer, uint16_t buflen); 33 static uint16_t afs_vnode_cache_get_key(const void *cookie_netfs_data, 34 void *buffer, uint16_t buflen); 37 static uint16_t afs_vnode_cache_get_aux(const void *cookie_netfs_data, 38 void *buffer, uint16_t buflen); 41 uint16_t buflen); 84 static uint16_t afs_cell_cache_get_key(const void *cookie_netfs_data, afs_cell_cache_get_key() 85 void *buffer, uint16_t bufmax) afs_cell_cache_get_key() 88 uint16_t klen; afs_cell_cache_get_key() 103 static uint16_t afs_cell_cache_get_aux(const void *cookie_netfs_data, afs_cell_cache_get_aux() 104 void *buffer, uint16_t bufmax) afs_cell_cache_get_aux() 107 uint16_t dlen; afs_cell_cache_get_aux() 124 uint16_t buflen) afs_cell_cache_check_aux() 134 static uint16_t afs_vlocation_cache_get_key(const void *cookie_netfs_data, afs_vlocation_cache_get_key() 135 void *buffer, uint16_t bufmax) afs_vlocation_cache_get_key() 138 uint16_t klen; afs_vlocation_cache_get_key() 155 static uint16_t afs_vlocation_cache_get_aux(const void *cookie_netfs_data, afs_vlocation_cache_get_aux() 156 void *buffer, uint16_t bufmax) afs_vlocation_cache_get_aux() 159 uint16_t dlen; afs_vlocation_cache_get_aux() 180 uint16_t buflen) afs_vlocation_cache_check_aux() 184 uint16_t dlen; afs_vlocation_cache_check_aux() 227 static uint16_t afs_volume_cache_get_key(const void *cookie_netfs_data, afs_volume_cache_get_key() 228 void *buffer, uint16_t bufmax) afs_volume_cache_get_key() 231 uint16_t klen; afs_volume_cache_get_key() 250 static uint16_t afs_vnode_cache_get_key(const void *cookie_netfs_data, afs_vnode_cache_get_key() 251 void *buffer, uint16_t bufmax) afs_vnode_cache_get_key() 254 uint16_t klen; afs_vnode_cache_get_key() 288 static uint16_t afs_vnode_cache_get_aux(const void *cookie_netfs_data, afs_vnode_cache_get_aux() 289 void *buffer, uint16_t bufmax) afs_vnode_cache_get_aux() 292 uint16_t dlen; afs_vnode_cache_get_aux() 316 uint16_t buflen) afs_vnode_cache_check_aux() 319 uint16_t dlen; afs_vnode_cache_check_aux()
|
/linux-4.1.27/scripts/dtc/libfdt/ |
H A D | libfdt_env.h | 9 static inline uint16_t fdt16_to_cpu(uint16_t x) fdt16_to_cpu()
|
/linux-4.1.27/tools/lib/traceevent/ |
H A D | plugin_cfg80211.c | 10 uint16_t *val = (uint16_t *) (unsigned long) args[0]; process___le16_to_cpup()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.h | 46 uint16_t length; 47 uint16_t offset; 84 uint16_t offset; 106 uint16_t init_script_tbls_ptr; 107 uint16_t extra_init_script_tbl_ptr; 109 uint16_t ram_restrict_tbl_ptr; 119 uint16_t fptablepointer; /* also used by tmds */ 120 uint16_t fpxlatetableptr; 122 uint16_t lvdsmanufacturerpointer; 123 uint16_t fpxlatemanufacturertableptr; 124 uint16_t mode_ptr; 125 uint16_t xlated_entry; 141 uint16_t output0_script_ptr; 142 uint16_t output1_script_ptr; 146 uint16_t mem_init_tbl_ptr; 147 uint16_t sdr_seq_tbl_ptr; 148 uint16_t ddr_seq_tbl_ptr; 154 uint16_t lvds_single_a_script_ptr;
|
H A D | nouveau_crtc.h | 67 uint16_t r[256]; 68 uint16_t g[256]; 69 uint16_t b[256];
|
/linux-4.1.27/arch/mips/include/asm/vr41xx/ |
H A D | vr41xx.h | 87 extern void vr41xx_enable_piuint(uint16_t mask); 88 extern void vr41xx_disable_piuint(uint16_t mask); 98 extern void vr41xx_enable_aiuint(uint16_t mask); 99 extern void vr41xx_disable_aiuint(uint16_t mask); 105 extern void vr41xx_enable_kiuint(uint16_t mask); 106 extern void vr41xx_disable_kiuint(uint16_t mask); 114 extern void vr41xx_enable_dsiuint(uint16_t mask); 115 extern void vr41xx_disable_dsiuint(uint16_t mask); 123 extern void vr41xx_enable_firint(uint16_t mask); 124 extern void vr41xx_disable_firint(uint16_t mask); 140 extern void vr41xx_enable_csiint(uint16_t mask); 141 extern void vr41xx_disable_csiint(uint16_t mask);
|
/linux-4.1.27/arch/mips/vr41xx/common/ |
H A D | icu.c | 111 static inline uint16_t icu1_set(uint8_t offset, uint16_t set) icu1_set() 113 uint16_t data; icu1_set() 122 static inline uint16_t icu1_clear(uint8_t offset, uint16_t clear) icu1_clear() 124 uint16_t data; icu1_clear() 133 static inline uint16_t icu2_set(uint8_t offset, uint16_t set) icu2_set() 135 uint16_t data; icu2_set() 144 static inline uint16_t icu2_clear(uint8_t offset, uint16_t clear) icu2_clear() 146 uint16_t data; icu2_clear() 155 void vr41xx_enable_piuint(uint16_t mask) vr41xx_enable_piuint() 170 void vr41xx_disable_piuint(uint16_t mask) vr41xx_disable_piuint() 185 void vr41xx_enable_aiuint(uint16_t mask) vr41xx_enable_aiuint() 200 void vr41xx_disable_aiuint(uint16_t mask) vr41xx_disable_aiuint() 215 void vr41xx_enable_kiuint(uint16_t mask) vr41xx_enable_kiuint() 230 void vr41xx_disable_kiuint(uint16_t mask) vr41xx_disable_kiuint() 245 void vr41xx_enable_macint(uint16_t mask) vr41xx_enable_macint() 257 void vr41xx_disable_macint(uint16_t mask) vr41xx_disable_macint() 269 void vr41xx_enable_dsiuint(uint16_t mask) vr41xx_enable_dsiuint() 281 void vr41xx_disable_dsiuint(uint16_t mask) vr41xx_disable_dsiuint() 293 void vr41xx_enable_firint(uint16_t mask) vr41xx_enable_firint() 305 void vr41xx_disable_firint(uint16_t mask) vr41xx_disable_firint() 381 void vr41xx_enable_csiint(uint16_t mask) vr41xx_enable_csiint() 397 void vr41xx_disable_csiint(uint16_t mask) vr41xx_disable_csiint() 480 uint16_t intassign0, intassign1; set_sysint1_assign() 493 intassign0 |= (uint16_t)assign; set_sysint1_assign() 497 intassign0 |= (uint16_t)assign << 3; set_sysint1_assign() 501 intassign0 |= (uint16_t)assign << 6; set_sysint1_assign() 505 intassign0 |= (uint16_t)assign << 9; set_sysint1_assign() 509 intassign0 |= (uint16_t)assign << 12; set_sysint1_assign() 513 intassign1 |= (uint16_t)assign; set_sysint1_assign() 517 intassign1 |= (uint16_t)assign << 6; set_sysint1_assign() 521 intassign1 |= (uint16_t)assign << 9; set_sysint1_assign() 540 uint16_t intassign2, intassign3; set_sysint2_assign() 553 intassign2 |= (uint16_t)assign; set_sysint2_assign() 557 intassign2 |= (uint16_t)assign << 3; set_sysint2_assign() 561 intassign2 |= (uint16_t)assign << 6; set_sysint2_assign() 565 intassign2 |= (uint16_t)assign << 9; set_sysint2_assign() 569 intassign2 |= (uint16_t)assign << 12; set_sysint2_assign() 573 intassign3 |= (uint16_t)assign; set_sysint2_assign() 577 intassign3 |= (uint16_t)assign << 3; set_sysint2_assign() 581 intassign3 |= (uint16_t)assign << 6; set_sysint2_assign() 585 intassign3 |= (uint16_t)assign << 9; set_sysint2_assign() 589 intassign3 |= (uint16_t)assign << 12; set_sysint2_assign() 627 uint16_t pend1, pend2; icu_get_irq() 628 uint16_t mask1, mask2; icu_get_irq()
|
H A D | bcu.c | 71 static inline uint16_t read_clkspeed(void) read_clkspeed() 87 static inline unsigned long calculate_pclock(uint16_t clkspeed) calculate_pclock() 137 static inline unsigned long calculate_vtclock(uint16_t clkspeed, unsigned long pclock) calculate_vtclock() 178 static inline unsigned long calculate_tclock(uint16_t clkspeed, unsigned long pclock, calculate_tclock() 213 uint16_t clkspeed; vr41xx_calculate_clock_frequency()
|
/linux-4.1.27/drivers/net/can/softing/ |
H A D | softing.h | 32 uint16_t chip; 68 uint16_t fw_version, hw_version, license, serial; 69 uint16_t chip[2]; 113 #define DPRAM_FCT_HOST 0x032b /* uint16_t */ 115 #define DPRAM_INFO_BUSSTATE 0x0331 /* uint16_t */ 116 #define DPRAM_INFO_BUSSTATE2 0x0335 /* uint16_t */ 117 #define DPRAM_INFO_ERRSTATE 0x0339 /* uint16_t */ 118 #define DPRAM_INFO_ERRSTATE2 0x033d /* uint16_t */ 119 #define DPRAM_RESET 0x0341 /* uint16_t */ 120 #define DPRAM_CLR_RECV_FIFO 0x0345 /* uint16_t */ 121 #define DPRAM_RESET_TIME 0x034d /* uint16_t */ 125 #define DPRAM_RESET_RX_FIFO 0x0361 /* uint16_t */ 128 #define DPRAM_RX_FIFO_LEVEL 0x0366 /* uint16_t */ 129 #define DPRAM_TX_FIFO_LEVEL 0x0366 /* uint16_t */ 131 #define DPRAM_TX 0x0400 /* uint16_t */ 137 #define DPRAM_COMMAND 0x07e0 /* uint16_t */ 138 #define DPRAM_RECEIPT 0x07f0 /* uint16_t */
|
/linux-4.1.27/include/media/ |
H A D | adv7842.h | 120 uint16_t scaling; 121 uint16_t A1; 122 uint16_t A2; 123 uint16_t A3; 124 uint16_t A4; 125 uint16_t B1; 126 uint16_t B2; 127 uint16_t B3; 128 uint16_t B4; 129 uint16_t C1; 130 uint16_t C2; 131 uint16_t C3; 132 uint16_t C4; 137 uint16_t hs_beg; 138 uint16_t hs_width; 139 uint16_t de_beg; 140 uint16_t de_end;
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_sli4.h | 147 uint16_t db_format; 183 uint16_t speed; 189 uint16_t logical_speed; 190 uint16_t topology; 197 uint16_t fcf_indx; 199 uint16_t vlan_id; 207 uint16_t fcf_index; 210 uint16_t flag; 226 uint16_t fcfi; 278 uint16_t vlan_tag; 290 uint16_t flags; 301 uint16_t vlan_tag; 360 uint16_t max_xri; 361 uint16_t xri_base; 362 uint16_t xri_used; 363 uint16_t max_rpi; 364 uint16_t rpi_base; 365 uint16_t rpi_used; 366 uint16_t max_vpi; 367 uint16_t vpi_base; 368 uint16_t vpi_used; 369 uint16_t max_vfi; 370 uint16_t vfi_base; 371 uint16_t vfi_used; 372 uint16_t max_fcfi; 373 uint16_t fcfi_used; 374 uint16_t max_eq; 375 uint16_t max_rq; 376 uint16_t max_cq; 377 uint16_t max_wq; 453 uint16_t phys_id; 454 uint16_t core_id; 455 uint16_t irq; 456 uint16_t channel_id; 524 uint16_t *fcp_cq_map; 565 uint16_t extents_in_use; /* must allocate resource extents. */ 566 uint16_t rpi_hdrs_in_use; /* must post rpi hdrs if set. */ 567 uint16_t next_xri; /* last_xri - max_cfg_param.xri_base = used */ 568 uint16_t next_rpi; 569 uint16_t scsi_xri_max; 570 uint16_t scsi_xri_cnt; 571 uint16_t els_xri_cnt; 572 uint16_t scsi_xri_start; 580 uint16_t *rpi_ids; 581 uint16_t rpi_count; 584 uint16_t *xri_ids; 587 uint16_t *vfi_ids; 588 uint16_t vfi_count; 608 uint16_t num_online_cpu; 609 uint16_t num_present_cpu; 610 uint16_t curr_disp_cpu; 631 uint16_t iotag; /* pre-assigned IO tag */ 632 uint16_t sli4_lxritag; /* logical pre-assigned xri. */ 633 uint16_t sli4_xritag; /* pre-assigned XRI, (OXID) tag. */ 649 uint16_t rsrc_start; 650 uint16_t rsrc_size; 651 uint16_t rsrc_used; 667 uint16_t); 692 int lpfc_sli4_post_sgl(struct lpfc_hba *, dma_addr_t, dma_addr_t, uint16_t); 694 uint16_t lpfc_sli4_next_xritag(struct lpfc_hba *); 729 void lpfc_sli4_fcfi_unreg(struct lpfc_hba *, uint16_t); 730 int lpfc_sli4_fcf_scan_read_fcf_rec(struct lpfc_hba *, uint16_t); 731 int lpfc_sli4_fcf_rr_read_fcf_rec(struct lpfc_hba *, uint16_t); 732 int lpfc_sli4_read_fcf_rec(struct lpfc_hba *, uint16_t);
|
H A D | lpfc_hw.h | 364 uint16_t request_multiple_Nport:1; /* FC Word 1, bit 31 */ 365 uint16_t randomOffset:1; /* FC Word 1, bit 30 */ 366 uint16_t response_multiple_NPort:1; /* FC Word 1, bit 29 */ 367 uint16_t fPort:1; /* FC Word 1, bit 28 */ 368 uint16_t altBbCredit:1; /* FC Word 1, bit 27 */ 369 uint16_t edtovResolution:1; /* FC Word 1, bit 26 */ 370 uint16_t multicast:1; /* FC Word 1, bit 25 */ 371 uint16_t broadcast:1; /* FC Word 1, bit 24 */ 373 uint16_t huntgroup:1; /* FC Word 1, bit 23 */ 374 uint16_t simplex:1; /* FC Word 1, bit 22 */ 375 uint16_t word1Reserved1:3; /* FC Word 1, bit 21:19 */ 376 uint16_t dhd:1; /* FC Word 1, bit 18 */ 377 uint16_t contIncSeqCnt:1; /* FC Word 1, bit 17 */ 378 uint16_t payloadlength:1; /* FC Word 1, bit 16 */ 380 uint16_t broadcast:1; /* FC Word 1, bit 24 */ 381 uint16_t multicast:1; /* FC Word 1, bit 25 */ 382 uint16_t edtovResolution:1; /* FC Word 1, bit 26 */ 383 uint16_t altBbCredit:1; /* FC Word 1, bit 27 */ 384 uint16_t fPort:1; /* FC Word 1, bit 28 */ 385 uint16_t response_multiple_NPort:1; /* FC Word 1, bit 29 */ 386 uint16_t randomOffset:1; /* FC Word 1, bit 30 */ 387 uint16_t request_multiple_Nport:1; /* FC Word 1, bit 31 */ 389 uint16_t payloadlength:1; /* FC Word 1, bit 16 */ 390 uint16_t contIncSeqCnt:1; /* FC Word 1, bit 17 */ 391 uint16_t dhd:1; /* FC Word 1, bit 18 */ 392 uint16_t word1Reserved1:3; /* FC Word 1, bit 21:19 */ 393 uint16_t simplex:1; /* FC Word 1, bit 22 */ 394 uint16_t huntgroup:1; /* FC Word 1, bit 23 */ 715 uint16_t Word3bit15Resved:1; /* FC Parm Word 3, bit 15 */ 716 uint16_t Word3bit14Resved:1; /* FC Parm Word 3, bit 14 */ 717 uint16_t Word3bit13Resved:1; /* FC Parm Word 3, bit 13 */ 718 uint16_t Word3bit12Resved:1; /* FC Parm Word 3, bit 12 */ 719 uint16_t Word3bit11Resved:1; /* FC Parm Word 3, bit 11 */ 720 uint16_t Word3bit10Resved:1; /* FC Parm Word 3, bit 10 */ 721 uint16_t TaskRetryIdReq:1; /* FC Parm Word 3, bit 9 */ 722 uint16_t Retry:1; /* FC Parm Word 3, bit 8 */ 723 uint16_t ConfmComplAllowed:1; /* FC Parm Word 3, bit 7 */ 724 uint16_t dataOverLay:1; /* FC Parm Word 3, bit 6 */ 725 uint16_t initiatorFunc:1; /* FC Parm Word 3, bit 5 */ 726 uint16_t targetFunc:1; /* FC Parm Word 3, bit 4 */ 727 uint16_t cmdDataMixEna:1; /* FC Parm Word 3, bit 3 */ 728 uint16_t dataRspMixEna:1; /* FC Parm Word 3, bit 2 */ 729 uint16_t readXferRdyDis:1; /* FC Parm Word 3, bit 1 */ 730 uint16_t writeXferRdyDis:1; /* FC Parm Word 3, bit 0 */ 732 uint16_t Retry:1; /* FC Parm Word 3, bit 8 */ 733 uint16_t TaskRetryIdReq:1; /* FC Parm Word 3, bit 9 */ 734 uint16_t Word3bit10Resved:1; /* FC Parm Word 3, bit 10 */ 735 uint16_t Word3bit11Resved:1; /* FC Parm Word 3, bit 11 */ 736 uint16_t Word3bit12Resved:1; /* FC Parm Word 3, bit 12 */ 737 uint16_t Word3bit13Resved:1; /* FC Parm Word 3, bit 13 */ 738 uint16_t Word3bit14Resved:1; /* FC Parm Word 3, bit 14 */ 739 uint16_t Word3bit15Resved:1; /* FC Parm Word 3, bit 15 */ 740 uint16_t writeXferRdyDis:1; /* FC Parm Word 3, bit 0 */ 741 uint16_t readXferRdyDis:1; /* FC Parm Word 3, bit 1 */ 742 uint16_t dataRspMixEna:1; /* FC Parm Word 3, bit 2 */ 743 uint16_t cmdDataMixEna:1; /* FC Parm Word 3, bit 3 */ 744 uint16_t targetFunc:1; /* FC Parm Word 3, bit 4 */ 745 uint16_t initiatorFunc:1; /* FC Parm Word 3, bit 5 */ 746 uint16_t dataOverLay:1; /* FC Parm Word 3, bit 6 */ 747 uint16_t ConfmComplAllowed:1; /* FC Parm Word 3, bit 7 */ 843 uint16_t ipVersion; 846 uint16_t UDPport; 848 uint16_t resvd1; 849 uint16_t flags; 875 uint16_t rsvd1; 876 uint16_t portStatus; 1850 uint16_t link_flags; 1852 uint16_t link_flags; 1932 uint16_t offCiocb; 1933 uint16_t numCiocb; 1934 uint16_t offRiocb; 1935 uint16_t numRiocb; 1937 uint16_t numCiocb; 1938 uint16_t offCiocb; 1939 uint16_t numRiocb; 1940 uint16_t offRiocb; 1979 uint16_t maxRespXchg; 1980 uint16_t maxOrigXchg; 1982 uint16_t maxOrigXchg; 1983 uint16_t maxRespXchg; 2082 uint16_t maxResp; 2083 uint16_t maxOrig; 2085 uint16_t maxOrig; 2086 uint16_t maxResp; 2092 uint16_t cmdRingOffset; 2093 uint16_t cmdEntryCnt; 2094 uint16_t rspRingOffset; 2095 uint16_t rspEntryCnt; 2096 uint16_t nextCmdOffset; 2097 uint16_t rsvd3; 2098 uint16_t nextRspOffset; 2099 uint16_t rsvd4; 2101 uint16_t cmdEntryCnt; 2102 uint16_t cmdRingOffset; 2103 uint16_t rspEntryCnt; 2104 uint16_t rspRingOffset; 2105 uint16_t rsvd3; 2106 uint16_t nextCmdOffset; 2107 uint16_t rsvd4; 2108 uint16_t nextRspOffset; 2124 uint16_t rsvd3; 2125 uint16_t vpi; 2127 uint16_t vpi; 2128 uint16_t rsvd3; 2138 uint16_t activeXriCnt; 2139 uint16_t activeRpiCnt; 2143 uint16_t activeRpiCnt; 2144 uint16_t activeXriCnt; 2164 uint16_t nextRpi; 2165 uint16_t reqRpi; 2169 uint16_t reqRpi; 2170 uint16_t nextRpi; 2186 uint16_t nextXri; 2187 uint16_t reqXri; 2188 uint16_t rsvd1; 2189 uint16_t rpi; 2197 uint16_t seqCount; 2198 uint16_t oxId; 2199 uint16_t rxId; 2204 uint16_t reqXri; 2205 uint16_t nextXri; 2206 uint16_t rpi; 2207 uint16_t rsvd1; 2213 uint16_t seqCount; 2216 uint16_t rxId; 2217 uint16_t oxId; 2253 uint16_t ProgVer:4; 2254 uint16_t ProgRev:4; 2255 uint16_t ProgFixLvl:2; 2256 uint16_t ProgDistType:2; 2257 uint16_t DistCnt:4; 2259 uint16_t DistCnt:4; 2260 uint16_t ProgDistType:2; 2261 uint16_t ProgFixLvl:2; 2262 uint16_t ProgRev:4; 2263 uint16_t ProgVer:4; 2315 uint16_t rsvd1; 2316 uint16_t rpi; 2320 uint16_t rpi; 2321 uint16_t rsvd1; 2332 uint16_t rsvd6; 2333 uint16_t vpi; 2335 uint16_t vpi; 2336 uint16_t rsvd6; 2345 uint16_t rsvd1:12; 2346 uint16_t wd30_class:4; 2347 uint16_t xri; 2349 uint16_t xri; 2350 uint16_t wd30_class:4; 2351 uint16_t rsvd1:12; 2361 uint16_t rsvd1; 2362 uint16_t rpi; 2367 uint16_t rsvd6; 2368 uint16_t vpi; 2370 uint16_t rpi; 2371 uint16_t rsvd1; 2376 uint16_t vpi; 2377 uint16_t rsvd6; 2390 uint16_t vfi; 2391 uint16_t vpi; 2399 uint16_t vpi; 2400 uint16_t vfi; 2408 uint16_t rsvd2; 2409 uint16_t sli4_vpi; 2411 uint16_t sli4_vpi; 2412 uint16_t rsvd2; 2418 uint16_t rsvd6; 2419 uint16_t vpi; 2421 uint16_t vpi; 2422 uint16_t rsvd6; 2435 uint16_t rsvd6; 2436 uint16_t vpi; 2438 uint16_t vpi; 2439 uint16_t rsvd6; 3122 uint16_t mbxStatus; 3132 uint16_t mbxStatus; 3320 uint16_t abortContextTag; /* ulpContext from command to abort/close */ 3321 uint16_t abortIoTag; /* ulpIoTag from command to abort/close */ 3323 uint16_t abortIoTag; /* ulpIoTag from command to abort/close */ 3324 uint16_t abortContextTag; /* ulpContext from command to abort/close */ 3471 uint16_t evt_code; /* High order bits word 5 */ 3472 uint16_t sub_ctxt_tag; /* Low order bits word 5 */ 3474 uint16_t sub_ctxt_tag; /* High order bits word 5 */ 3475 uint16_t evt_code; /* Low order bits word 5 */ 3487 uint16_t ox_id; 3488 uint16_t seq_cnt; 3490 uint16_t vpi; 3491 uint16_t word9Rsvd; 3493 uint16_t seq_cnt; 3494 uint16_t ox_id; 3496 uint16_t word9Rsvd; 3497 uint16_t vpi; 3665 uint16_t ulpContext; /* High order bits word 6 */ 3666 uint16_t ulpIoTag; /* Low order bits word 6 */ 3668 uint16_t ulpIoTag; /* Low order bits word 6 */ 3669 uint16_t ulpContext; /* High order bits word 6 */ 3674 uint16_t ulpContext; /* High order bits word 6 */ 3675 uint16_t ulpIoTag1:2; /* Low order bits word 6 */ 3676 uint16_t ulpIoTag0:14; /* Low order bits word 6 */ 3678 uint16_t ulpIoTag0:14; /* Low order bits word 6 */ 3679 uint16_t ulpIoTag1:2; /* Low order bits word 6 */ 3680 uint16_t ulpContext; /* High order bits word 6 */
|
H A D | lpfc_crtn.h | 26 void lpfc_dump_mem(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t, uint16_t); 28 int lpfc_dump_static_vport(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t); 42 int lpfc_reg_rpi(struct lpfc_hba *, uint16_t, uint32_t, uint8_t *, 43 LPFC_MBOXQ_t *, uint16_t); 45 void lpfc_unreg_login(struct lpfc_hba *, uint16_t, uint32_t, LPFC_MBOXQ_t *); 46 void lpfc_unreg_did(struct lpfc_hba *, uint16_t, uint32_t, LPFC_MBOXQ_t *); 52 void lpfc_unreg_vpi(struct lpfc_hba *, uint16_t, LPFC_MBOXQ_t *); 59 uint16_t, uint16_t, bool); 73 void lpfc_release_rpi(struct lpfc_hba *, struct lpfc_vport *, uint16_t); 110 struct lpfc_nodelist *__lpfc_findnode_rpi(struct lpfc_vport *, uint16_t); 111 struct lpfc_nodelist *lpfc_findnode_rpi(struct lpfc_vport *, uint16_t); 161 struct lpfc_iocbq *lpfc_prep_els_iocb(struct lpfc_vport *, uint8_t, uint16_t, 220 void lpfc_init_vpi(struct lpfc_hba *, struct lpfcMboxq *, uint16_t); 223 void lpfc_unreg_fcfi(struct lpfcMboxq *, uint16_t); 235 uint16_t); 242 uint16_t lpfc_sli4_fcf_rr_next_index_get(struct lpfc_hba *); 243 void lpfc_sli4_set_fcf_flogi_fail(struct lpfc_hba *, uint16_t); 244 int lpfc_sli4_fcf_rr_index_set(struct lpfc_hba *, uint16_t); 245 void lpfc_sli4_fcf_rr_index_clear(struct lpfc_hba *, uint16_t); 246 int lpfc_sli4_fcf_rr_next_proc(struct lpfc_vport *, uint16_t); 265 uint16_t lpfc_sli_next_iotag(struct lpfc_hba *, struct lpfc_iocbq *); 312 int lpfc_sli_sum_iocb(struct lpfc_vport *, uint16_t, uint64_t, lpfc_ctx_cmd); 313 int lpfc_sli_abort_iocb(struct lpfc_vport *, struct lpfc_sli_ring *, uint16_t, 317 uint16_t, uint64_t, lpfc_ctx_cmd); 389 int lpfc_sli4_get_allocated_extnts(struct lpfc_hba *, uint16_t, 390 uint16_t *, uint16_t *); 391 int lpfc_sli4_get_avail_extnt_rsrc(struct lpfc_hba *, uint16_t, 392 uint16_t *, uint16_t *); 429 struct lpfc_vport *lpfc_find_vport_by_vpid(struct lpfc_hba *, uint16_t); 430 struct lpfc_sglq *__lpfc_get_active_sglq(struct lpfc_hba *, uint16_t); 449 void lpfc_clr_rrq_active(struct lpfc_hba *, uint16_t, struct lpfc_node_rrq *); 450 int lpfc_test_rrq_active(struct lpfc_hba *, struct lpfc_nodelist *, uint16_t); 454 uint16_t, uint16_t, uint16_t); 455 uint16_t lpfc_sli4_xri_inrange(struct lpfc_hba *, uint16_t); 457 struct lpfc_node_rrq *lpfc_get_active_rrq(struct lpfc_vport *, uint16_t, 466 uint16_t lpfc_sli_sriov_nr_virtfn_get(struct lpfc_hba *);
|
H A D | lpfc_sli.h | 54 uint16_t iotag; /* pre-assigned IO tag */ 55 uint16_t sli4_lxritag; /* logical pre-assigned XRI. */ 56 uint16_t sli4_xritag; /* pre-assigned XRI, (OXID) tag. */ 130 uint16_t in_ext_byte_len; 131 uint16_t out_ext_byte_len; 177 uint16_t numCiocb; /* number of command iocb's per ring */ 178 uint16_t numRiocb; /* number of rsp iocb's per ring */ 179 uint16_t sizeCiocb; /* Size of command iocb's in this ring */ 180 uint16_t sizeRiocb; /* Size of response iocb's in this ring */ 192 uint16_t flag; /* ring flags */ 196 uint16_t abtsiotag; /* tracks next iotag to use for ABTS */ 207 uint16_t txq_cnt; /* current length of queue */ 208 uint16_t txq_max; /* max length */ 210 uint16_t txcmplq_cnt; /* current length of queue */ 211 uint16_t txcmplq_max; /* max length */ 214 uint16_t postbufq_cnt; /* current length of queue */ 215 uint16_t postbufq_max; /* max length */ 217 uint16_t iocb_continueq_cnt; /* current length of queue */ 218 uint16_t iocb_continueq_max; /* max length */ 308 uint16_t mboxq_cnt; /* current length of queue */ 309 uint16_t mboxq_max; /* max length */ 319 uint16_t last_iotag; /* last allocated IOTAG */
|
H A D | lpfc_disc.h | 85 uint16_t nlp_type; 91 uint16_t nlp_rpi; 92 uint16_t nlp_state; /* state transition indicator */ 93 uint16_t nlp_prev_state; /* state transition indicator */ 94 uint16_t nlp_xri; /* output exchange id for RPI */ 95 uint16_t nlp_sid; /* scsi id */ 97 uint16_t nlp_maxframe; /* Max RCV frame size */ 103 uint16_t nlp_usg_map; /* ndlp management usage bitmap */ 125 uint16_t xritag; 126 uint16_t send_rrq; 127 uint16_t rxid;
|
H A D | lpfc.h | 156 uint16_t rBit; 307 uint16_t vpi; 308 uint16_t vfi; 350 uint16_t fc_plogi_cnt; 351 uint16_t fc_adisc_cnt; 352 uint16_t fc_reglogin_cnt; 353 uint16_t fc_prli_cnt; 354 uint16_t fc_unmap_cnt; 355 uint16_t fc_map_cnt; 356 uint16_t fc_npr_cnt; 357 uint16_t fc_unused_cnt; 447 uint16_t entry_count; /* Current number of HBQ slots */ 448 uint16_t buffer_count; /* Current number of buffers posted */ 485 uint16_t oxid; 486 uint16_t rxid; 659 uint16_t pci_cfg_value; 865 uint16_t max_vpi; /* Maximum virtual nports */ 867 uint16_t max_vports; /* 873 uint16_t vpi_base; 874 uint16_t vfi_base; 876 uint16_t *vpi_ids; 877 uint16_t vpi_count; 976 uint16_t vlan_id;
|
/linux-4.1.27/tools/include/tools/ |
H A D | be_byteshift.h | 6 static inline uint16_t __get_unaligned_be16(const uint8_t *p) __get_unaligned_be16() 22 static inline void __put_unaligned_be16(uint16_t val, uint8_t *p) __put_unaligned_be16() 40 static inline uint16_t get_unaligned_be16(const void *p) get_unaligned_be16() 55 static inline void put_unaligned_be16(uint16_t val, void *p) put_unaligned_be16()
|
H A D | le_byteshift.h | 6 static inline uint16_t __get_unaligned_le16(const uint8_t *p) __get_unaligned_le16() 22 static inline void __put_unaligned_le16(uint16_t val, uint8_t *p) __put_unaligned_le16() 40 static inline uint16_t get_unaligned_le16(const void *p) get_unaligned_le16() 55 static inline void put_unaligned_le16(uint16_t val, void *p) put_unaligned_le16()
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
H A D | interface_32.h | 56 uint16_t error_code; /* private */ 57 uint16_t entry_vector; /* private */ 59 uint16_t cs; 64 uint16_t ss, _pad1; 65 uint16_t es, _pad2; 66 uint16_t ds, _pad3; 67 uint16_t fs, _pad4; 68 uint16_t gs, _pad5;
|
H A D | interface_64.h | 117 uint16_t cs, _pad0[1]; 122 uint16_t ss, _pad2[3]; 123 uint16_t es, _pad3[3]; 124 uint16_t ds, _pad4[3]; 125 uint16_t fs, _pad5[3]; /* Non-zero => takes precedence over fs_base. */ 126 uint16_t gs, _pad6[3]; /* Non-zero => takes precedence over gs_base_usr. */
|
H A D | pci.h | 19 int xen_register_device_domain_owner(struct pci_dev *dev, uint16_t domain); 31 uint16_t domain) xen_register_device_domain_owner()
|
/linux-4.1.27/drivers/scsi/ |
H A D | qla1280.h | 125 uint16_t id_l; /* ID low */ 126 uint16_t id_h; /* ID high */ 127 uint16_t cfg_0; /* Configuration 0 */ 135 uint16_t cfg_1; /* Configuration 1 */ 142 uint16_t ictrl; /* Interface control */ 148 uint16_t istatus; /* Interface status */ 152 uint16_t semaphore; /* Semaphore */ 153 uint16_t nvram; /* NVRAM register. */ 159 uint16_t flash_data; /* Flash BIOS data */ 160 uint16_t flash_address; /* Flash BIOS address */ 162 uint16_t unused_1[0x06]; 165 uint16_t cdma_cfg; 170 uint16_t cdma_ctrl; 171 uint16_t cdma_status; 172 uint16_t cdma_fifo_status; 173 uint16_t cdma_count; 174 uint16_t cdma_reserved; 175 uint16_t cdma_address_count_0; 176 uint16_t cdma_address_count_1; 177 uint16_t cdma_address_count_2; 178 uint16_t cdma_address_count_3; 180 uint16_t unused_2[0x06]; 182 uint16_t ddma_cfg; 187 uint16_t ddma_ctrl; 188 uint16_t ddma_status; 189 uint16_t ddma_fifo_status; 190 uint16_t ddma_xfer_count_low; 191 uint16_t ddma_xfer_count_high; 192 uint16_t ddma_addr_count_0; 193 uint16_t ddma_addr_count_1; 194 uint16_t ddma_addr_count_2; 195 uint16_t ddma_addr_count_3; 197 uint16_t unused_3[0x0e]; 199 uint16_t mailbox0; /* Mailbox 0 */ 200 uint16_t mailbox1; /* Mailbox 1 */ 201 uint16_t mailbox2; /* Mailbox 2 */ 202 uint16_t mailbox3; /* Mailbox 3 */ 203 uint16_t mailbox4; /* Mailbox 4 */ 204 uint16_t mailbox5; /* Mailbox 5 */ 205 uint16_t mailbox6; /* Mailbox 6 */ 206 uint16_t mailbox7; /* Mailbox 7 */ 208 uint16_t unused_4[0x20];/* 0x80-0xbf Gap */ 210 uint16_t host_cmd; /* Host command and control */ 214 uint16_t unused_5[0x5]; /* 0xc2-0xcb Gap */ 216 uint16_t gpio_data; 217 uint16_t gpio_enable; 219 uint16_t unused_6[0x11]; /* d0-f0 */ 220 uint16_t scsiControlPins; /* f2 */ 374 uint16_t unused_8; /* 8, 9 */ 375 uint16_t unused_10; /* 10, 11 */ 376 uint16_t unused_12; /* 12, 13 */ 377 uint16_t unused_14; /* 14, 15 */ 398 uint16_t isp_parameter; /* 18, 19 */ 401 uint16_t w; 403 uint16_t enable_fast_posting:1; 404 uint16_t report_lvd_bus_transition:1; 405 uint16_t unused_2:1; 406 uint16_t unused_3:1; 407 uint16_t disable_iosbs_with_bus_reset_status:1; 408 uint16_t disable_synchronous_backoff:1; 409 uint16_t unused_6:1; 410 uint16_t synchronous_backoff_reporting:1; 411 uint16_t disable_reselection_fairness:1; 412 uint16_t unused_9:1; 413 uint16_t unused_10:1; 414 uint16_t unused_11:1; 415 uint16_t unused_12:1; 416 uint16_t unused_13:1; 417 uint16_t unused_14:1; 418 uint16_t unused_15:1; 422 uint16_t unused_22; /* 22, 23 */ 447 uint16_t selection_timeout; /* 30, 31 */ 448 uint16_t max_queue_depth; /* 32, 33 */ 450 uint16_t unused_34; /* 34, 35 */ 451 uint16_t unused_36; /* 36, 37 */ 452 uint16_t unused_38; /* 38, 39 */ 498 uint16_t unused_248; /* 248, 249 */ 500 uint16_t subsystem_id[2]; /* 250, 251, 252, 253 */ 994 uint16_t device_enables; /* Device enable bits. */ 995 uint16_t lun_disables; /* LUN disable bits. */ 996 uint16_t qtag_enables; /* Tag queue enables. */ 997 uint16_t hiwat; /* High water mark per device. */ 1009 uint16_t sync_mask; 1010 uint16_t wide_mask; 1011 uint16_t ppr_mask; 1042 volatile uint16_t mailbox_out[MAILBOX_REGISTER_COUNT]; 1047 uint16_t req_ring_index; /* Current index. */ 1048 uint16_t req_q_cnt; /* Number of available entries. */ 1053 uint16_t rsp_ring_index; /* Current index. */
|
H A D | ips.h | 433 uint16_t sector_count; 443 uint16_t reserved; 483 uint16_t reserved; 486 uint16_t reserved3; 557 uint16_t reserved; 588 uint16_t reserved; 635 uint16_t transfer_length; 654 uint16_t sg_count; 696 uint16_t usFlashRepgmCount; 701 uint16_t usConfigUpdateCount; 704 uint16_t usAddrDeadDisk[IPS_MAX_CHANNELS * (IPS_MAX_TARGETS + 1)]; 719 uint16_t ucReserved; 725 uint16_t ucUserField; 755 uint16_t user_field; 768 uint16_t adapter_type; 859 uint16_t TracksPerZone; 860 uint16_t AltSectorsPerZone; 861 uint16_t AltTracksPerZone; 862 uint16_t AltTracksPerVolume; 863 uint16_t SectorsPerTrack; 864 uint16_t BytesPerSector; 865 uint16_t Interleave; 866 uint16_t TrackSkew; 867 uint16_t CylinderSkew; 878 uint16_t CylindersHigh; 881 uint16_t WritePrecompHigh; 883 uint16_t ReducedWriteCurrentHigh; 885 uint16_t StepRate; 886 uint16_t LandingZoneHigh; 891 uint16_t MediumRotationRate; 903 uint16_t DisPrefetchLen; 904 uint16_t MinPrefetchLen; 905 uint16_t MaxPrefetchLen; 906 uint16_t MaxPrefetchCeiling; 915 uint16_t BlockLengthHigh; 1030 uint16_t ad_type; /* Adapter type */ 1031 uint16_t host_num; /* Adapter number */ 1056 uint16_t reset_count; /* number of resets */ 1121 uint16_t breakup;
|
H A D | qla1280.c | 431 uint8_t, uint16_t *); 441 static void qla1280_nv_write(struct scsi_qla_host *, uint16_t); 452 static uint16_t qla1280_get_nvram_word(struct scsi_qla_host *, uint32_t); 453 static uint16_t qla1280_nvram_request(struct scsi_qla_host *, uint32_t); 454 static uint16_t qla1280_debounce_register(volatile uint16_t __iomem *); 468 static inline uint16_t qla1280_data_direction() 608 uint16_t *wptr; qla1280_read_nvram() 620 wptr = (uint16_t *)&ha->nvram; qla1280_read_nvram() 1146 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_set_target_parameters() 1156 mb[1] = (uint16_t)((bus ? target | BIT_7 : target) << 8); qla1280_set_target_parameters() 1182 mb[1] = (uint16_t)((bus ? target | BIT_7 : target) << 8); qla1280_set_target_parameters() 1324 uint16_t comp_status = le16_to_cpu(sts->comp_status); qla1280_return_status() 1325 uint16_t state_flags = le16_to_cpu(sts->state_flags); qla1280_return_status() 1327 uint16_t scsi_status = le16_to_cpu(sts->scsi_status); qla1280_return_status() 1593 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_chip_diag() 1597 uint16_t data; qla1280_chip_diag() 1707 uint16_t risc_address, risc_code_size; qla1280_load_firmware_pio() 1708 uint16_t mb[MAILBOX_REGISTER_COUNT], i; qla1280_load_firmware_pio() 1746 uint16_t risc_address, risc_code_size; qla1280_load_firmware_dma() 1747 uint16_t mb[MAILBOX_REGISTER_COUNT], cnt; qla1280_load_firmware_dma() 1852 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_start_firmware() 1917 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_init_rings() 2103 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_config_target() 2105 uint16_t flag; qla1280_config_target() 2109 mb[1] = (uint16_t)((bus ? target | BIT_7 : target) << 8); qla1280_config_target() 2147 mb[1] = (uint16_t)((bus ? target | BIT_7 : target) << 8); qla1280_config_target() 2161 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_config_bus() 2195 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_nvram_config() 2217 uint16_t hwrev, cfg1, cdma_conf, ddma_conf; qla1280_nvram_config() 2235 uint16_t cfg1, term; qla1280_nvram_config() 2353 static uint16_t qla1280_get_nvram_word() 2357 uint16_t data; qla1280_get_nvram_word() 2384 static uint16_t qla1280_nvram_request() 2389 uint16_t data = 0; qla1280_nvram_request() 2390 uint16_t reg_data; qla1280_nvram_request() 2428 qla1280_nv_write(struct scsi_qla_host *ha, uint16_t data) qla1280_nv_write() 2459 qla1280_mailbox_command(struct scsi_qla_host *ha, uint8_t mr, uint16_t *mb) qla1280_mailbox_command() 2464 uint16_t *optr, *iptr; qla1280_mailbox_command() 2465 uint16_t __iomem *mptr; qla1280_mailbox_command() 2466 uint16_t data; qla1280_mailbox_command() 2482 mptr = (uint16_t __iomem *) ®->mailbox0; qla1280_mailbox_command() 2531 iptr = (uint16_t *) &ha->mailbox_out[0]; qla1280_mailbox_command() 2533 memcpy(optr, iptr, MAILBOX_REGISTER_COUNT * sizeof(uint16_t)); qla1280_mailbox_command() 2557 uint16_t data; qla1280_poll() 2592 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_bus_reset() 2593 uint16_t reset_delay; qla1280_bus_reset() 2605 mb[2] = (uint16_t) bus; qla1280_bus_reset() 2652 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_device_reset() 2686 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_abort_command() 3419 uint16_t mailbox[MAILBOX_REGISTER_COUNT]; qla1280_isr() 3420 uint16_t *wptr; qla1280_isr() 3551 memcpy((uint16_t *) ha->mailbox_out, wptr, qla1280_isr() 3553 sizeof(uint16_t)); qla1280_isr() 3679 uint16_t scsi_status = le16_to_cpu(pkt->scsi_status); qla1280_status_entry() 3680 uint16_t comp_status = le16_to_cpu(pkt->comp_status); qla1280_status_entry() 3722 uint16_t req_sense_length = qla1280_status_entry() 3941 uint16_t config_reg, scsi_control; qla1280_check_for_dead_scsi_bus() 3967 uint16_t mb[MAILBOX_REGISTER_COUNT]; qla1280_get_target_parameters() 3976 mb[1] = (uint16_t) (bus ? target | BIT_7 : target); qla1280_get_target_parameters()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.h | 96 struct tiler_block *tiler_reserve_2d(enum tiler_fmt fmt, uint16_t w, uint16_t h, 97 uint16_t align); 106 size_t tiler_size(enum tiler_fmt fmt, uint16_t w, uint16_t h); 107 size_t tiler_vsize(enum tiler_fmt fmt, uint16_t w, uint16_t h); 108 void tiler_align(enum tiler_fmt fmt, uint16_t *w, uint16_t *h);
|
/linux-4.1.27/drivers/staging/fsl-mc/bus/ |
H A D | dpbp.c | 37 int dpbp_open(struct fsl_mc_io *mc_io, int dpbp_id, uint16_t *token) dpbp_open() 59 int dpbp_close(struct fsl_mc_io *mc_io, uint16_t token) dpbp_close() 74 uint16_t *token) dpbp_create() 96 int dpbp_destroy(struct fsl_mc_io *mc_io, uint16_t token) dpbp_destroy() 108 int dpbp_enable(struct fsl_mc_io *mc_io, uint16_t token) dpbp_enable() 121 int dpbp_disable(struct fsl_mc_io *mc_io, uint16_t token) dpbp_disable() 134 int dpbp_is_enabled(struct fsl_mc_io *mc_io, uint16_t token, int *en) dpbp_is_enabled() 153 int dpbp_reset(struct fsl_mc_io *mc_io, uint16_t token) dpbp_reset() 166 uint16_t token, dpbp_set_irq() 187 uint16_t token, dpbp_get_irq() 216 uint16_t token, dpbp_set_irq_enable() 233 uint16_t token, dpbp_get_irq_enable() 256 uint16_t token, dpbp_set_irq_mask() 273 uint16_t token, dpbp_get_irq_mask() 296 uint16_t token, dpbp_get_irq_status() 319 uint16_t token, dpbp_clear_irq_status() 336 uint16_t token, dpbp_get_attributes() 352 attr->bpid = (uint16_t)mc_dec(cmd.params[0], 16, 16); dpbp_get_attributes() 354 attr->version.major = (uint16_t)mc_dec(cmd.params[1], 0, 16); dpbp_get_attributes() 355 attr->version.minor = (uint16_t)mc_dec(cmd.params[1], 16, 16); dpbp_get_attributes()
|
H A D | dpmcp.c | 37 int dpmcp_open(struct fsl_mc_io *mc_io, int dpmcp_id, uint16_t *token) dpmcp_open() 58 int dpmcp_close(struct fsl_mc_io *mc_io, uint16_t token) dpmcp_close() 72 uint16_t *token) dpmcp_create() 93 int dpmcp_destroy(struct fsl_mc_io *mc_io, uint16_t token) dpmcp_destroy() 105 int dpmcp_reset(struct fsl_mc_io *mc_io, uint16_t token) dpmcp_reset() 118 uint16_t token, dpmcp_set_irq() 139 uint16_t token, dpmcp_get_irq() 168 uint16_t token, dpmcp_set_irq_enable() 185 uint16_t token, dpmcp_get_irq_enable() 208 uint16_t token, dpmcp_set_irq_mask() 225 uint16_t token, dpmcp_get_irq_mask() 248 uint16_t token, dpmcp_get_irq_status() 271 uint16_t token, dpmcp_clear_irq_status() 288 uint16_t token, dpmcp_get_attributes() 305 attr->version.major = (uint16_t)mc_dec(cmd.params[1], 0, 16); dpmcp_get_attributes() 306 attr->version.minor = (uint16_t)mc_dec(cmd.params[1], 16, 16); dpmcp_get_attributes()
|
H A D | dpmcp.h | 57 int dpmcp_open(struct fsl_mc_io *mc_io, int dpmcp_id, uint16_t *token); 72 int dpmcp_close(struct fsl_mc_io *mc_io, uint16_t token); 105 uint16_t *token); 114 int dpmcp_destroy(struct fsl_mc_io *mc_io, uint16_t token); 123 int dpmcp_reset(struct fsl_mc_io *mc_io, uint16_t token); 148 uint16_t token, 169 uint16_t token, 191 uint16_t token, 205 uint16_t token, 225 uint16_t token, 242 uint16_t token, 259 uint16_t token, 276 uint16_t token, 293 uint16_t major; 294 uint16_t minor; 308 uint16_t token,
|
H A D | dprc.c | 37 int dprc_open(struct fsl_mc_io *mc_io, int container_id, uint16_t *token) dprc_open() 59 int dprc_close(struct fsl_mc_io *mc_io, uint16_t token) dprc_close() 73 uint16_t token, dprc_create_container() 102 uint16_t token, dprc_destroy_container() 117 uint16_t token, dprc_reset_container() 132 uint16_t token, dprc_get_irq() 163 uint16_t token, dprc_set_irq() 185 uint16_t token, dprc_get_irq_enable() 209 uint16_t token, dprc_set_irq_enable() 226 uint16_t token, dprc_get_irq_mask() 250 uint16_t token, dprc_set_irq_mask() 267 uint16_t token, dprc_get_irq_status() 291 uint16_t token, dprc_clear_irq_status() 308 uint16_t token, dprc_get_attributes() 336 uint16_t token, dprc_set_res_quota() 339 uint16_t quota) dprc_set_res_quota() 370 uint16_t token, dprc_get_res_quota() 373 uint16_t *quota) dprc_get_res_quota() 411 uint16_t token, dprc_assign() 446 uint16_t token, dprc_unassign() 482 uint16_t token, dprc_get_pool_count() 504 uint16_t token, dprc_get_pool() 543 int dprc_get_obj_count(struct fsl_mc_io *mc_io, uint16_t token, int *obj_count) dprc_get_obj_count() 565 uint16_t token, dprc_get_obj() 613 uint16_t token, dprc_get_res_count() 655 uint16_t token, dprc_get_res_ids() 700 uint16_t token, dprc_get_portal_paddr() 725 uint16_t token, dprc_get_obj_region() 770 uint16_t token, dprc_connect() 822 uint16_t token, dprc_disconnect() 855 uint16_t token, dprc_get_connection()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.h | 58 uint16_t num_domains; 95 uint16_t reserved; 99 uint16_t num_cpu_cores; 100 uint16_t num_simd_cores; 101 uint16_t max_waves_simd; 102 uint16_t io_count; 103 uint16_t hsa_capability; 104 uint16_t lds_size_in_kb; 107 uint16_t micro_engine_id; 128 uint16_t reserved; 154 uint16_t reserved; 161 uint16_t cache_line_size; 164 uint16_t cache_latency; 183 uint16_t reserved; 214 uint16_t reserved; 243 uint16_t reserved; 249 uint16_t version_minor; 267 uint16_t reserved; 288 uint16_t num_domains;
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_93cx6.h | 59 uint16_t sd_MS; 60 uint16_t sd_RDY; 61 uint16_t sd_CS; 62 uint16_t sd_CK; 63 uint16_t sd_DO; 64 uint16_t sd_DI; 96 int ahc_read_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, 98 int ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf,
|
H A D | aic79xx.h | 490 /*16*/ uint16_t tag; /* Reused by Sequencer. */ 664 uint16_t numscbs; 665 uint16_t maxhscbs; /* Number of SCBs on the card */ 777 uint16_t auto_negotiate;/* Auto Negotiation Required */ 778 uint16_t discenable; /* Disconnection allowed */ 779 uint16_t tagenable; /* Tagged Queuing allowed */ 827 uint16_t device_flags[16]; /* words 0-15 */ 842 uint16_t bios_control; /* word 16 */ 864 uint16_t adapter_control; /* word 17 */ 879 uint16_t brtime_id; /* word 18 */ 887 uint16_t max_targets; /* word 19 */ 891 uint16_t res_1[10]; /* words 20-29 */ 892 uint16_t signature; /* BIOS Signature */ 894 uint16_t checksum; /* word 31 */ 909 uint16_t vpd_len; 918 uint16_t default_target_flags; 919 uint16_t default_bios_flags; 920 uint16_t default_ctrl_flags; 925 uint16_t signature; 962 int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, 965 int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, 1053 uint16_t tag; 1148 uint16_t qoutfifonext; 1149 uint16_t qoutfifonext_valid_tag; 1150 uint16_t qinfifonext; 1151 uint16_t qinfifo[AHD_SCB_MAX]; 1158 uint16_t qfreeze_cnt; 1228 uint16_t *saved_stack; 1255 uint16_t user_discenable;/* Disconnection allowed */ 1256 uint16_t user_tagenable;/* Tagged Queuing allowed */ 1297 uint16_t target_mask;
|
H A D | aic7xxx_93cx6.c | 155 ahc_read_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, ahc_read_seeprom() 160 uint16_t v; ahc_read_seeprom() 227 ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, ahc_write_seeprom() 231 uint16_t v; ahc_write_seeprom() 310 uint16_t *scarray; ahc_verify_cksum() 314 scarray = (uint16_t *)sc; ahc_verify_cksum()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-roccat-kone.h | 20 uint16_t period; /* in milliseconds */ 98 uint16_t size; /* always 975 */ 99 uint16_t unused; /* always 0 */ 108 uint16_t main_sensitivity; /* range 100-1000 */ 110 uint16_t x_sensitivity; /* range 100-1000 */ 111 uint16_t y_sensitivity; /* range 100-1000 */ 129 uint16_t checksum; /* \brief holds checksum of struct */ 139 uint16_t size; /* always 36 */ 146 uint16_t checksum; 155 uint16_t x; 156 uint16_t y;
|
/linux-4.1.27/fs/cifs/ |
H A D | cache.c | 52 uint16_t family; /* address family */ 63 static uint16_t cifs_server_get_key(const void *cookie_netfs_data, cifs_server_get_key() 64 void *buffer, uint16_t maxbuf) cifs_server_get_key() 71 uint16_t key_len = sizeof(struct cifs_server_key); cifs_server_get_key() 146 static uint16_t cifs_super_get_key(const void *cookie_netfs_data, void *buffer, cifs_super_get_key() 147 uint16_t maxbuf) cifs_super_get_key() 151 uint16_t len; cifs_super_get_key() 171 static uint16_t cifs_fscache_super_get_aux() 173 uint16_t maxbuf) cifs_fscache_super_get_aux() 192 uint16_t datalen) cifs_fscache_super_check_aux() 229 static uint16_t cifs_fscache_inode_get_key(const void *cookie_netfs_data, cifs_fscache_inode_get_key() 230 void *buffer, uint16_t maxbuf) cifs_fscache_inode_get_key() 233 uint16_t keylen; cifs_fscache_inode_get_key() 253 static uint16_t cifs_fscache_inode_get_aux() 255 uint16_t maxbuf) cifs_fscache_inode_get_aux() 276 uint16_t datalen) cifs_fscache_inode_check_aux()
|
/linux-4.1.27/fs/fscache/ |
H A D | fsdef.c | 16 static uint16_t fscache_fsdef_netfs_get_key(const void *cookie_netfs_data, 17 void *buffer, uint16_t bufmax); 19 static uint16_t fscache_fsdef_netfs_get_aux(const void *cookie_netfs_data, 20 void *buffer, uint16_t bufmax); 25 uint16_t datalen); 83 static uint16_t fscache_fsdef_netfs_get_key(const void *cookie_netfs_data, fscache_fsdef_netfs_get_key() 84 void *buffer, uint16_t bufmax) fscache_fsdef_netfs_get_key() 103 static uint16_t fscache_fsdef_netfs_get_aux(const void *cookie_netfs_data, fscache_fsdef_netfs_get_aux() 104 void *buffer, uint16_t bufmax) fscache_fsdef_netfs_get_aux() 126 uint16_t datalen) fscache_fsdef_netfs_check_aux()
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
H A D | usbip_common.h | 105 uint16_t idVendor; 106 uint16_t idProduct; 107 uint16_t bcdDevice; 132 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor, 133 uint16_t product);
|
H A D | usbip_common.c | 191 READ_ATTR(udev, uint16_t, sdev, idVendor, "%04x\n"); read_usb_device() 192 READ_ATTR(udev, uint16_t, sdev, idProduct, "%04x\n"); read_usb_device() 193 READ_ATTR(udev, uint16_t, sdev, bcdDevice, "%04x\n"); read_usb_device() 245 void usbip_names_get_product(char *buff, size_t size, uint16_t vendor, usbip_names_get_product() 246 uint16_t product) usbip_names_get_product()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
H A D | csio_wr.h | 120 uint16_t physiqid; 121 uint16_t iqid; 123 uint16_t fl0id; 124 uint16_t fl1id; 136 uint16_t iqandstindex; 149 uint16_t iqsize; 174 uint16_t fl0size; 194 uint16_t fl1size; 208 uint16_t physeqid; 215 uint16_t iqid; 226 uint16_t eqsize; 249 uint16_t wr_status; /* WR completion status */ 266 uint16_t reserved2; 354 uint16_t iqid; /* Queue ID */ 355 uint16_t physiqid; /* Physical Queue ID */ 356 uint16_t genbit; /* Generation bit, 364 uint16_t eqid; /* Qid */ 365 uint16_t physeqid; /* Physical Queue ID */ 370 uint16_t flid; /* Qid */ 371 uint16_t packen; /* Packing enabled? */ 394 uint16_t type; /* Type: Ingress/Egress/FL */ 395 uint16_t pidx; /* producer index */ 396 uint16_t cidx; /* consumer index */ 397 uint16_t inc_idx; /* Incremental index */ 433 uint16_t timer_val[CSIO_SGE_NTIMERS]; 484 uint16_t, void *, uint32_t, int, iq_handler_t);
|
H A D | csio_hw.h | 245 uint16_t vendor_id; 246 uint16_t device_id; 248 uint16_t speed; 272 uint16_t pcap; 275 uint16_t link_speed; 285 uint16_t e_d_tov; 286 uint16_t r_a_tov_seq; 287 uint16_t r_a_tov_els; 288 uint16_t r_r_tov; 450 uint16_t chip_id; /* Tells T4/T5 chip */ 590 int csio_enqueue_evt(struct csio_hw *, enum csio_evt, void *, uint16_t);
|
H A D | csio_lnode.h | 75 uint16_t vf_id; 77 uint16_t max_fcoe_size; 153 uint16_t rsvd2; 168 uint16_t ssn_cnt; /* Registered Session */
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | xilinx-xadc.h | 51 uint16_t threshold[16]; 52 uint16_t temp_hysteresis; 55 uint16_t *data; 75 int (*read)(struct xadc *, unsigned int, uint16_t *); 76 int (*write)(struct xadc *, unsigned int, uint16_t); 88 uint16_t *val) _xadc_read_adc_reg() 95 uint16_t val) _xadc_write_adc_reg() 102 uint16_t *val) xadc_read_adc_reg() 113 uint16_t val) xadc_write_adc_reg()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | qxl_dev.h | 256 uint16_t count; 257 uint16_t padding; 411 uint16_t type; 412 uint16_t width; 413 uint16_t height; 414 uint16_t hot_spot_x; 415 uint16_t hot_spot_y; 443 uint16_t length; 444 uint16_t frequency; 473 uint16_t width; 474 uint16_t height; 480 uint16_t length; 481 uint16_t flags; 521 uint16_t rop_descriptor; 529 uint16_t rop_descriptor; 537 uint16_t rop_descriptor; 550 uint16_t alpha_flags; 585 uint16_t fore_mode; 586 uint16_t back_mode; 594 uint16_t fore_mode; 595 uint16_t back_mode; 684 uint16_t bitmap_offset; 824 uint16_t num_ents; 871 uint16_t count; 872 uint16_t max_allowed; /* If it is 0 no fixed limit is given by the
|
/linux-4.1.27/arch/mips/include/asm/mach-jz4740/ |
H A D | timer.h | 89 static inline void jz4740_timer_set_period(unsigned int timer, uint16_t period) jz4740_timer_set_period() 94 static inline void jz4740_timer_set_duty(unsigned int timer, uint16_t duty) jz4740_timer_set_duty() 99 static inline void jz4740_timer_set_count(unsigned int timer, uint16_t count) jz4740_timer_set_count() 104 static inline uint16_t jz4740_timer_get_count(unsigned int timer) jz4740_timer_get_count() 125 static inline void jz4740_timer_set_ctrl(unsigned int timer, uint16_t ctrl) jz4740_timer_set_ctrl() 130 static inline uint16_t jz4740_timer_get_ctrl(unsigned int timer) jz4740_timer_get_ctrl()
|
/linux-4.1.27/include/xen/interface/ |
H A D | xen-mca.h | 68 uint16_t type; /* structure type */ 69 uint16_t size; /* size of this struct in bytes */ 84 uint16_t mc_domid; /* running domain at the time in error */ 85 uint16_t mc_vcpuid; /* virtual cpu scheduled for mc_domid */ 87 uint16_t mc_coreid; /* physical impacted core */ 88 uint16_t mc_core_threadid; /* core thread of physical core */ 98 uint16_t mc_bank; /* bank nr */ 99 uint16_t mc_domid; /* domain referenced by mc_addr if valid */ 158 uint16_t mc_coreid; 159 uint16_t mc_core_threadid; 165 uint16_t mc_bank; /* bank nr */ 192 uint16_t mc_coreid; 193 uint16_t mc_threadid; 235 * void x86_mcinfo_lookup(void *ret, struct mc_info *mi, uint16_t type); 238 struct mc_info *mi, uint16_t type) x86_mcinfo_lookup() 286 uint16_t mc_domid; /* The unprivileged domain to notify */ 287 uint16_t mc_vcpuid; /* The vcpu in mc_domid to notify */
|
H A D | callback.h | 85 uint16_t type; 86 uint16_t flags; 98 uint16_t type; 99 uint16_t _unused;
|
H A D | platform.h | 137 uint16_t year; 170 uint16_t data2; 171 uint16_t data3; 228 uint16_t interface_support; /* %cx: support bitmap */ 230 uint16_t legacy_max_cylinder; /* %cl[7:6]:%ch: max cyl # */ 234 /* NB. First uint16_t of buffer must be set to buffer size. */ 277 uint16_t val_a; /* PM1a control / sleep type A. */ 278 uint16_t val_b; /* PM1b control / sleep type B. */ 377 uint16_t length;
|
H A D | grant_table.h | 105 uint16_t flags; 179 uint16_t flags; 212 uint16_t page_off; 213 uint16_t length; 226 uint16_t pad0; 233 typedef uint16_t grant_status_t; 381 uint16_t offset; 383 uint16_t len; 384 uint16_t flags; /* GNTCOPY_* */ 475 uint16_t pad; 491 uint16_t offset; /* offset from start of grant */ 492 uint16_t length; /* size within the grant */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | opal.h | 64 uint64_t offset, uint16_t data); 67 int64_t opal_set_xive(uint32_t isn, uint16_t server, uint8_t priority); 86 int64_t opal_pci_phb_mmio_enable(uint64_t phb_id, uint16_t window_type, 87 uint16_t window_num, uint16_t enable); 88 int64_t opal_pci_set_phb_mem_window(uint64_t phb_id, uint16_t window_type, 89 uint16_t window_num, 93 int64_t opal_pci_map_pe_mmio_window(uint64_t phb_id, uint16_t pe_number, 94 uint16_t window_type, uint16_t window_num, 95 uint16_t segment_num); 126 int64_t opal_pci_map_pe_dma_window(uint64_t phb_id, uint16_t pe_number, uint16_t window_id, 127 uint16_t tce_levels, uint64_t tce_table_addr, 129 int64_t opal_pci_map_pe_dma_window_real(uint64_t phb_id, uint16_t pe_number, 130 uint16_t dma_window_number, uint64_t pci_start_addr, 142 int64_t opal_pci_mask_pe_error(uint64_t phb_id, uint16_t pe_number, uint8_t error_type, uint8_t mask_action);
|
/linux-4.1.27/sound/usb/ |
H A D | midi.h | 13 uint16_t out_cables; /* bitmask */ 14 uint16_t in_cables; /* bitmask */
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | irq-mb93093.c | 39 uint16_t imr = __get_IMR(); frv_fpga_mask() 52 uint16_t imr = __get_IMR(); frv_fpga_mask_ack() 62 uint16_t imr = __get_IMR(); frv_fpga_unmask() 82 uint16_t imr, mask = (unsigned long) _mask; fpga_interrupt()
|
H A D | irq-mb93091.c | 40 uint16_t imr = __get_IMR(); frv_fpga_mask() 54 uint16_t imr = __get_IMR(); frv_fpga_mask_ack() 64 uint16_t imr = __get_IMR(); frv_fpga_unmask() 84 uint16_t imr, mask = (unsigned long) _mask; fpga_interrupt()
|
/linux-4.1.27/fs/udf/ |
H A D | udfdecl.h | 181 uint32_t, uint16_t *); 184 uint16_t *); 186 extern void udf_new_tag(char *, uint16_t, uint16_t, uint16_t, uint32_t, int); 193 extern uint32_t udf_get_pblock(struct super_block *, uint32_t, uint16_t, 195 extern uint32_t udf_get_pblock_virt15(struct super_block *, uint32_t, uint16_t, 197 extern uint32_t udf_get_pblock_virt20(struct super_block *, uint32_t, uint16_t, 199 extern uint32_t udf_get_pblock_spar15(struct super_block *, uint32_t, uint16_t, 201 extern uint32_t udf_get_pblock_meta25(struct super_block *, uint32_t, uint16_t, 233 extern int udf_prealloc_blocks(struct super_block *, struct inode *, uint16_t, 235 extern int udf_new_block(struct super_block *, struct inode *, uint16_t,
|
H A D | misc.c | 52 uint16_t crclen; udf_add_extendedattr() 202 uint32_t location, uint16_t *ident) udf_read_tagged() 262 uint32_t offset, uint16_t *ident) udf_read_ptagged() 278 void udf_new_tag(char *data, uint16_t ident, uint16_t version, uint16_t snum, udf_new_tag()
|
H A D | partition.c | 30 uint16_t partition, uint32_t offset) udf_get_pblock() 47 uint16_t partition, uint32_t offset) udf_get_pblock_virt15() 107 uint16_t partition, uint32_t offset) udf_get_pblock_virt20() 113 uint16_t partition, uint32_t offset) udf_get_pblock_spar15() 281 uint16_t partition, uint32_t offset) udf_try_read_meta() 306 uint16_t partition, uint32_t offset) udf_get_pblock_meta25()
|
/linux-4.1.27/scripts/ |
H A D | sortextable.c | 116 static uint16_t r2be(const uint16_t *x) r2be() 128 static uint16_t r2le(const uint16_t *x) r2le() 141 static void w2be(uint16_t val, uint16_t *x) w2be() 153 static void w2le(uint16_t val, uint16_t *x) w2le() 160 static uint16_t (*r2)(const uint16_t *); 163 static void (*w2)(uint16_t, uint16_t *);
|
/linux-4.1.27/fs/nfs/ |
H A D | fscache-index.c | 55 uint16_t nfsversion; /* NFS protocol version */ 56 uint16_t family; /* address family */ 57 uint16_t port; /* IP port */ 68 static uint16_t nfs_server_get_key(const void *cookie_netfs_data, nfs_server_get_key() 69 void *buffer, uint16_t bufmax) nfs_server_get_key() 75 uint16_t len = sizeof(struct nfs_server_key); nfs_server_get_key() 118 static uint16_t nfs_super_get_key(const void *cookie_netfs_data, nfs_super_get_key() 119 void *buffer, uint16_t bufmax) nfs_super_get_key() 123 uint16_t len; nfs_super_get_key() 168 static uint16_t nfs_fscache_inode_get_key(const void *cookie_netfs_data, nfs_fscache_inode_get_key() 169 void *buffer, uint16_t bufmax) nfs_fscache_inode_get_key() 172 uint16_t nsize; nfs_fscache_inode_get_key() 202 static uint16_t nfs_fscache_inode_get_aux(const void *cookie_netfs_data, nfs_fscache_inode_get_aux() 203 void *buffer, uint16_t bufmax) nfs_fscache_inode_get_aux() 232 uint16_t datalen) nfs_fscache_inode_check_aux()
|
/linux-4.1.27/drivers/staging/fsl-mc/include/ |
H A D | dpbp.h | 57 int dpbp_open(struct fsl_mc_io *mc_io, int dpbp_id, uint16_t *token); 69 int dpbp_close(struct fsl_mc_io *mc_io, uint16_t token); 101 uint16_t *token); 110 int dpbp_destroy(struct fsl_mc_io *mc_io, uint16_t token); 119 int dpbp_enable(struct fsl_mc_io *mc_io, uint16_t token); 128 int dpbp_disable(struct fsl_mc_io *mc_io, uint16_t token); 138 int dpbp_is_enabled(struct fsl_mc_io *mc_io, uint16_t token, int *en); 147 int dpbp_reset(struct fsl_mc_io *mc_io, uint16_t token); 162 uint16_t token, 183 uint16_t token, 205 uint16_t token, 219 uint16_t token, 239 uint16_t token, 256 uint16_t token, 273 uint16_t token, 290 uint16_t token, 309 uint16_t major; 310 uint16_t minor; 312 uint16_t bpid; 325 uint16_t token,
|
H A D | dprc.h | 46 #define DPRC_GET_ICID_FROM_POOL (uint16_t)(~(0)) 65 int dprc_open(struct fsl_mc_io *mc_io, int container_id, uint16_t *token); 77 int dprc_close(struct fsl_mc_io *mc_io, uint16_t token); 127 uint16_t icid; 144 uint16_t token, 171 uint16_t token, 196 uint16_t token, 240 uint16_t token, 261 uint16_t token, 283 uint16_t token, 297 uint16_t token, 317 uint16_t token, 334 uint16_t token, 350 uint16_t token, 366 uint16_t token, 380 uint16_t icid; 389 uint16_t major; 390 uint16_t minor; 403 uint16_t token, 431 uint16_t token, 434 uint16_t quota); 451 uint16_t token, 454 uint16_t *quota); 532 uint16_t token, 551 uint16_t token, 564 uint16_t token, 582 uint16_t token, 594 int dprc_get_obj_count(struct fsl_mc_io *mc_io, uint16_t token, int *obj_count); 617 uint16_t vendor; 618 uint16_t ver_major; 619 uint16_t ver_minor; 640 uint16_t token, 656 uint16_t token, 697 uint16_t token, 711 uint16_t token, 737 uint16_t token, 767 uint16_t token, 780 uint16_t token, 795 uint16_t token,
|
H A D | mc.h | 62 uint16_t vendor; 152 uint16_t flags; 153 uint16_t icid; 154 uint16_t mc_handle; 186 uint16_t mc_io_flags,
|
H A D | mc-cmd.h | 84 ((uint16_t)mc_dec((_hdr), MC_CMD_HDR_TOKEN_O, MC_CMD_HDR_TOKEN_S)) 98 static inline uint64_t mc_encode_cmd_header(uint16_t cmd_id, mc_encode_cmd_header() 100 uint16_t token) mc_encode_cmd_header()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_ioctl.h | 120 uint16_t mtus[NMTUS]; 158 uint16_t sport; 159 uint16_t sport_mask; 160 uint16_t dport; 161 uint16_t dport_mask;
|
/linux-4.1.27/include/uapi/scsi/ |
H A D | scsi_netlink.h | 45 uint16_t magic; 46 uint16_t msgtype; 47 uint16_t msglen; 93 uint16_t host_no; 94 uint16_t vmsg_datalen;
|
H A D | scsi_netlink_fc.h | 62 uint16_t host_no; 63 uint16_t event_datalen;
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | bfrom.h | 29 uint16_t uwVrCtl; 30 uint16_t uwPllCtl; 31 uint16_t uwPllDiv; 32 uint16_t uwPllLockCnt; 33 uint16_t uwPllStat;
|
H A D | gptimers.h | 263 void set_gptimer_config(unsigned int timer_id, uint16_t config); 264 uint16_t get_gptimer_config(unsigned int timer_id); 268 void enable_gptimers(uint16_t mask); 269 void disable_gptimers(uint16_t mask); 270 void disable_gptimers_sync(uint16_t mask); 271 uint16_t get_enabled_gptimers(void);
|
/linux-4.1.27/security/keys/ |
H A D | trusted.h | 18 #define LOAD16(buffer, offset) (ntohs(*(uint16_t *)&buffer[offset])) 33 /* discrete values, but have to store in uint16_t for TPM use */ 40 uint16_t keytype; 116 static inline void store16(struct tpm_buf *buf, const uint16_t value) store16() 118 *(uint16_t *) & buf->data[buf->len] = htons(value); store16()
|
/linux-4.1.27/drivers/block/ |
H A D | skd_s1120.h | 254 uint16_t tag; 278 uint16_t sks_low; /* 10: Sense Key Specific (LSW) */ 279 uint16_t reserved3; /* 12: Part of additional sense bytes (unused) */ 280 uint16_t uec; /* 14: Additional Sense Bytes */ 296 uint16_t tag; 312 uint16_t page_length; 313 uint16_t pcie_bus_number; 318 uint16_t pcie_vendor_id; 319 uint16_t pcie_device_id; 320 uint16_t pcie_subsystem_vendor_id; 321 uint16_t pcie_subsystem_device_id;
|
/linux-4.1.27/drivers/scsi/megaraid/ |
H A D | megaraid_ioctl.h | 122 uint16_t mb_type; 123 uint16_t app_type; 177 uint16_t pci_vendor_id; 178 uint16_t pci_device_id; 179 uint16_t subsys_vendor_id; 180 uint16_t subsys_device_id; 215 uint16_t pcidev; 217 uint16_t pciid; 218 uint16_t pcivendor; 274 uint16_t timeout;
|
H A D | mega_common.h | 77 uint16_t dev_channel; 78 uint16_t dev_target; 169 uint16_t sglen; 174 uint16_t max_target; 190 uint16_t init_id; 191 uint16_t max_sectors; 192 uint16_t cmd_per_lun;
|
H A D | megaraid_mm.h | 74 uint16_t adapno;
|
H A D | mbox_defs.h | 165 uint16_t numsectors; 345 uint16_t dram_size; 346 uint16_t subsysid; 347 uint16_t subsysvid; 394 uint16_t param_val; 468 uint16_t ldrv_op_status[MAX_LOGICAL_DRIVES_40LD / 8]; 474 uint16_t pdrv_format[FC_MAX_PHYSICAL_DEVICES / 16]; 517 uint16_t age_of_flash; 581 uint16_t phys_drv_format[MAX_MBOX_CHANNELS]; 764 uint16_t cksum;
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | gptimers.c | 289 void set_gptimer_config(unsigned int timer_id, uint16_t config) set_gptimer_config() 297 uint16_t get_gptimer_config(unsigned int timer_id) get_gptimer_config() 304 void enable_gptimers(uint16_t mask) enable_gptimers() 308 uint16_t imask; enable_gptimers() 322 static void _disable_gptimers(uint16_t mask) _disable_gptimers() 325 uint16_t m = mask; _disable_gptimers() 333 void disable_gptimers(uint16_t mask) disable_gptimers() 348 void disable_gptimers_sync(uint16_t mask) disable_gptimers_sync() 371 uint16_t get_enabled_gptimers(void) get_enabled_gptimers() 374 uint16_t result = 0; get_enabled_gptimers()
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | cmd.h | 34 uint16_t __sz = le16_to_cpu((cmd)->hdr.size); \ 42 void lbs_cmd_async(struct lbs_private *priv, uint16_t command, 45 int __lbs_cmd(struct lbs_private *priv, uint16_t command, 51 uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, 91 int lbs_cmd_802_11_sleep_params(struct lbs_private *priv, uint16_t cmd_action, 120 uint16_t cmd_action);
|
H A D | dev.h | 17 uint16_t sp_error; 18 uint16_t sp_offset; 19 uint16_t sp_stabletime; 22 uint16_t sp_reserved; 59 uint16_t mesh_tlv;
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | as102_fe_types.h | 118 uint16_t cell_ID; 148 uint16_t PER; 150 uint16_t BER; 161 uint16_t mer; 167 uint16_t pid; /* valid PID value 0x00 : 0x2000 */ 176 uint16_t value16; /* 16 bit value */
|
/linux-4.1.27/include/xen/interface/io/ |
H A D | netif.h | 150 uint16_t offset; /* Offset within buffer page */ 151 uint16_t flags; /* XEN_NETTXF_* */ 152 uint16_t id; /* Echoed in response message. */ 153 uint16_t size; /* Packet size in bytes. */ 184 uint16_t size; 201 uint16_t features; /* XEN_NETIF_GSO_FEAT_* */ 204 uint16_t pad[3]; 209 uint16_t id; 214 uint16_t id; /* Echoed in response message. */ 239 uint16_t id; 240 uint16_t offset; /* Offset in page of start of received packet */ 241 uint16_t flags; /* XEN_NETRXF_* */
|
H A D | vscsiif.h | 183 uint16_t offset; 184 uint16_t length; 191 uint16_t rqid; /* private guest value, echoed in resp */ 196 uint16_t timeout_per_command; /* deprecated */ 197 uint16_t channel, id, lun; /* (virtual) device specification */ 198 uint16_t ref_rqid; /* command abort reference */ 217 uint16_t rqid; /* identifies request */
|
H A D | pciif.h | 66 uint16_t vector; 67 uint16_t entry;
|
/linux-4.1.27/net/atm/ |
H A D | mpoa_caches.h | 21 uint16_t entry_state; 58 uint16_t entry_state; 72 void (*update)(eg_cache_entry *entry, uint16_t holding_time);
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
H A D | icp_qat_fw_init_admin.h | 70 uint16_t init_cfg_sz; 93 uint16_t resrvd1; 108 uint16_t version_minor_num; 109 uint16_t version_major_num;
|
H A D | adf_transport_internal.h | 66 uint16_t head; 67 uint16_t tail; 81 uint16_t ring_mask; 82 uint16_t irq_mask;
|
H A D | icp_qat_fw_la.h | 230 uint16_t content_desc_resrvd1; 245 uint16_t content_desc_resrvd1; 263 uint16_t resrvd2; 353 uint16_t resrvd2;
|
/linux-4.1.27/fs/ceph/ |
H A D | cache.c | 37 static uint16_t ceph_fscache_session_get_key(const void *cookie_netfs_data, ceph_fscache_session_get_key() 38 void *buffer, uint16_t maxbuf) ceph_fscache_session_get_key() 41 uint16_t klen; ceph_fscache_session_get_key() 85 static uint16_t ceph_fscache_inode_get_key(const void *cookie_netfs_data, ceph_fscache_inode_get_key() 86 void *buffer, uint16_t maxbuf) ceph_fscache_inode_get_key() 89 uint16_t klen; ceph_fscache_inode_get_key() 100 static uint16_t ceph_fscache_inode_get_aux(const void *cookie_netfs_data, ceph_fscache_inode_get_aux() 101 void *buffer, uint16_t bufmax) ceph_fscache_inode_get_aux() 126 void *cookie_netfs_data, const void *data, uint16_t dlen) ceph_fscache_inode_check_aux()
|
/linux-4.1.27/lib/ |
H A D | decompress_unlzma.c | 148 static inline uint32_t INIT rc_is_bit_0_helper(struct rc *rc, uint16_t *p) rc_is_bit_0_helper() 154 static inline int INIT rc_is_bit_0(struct rc *rc, uint16_t *p) rc_is_bit_0() 161 static inline void INIT rc_update_bit_0(struct rc *rc, uint16_t *p) rc_update_bit_0() 166 static inline void INIT rc_update_bit_1(struct rc *rc, uint16_t *p) rc_update_bit_1() 174 static int INIT rc_get_bit(struct rc *rc, uint16_t *p, int *symbol) rc_get_bit() 201 rc_bit_tree_decode(struct rc *rc, uint16_t *p, int num_levels, int *symbol) rc_bit_tree_decode() 348 struct cstate *cst, uint16_t *p, process_bit0() 349 int pos_state, uint16_t *prob, process_bit0() 363 uint16_t *prob_lit; process_bit0() 378 uint16_t *prob_lit = prob + mi; process_bit0() 392 struct cstate *cst, uint16_t *p, process_bit1() 393 int pos_state, uint16_t *prob) { process_bit1() 395 uint16_t *prob_len; process_bit1() 549 uint16_t *p; unlzma() 622 p = (uint16_t *) large_malloc(num_probs * sizeof(*p)); unlzma() 633 uint16_t *prob = p + LZMA_IS_MATCH + unlzma()
|
/linux-4.1.27/tools/testing/selftests/powerpc/ |
H A D | utils.h | 18 typedef uint16_t u16;
|
/linux-4.1.27/tools/usb/usbip/src/ |
H A D | usbip_network.h | 23 uint16_t version; 27 uint16_t code; 171 void usbip_net_pack_uint16_t(int pack, uint16_t *num); 178 int usbip_net_recv_op_common(int sockfd, uint16_t *code);
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | s626.c | 84 uint16_t counter_int_enabs; /* counter interrupt enable mask 93 uint16_t dacpol; /* image of DAC polarity register */ 182 static uint16_t s626_debi_read(struct comedi_device *dev, uint16_t addr) s626_debi_read() 196 static void s626_debi_write(struct comedi_device *dev, uint16_t addr, s626_debi_write() 197 uint16_t wdata) s626_debi_write() 519 uint16_t chan, int16_t dacdata) s626_set_dac() 522 uint16_t signmask; s626_set_dac() 538 if ((uint16_t)dacdata > 0x1FFF) s626_set_dac() 664 unsigned int chan, uint16_t value) s626_set_latch_source() 689 uint16_t set; s626_reset_cap_flags() 705 static uint16_t s626_get_mode_a(struct comedi_device *dev, s626_get_mode_a() 708 uint16_t cra; s626_get_mode_a() 709 uint16_t crb; s626_get_mode_a() 710 uint16_t setup; s626_get_mode_a() 760 static uint16_t s626_get_mode_b(struct comedi_device *dev, s626_get_mode_b() 763 uint16_t cra; s626_get_mode_b() 764 uint16_t crb; s626_get_mode_b() 765 uint16_t setup; s626_get_mode_b() 820 static uint16_t s626_get_mode(struct comedi_device *dev, s626_get_mode() 835 unsigned int chan, uint16_t setup, s626_set_mode_a() 836 uint16_t disable_int_src) s626_set_mode_a() 839 uint16_t cra; s626_set_mode_a() 840 uint16_t crb; s626_set_mode_a() 913 unsigned int chan, uint16_t setup, s626_set_mode_b() 914 uint16_t disable_int_src) s626_set_mode_b() 917 uint16_t cra; s626_set_mode_b() 918 uint16_t crb; s626_set_mode_b() 999 uint16_t setup, uint16_t disable_int_src) s626_set_mode() 1011 unsigned int chan, uint16_t enab) s626_set_enable() 1027 static uint16_t s626_get_enable(struct comedi_device *dev, s626_get_enable() 1030 uint16_t crb = s626_debi_read(dev, S626_LP_CRB(chan)); s626_get_enable() 1038 static uint16_t s626_get_latch_source(struct comedi_device *dev, s626_get_latch_source() 1051 unsigned int chan, uint16_t trig) s626_set_load_trig() 1053 uint16_t reg; s626_set_load_trig() 1054 uint16_t mask; s626_set_load_trig() 1055 uint16_t set; s626_set_load_trig() 1070 static uint16_t s626_get_load_trig(struct comedi_device *dev, s626_get_load_trig() 1088 unsigned int chan, uint16_t int_source) s626_set_int_src() 1091 uint16_t cra_reg = S626_LP_CRA(chan); s626_set_int_src() 1092 uint16_t crb_reg = S626_LP_CRB(chan); s626_set_int_src() 1104 uint16_t crb; s626_set_int_src() 1142 static uint16_t s626_get_int_src(struct comedi_device *dev, s626_get_int_src() 1159 unsigned int chan, uint16_t value) s626_set_clk_mult() 1161 uint16_t mode; s626_set_clk_mult() 1170 static uint16_t s626_get_clk_mult(struct comedi_device *dev, s626_get_clk_mult() 1180 unsigned int chan, uint16_t value) s626_set_clk_pol() 1182 uint16_t mode; s626_set_clk_pol() 1191 static uint16_t s626_get_clk_pol(struct comedi_device *dev, s626_get_clk_pol() 1201 unsigned int chan, uint16_t value) s626_set_enc_mode() 1203 uint16_t mode; s626_set_enc_mode() 1212 static uint16_t s626_get_enc_mode(struct comedi_device *dev, s626_get_enc_mode() 1222 unsigned int chan, uint16_t value) s626_set_index_pol() 1224 uint16_t mode; s626_set_index_pol() 1233 static uint16_t s626_get_index_pol(struct comedi_device *dev, s626_get_index_pol() 1243 unsigned int chan, uint16_t value) s626_set_index_src() 1245 uint16_t mode; s626_set_index_src() 1254 static uint16_t s626_get_index_src(struct comedi_device *dev, s626_get_index_src() 1268 uint16_t cra; s626_pulse_index() 1277 uint16_t crb; s626_pulse_index() 1345 uint16_t irqbit, uint8_t group) s626_handle_dio_interrupt() 1393 uint16_t irqbit; s626_check_dio_interrupts() 1414 uint16_t irqbit; s626_check_counter_interrupts() 1476 * first uint16_t in the buffer because it contains junk data s626_handle_eos_interrupt() 1562 uint16_t i; s626_reset_adc() 1563 uint16_t n; s626_reset_adc() 1772 * first uint16_t in the buffer because it contains junk data from s626_ai_rinsn() 1808 uint16_t chan = CR_CHAN(insn->chanspec); s626_ai_insn_read() 1809 uint16_t range = CR_RANGE(insn->chanspec); s626_ai_insn_read() 1810 uint16_t adc_spec = 0; s626_ai_insn_read() 1971 uint16_t setup = s626_timer_load() 1984 uint16_t value_latchsrc = S626_LATCHSRC_A_INDXA; s626_timer_load() 1985 /* uint16_t enab = S626_CLKENAB_ALWAYS; */ s626_timer_load() 2006 /* s626_set_enable(dev, chan, (uint16_t)(enab != 0)); */ s626_timer_load() 2273 uint16_t group; s626_dio_init() 2337 uint16_t setup = s626_enc_insn_config() 2350 /* uint16_t disable_int_src = true; */ s626_enc_insn_config() 2352 uint16_t value_latchsrc = S626_LATCHSRC_AB_READ; s626_enc_insn_config() 2353 uint16_t enab = S626_CLKENAB_ALWAYS; s626_enc_insn_config() 2372 uint16_t cntr_latch_reg = S626_LP_CNTR(chan); s626_enc_insn_read() 2410 static void s626_write_misc2(struct comedi_device *dev, uint16_t new_image) s626_write_misc2() 2420 uint16_t setup = s626_counters_init() 2489 uint16_t chan; s626_initialize() 2587 uint16_t adc_data; s626_initialize() 2588 uint16_t start_val; s626_initialize() 2589 uint16_t index; s626_initialize()
|
/linux-4.1.27/drivers/media/usb/as102/ |
H A D | as10x_handle.h | 44 uint32_t rd_addr, uint16_t rd_len, 45 uint32_t wr_addr, uint16_t wr_len);
|
H A D | as10x_cmd.h | 481 void as10x_cmd_build(struct as10x_cmd_t *pcmd, uint16_t proc_id, 482 uint16_t cmd_len); 483 int as10x_rsp_parse(struct as10x_cmd_t *r, uint16_t proc_id); 508 uint16_t pid_value); 515 uint16_t tag, 518 uint16_t tag, 522 int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id);
|
H A D | as10x_cmd_cfg.c | 32 int as10x_cmd_get_context(struct as10x_bus_adapter_t *adap, uint16_t tag, as10x_cmd_get_context() 88 int as10x_cmd_set_context(struct as10x_bus_adapter_t *adap, uint16_t tag, as10x_cmd_set_context() 190 int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id) as10x_context_rsp_parse()
|
H A D | as102_drv.h | 49 uint16_t cmd_xid;
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | module.c | 50 *((uint16_t *)location + 1) = value; apply_relocate_add() 53 *((uint16_t *)location + 1) = value >> 16; apply_relocate_add()
|
/linux-4.1.27/security/keys/encrypted-keys/ |
H A D | ecryptfs_format.c | 56 auth_tok->version = (((uint16_t)(major << 8) & 0xFF00) ecryptfs_fill_auth_tok() 57 | ((uint16_t)minor & 0x00FF)); ecryptfs_fill_auth_tok()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | dvo_ivch.c | 155 uint16_t width, height; 166 static bool ivch_read(struct intel_dvo_device *dvo, int addr, uint16_t *data) ivch_read() 209 static bool ivch_write(struct intel_dvo_device *dvo, int addr, uint16_t data) ivch_write() 241 uint16_t temp; ivch_init() 294 uint16_t vr01, vr30, backlight; ivch_dpms() 328 uint16_t vr01; ivch_get_hw_state() 344 uint16_t vr40 = 0; ivch_mode_set() 345 uint16_t vr01; ivch_mode_set() 353 uint16_t x_ratio, y_ratio; ivch_mode_set() 377 uint16_t val; ivch_dump_regs()
|
H A D | i915_vgpu.h | 45 uint16_t version_major; 46 uint16_t version_minor;
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | io.h | 64 const uint16_t *bp = buf; io_outsw() 92 uint16_t *bp = buf; io_insw() 135 static inline uint16_t inw(unsigned long addr) inw() 137 uint16_t ret = __builtin_read16((void __iomem *)addr); inw() 160 static inline void outw(uint16_t datum, unsigned long addr) outw() 196 static inline uint16_t readw(const volatile void __iomem *addr) readw() 198 uint16_t ret = __builtin_read16((__force void volatile __iomem *)addr); readw() 226 static inline void writew(uint16_t datum, volatile void __iomem *addr) writew() 306 uint16_t ret = __builtin_read16(p); ioread16()
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | vrc4173_cardu.c | 56 static inline uint8_t exca_readb(vrc4173_socket_t *socket, uint16_t offset) exca_readb() 61 static inline uint16_t exca_readw(vrc4173_socket_t *socket, uint16_t offset) exca_readw() 63 uint16_t val; exca_readw() 71 static inline void exca_writeb(vrc4173_socket_t *socket, uint16_t offset, uint8_t val) exca_writeb() 76 static inline void exca_writew(vrc4173_socket_t *socket, uint8_t offset, uint16_t val) exca_writew() 275 uint16_t ioctl; cardu_set_io_map() 342 uint16_t value; cardu_set_mem_map() 403 uint16_t events; cardu_bh() 414 static uint16_t get_events(vrc4173_socket_t *socket) get_events() 416 uint16_t events = 0; get_events() 446 uint16_t events; cardu_interrupt()
|
H A D | vrc4171_card.c | 115 static uint16_t vrc4171_irq_mask = 0xdeb8; 139 static inline uint16_t vrc4171_get_irq_status(void) vrc4171_get_irq_status() 146 uint16_t config1; vrc4171_set_multifunction_pin() 180 static inline uint16_t exca_read_word(int slot, uint8_t index) exca_read_word() 182 uint16_t data; exca_read_word() 191 data |= ((uint16_t)inb(CARD_CONTROLLER_DATA)) << 8; exca_read_word() 207 static inline uint16_t exca_write_word(int slot, uint8_t index, uint16_t data) exca_write_word() 425 uint16_t start, stop, offset; pccard_set_mem_map() 523 uint16_t status; pccard_interrupt()
|
H A D | pxa2xx_balloon3.c | 34 uint16_t ver; balloon3_pcmcia_hw_init() 59 uint16_t status; balloon3_pcmcia_socket_state()
|
/linux-4.1.27/include/scsi/ |
H A D | iscsi_if.h | 112 uint16_t cmds_max; 113 uint16_t queue_depth; 118 uint16_t cmds_max; 119 uint16_t queue_depth; 215 uint16_t chap_tbl_idx; 219 uint16_t chap_tbl_idx; 324 uint16_t param; /* iscsi param */ 331 uint16_t param; /* iscsi param value */ 356 uint16_t vlan_id; 357 uint16_t pmtu; 710 uint16_t param; /* iscsi param value */ 847 uint16_t chap_tbl_idx;
|
H A D | scsi_transport_iscsi.h | 93 uint16_t cmds_max, uint16_t qdepth, 152 int (*get_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx, 154 int (*delete_chap) (struct Scsi_Host *shost, uint16_t chap_tbl_idx); 191 char *data, uint16_t data_size); 327 uint16_t keepalive_timeout; 328 uint16_t local_port; 380 uint16_t tsid; 381 uint16_t chap_in_idx; 382 uint16_t chap_out_idx; 386 uint16_t discovery_parent_idx; 389 uint16_t discovery_parent_type;
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-xcomm.c | 36 uint16_t settings; 37 uint16_t chipselect; 46 uint16_t settings; spi_xcomm_sync_config() 63 uint16_t chipselect = spi_xcomm->chipselect; spi_xcomm_chipselect()
|
/linux-4.1.27/drivers/clocksource/ |
H A D | cs5535-clockevt.c | 67 (uint16_t) ~MFGPT_SETUP_CNTEN | MFGPT_SETUP_CMP1 | disable_timer() 71 static void start_timer(struct cs5535_mfgpt_timer *timer, uint16_t delta) start_timer() 107 uint16_t val = cs5535_mfgpt_read(cs5535_event_clock, MFGPT_REG_SETUP); mfgpt_tick() 142 uint16_t val; cs5535_mfgpt_init()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
H A D | be_iscsi.h | 54 uint16_t cmds_max, 55 uint16_t qdepth,
|
/linux-4.1.27/fs/jffs2/ |
H A D | compr.h | 73 uint16_t jffs2_compress(struct jffs2_sb_info *c, struct jffs2_inode_info *f, 78 uint16_t comprtype, unsigned char *cdata_in,
|
H A D | jffs2_fs_i.h | 51 uint16_t flags;
|
/linux-4.1.27/include/uapi/xen/ |
H A D | gntalloc.h | 22 uint16_t domid; 24 uint16_t flags;
|
/linux-4.1.27/include/xen/interface/hvm/ |
H A D | hvm_op.h | 58 uint16_t mem_type; 59 uint16_t pad[2]; /* align next field on 8-byte boundary */
|
/linux-4.1.27/arch/mips/jz4740/ |
H A D | time.c | 32 static uint16_t jz4740_jiffies_per_tick; 116 uint16_t ctrl; plat_time_init()
|
/linux-4.1.27/fs/9p/ |
H A D | cache.c | 58 static uint16_t v9fs_cache_session_get_key(const void *cookie_netfs_data, v9fs_cache_session_get_key() 59 void *buffer, uint16_t bufmax) v9fs_cache_session_get_key() 62 uint16_t klen = 0; v9fs_cache_session_get_key() 107 static uint16_t v9fs_cache_inode_get_key(const void *cookie_netfs_data, v9fs_cache_inode_get_key() 108 void *buffer, uint16_t bufmax) v9fs_cache_inode_get_key() 127 static uint16_t v9fs_cache_inode_get_aux(const void *cookie_netfs_data, v9fs_cache_inode_get_aux() 128 void *buffer, uint16_t buflen) v9fs_cache_inode_get_aux() 140 uint16_t buflen) v9fs_cache_inode_check_aux()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-vr41xx.c | 115 rtc1_write(ETIMELREG, (uint16_t)(sec << 15)); write_elapsed_second() 116 rtc1_write(ETIMEMREG, (uint16_t)(sec >> 1)); write_elapsed_second() 117 rtc1_write(ETIMEHREG, (uint16_t)(sec >> 17)); write_elapsed_second() 196 rtc1_write(ECMPLREG, (uint16_t)(alarm_sec << 15)); vr41xx_rtc_set_alarm() 197 rtc1_write(ECMPMREG, (uint16_t)(alarm_sec >> 1)); vr41xx_rtc_set_alarm() 198 rtc1_write(ECMPHREG, (uint16_t)(alarm_sec >> 17)); vr41xx_rtc_set_alarm()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | accel_2d.c | 176 uint16_t src_x, uint16_t src_y, psb_accel_2d_copy() 177 uint16_t dst_x, uint16_t dst_y, psb_accel_2d_copy() 178 uint16_t size_x, uint16_t size_y) psb_accel_2d_copy()
|
/linux-4.1.27/lib/xz/ |
H A D | xz_dec_lzma2.c | 117 uint16_t choice; 120 uint16_t choice2; 123 uint16_t low[POS_STATES_MAX][LEN_LOW_SYMBOLS]; 126 uint16_t mid[POS_STATES_MAX][LEN_MID_SYMBOLS]; 129 uint16_t high[LEN_HIGH_SYMBOLS]; 159 uint16_t is_match[STATES][POS_STATES_MAX]; 162 uint16_t is_rep[STATES]; 168 uint16_t is_rep0[STATES]; 174 uint16_t is_rep1[STATES]; 177 uint16_t is_rep2[STATES]; 183 uint16_t is_rep0_long[STATES][POS_STATES_MAX]; 190 uint16_t dist_slot[DIST_STATES][DIST_SLOTS]; 196 uint16_t dist_special[FULL_DISTANCES - DIST_MODEL_END]; 202 uint16_t dist_align[ALIGN_SIZE]; 211 uint16_t literal[LITERAL_CODERS_MAX][LITERAL_CODER_SIZE]; 497 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) rc_bit() 520 uint16_t *probs, uint32_t limit) rc_bittree() 536 uint16_t *probs, rc_bittree_reverse() 572 static uint16_t *lzma_literal_probs(struct xz_dec_lzma2 *s) lzma_literal_probs() 583 uint16_t *probs; lzma_literal() 622 uint16_t *probs; lzma_len() 648 uint16_t *probs; lzma_match() 769 uint16_t *probs; lzma_reset()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | module_64.c | 551 *((uint16_t *) location) apply_relocate_add() 552 = (*((uint16_t *) location) & ~0xffff) apply_relocate_add() 559 *((uint16_t *) location) apply_relocate_add() 560 = (*((uint16_t *) location) & ~0xffff) apply_relocate_add() 572 *((uint16_t *) location) apply_relocate_add() 573 = (*((uint16_t *) location) & ~0xfffc) apply_relocate_add() 585 *((uint16_t *) location) apply_relocate_add() 586 = (*((uint16_t *) location) & ~0xfffc) apply_relocate_add() 594 *((uint16_t *) location) apply_relocate_add() 595 = (*((uint16_t *) location) & ~0xffff) apply_relocate_add() 669 *((uint16_t *) location) apply_relocate_add() 670 = (*((uint16_t *) location) & ~0xffff) apply_relocate_add() 677 *((uint16_t *) location) apply_relocate_add() 678 = (*((uint16_t *) location) & ~0xffff) apply_relocate_add()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | kinect.c | 62 uint16_t cam_tag; /* a sequence number for packets */ 115 uint16_t wLength) kinect_write() 124 static int kinect_read(struct usb_device *udev, uint8_t *data, uint16_t wLength) kinect_read() 133 static int send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, send_cmd() 210 static int write_register(struct gspca_dev *gspca_dev, uint16_t reg, write_register() 211 uint16_t data) write_register() 213 uint16_t reply[2]; write_register()
|
/linux-4.1.27/fs/dlm/ |
H A D | dir.c | 68 uint16_t namelen; dlm_recover_directory() 271 * namelen (uint16_t) + dlm_copy_master_names() 273 * end-of-block record 0x0000 (uint16_t) dlm_copy_master_names() 276 if (offset + sizeof(uint16_t)*2 + r->res_length > outlen) { dlm_copy_master_names() 299 (offset + sizeof(uint16_t) <= outlen)) { dlm_copy_master_names()
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | dc21285.c | 64 val.x[0] = *(uint16_t*)(map->virt + ofs); dc21285_read16() 95 *(uint16_t*)(map->virt + adr) = d.x[0]; dc21285_write16() 121 d.x[0] = *((uint16_t*)from); dc21285_copy_to_16()
|
/linux-4.1.27/drivers/misc/ |
H A D | cs5535-mfgpt.c | 217 uint16_t val; cs5535_mfgpt_free_timer() 231 uint16_t cs5535_mfgpt_read(struct cs5535_mfgpt_timer *timer, uint16_t reg) cs5535_mfgpt_read() 237 void cs5535_mfgpt_write(struct cs5535_mfgpt_timer *timer, uint16_t reg, cs5535_mfgpt_write() 238 uint16_t value) cs5535_mfgpt_write() 295 uint16_t val; scan_timers()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | cw1200_spi.c | 118 uint16_t *buf = (uint16_t *)dst; cw1200_spi_memcpy_fromio() 160 uint16_t *buf = (uint16_t *)src; cw1200_spi_memcpy_toio() 190 uint16_t *buf = (uint16_t *)src; cw1200_spi_memcpy_toio()
|
/linux-4.1.27/net/batman-adv/ |
H A D | main.h | 354 void *tvlv_value, uint16_t tvlv_value_len); 355 uint16_t batadv_tvlv_container_ogm_append(struct batadv_priv *bat_priv, 370 uint16_t tvlv_value_len), 374 uint16_t tvlv_value_len), 382 void *tvlv_buff, uint16_t tvlv_buff_len); 385 void *tvlv_value, uint16_t tvlv_value_len);
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_ctl.h | 172 uint16_t rsvd2; 189 uint16_t event_entries; 190 uint16_t rsvd; 294 uint16_t handle; 295 uint16_t rsvd; 333 uint16_t application_flags; 373 uint16_t application_flags; 412 uint16_t flags;
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.h | 176 uint16_t rsvd2; 193 uint16_t event_entries; 194 uint16_t rsvd; 298 uint16_t handle; 299 uint16_t rsvd; 333 uint16_t application_flags; 373 uint16_t application_flags; 412 uint16_t flags;
|
H A D | mpt3sas_trigger_diag.h | 97 uint16_t EventValue; 98 uint16_t LogEntryQualifier; 159 uint16_t IOCStatus; 160 uint16_t Reserved;
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | pci.h | 148 uint16_t vendor; 149 uint16_t devid;
|
/linux-4.1.27/arch/tile/include/gxio/ |
H A D | iorpc_trio.h | 92 int gxio_trio_set_mps_mrs(gxio_trio_context_t *context, uint16_t mps, 93 uint16_t mrs, unsigned int mac);
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | pxafb.h | 62 uint16_t cmd_buff[CMD_BUFF_SIZE]; 152 uint16_t *smart_cmds;
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | disasm.h | 103 uint16_t word = *((uint16_t *)addr); is_short_instr()
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | disasm.c | 29 uint16_t word1 = 0, word0 = 0; disasm_instr() 31 uint16_t *ins_ptr; disasm_instr() 32 uint16_t ins_buf[4]; disasm_instr() 46 ins_ptr = (uint16_t *) addr; disasm_instr() 49 word1 = *((uint16_t *)addr); disasm_instr() 58 word0 = *((uint16_t *)(addr+2)); disasm_instr() 66 word1 = *((uint16_t *)(addr + state->instr_len)); disasm_instr() 67 word0 = *((uint16_t *)(addr + state->instr_len + 2)); disasm_instr()
|
/linux-4.1.27/net/9p/ |
H A D | protocol.c | 150 uint16_t len; p9pdu_vreadf() 238 uint16_t *nwname = va_arg(ap, uint16_t *); p9pdu_vreadf() 278 uint16_t *nwqid = va_arg(ap, uint16_t *); p9pdu_vreadf() 394 uint16_t len = 0; p9pdu_vwritef() 453 uint16_t nwname = va_arg(ap, int); p9pdu_vwritef() 474 uint16_t nwqid = va_arg(ap, int); p9pdu_vwritef()
|
/linux-4.1.27/include/linux/mfd/ |
H A D | cros_ec_commands.h | 479 uint16_t command; 488 uint16_t data_len; 505 uint16_t result; 508 uint16_t data_len; 511 uint16_t reserved; 603 uint16_t board_version; /* A monotonously incrementing number. */ 683 uint16_t max_request_packet_size; 686 uint16_t max_response_packet_size; 1307 uint16_t reserved; 1428 uint16_t code; 1449 uint16_t value; 1459 uint16_t value; 1591 uint16_t scan_period_us; /* period between start of scans */ 1599 uint16_t min_post_scan_delay_us; 1601 uint16_t output_settle_us; 1602 uint16_t debounce_down_us; /* time for debounce on key down */ 1603 uint16_t debounce_up_us; /* time for debounce on key up */ 1804 uint16_t addr; /* 8-bit address (7-bit shifted << 1) */ 1810 uint16_t data; 1817 uint16_t data; 1818 uint16_t addr; /* 8-bit address (7-bit shifted << 1) */ 1920 uint16_t voltage_ac; 1921 uint16_t voltage_system; 1922 uint16_t current_system; 1923 uint16_t usb_current_limit; 1944 uint16_t addr_flags; /* I2C slave address (7 or 10 bits) and flags */ 1945 uint16_t len; /* Number of bytes to read or write */ 2010 uint16_t host_event_timeout_msec; 2013 uint16_t warm_reboot_timeout_msec; 2127 uint16_t value; 2132 uint16_t value; 2141 uint16_t data[32];
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | denali.c | 178 static uint16_t denali_nand_reset(struct denali_nand_info *denali) denali_nand_reset() 213 uint16_t mode) nand_onfi_timing_set() 215 uint16_t Trea[6] = {40, 30, 25, 20, 20, 16}; nand_onfi_timing_set() 216 uint16_t Trp[6] = {50, 25, 17, 15, 12, 10}; nand_onfi_timing_set() 217 uint16_t Treh[6] = {30, 15, 15, 10, 10, 7}; nand_onfi_timing_set() 218 uint16_t Trc[6] = {100, 50, 35, 30, 25, 20}; nand_onfi_timing_set() 219 uint16_t Trhoh[6] = {0, 15, 15, 15, 15, 15}; nand_onfi_timing_set() 220 uint16_t Trloh[6] = {0, 0, 0, 0, 5, 5}; nand_onfi_timing_set() 221 uint16_t Tcea[6] = {100, 45, 30, 25, 25, 25}; nand_onfi_timing_set() 222 uint16_t Tadl[6] = {200, 100, 100, 100, 70, 70}; nand_onfi_timing_set() 223 uint16_t Trhw[6] = {200, 100, 100, 100, 100, 100}; nand_onfi_timing_set() 224 uint16_t Trhz[6] = {200, 100, 100, 100, 100, 100}; nand_onfi_timing_set() 225 uint16_t Twhr[6] = {120, 80, 80, 60, 60, 60}; nand_onfi_timing_set() 226 uint16_t Tcs[6] = {70, 35, 25, 25, 20, 15}; nand_onfi_timing_set() 228 uint16_t data_invalid_rhoh, data_invalid_rloh, data_invalid; nand_onfi_timing_set() 229 uint16_t dv_window = 0; nand_onfi_timing_set() 230 uint16_t en_lo, en_hi; nand_onfi_timing_set() 231 uint16_t acc_clks; nand_onfi_timing_set() 232 uint16_t addr_2_data, re_2_we, re_2_re, we_2_re, cs_cnt; nand_onfi_timing_set() 307 static uint16_t get_onfi_nand_para(struct denali_nand_info *denali) get_onfi_nand_para() 492 static uint16_t denali_nand_timing_set(struct denali_nand_info *denali) denali_nand_timing_set() 494 uint16_t status = PASS; denali_nand_timing_set() 556 uint16_t INT_ENABLE) denali_set_intr_modes()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
H A D | usnic_abi.h | 41 uint16_t port_num;
|
H A D | usnic_transport.h | 48 uint32_t *addr, uint16_t *port);
|
/linux-4.1.27/arch/tile/gxio/ |
H A D | iorpc_trio.c | 257 uint16_t mps; 258 uint16_t mrs; 262 int gxio_trio_set_mps_mrs(gxio_trio_context_t *context, uint16_t mps, gxio_trio_set_mps_mrs() 263 uint16_t mrs, unsigned int mac) gxio_trio_set_mps_mrs()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | pll.h | 14 uint16_t NM1, NM2;
|
/linux-4.1.27/drivers/char/ |
H A D | tb0219.c | 102 uint16_t values; get_gpio_input_pin() 113 uint16_t values; get_gpio_output_pin() 124 uint16_t values; get_dip_switch() 143 uint16_t value; set_gpio_output_pin()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
H A D | udl_transfer.c | 89 pixel_val16 = *(const uint16_t *)pixel; get_pixel_val16() 139 uint16_t pixel_val16; udl_compress_hline16() 164 const uint16_t repeating_pixel_val16 = pixel_val16; udl_compress_hline16() 166 *(uint16_t *)cmd = cpu_to_be16(pixel_val16); udl_compress_hline16()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | svga_types.h | 39 typedef uint16_t uint16;
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | cyttsp4.h | 39 const uint16_t *abs;
|
/linux-4.1.27/include/uapi/linux/nfsd/ |
H A D | cld.h | 40 uint16_t cn_len; /* length of cm_id */
|
/linux-4.1.27/arch/m68k/kernel/ |
H A D | bootinfo_proc.c | 39 uint16_t n = be16_to_cpu(bi->size); save_bootinfo()
|
/linux-4.1.27/tools/iio/ |
H A D | generic_buffer.c | 66 input = be16toh((uint16_t)input); print2byte() 68 input = le16toh((uint16_t)input); print2byte() 83 uint16_t val = input; print2byte() 107 print2byte(*(uint16_t *)(data + channels[k].location), process_scan()
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | intel_mid_thermal.c | 105 static int to_msic_die_temp(uint16_t adc_val) to_msic_die_temp() 117 static int is_valid_adc(uint16_t adc_val, uint16_t min, uint16_t max) is_valid_adc() 135 static int adc_to_temp(int direct, uint16_t adc_val, unsigned long *tp) adc_to_temp() 180 uint16_t adc_val, addr; mid_read_temp() 291 static int reset_stopbit(uint16_t addr) reset_stopbit()
|
/linux-4.1.27/drivers/iio/gyro/ |
H A D | adis16136.c | 77 uint16_t lot1, lot2, lot3, serial; adis16136_show_serial() 133 uint16_t flash_count; adis16136_show_flash_count() 188 uint16_t t; adis16136_get_freq() 272 uint16_t val16; adis16136_get_filter() 426 uint16_t prod_id; adis16136_initial_setup()
|
/linux-4.1.27/arch/m68k/mvme16x/ |
H A D | config.c | 67 uint16_t tag = be16_to_cpu(bi->tag); mvme16x_parse_bootinfo() 99 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); mvme16x_get_hardware_list() 277 uint16_t brdno = be16_to_cpu(p->brdno); config_mvme16x() 333 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); mvme16x_abort_int() 364 uint16_t brdno = be16_to_cpu(mvme_bdid.brdno); mvme16x_sched_init()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | saar.c | 120 static uint16_t lcd_power_on[] = { 308 static uint16_t lcd_panel_on[] = { 328 static uint16_t lcd_panel_off[] = { 348 static uint16_t lcd_power_off[] = { 371 static uint16_t update_framedata[] = {
|