Home
last modified time | relevance | path

Searched refs:is_present (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dcollie_battery.c35 bool (*is_present)(struct collie_bat *bat); member
100 if (bat->is_present && !bat->is_present(bat) in collie_bat_get_property()
131 val->intval = bat->is_present ? bat->is_present(bat) : 1; in collie_bat_get_property()
161 if (bat->is_present && !bat->is_present(bat)) { in collie_bat_update()
H A Dsbs-battery.c207 bool is_present; member
266 static int sbs_update_presence(struct sbs_info *chip, bool is_present) in sbs_update_presence() argument
273 if (chip->is_present == is_present) in sbs_update_presence()
276 if (!is_present) { in sbs_update_presence()
277 chip->is_present = false; in sbs_update_presence()
305 chip->is_present = true; in sbs_update_presence()
326 if (!chip->is_present && is_present && !chip->charger_broadcasts) in sbs_update_presence()
329 chip->is_present = true; in sbs_update_presence()
1011 if (!chip->gpio_detect && chip->is_present != (ret >= 0)) { in sbs_get_property()
1012 bool old_present = chip->is_present; in sbs_get_property()
[all …]
/openbmc/qemu/contrib/elf2dmp/
H A Daddrspace.c180 static bool is_present(uint64_t entry) in is_present() function
204 if (!get_pml4e(vs, va, &pml4e) || !is_present(pml4e)) { in va_space_va2pa()
208 if (!get_pdpi(vs, va, pml4e, &pdpe) || !is_present(pdpe)) { in va_space_va2pa()
216 if (!get_pgd(vs, va, pdpe, &pgd) || !is_present(pgd)) { in va_space_va2pa()
224 if (!get_pte(vs, va, pgd, &pte) || !is_present(pte)) { in va_space_va2pa()
/openbmc/linux/drivers/net/usb/
H A Dsierra_net.c84 int is_present; member
235 p->is_present = 1; in save16bit()
242 p->is_present = 1; in save8bit()
278 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip()
279 if (hh->extmsgid.is_present) { in parse_hip()
823 if (!hh.extmsgid.is_present in sierra_net_rx_fixup()
/openbmc/linux/include/sound/
H A Dcs35l36.h15 bool is_present; member
H A Dcs35l35.h47 bool is_present; member
/openbmc/linux/drivers/scsi/cxlflash/
H A Docxl_hw.h41 bool is_present; /* Function has AFUs defined */ member
H A Docxl_hw.c745 afu->is_present = true; in ocxlflash_config_fn()
865 if (!afu->is_present) in ocxlflash_config_afu()
/openbmc/qemu/docs/sphinx/
H A Dqapidoc.py148 if member.ifcond.is_present():
163 if variant.ifcond.is_present():
208 if section.member.ifcond.is_present():
288 if ifcond.is_present():
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py216 is_present = lambda driver: self.find(selector) function
218 element = Wait(self.driver, timeout=timeout).until(is_present, msg)
/openbmc/linux/arch/x86/kvm/mmu/
H A Dtdp_mmu.c424 bool is_present = is_shadow_present_pte(new_spte); in handle_changed_spte() local
426 bool is_leaf = is_present && is_last_spte(new_spte, level); in handle_changed_spte()
469 if (!was_present && !is_present) { in handle_changed_spte()
493 (!is_present || !is_dirty_spte(new_spte) || pfn_changed)) in handle_changed_spte()
503 (is_leaf || !is_present || WARN_ON_ONCE(pfn_changed))) in handle_changed_spte()
507 (!is_present || !is_accessed_spte(new_spte) || pfn_changed)) in handle_changed_spte()
/openbmc/qemu/scripts/qapi/
H A Dintrospect.py123 if obj.ifcond.is_present():
126 if obj.ifcond.is_present():
H A Dcommands.py69 assert not memb.ifcond.is_present()
H A Dschema.py68 def is_present(self) -> bool: member in QAPISchemaIfCond
618 return any(m.ifcond.is_present() for m in self.members)
782 if tag_member.ifcond.is_present():
843 assert not self.tag_member.ifcond.is_present()
H A Dgen.py123 assert not memb.ifcond.is_present()
/openbmc/linux/tools/perf/util/
H A Dpfm.c292 if (!pinfo.is_present) in print_libpfm_events()
/openbmc/qemu/tests/qapi-schema/
H A Dtest-qapi.py108 if ifcond.is_present():
/openbmc/linux/sound/soc/codecs/
H A Dcs35l35.c965 if (monitor_config->is_present) { in cs35l35_component_probe()
1395 monitor_config->is_present = signal_format ? true : false; in cs35l35_handle_of_data()
1396 if (monitor_config->is_present) { in cs35l35_handle_of_data()
H A Dcs35l36.c1509 vpbr_config->is_present = vpbr_node ? true : false; in cs35l36_handle_of_data()
1510 if (vpbr_config->is_present) { in cs35l36_handle_of_data()
1843 if (pdata->vpbr_config.is_present) in cs35l36_i2c_probe()
/openbmc/linux/scripts/kconfig/
H A Dconfdata.c24 static bool is_present(const char *path) in is_present() function
1185 if (!overwrite && is_present(autoconf_name)) in conf_write_autoconf()
/openbmc/linux/sound/pci/mixart/
H A Dmixart_core.h88 u32 is_present; member
/openbmc/libpldm/
H A DCHANGELOG.md549 - pdr: Make is_present() static
635 - pdr: Deprecate is_present()
/openbmc/libpldm/src/dsp/
H A Dpdr.c915 static bool is_present(pldm_entity entity, pldm_entity **entities, in is_present()
948 if (is_present(curr->entity, entities, num_entities)) {
901 static bool is_present(pldm_entity entity, pldm_entity **entities, is_present() function