Searched refs:is_present (Results 1 – 10 of 10) sorted by relevance
34 bool (*is_present)(struct tosa_bat *bat); member101 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()266 .is_present = tosa_jacket_bat_is_present,
37 bool (*is_present)(struct collie_bat *bat); member102 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()
151 bool is_present; member226 bq20z75_device->is_present = val->intval; in bq20z75_get_battery_presence_and_health()515 bq20z75_device->is_present != (ret >= 0)) { in bq20z75_get_property()516 bq20z75_device->is_present = (ret >= 0); in bq20z75_get_property()529 if (ret && bq20z75_device->is_present) in bq20z75_get_property()668 if (bq20z75_device->is_present && ret < 0) in bq20z75_suspend()
114 if (!is_present(dev)) in stk_start_stream()154 if (is_present(dev)) { in stk_stop_stream()215 if (!is_present(dev)) in stk_initialise()448 if (atomic_read(&dev->urbs_used) && is_present(dev)) in stk_clean_iso()561 if (dev == NULL || !is_present(dev)) { in v4l_stk_open()580 if(is_present(dev)) in v4l_stk_release()595 if (!is_present(dev)) in v4l_stk_read()616 !list_empty(&dev->sio_full) || !is_present(dev)); in v4l_stk_read()619 if (!is_present(dev)) in v4l_stk_read()653 if (!is_present(dev)) in v4l_stk_poll()[all …]
74 #define is_present(dev) ((dev)->status & S_PRESENT) macro
5 bool is_present; /* true if populated */ member
107 int is_present; member232 p->is_present = 1; in save16bit()239 p->is_present = 1; in save8bit()275 hh->extmsgid.is_present = (hh->msgid.byte == SIERRA_NET_HIP_EXTENDEDID); in parse_hip()276 if (hh->extmsgid.is_present) { in parse_hip()866 if (!hh.extmsgid.is_present in sierra_net_rx_fixup()
400 if (!pdata->chip[addr].is_present) in mcp23s08_probe()420 if (!pdata->chip[addr].is_present) in mcp23s08_probe()
405 .chip[0].is_present = true,409 .chip[2].is_present = true,
100 u32 is_present; member