Searched defs:online (Results 1 - 21 of 21) sorted by relevance

/drivers/power/
H A Dpower_supply_leds.c120 union power_supply_propval online; local
122 if (psy->get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online))
125 dev_dbg(psy->dev, "%s %d\n", __func__, online.intval);
127 if (online.intval)
137 psy->online_trig_name = kasprintf(GFP_KERNEL, "%s-online", psy->name);
H A Dcharger-manager.c107 bool online = false; local
116 online = true;
121 return online;
171 /* 2. The charger should be online (ext-power) */
H A Disp1704_charger.c66 unsigned online:1; member in struct:isp1704_charger
226 } while (!time_after(jiffies, timeout) && isp->online);
253 isp->online = true;
282 isp->online = false;
344 val->intval = isp->online;
H A Dmax17040_battery.c47 int online; member in struct:max17040_chip
68 val->intval = chip->online;
152 chip->online = chip->pdata->battery_online();
154 chip->online = 1;
/drivers/s390/crypto/
H A Dzcrypt_api.h100 int online; /* User online/offline */ member in struct:zcrypt_device
H A Dzcrypt_api.c77 return snprintf(buf, PAGE_SIZE, "%d\n", zdev->online);
85 int online; local
87 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1)
89 zdev->online = online;
90 if (!online)
95 static DEVICE_ATTR(online, 0644, zcrypt_online_show, zcrypt_online_store);
227 zdev->online
[all...]
/drivers/s390/cio/
H A Dccwgroup.c152 int online; local
154 online = (gdev->state == CCWGROUP_ONLINE) ? 1 : 0;
156 return scnprintf(buf, PAGE_SIZE, "%d\n", online);
183 /* Prevent concurrent online/offline processing and ungrouping. */
204 static DEVICE_ATTR(online, 0644, ccwgroup_online_show, ccwgroup_online_store);
480 /* Fail while device is being set online/offline. */
/drivers/usb/gadget/
H A Df_adb.c45 int online; member in struct:adb_dev
285 /* we will block until we're online */
286 while (!(dev->online || dev->error)) {
287 pr_debug("adb_read: waiting for online state\n");
289 (dev->online || dev->error));
501 dev->online = 0;
537 dev->online = 1;
539 /* readers may be blocked waiting for us to go online */
550 dev->online = 0;
555 /* readers may be blocked waiting for us to go online */
[all...]
H A Df_accessory.c77 int online:1; member in struct:acc_dev
256 dev->online = 0;
566 /* we will block until we're online */
567 pr_debug("acc_read: waiting for online\n");
568 ret = wait_event_interruptible(dev->read_wq, dev->online);
594 if (dev->online) {
622 if (!dev->online || dev->disconnected)
626 if (!dev->online) {
635 ((req = req_get(dev, &dev->tx_idle)) || !dev->online));
1082 dev->online
[all...]
/drivers/ata/
H A Dahci.c517 bool online; local
525 deadline, &online, NULL);
534 return online ? -EAGAIN : rc;
544 bool online; local
555 deadline, &online, NULL);
572 if (online) {
862 * to the harddisk doesn't become online after
950 * online but fail to answer properly to SRST or
1173 "online status unreliable, applying workaround\n");
H A Dsata_via.c339 int online; local
361 online = (sstatus & 0xf) == 0x3;
365 online ? "up" : "down", sstatus, scontrol);
370 if (!online) {
H A Dlibahci.c1291 * Workaround for cases where link online status can't
1389 bool online; local
1401 rc = sata_link_hardreset(link, timing, deadline, &online,
1406 if (online)
H A Dlibata-sff.c2098 bool online; local
2101 rc = sata_link_hardreset(link, timing, deadline, &online,
2103 if (online)
H A Dlibata-core.c3371 * is online. Also, some SATA devices take a long
3685 * @online: optional out parameter indicating link onlineness
3695 * *@online is set to one iff reset succeeded and @link is online
3706 bool *online, int (*check_ready)(struct ata_link *))
3713 if (online)
3714 *online = false;
3755 /* Link is online. From this point, -ENODEV too is an error. */
3756 if (online)
3757 *online
3704 sata_link_hardreset(struct ata_link *link, const unsigned long *timing, unsigned long deadline, bool *online, int (*check_ready)(struct ata_link *)) argument
3810 bool online; local
[all...]
H A Dsata_mv.c3599 bool online; local
3612 &online, NULL);
3613 rc = online ? -EAGAIN : rc;
/drivers/s390/char/
H A Dsclp_cmd.c402 int online)
414 if (online) {
401 sclp_mem_change_state(unsigned long start, unsigned long size, int online) argument
/drivers/scsi/
H A Dscsi_error.c167 int online; local
171 online = scsi_device_online(sdev);
174 online));
176 return online;
1826 * what we need to do to get it up and online again (if we can).
1847 * which are still online.
H A D3w-sas.h392 char online; member in struct:TAG_TW_Device_Extension
H A Dqla1280.h1060 uint32_t online:1; /* 0 */ member in struct:scsi_qla_host::__anon4857
/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c56 void (*online) (struct bfa_fcs_lport_s *port); member in struct:__anon4221
616 __port_action[port->fabric->fab_type].online(port);
620 "Logical port online: WWN = %s Role = %s\n",
958 * Return TRUE if port is online, else return FALSE
1071 * Called by port to notify transition to online state.
1104 * Called by fcs/port to notify transition to online state.
2566 * if this is a Vport, go to online state.
3590 * If it is Target Mode, skip this and go to online.
3746 * If it is Target Mode, skip this and go to online.
4699 * If this is an unknown device, then it just came online
[all...]
/drivers/scsi/qla2xxx/
H A Dqla_def.h2884 uint32_t online :1; member in struct:scsi_qla_host::__anon4936

Completed in 1210 milliseconds