Searched refs:w16 (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 258 uint16_t cmd, w16; in ql_pci_sbus_config() local 263 w16 = (uint16_t)ddi_get16(ha->sbus_fpga_dev_handle, in ql_pci_sbus_config() 265 EL(ha, "FPGA rev is %d.%d", (w16 & 0xf0) >> 4, in ql_pci_sbus_config() 266 w16 & 0xf); in ql_pci_sbus_config() 345 w16 = (uint16_t)ql_pci_config_get16(ha, PCI_CONF_ROM); in ql_pci_sbus_config() 346 w16 = (uint16_t)(w16 & ~BIT_0); in ql_pci_sbus_config() 347 ql_pci_config_put16(ha, PCI_CONF_ROM, w16); in ql_pci_sbus_config() 373 uint16_t read_req, w16; in ql_set_max_read_req() local 387 w16 = (uint16_t)ql_pci_config_get16(ha, 0x4e); in ql_set_max_read_req() 388 w16 = (uint16_t)(w16 & ~(BIT_3 & BIT_2)); in ql_set_max_read_req() [all …]
|
H A D | ql_xioctl.c | 6969 uint16_t chksum, w16; in ql_flash_layout_table() local 6991 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_flash_layout_table() 6992 chksum += w16; in ql_flash_layout_table() 7030 uint16_t chksum, w16; in ql_process_flt() local 7056 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_process_flt() 7057 chksum += w16; in ql_process_flt() 7060 w16 = CHAR_TO_SHORT(fhdr->version[0], fhdr->version[1]); in ql_process_flt() 7061 if (chksum != 0 || w16 != 1) { in ql_process_flt() 7062 EL(ha, "table chksum=%xh, version=%d\n", chksum, w16); in ql_process_flt() 7081 w16 = (uint16_t)CHAR_TO_SHORT(mbp[cnt], in ql_process_flt() [all …]
|
H A D | ql_api.c | 594 uint16_t w16; in _init() local 598 for (w16 = 0; w16 < sizeof (utsname.release); w16++) { in _init() 599 if (utsname.release[w16] == '.') { in _init() 600 w16++; in _init() 604 if (w16 < sizeof (utsname.release)) { in _init() 605 (void) ql_bstr_to_dec(&utsname.release[w16], in _init()
|