Searched refs:enable (Results 1 - 25 of 207) sorted by last modified time

123456789

/haiku/src/kits/interface/
H A DSpinner.cpp178 BSpinner::SetEnabled(bool enable) argument
180 if (IsEnabled() == enable)
183 SetIncrementEnabled(enable && Value() < fMaxValue);
184 SetDecrementEnabled(enable && Value() > fMinValue);
186 BAbstractSpinner::SetEnabled(enable);
H A DMenu.cpp1062 BMenu::SetEnabled(bool enable) argument
1064 if (fEnabled == enable)
1067 fEnabled = enable;
1070 Supermenu()->SetEnabled(enable);
1073 fSuperitem->SetEnabled(enable);
1087 BMenu::SetTriggersEnabled(bool enable) argument
1089 fTriggerEnabled = enable;
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dmulti.c556 mmvi->values[i].u.enable = (values[0] == 1.0);
620 values[0] = mmvi->values[i].u.enable ? 1.0 : 0.0;
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Dmulti.cpp279 mmvi->values[i].enable = (values[0] == 1.0);
344 values[0] = mmvi->values[i].enable ? 1.0 : 0.0;
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Dgeode_multi.cpp585 mmvi->values[i].enable = (values[0] == 1.0);
646 values[0] = mmvi->values[i].enable ? 1.0 : 0.0;
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Dmulti.c216 mmvi->values[i].u.enable = (values[0] == 1.0);
279 values[0] = mmvi->values[i].u.enable ? 1.0 : 0.0;
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dmulti.c426 mmvi->values[i].u.enable = (values[0] == 1.0);
490 values[0] = mmvi->values[i].u.enable ? 1.0 : 0.0;
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Dmulti.c422 mmvi->values[i].u.enable = (values[0] == 1.0);
486 values[0] = mmvi->values[i].u.enable ? 1.0 : 0.0;
/haiku/src/kits/tracker/
H A DContainerWindow.cpp832 // eventually enable attribute menu to allow users to select
2433 // only enable once the menus are built
2636 // non-volume enable/disable copy, move, identify
2641 // volume model, enable/disable the Unmount item
4126 BContainerWindow::SetPathWatchingEnabled(bool enable) argument
4133 if (enable) {
4328 void BorderedView::EnableBorderHighlight(bool enable) argument
4330 fEnableBorderHighlight = enable;
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp594 ShowImageWindow::_EnableMenuItem(BMenu* menu, uint32 what, bool enable) argument
597 if (item && item->IsEnabled() != enable)
598 item->SetEnabled(enable);
599 fToolBar->SetActionEnabled(what, enable);
821 bool enable; local
822 if (message->FindBool("has_selection", &enable) == B_OK) {
823 _EnableMenuItem(fBar, B_COPY, enable);
824 _EnableMenuItem(fBar, MSG_CLEAR_SELECT, enable);
H A DShowImageWindow.h85 bool enable);
/haiku/src/system/kernel/platform/atari_m68k/
H A Dplatform.cpp206 #warning M68K: use enable or mark register ?
648 // enable irq
/haiku/src/system/kernel/arch/riscv64/
H A Darch_int.cpp612 gPlicRegs->enable[sPlicContexts[0]][irq / 32] |= 1 << (irq % 32);
621 gPlicRegs->enable[sPlicContexts[0]][irq / 32] &= ~(1 << (irq % 32));
/haiku/src/add-ons/kernel/busses/pci/designware/
H A DMsiInterruptCtrlDW.cpp32 fDbiRegs->msiIntr[0].enable = 0xffffffff;
H A DDWPCIController.h131 uint32 enable; member in struct:PciDbiRegs::__anon12
/haiku/src/apps/deskcalc/
H A DCalcView.cpp1492 CalcView::_SetEnabled(bool enable) argument
1494 fEnabled = enable;
1495 fExpressionTextView->MakeSelectable(enable);
1496 fExpressionTextView->MakeEditable(enable);
H A DCalcView.h117 void _SetEnabled(bool enable);
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c1748 * If not (unlikely), enable L0S, so there is at least some
1865 * Write to "CLK_EN_REG"; "1" bits enable clocks, while "0" bits
2473 cmd.enable = 1;
2498 cmd.enable = 0;
2543 /* enable command channel */
3626 printf("%s: could not enable Tx queue %d (error %d)\n",
4361 /* clear (again), then enable firmware load interrupt */
7132 iwm_update_beacon_abort(struct iwm_softc *sc, struct iwm_node *in, int enable) argument
7137 .ba_enable_beacon_abort = htole32(enable),
7143 sc->sc_bf.ba_enabled = enable;
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c3696 * Simply enable the queue.
3709 printf("%s: could not enable Tx queue %d "
4036 /* clear (again), then enable firmware load interrupt */
6481 DEVNAME(sc), drain ? "enable" : "disable");
6525 iwx_update_beacon_abort(struct iwx_softc *sc, struct iwx_node *in, int enable) argument
6530 .ba_enable_beacon_abort = htole32(enable),
6536 sc->sc_bf.ba_enabled = enable;
7697 printf("%s: could not enable Tx queue %d (error %d)\n",
8343 printf("%s: could not enable beacon filter\n",
H A Dif_iwxreg.h70 * @IWX_CTXT_INFO_EARLY_DEBUG: enable early debug
71 * @IWX_CTXT_INFO_ENABLE_CDMP: enable core dump
258 * @IWX_PRPH_SCRATCH_EARLY_DEBUG_EN: enable early debug conf
511 #define IWX_CSR_INT_MASK (0x00c) /* host interrupt enable */
514 #define IWX_CSR_RESET (0x020) /* busmaster enable, NMI, etc*/
813 * When bit is set and transfer size is set to 128B, the TFH will enable
816 * enable transfer size which doesn't cross 64B DRAM address boundary.
1018 /* enable the ID buf for read */
1800 * @TX_QUEUE_CFG_ENABLE_QUEUE: enable a queue
2059 /* This defines the bitmap of various calibrations to enable i
6299 uint8_t enable; member in struct:iwx_scd_txq_cfg_cmd
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Dintel_extreme.cpp88 gen8_enable_interrupts(intel_info& info, pipe_index pipe, bool enable) argument
96 const uint32 value = enable ? PCH_INTERRUPT_VBLANK_BDW : 0;
104 gen11_enable_global_interrupts(intel_info& info, bool enable) argument
106 write32(info, GEN11_GFX_MSTR_IRQ, enable ? GEN11_MASTER_IRQ : 0);
107 return enable ? 0 : read32(info, GEN11_GFX_MSTR_IRQ);
112 gen8_enable_global_interrupts(intel_info& info, bool enable) argument
114 write32(info, PCH_MASTER_INT_CTL_BDW, enable ? PCH_MASTER_INT_CTL_GLOBAL_BDW : 0);
115 return enable ? 0 : read32(info, PCH_MASTER_INT_CTL_BDW);
213 * \param enable true to get the mask for enabling the interrupts, false to get
217 intel_get_interrupt_mask(intel_info& info, pipe_index pipe, bool enable) argument
265 intel_enable_interrupts(intel_info& info, pipes which, bool enable) argument
[all...]
/haiku/src/add-ons/kernel/busses/i2c/pch/
H A Dpch_i2c.cpp26 enable_device(pch_i2c_sim_info* bus, bool enable) argument
28 uint32 status = enable ? 1 : 0;
46 uint32 enable = read32(bus->registers + PCH_IC_ENABLE); local
47 if (enable == 0)
/haiku/src/add-ons/media/media-add-ons/multi_audio/
H A DMultiAudioNode.cpp1101 // enable/disable that one. But this node only has one output, so I
1102 // just make sure the given source matches, then set the enable state
1424 ((int32*)value)[0] = values[0].enable ? 1 : 0;
1595 values[0].enable = ((int32*)value)[0] == 1;
/haiku/headers/private/interface/
H A DSpinner.h37 virtual void SetEnabled(bool enable);
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DDevice.cpp176 multi_channel_enable enable; local
180 if (user_memcpy(&enable, buffer, sizeof(enable)) != B_OK
181 || !IS_USER_ADDRESS(enable.enable_bits)) {
185 orig_enable_bits = enable.enable_bits;
186 enable.enable_bits = (uchar*)&enable_bits;
187 status_t status = _MultiGetEnabledChannels(&enable);
191 enable.enable_bits = orig_enable_bits;
192 if (user_memcpy(enable.enable_bits, &enable_bits,
194 || user_memcpy(buffer, &enable,
203 multi_channel_enable enable; local
[all...]

Completed in 255 milliseconds

123456789