Lines Matching defs:w16
258 uint16_t cmd, w16;
263 w16 = (uint16_t)ddi_get16(ha->sbus_fpga_dev_handle,
265 EL(ha, "FPGA rev is %d.%d", (w16 & 0xf0) >> 4,
266 w16 & 0xf);
345 w16 = (uint16_t)ql_pci_config_get16(ha, PCI_CONF_ROM);
346 w16 = (uint16_t)(w16 & ~BIT_0);
347 ql_pci_config_put16(ha, PCI_CONF_ROM, w16);
373 uint16_t read_req, w16;
387 w16 = (uint16_t)ql_pci_config_get16(ha, 0x4e);
388 w16 = (uint16_t)(w16 & ~(BIT_3 & BIT_2));
389 w16 = (uint16_t)(w16 | (read_req << 2));
390 ql_pci_config_put16(ha, 0x4e, w16);
407 w16 = (uint16_t)ql_pci_config_get16(ha, 0x54);
408 w16 = (uint16_t)(w16 & ~(BIT_14 | BIT_13 |
410 w16 = (uint16_t)(w16 | (read_req << 12));
411 ql_pci_config_put16(ha, 0x54, w16);