Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
A Dtosa_battery.c30 bool (*is_present)(struct tosa_bat *bat); member
97 if (bat->is_present && !bat->is_present(bat) in tosa_bat_get_property()
128 val->intval = bat->is_present ? bat->is_present(bat) : 1; in tosa_bat_get_property()
163 if (bat->is_present && !bat->is_present(bat)) { in tosa_bat_update()
275 .is_present = tosa_jacket_bat_is_present,
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()
A Dsbs-battery.c207 bool is_present; member
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()
1012 bool old_present = chip->is_present; in sbs_get_property()
1019 if (old_present != chip->is_present) in sbs_get_property()
1030 } else if (!chip->is_present) { in sbs_get_property()
[all …]
/linux/drivers/media/usb/stkwebcam/
A Dstk-webcam.c179 if (!is_present(dev)) in stk_start_stream()
219 if (is_present(dev)) { in stk_stop_stream()
280 if (!is_present(dev)) in stk_initialise()
616 if (dev == NULL || !is_present(dev)) in v4l_stk_open()
660 if (!is_present(dev)) in stk_read()
682 !list_empty(&dev->sio_full) || !is_present(dev)); in stk_read()
685 if (!is_present(dev)) in stk_read()
733 if (!is_present(dev)) in v4l_stk_poll()
1012 if (!is_present(dev)) in stk_vidioc_s_fmt_vid_cap()
1115 !list_empty(&dev->sio_full) || !is_present(dev)); in stk_vidioc_dqbuf()
[all …]
A Dstk-webcam.h56 #define is_present(dev) ((dev)->status & S_PRESENT) macro
/linux/drivers/net/usb/
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()
/linux/include/sound/
A Dcs35l36.h15 bool is_present; member
A Dcs35l35.h47 bool is_present; member
/linux/drivers/scsi/cxlflash/
A Docxl_hw.h41 bool is_present; /* Function has AFUs defined */ member
A Docxl_hw.c744 afu->is_present = true; in ocxlflash_config_fn()
864 if (!afu->is_present) in ocxlflash_config_afu()
/linux/arch/x86/kvm/mmu/
A Dtdp_mmu.c401 bool is_present = is_shadow_present_pte(new_spte); in __handle_changed_spte() local
403 bool is_leaf = is_present && is_last_spte(new_spte, level); in __handle_changed_spte()
443 if (!was_present && !is_present) { in __handle_changed_spte()
467 (!is_present || !is_dirty_spte(new_spte) || pfn_changed)) in __handle_changed_spte()
474 if (was_present && !was_leaf && (pfn_changed || !is_present)) in __handle_changed_spte()
/linux/tools/perf/util/
A Dpfm.c263 if (!pinfo.is_present) in print_libpfm_events()
/linux/sound/soc/codecs/
A Dcs35l35.c965 if (monitor_config->is_present) { in cs35l35_component_probe()
1396 monitor_config->is_present = signal_format ? true : false; in cs35l35_handle_of_data()
1397 if (monitor_config->is_present) { in cs35l35_handle_of_data()
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()
1844 if (pdata->vpbr_config.is_present) in cs35l36_i2c_probe()
/linux/scripts/kconfig/
A Dconfdata.c24 static bool is_present(const char *path) in is_present() function
1113 if (!overwrite && is_present(autoconf_name)) in conf_write_autoconf()
/linux/sound/pci/mixart/
A Dmixart_core.h87 u32 is_present; member

Completed in 47 milliseconds