Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Dtosa_battery.c34 bool (*is_present)(struct tosa_bat *bat); member
101 if (bat->is_present && !bat->is_present(bat) in tosa_bat_get_property()
132 val->intval = bat->is_present ? bat->is_present(bat) : 1; in tosa_bat_get_property()
167 if (bat->is_present && !bat->is_present(bat)) { in tosa_bat_update()
279 .is_present = tosa_jacket_bat_is_present,
Dcollie_battery.c37 bool (*is_present)(struct collie_bat *bat); member
102 if (bat->is_present && !bat->is_present(bat) in collie_bat_get_property()
133 val->intval = bat->is_present ? bat->is_present(bat) : 1; in collie_bat_get_property()
163 if (bat->is_present && !bat->is_present(bat)) { in collie_bat_update()
Dsbs-battery.c166 bool is_present; member
622 chip->is_present = val->intval; in sbs_get_property()
717 chip->is_present != (ret >= 0)) { in sbs_get_property()
718 chip->is_present = (ret >= 0); in sbs_get_property()
731 if (ret && chip->is_present) in sbs_get_property()
749 chip->is_present = ret; in sbs_supply_changed()
959 if (chip->is_present && ret < 0) in sbs_suspend()
/Linux-v4.19/drivers/media/usb/stkwebcam/
Dstk-webcam.c177 if (!is_present(dev)) in stk_start_stream()
217 if (is_present(dev)) { in stk_stop_stream()
278 if (!is_present(dev)) in stk_initialise()
504 if (atomic_read(&dev->urbs_used) && is_present(dev)) in stk_clean_iso()
614 if (dev == NULL || !is_present(dev)) in v4l_stk_open()
644 if (is_present(dev)) in v4l_stk_release()
659 if (!is_present(dev)) in stk_read()
681 !list_empty(&dev->sio_full) || !is_present(dev)); in stk_read()
684 if (!is_present(dev)) in stk_read()
732 if (!is_present(dev)) in v4l_stk_poll()
[all …]
Dstk-webcam.h65 #define is_present(dev) ((dev)->status & S_PRESENT) macro
/Linux-v4.19/drivers/net/usb/
Dsierra_net.c96 int is_present; member
247 p->is_present = 1; in save16bit()
254 p->is_present = 1; in save8bit()
290 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip()
291 if (hh->extmsgid.is_present) { in parse_hip()
838 if (!hh.extmsgid.is_present in sierra_net_rx_fixup()
/Linux-v4.19/drivers/scsi/cxlflash/
Docxl_hw.h46 bool is_present; /* Function has AFUs defined */ member
Docxl_hw.c764 afu->is_present = true; in ocxlflash_config_fn()
884 if (!afu->is_present) in ocxlflash_config_afu()
/Linux-v4.19/include/sound/
Dcs35l35.h50 bool is_present; member
/Linux-v4.19/scripts/kconfig/
Dconfdata.c20 static bool is_present(const char *path) in is_present() function
156 if (is_present(fullname)) in conf_get_default_confname()
1024 if (!overwrite && is_present(autoconf_name)) in conf_write_autoconf()
/Linux-v4.19/sound/soc/codecs/
Dcs35l35.c969 if (monitor_config->is_present) { in cs35l35_component_probe()
1399 monitor_config->is_present = signal_format ? true : false; in cs35l35_handle_of_data()
1400 if (monitor_config->is_present) { in cs35l35_handle_of_data()
/Linux-v4.19/sound/pci/mixart/
Dmixart_core.h100 u32 is_present; member