/drivers/s390/crypto/ |
H A D | zcrypt_error.h | 113 zdev->online = 0; 119 zdev->online = 0; 122 zdev->online = 0;
|
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...] |
H A D | zcrypt_api.h | 100 int online; /* User online/offline */ member in struct:zcrypt_device
|
H A D | zcrypt_cex2a.c | 260 zdev->online = 0; 287 zdev->online = 0; 464 zdev->online = 1;
|
H A D | zcrypt_pcica.c | 204 zdev->online = 0; 228 zdev->online = 0; 368 zdev->online = 1;
|
H A D | zcrypt_pcicc.c | 377 zdev->online = 0; 430 zdev->online = 0; 574 zdev->online = 1;
|
H A D | zcrypt_pcixcc.c | 462 zdev->online = 0; 573 zdev->online = 0; 601 zdev->online = 0; 624 zdev->online = 0; 1036 zdev->online = 1;
|
/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 | 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;
|
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 | power_supply_sysfs.c | 140 POWER_SUPPLY_ATTR(online),
|
/drivers/s390/cio/ |
H A D | device.c | 290 return sprintf(buf, cdev->online ? "1\n" : "0\n"); 331 if (!cdev->online || !cdev->drv) 339 cdev->online = 0; 408 if (cdev->online || !cdev->drv) 410 /* Hold on to an extra reference while device is online. */ 424 /* Give up online reference since onlining failed. */ 429 /* Check if online processing was successful */ 433 /* Inform the user that set online failed. */ 435 pr_warning("%s: Setting the device online failed " 439 pr_warning("%s: Setting the device online faile [all...] |
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. */
|
H A D | device_fsm.c | 202 * been varied online on the SE so we have to find out by magic (i. e. driving 271 if (!cdev->online) { 336 if (!cdev->online) 370 * Finished with online/offline processing. 393 if (cdev->online && 488 if (cdev->online && cdev->drv->path_event) 572 * Get device online. 725 if (cdev->online) { 735 * Got an interrupt for a normal io (state online). 779 * Got an timeout in online stat [all...] |
/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/base/ |
H A D | cpu.c | 65 static DEVICE_ATTR(online, 0644, show_online, store_online); 138 * Print cpu online, possible, present, and system maps 163 _CPU_ATTR(online, &cpu_online_mask),
|
/drivers/isdn/i4l/ |
H A D | isdn_ttyfax.c | 81 info->online = 1; 142 info->online = 2; 161 if (info->online) 162 info->online = 1; 169 info->online = 2; 231 info->online = 1; 259 info->online = 1; 273 info->online = 1; 655 sprintf(rs, "\r\n0,1"); /* display online help */
|
H A D | isdn_tty.c | 71 if (info->online) { 133 if (info->online) { 188 if ((info->online < 2) 703 if (info->online) { 705 info->online = 0; 1026 if (info->online) 1111 * online-flag it either directs output to the at-command-interpreter or 1113 * - If online, check for escape-sequence (+++) 1138 if ((info->online > 1) 1236 if (!info->online) [all...] |
/drivers/ata/ |
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 | 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");
|
/drivers/scsi/ |
H A D | 3w-sas.h | 392 char online; member in struct:TAG_TW_Device_Extension
|
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.
|
/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/qla2xxx/ |
H A D | qla_init.c | 447 vha->flags.online = 0; 984 vha->flags.online = 0; 2565 } else if (!vha->flags.online || 3707 if (vha->flags.online) { 3838 * online flag should be set. 3841 vha->flags.online = 0; 3902 * Reset the online flag. 3904 vha->flags.online = 0; 3932 if (vha->flags.online) { 3957 vha->flags.online [all...] |