/drivers/power/ |
H A D | power_supply_leds.c | 120 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 D | charger-manager.c | 107 bool online = false; local 116 online = true; 121 return online; 171 /* 2. The charger should be online (ext-power) */
|
H A D | isp1704_charger.c | 66 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 D | max17040_battery.c | 47 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 D | zcrypt_api.h | 100 int online; /* User online/offline */ member in struct:zcrypt_device
|
H A D | zcrypt_api.c | 77 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 D | ccwgroup.c | 152 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 D | f_adb.c | 45 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 D | f_accessory.c | 77 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 D | ahci.c | 517 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 D | sata_via.c | 339 int online; local 361 online = (sstatus & 0xf) == 0x3; 365 online ? "up" : "down", sstatus, scontrol); 370 if (!online) {
|
H A D | libahci.c | 1291 * 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 D | libata-sff.c | 2098 bool online; local 2101 rc = sata_link_hardreset(link, timing, deadline, &online, 2103 if (online)
|
H A D | libata-core.c | 3371 * 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 D | sata_mv.c | 3599 bool online; local 3612 &online, NULL); 3613 rc = online ? -EAGAIN : rc;
|
/drivers/s390/char/ |
H A D | sclp_cmd.c | 402 int online) 414 if (online) { 401 sclp_mem_change_state(unsigned long start, unsigned long size, int online) argument
|
/drivers/scsi/ |
H A D | scsi_error.c | 167 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 D | 3w-sas.h | 392 char online; member in struct:TAG_TW_Device_Extension
|
H A D | qla1280.h | 1060 uint32_t online:1; /* 0 */ member in struct:scsi_qla_host::__anon4857
|
/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 56 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 D | qla_def.h | 2884 uint32_t online :1; member in struct:scsi_qla_host::__anon4936
|