Home
last modified time | relevance | path

Searched refs:w16 (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c258 uint16_t cmd, w16; in ql_pci_sbus_config() local
266 w16 & 0xf); in ql_pci_sbus_config()
350 w16 = (uint16_t)(w16 & ~BIT_0); in ql_pci_sbus_config()
351 ql_pci_config_put16(ha, PCI_CONF_ROM, w16); in ql_pci_sbus_config()
379 uint16_t read_req, w16; in ql_set_max_read_req() local
397 w16 = (uint16_t)(w16 & ~(BIT_3 & BIT_2)); in ql_set_max_read_req()
398 w16 = (uint16_t)(w16 | (read_req << 2)); in ql_set_max_read_req()
399 ql_pci_config_put16(ha, ofst, w16); in ql_set_max_read_req()
417 w16 = (uint16_t)(w16 & ~(BIT_14 | BIT_13 | in ql_set_max_read_req()
419 w16 = (uint16_t)(w16 | (read_req << 12)); in ql_set_max_read_req()
[all …]
H A Dql_xioctl.c7304 uint16_t chksum, w16; in ql_flash_layout_table() local
7326 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_flash_layout_table()
7327 chksum += w16; in ql_flash_layout_table()
7366 uint16_t chksum, w16; in ql_process_flt() local
7392 w16 = (uint16_t)CHAR_TO_SHORT(bp[cnt], bp[cnt + 1]); in ql_process_flt()
7393 chksum += w16; in ql_process_flt()
7397 if (chksum != 0 || w16 != 1) { in ql_process_flt()
7417 w16 = (uint16_t)CHAR_TO_SHORT(mbp[cnt], in ql_process_flt()
7419 chksum += w16; in ql_process_flt()
7423 if (chksum != 0 || w16 != 1 || in ql_process_flt()
[all …]
H A Dql_api.c679 uint16_t w16; in _init() local
688 for (w16 = 0; w16 < sizeof (utsname.release); w16++) { in _init()
689 if (utsname.release[w16] == '.') { in _init()
690 w16++; in _init()
694 if (w16 < sizeof (utsname.release)) { in _init()
695 (void) ql_bstr_to_dec(&utsname.release[w16], in _init()