Lines Matching +full:es +full:- +full:enable

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
70 ida_outl(ida, R_CMD_FIFO, qcb->hwqcb_busaddr); in ida_v3_submit()
79 if (completed == -1) { in ida_v3_done()
92 ida_v3_int_enable(struct ida_softc *ida, int enable) in ida_v3_int_enable() argument
94 if (enable) in ida_v3_int_enable()
95 ida->flags |= IDA_INTERRUPTS; in ida_v3_int_enable()
97 ida->flags &= ~IDA_INTERRUPTS; in ida_v3_int_enable()
98 ida_outl(ida, R_INT_MASK, enable ? INT_ENABLE : INT_DISABLE); in ida_v3_int_enable()
110 ida_outl(ida, R_42XX_REQUEST, qcb->hwqcb_busaddr); in ida_v4_submit()
119 if (completed == -1) in ida_v4_done()
132 ida_v4_int_enable(struct ida_softc *ida, int enable) in ida_v4_int_enable() argument
134 if (enable) in ida_v4_int_enable()
135 ida->flags |= IDA_INTERRUPTS; in ida_v4_int_enable()
137 ida->flags &= ~IDA_INTERRUPTS; in ida_v4_int_enable()
139 enable ? INT_ENABLE_42XX : INT_DISABLE_42XX); in ida_v4_int_enable()
159 { 0x40300E11, "Compaq SMART-2/P array controller",
161 { 0x40310E11, "Compaq SMART-2SL array controller",
165 { 0x40330E11, "Compaq Smart Array 3100ES controller",
176 { 0x40510E11, "Compaq Smart Array 4250ES controller",
226 device_set_desc(dev, board->desc); in ida_pci_probe()
241 ida->dev = dev; in ida_pci_attach()
242 ida->cmd = *board->accessor; in ida_pci_attach()
243 ida->flags = board->flags; in ida_pci_attach()
244 mtx_init(&ida->lock, "ida", NULL, MTX_DEF); in ida_pci_attach()
245 callout_init_mtx(&ida->ch, &ida->lock, 0); in ida_pci_attach()
247 ida->regs_res_type = SYS_RES_MEMORY; in ida_pci_attach()
248 ida->regs_res_id = IDA_PCI_MEMADDR; in ida_pci_attach()
250 ida->regs_res_id = PCIR_BAR(0); in ida_pci_attach()
252 ida->regs = bus_alloc_resource_any(dev, ida->regs_res_type, in ida_pci_attach()
253 &ida->regs_res_id, RF_ACTIVE); in ida_pci_attach()
254 if (ida->regs == NULL) { in ida_pci_attach()
273 &ida->parent_dmat); in ida_pci_attach()
281 ida->irq_res_type = SYS_RES_IRQ; in ida_pci_attach()
282 ida->irq = bus_alloc_resource_any(dev, ida->irq_res_type, &rid, in ida_pci_attach()
284 if (ida->irq == NULL) { in ida_pci_attach()
288 error = bus_setup_intr(dev, ida->irq, INTR_TYPE_BIO | INTR_ENTROPY | INTR_MPSAFE, in ida_pci_attach()
289 NULL, ida_intr, ida, &ida->ih); in ida_pci_attach()
307 nitems(board_id) - 1);