Home
last modified time | relevance | path

Searched refs:INVALID_INDEX (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-buttons/src/
H A DhostSelector_switch.cpp13 size_t adjustedPosition = INVALID_INDEX; // set bmc as default value in getMappedHSConfig()
38 return INVALID_INDEX; in getGpioIndex()
90 if (hsPosMapped != INVALID_INDEX) in setInitialHostSelectorValue()
100 if (pos == INVALID_INDEX) in setHostSelectorValue()
150 if (hsPosMapped != INVALID_INDEX) in handleEvent()
/openbmc/phosphor-buttons/inc/
H A DhostSelector_switch.hpp20 static constexpr auto INVALID_INDEX = std::numeric_limits<size_t>::max(); variable
/openbmc/linux/drivers/hwmon/
H A Dibmpowernv.c46 #define INVALID_INDEX (-1U) macro
325 if (sdata->opal_index != INVALID_INDEX) { in get_sensor_hwmon_index()
604 opal_index = INVALID_INDEX; in create_device_attrs()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dhandlers.c876 #define INVALID_INDEX (~0U) macro
886 return INVALID_INDEX; in calc_index()
907 if (FDI_RX_CTL_TO_PIPE(offset) != INVALID_INDEX) in update_fdi_rx_iir_status()
909 else if (FDI_TX_CTL_TO_PIPE(offset) != INVALID_INDEX) in update_fdi_rx_iir_status()
911 else if (FDI_RX_IMR_TO_PIPE(offset) != INVALID_INDEX) in update_fdi_rx_iir_status()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu.c1865 #define INVALID_INDEX (-1) macro
1874 mmu_pages_add(pvec, sp, INVALID_INDEX); in mmu_unsync_walk()
2055 WARN_ON_ONCE(pvec->page[0].idx != INVALID_INDEX); in mmu_pages_first()
2081 WARN_ON_ONCE(idx == INVALID_INDEX); in mmu_pages_clear_parents()