Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/power/
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()
266 .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()
Dbq20z75.c151 bool is_present; member
226 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()
/linux-2.6.39/drivers/media/video/
Dstk-webcam.c114 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 …]
Dstk-webcam.h74 #define is_present(dev) ((dev)->status & S_PRESENT) macro
/linux-2.6.39/include/linux/spi/
Dmcp23s08.h5 bool is_present; /* true if populated */ member
/linux-2.6.39/drivers/net/usb/
Dsierra_net.c107 int is_present; member
232 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()
/linux-2.6.39/drivers/gpio/
Dmcp23s08.c400 if (!pdata->chip[addr].is_present) in mcp23s08_probe()
420 if (!pdata->chip[addr].is_present) in mcp23s08_probe()
/linux-2.6.39/arch/blackfin/mach-bf527/boards/
Dtll6527m.c405 .chip[0].is_present = true,
409 .chip[2].is_present = true,
/linux-2.6.39/sound/pci/mixart/
Dmixart_core.h100 u32 is_present; member