Searched refs:online (Results 1 - 25 of 59) sorted by relevance

123

/drivers/s390/crypto/
H A Dzcrypt_error.h113 zdev->online = 0;
117 zdev->ap_dev->qid, zdev->online, ehdr->reply_code);
124 zdev->online = 0;
128 zdev->ap_dev->qid, zdev->online, ehdr->reply_code);
131 zdev->online = 0;
135 zdev->ap_dev->qid, zdev->online, ehdr->reply_code);
H A Dzcrypt_api.h106 int online; /* User online/offline */ member in struct:zcrypt_device
H A Dzcrypt_api.c92 return snprintf(buf, PAGE_SIZE, "%d\n", zdev->online);
100 int online; local
102 if (sscanf(buf, "%d\n", &online) != 1 || online < 0 || online > 1)
104 zdev->online = online;
106 zdev->online);
107 if (!online)
112 static DEVICE_ATTR(online, 064
[all...]
H A Dzcrypt_pcica.c204 zdev->online = 0;
208 zdev->ap_dev->qid, zdev->online, t84h->code);
232 zdev->online = 0;
236 zdev->ap_dev->qid, zdev->online);
378 zdev->online = 1;
H A Dzcrypt_msgtype6.c573 zdev->online = 0;
577 zdev->ap_dev->qid, zdev->online,
716 zdev->online = 0;
720 zdev->ap_dev->qid, zdev->online);
748 zdev->online = 0;
752 zdev->ap_dev->qid, zdev->online);
774 zdev->online = 0;
778 zdev->ap_dev->qid, zdev->online);
801 zdev->online = 0;
805 zdev->ap_dev->qid, zdev->online);
[all...]
H A Dzcrypt_cex2a.c128 zdev->online = 1;
H A Dzcrypt_msgtype50.c337 zdev->online = 0;
341 zdev->ap_dev->qid, zdev->online, t80h->code);
369 zdev->online = 0;
373 zdev->ap_dev->qid, zdev->online);
H A Dzcrypt_pcicc.c377 zdev->online = 0;
381 zdev->ap_dev->qid, zdev->online,
435 zdev->online = 0;
439 zdev->ap_dev->qid, zdev->online);
585 zdev->online = 1;
H A Dzcrypt_cex4.c128 zdev->online = 1;
/drivers/base/
H A Dcontainer.c33 .online = trivial_online,
H A Dcpu.c129 .online = cpu_subsys_online,
197 * Print cpu online, possible, present, and system maps
222 _CPU_ATTR(online, &cpu_online_mask),
/drivers/power/
H A D88pm860x_charger.c110 unsigned online:1; /* usb charger */ member in struct:pm860x_charger_info
277 if (vbatt > CHARGE_THRESHOLD && info->online)
314 (info->online) ? "online" : "N/A",
320 if (info->online && info->present && info->allowed) {
341 if (info->online && info->present && info->allowed) {
352 if (info->online && info->present && info->allowed) {
363 if (info->online && info->present && info->allowed) {
374 else if (vbatt > CHARGE_THRESHOLD && info->online)
386 (info->online)
[all...]
H A Dpower_supply_leds.c116 union power_supply_propval online; local
118 if (psy->get_property(psy, POWER_SUPPLY_PROP_ONLINE, &online))
121 dev_dbg(psy->dev, "%s %d\n", __func__, online.intval);
123 if (online.intval)
131 psy->online_trig_name = kasprintf(GFP_KERNEL, "%s-online", psy->name);
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;
H A Disp1704_charger.c69 unsigned online:1; member in struct:isp1704_charger
227 } while (!time_after(jiffies, timeout) && isp->online);
256 isp->online = true;
287 isp->online = false;
337 val->intval = isp->online;
/drivers/ata/
H A Dahci_xgene.c236 * @online: Return value to indicate if device online
280 unsigned long deadline, bool *online)
299 rc = sata_link_hardreset(link, timing, deadline, online,
301 if (*online) {
325 bool online; local
342 rc = xgene_ahci_do_hardreset(link, deadline, &online);
353 if (online)
279 xgene_ahci_do_hardreset(struct ata_link *link, unsigned long deadline, bool *online) argument
H A Dsata_highbank.c408 bool online; local
422 rc = sata_link_hardreset(link, timing, deadline, &online, NULL);
432 } while (!online && retry--);
436 if (online)
H A Dsata_via.c338 int online; local
360 online = (sstatus & 0xf) == 0x3;
364 online ? "up" : "down", sstatus, scontrol);
369 if (!online) {
H A Dahci.c609 bool online; local
617 deadline, &online, NULL);
626 return online ? -EAGAIN : rc;
637 bool online; local
648 deadline, &online, NULL);
665 if (online) {
1017 * to the harddisk doesn't become online after
1105 * online but fail to answer properly to SRST or
1404 "online status unreliable, applying workaround\n");
/drivers/s390/cio/
H A Ddevice.c287 return sprintf(buf, cdev->online ? "1\n" : "0\n");
328 if (!cdev->online || !cdev->drv)
338 cdev->online = 0;
405 if (cdev->online || !cdev->drv)
407 /* Hold on to an extra reference while device is online. */
421 /* Give up online reference since onlining failed. */
426 /* Check if online processing was successful */
430 /* Inform the user that set online failed. */
432 pr_warning("%s: Setting the device online failed "
436 pr_warning("%s: Setting the device online faile
[all...]
H A Dccwgroup.c72 * This function attempts to put the ccwgroup device into the online state.
160 int online; local
162 online = (gdev->state == CCWGROUP_ONLINE) ? 1 : 0;
164 return scnprintf(buf, PAGE_SIZE, "%d\n", online);
189 /* Prevent concurrent online/offline processing and ungrouping. */
210 static DEVICE_ATTR(online, 0644, ccwgroup_online_show, ccwgroup_online_store);
484 /* Fail while device is being set online/offline. */
H A Ddevice_fsm.c201 * been varied online on the SE so we have to find out by magic (i. e. driving
270 if (!cdev->online) {
335 if (!cdev->online)
369 * Finished with online/offline processing.
392 if (cdev->online &&
487 if (cdev->online && cdev->drv->path_event)
571 * Get device online.
724 if (cdev->online) {
734 * Got an interrupt for a normal io (state online).
778 * Got an timeout in online stat
[all...]
/drivers/isdn/i4l/
H A Disdn_ttyfax.c81 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 Disdn_tty.c68 if (!info->online)
133 if (!info->online)
190 if ((info->online < 2)
705 if (info->online) {
707 info->online = 0;
1031 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/usb/gadget/function/
H A Df_accessory.c81 int online:1; member in struct:acc_dev
265 dev->online = 0;
582 /* we will block until we're online */
583 pr_debug("acc_read: waiting for online\n");
584 ret = wait_event_interruptible(dev->read_wq, dev->online);
624 if (dev->online) {
653 if (!dev->online || dev->disconnected) {
654 pr_debug("acc_write disconnected or not online");
659 if (!dev->online) {
668 ((req = req_get(dev, &dev->tx_idle)) || !dev->online));
[all...]

Completed in 535 milliseconds

123